wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes Problems with a project with Netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Problems with a project with Netbeans" Watch "Problems with a project with Netbeans" New topic
Author

Problems with a project with Netbeans

Mattia Merenda
Ranch Hand

Joined: Dec 14, 2006
Posts: 47
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

Joined: Dec 20, 2006
Posts: 2491
    
    8

I don't expect this is NetBeans related. The Tomcat they ship is standard Tomcat.
It always helps to post your error.

Regards, Jan


OCUP UML fundamental and ITIL foundation
youtube channel
chuck milner
Greenhorn

Joined: Apr 11, 2007
Posts: 1
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

Joined: Dec 20, 2006
Posts: 2491
    
    8

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
 
 
subject: Problems with a project with Netbeans
 
Similar Threads
tomcat running but gives an Invalid HTTP get error
Apache Tomcat Manager Configuration
First Jsp - HTTP 404/Not Found
Tomcat Problem
Executing Netbeans 3.6 web application from another pc