This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Trying to debug a problem in Eclipse/Tomcat I copied my source into NetBeans and ran it on the Sun appserver which worked fine. So was my problem Eclipse or Tomcat? (I know! My preference would be to use NetBeans but the standard here is Eclipse.) So, back to NetBeans thinking I could swap to the bundled Tomcat. "Runtime">"Servers" shows both Tomcat and the Sun Appserver. However "Project Properties">"Run">"Server" only lists the Sun Appserver. Neither expands to show any WebApps. (Hopefully the next step in this process will let me attach pix of this to make it clearer.) Whaddgaddado to make Tomcat a choice for Server in Project Properties? This probably isn't the forum for this kind of question; please advise.
Created attachment 43404 [details] Project Properties
Created attachment 43405 [details] Runtime
You should have been able to switch back unless your project got upgraded to something that Tomcat does not support. BTW, what is the Java EE version showing in the project properties window. In the image the server's drop down list is covering that field, so I can't see. Could you also attach your project.properties file (it's under nbproject/)?
>what is the Java EE version showing in the project properties window? Java EE 5
Created attachment 43441 [details] project.properties file
That's the problem then. Tomcat 5.5.x does bot support a Java EE 5 web app. Look at http://tomcat.apache.org/ for info on Tomcat versions. The web app will be listed on deployment in the Runtime Tab under the server's node. see attachment. Your options would be to move to the latest tomcat or downgrade the webapp manually. I pinged one of my colleagues about migrating to a lower EE version and below is the way that you could do it. 'There is a project version switch (j2ee.platform= 1.4 vs 1.5 in project.properties), but then there is all the code, possibly forcing project regeneration, and other such stuff. It is probably easier to create a skeleton project with the right version and then copy/recreate the various elements again.' Also, nbusers@netbeans.org would be a good alias for these questions.
Created attachment 43457 [details] Runtime tree
is this really a defect
Should have been closed. Not a defect.