• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problems with a project with Netbeans

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 2661
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2661
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic