Can you have XAMPP and Tomcat EE installed at the same time?

0

I have windows 10, XAMPP, Java and Netbeans installed on my PC. I'm trying to create a website for e-commerce by following the "official" tutorial on the Netbearns.org site:

https://netbeans.org/kb/docs/javaee/ecommerce/entity-session.html

This tutorial uses Glass Fish, but I've managed to get to the point of creating the SessionBeans for the EntityClasses using XAMPP that Tomcat knows how to bring.

But I got there, because when trying to create the SessionBeans it tells me that "Can not be generated for Java EE 6 sources without server with complete Java EE 6 Web Profile support (at least EJB Lite support)."

I do a little research and I see that I need Tomcat EE.

My specific question: Can I install Tomcat EE together with XAMPP and hope that my computer does not conflict?

    
asked by Gaby 21.03.2017 в 22:58
source

2 answers

1

It should not get into conflict because the Apache of the default xampp runs on port 80 and the Tomcat EE usually runs on port 8080, however you can change the Apache port by modifying the file% co_of% that is in httpd.conf

And to change the port of the tomcat EE in netbeans open the view of Servers, select Apache Tomcat:

    
answered by 22.03.2017 в 00:12
0

Change the apache ports that by default have 80 or ip 127.0.0.1 so that tomcat runs with xampp or independent.

    
answered by 21.03.2017 в 23:06