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 50892 - Sample projects have no target server set
Summary: Sample projects have no target server set
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-27 10:43 UTC by L Martinek
Modified: 2006-03-24 10:32 UTC (History)
1 user (show)

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 L Martinek 2004-10-27 10:43:21 UTC
1. Start NetBeans 4.0 with Sun AppServer plugin or
use NetBeans 4.1 ea1. 
2. Set AppServer as default server.
3. Create new web project. Now AppServer should be
target server for this new project, but it isn't.
Let the target server field empty for now.
4. Run project. A dialog appers and you can choose
which server to use, but AppServer is missing,
only Tomcat is there.
Comment 1 Petr Jiricka 2004-10-27 12:44:11 UTC
Does not affect the NB 4.0 release, adding the NO40 keyword.

Comment 2 Nam Nguyen 2004-10-27 19:25:19 UTC
Do we need to investigate whether this would affect the bundled AS plugin?
Comment 3 Nam Nguyen 2004-10-27 19:41:33 UTC
Libor: this test case works for me with NB trunk code and latest AS
plugin in cdp-j2ee build.  Which appserver plugin do you use?  Any
stack trace in messages.log to help debug?
Comment 4 L Martinek 2004-10-29 11:22:02 UTC
Now I found out that it happens only when you create sample projects
(New Project -> Samples -> 'Web', 'Enterpise' or 'Java BluePrints
Solutions')
Comment 5 Nam Nguyen 2004-10-29 18:07:51 UTC
Yes I can reproduce this with Sample/TomcatJSP eventhough the
configuration is created properly for the default Tomcat instance. 
Interesting thing is that this does not happen to plain webapp and
only to sample web projects.  If we have Sample web projects then this
should be fixed?
Comment 6 Martin Grebac 2005-01-04 09:51:21 UTC
will resolve for 4.1
Comment 7 zikmund 2005-01-25 15:10:53 UTC
Their default value should be 'default server' or 'Tomcat 5.5.x'.
Currently it's Tomcat 5.0.x which will cause "Server Reference
Problem" implemented by Stepan.
Comment 8 Martin Grebac 2005-01-31 10:21:26 UTC
Fixed in trunk
Comment 9 L Martinek 2005-02-08 10:26:46 UTC
verified