Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems with a project with Netbeans

 
Mattia Merenda
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,
I've developed a project using Netbeans 5.5.It already has a web server as Apache Tomcat 5.5.17.When I was running the project it was working fine and it has opened the browser with the initial page:

http://localhost:8084/MyProject

Now I downloaded Apache Tomcat 5.5.23 and I want to pass this project on the webapps directory of this server.I've already made it.
But when I open the browser at the initial page

http://New_Host_Name:8080/MyProject

I get an error from the server.I made a build of my project with Netbeans and what I did was to copy the directory MyProject with the build.xml file in the webapps directory of the downloaded server.
I think that is the error.But I don't know how to solve this problem.
I wonder if it also possible this prolem with Netbeans.I mean if it is possible when I run the project in Netbeans to have the initial page:

http://New_Host_Name:8080/MyProject

where New_Host_Name is different from localhost.
Thank in advance for any advice.
Mattia
 
Jan Cumps
Bartender
Posts: 2588
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't expect this is NetBeans related. The Tomcat they ship is standard Tomcat.
It always helps to post your error.

Regards, Jan
 
chuck milner
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the same sort of problem: my netbeans app runs fine in the netbeans IDE using Tomcat 5.5.14, but when I deploy the .war file to a different PC, which is running Tomcat 5.5.23, I get an error - something about javax.faces.servlet.

I think it's because the Tomcat built into Netbeans already has been configured to have the JSF (faces) installed.

Does anyone know how I can configure a stand-alone Tomcat 5.5.23 so it will run a Netbeans app, which uses faces?

Note: I did manage to get it to run using Sun's JWSDP Web Application Manager, which seems to use a different version of Tomcat.
 
Jan Cumps
Bartender
Posts: 2588
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no such thing as a NetBeans specific app. Why don't you post the errors? This will allow us to narrow the problem.
They can be found in the Tomcat logs directory, or in the command window that starts tomcat.
Regards, Jan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic