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.

Bug 106056 - Project Properties > Run > Server shows only Sun Appserver
Summary: Project Properties > Run > Server shows only Sun Appserver
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-07 20:24 UTC by pdgillen
Modified: 2008-04-26 03:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project Properties (31.06 KB, application/octet-stream)
2007-06-07 20:26 UTC, pdgillen
Details
Runtime (16.68 KB, application/octet-stream)
2007-06-07 20:27 UTC, pdgillen
Details
project.properties file (3.35 KB, text/plain)
2007-06-08 15:07 UTC, pdgillen
Details
Runtime tree (26.87 KB, application/octet-stream)
2007-06-08 21:41 UTC, Nitya Doraisamy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pdgillen 2007-06-07 20:24:56 UTC
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.
Comment 1 pdgillen 2007-06-07 20:26:08 UTC
Created attachment 43404 [details]
Project Properties
Comment 2 pdgillen 2007-06-07 20:27:00 UTC
Created attachment 43405 [details]
Runtime
Comment 3 Nitya Doraisamy 2007-06-07 23:36:57 UTC
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/)?
Comment 4 pdgillen 2007-06-08 15:05:41 UTC
>what is the Java EE version showing in the project properties window?
Java EE 5

Comment 5 pdgillen 2007-06-08 15:07:41 UTC
Created attachment 43441 [details]
project.properties file
Comment 6 Nitya Doraisamy 2007-06-08 21:40:56 UTC
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.
Comment 7 Nitya Doraisamy 2007-06-08 21:41:35 UTC
Created attachment 43457 [details]
Runtime tree
Comment 8 Vince Kraemer 2008-04-26 03:08:45 UTC
is this really a defect
Comment 9 Nitya Doraisamy 2008-04-26 03:25:31 UTC
Should have been closed. Not a defect.