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 148124 - Can't assign a proyect to an 5.5 version
Summary: Can't assign a proyect to an 5.5 version
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-24 00:07 UTC by arvychile
Modified: 2008-09-24 15:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arvychile 2008-09-24 00:07:25 UTC
I have this JSP proyect. On proyect tab I choose "Resolve missing Server problem" I go to a list of available servers.
Since I uninstalled Tomcat 6.0, I only have Glassfish V2/V3 options. If I press on "Add Server" I'll get to a Server
configuration window. I choose Tomcat 5.5, set all it's options:
1) Set Catalina Home
2) Use Private Configuration Folder
3) Set manager capable account
and Finish

I get a "The target server has not been set or has been removed" message

But on the services panel, Server I'll find Tomcat 5.5 installed and I can even start it up and browse to the start
page. I need to use Tomcat 5.5 instead of version 6.0 which will work.


Win32 XP, SP3. Tomcat 5.x various versions (5.0.30, 5.5.17, 5.5.20, 5.5.25)

Arvychile

P.S. I did search the site but could be I didn't use the correct keywords, sorry in such case.
Comment 1 Petr Hejl 2008-09-24 09:41:39 UTC
I suppose you created EE5 project. Tomcat 5.5 does not support EE5 capabilities.
Right bellow the "The target server has not been set or has been removed" message is the required spec mentioned. If
there is Java EE 5 this issue is invalid.
Comment 2 arvychile 2008-09-24 13:42:48 UTC
Thanks pheil for your answer.

I'm not shure if I understood your answer, so let me elaborate a little. currently I've setup at the services panel
tomcat 5.0 and 5.5. Even thou they will startup they are not available from the servers window whemn solving missing
server problem.

In my laptop I have JDK versions 1.3.1_20, 1.5.0_15 and 1.6.0_06 available.

When you say "I suppose you created EE5 project" is that a must have or would that be the cause of the problem.

Now, being new to netbeans how would I know if I've created an EE5 project or not?



P.S. 
Comment 3 Petr Hejl 2008-09-24 15:05:23 UTC
You created enterprise Java EE (formerly J2EE project) - http://java.sun.com/javaee/. There exists different versions of
the specification such as 1.4 and 5. You can see the setting in project properties (Run tab). 1.4 don't support all
features EE 5 has. So you can't run EE 5 app (Tomcat 6.0) on J2EE 1.4 only container (Tomcat 5 and Tomcat 5.5).