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 161394 - [67cat] Cannot setup glassfish v2 server
Summary: [67cat] Cannot setup glassfish v2 server
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-27 22:40 UTC by neilg
Modified: 2009-04-14 19:22 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 neilg 2009-03-27 22:40:05 UTC
[ BUILD # : 200903250219 ]
[ JDK VERSION : 1.6.* ]

The "Add Server Instance" dialog reports 'Server Location is not an
"GlassFish v2.x" location' when I try to setup a new gf2 instance.

The steps I followed are:

1. Install fresh instance of gf2 server into
/home/neil/apps/glassfish
2. In Netbeans "Services" tab right click on Servers and choose "Add
Server"
3. Choose "GlassFish v2.x"
4. Enter "/home/neil/apps/glassfish" into the "Server Location" field

Error message is displayed.
Comment 1 Vince Kraemer 2009-03-29 16:35:16 UTC
I will look at this one.
Comment 2 Vince Kraemer 2009-03-29 16:50:35 UTC
what does the error message say?
Comment 3 Vince Kraemer 2009-03-29 22:18:01 UTC
how did you install your v2 instance?

who 'owns' the install?

Note: if you used the installer from
http://java.net/download/javaee5/v2ur2/promoted/Linux/glassfish-installer-v2ur2-b04-linux.jar and/or
http://java.net/download/javaee5/v2ur2/promoted/Linux/glassfish-installer-v2ur2-b04-linux-ml.jar, you may want to verify
that you followed the instruction on this page: https://glassfish.dev.java.net/downloads/v2ur2-b04.html.

If you installed the server as a different user, you may want to create a personal domain, since you won't be able to
write into the log directory....  The wizard should have pointed that out to you though.
Comment 4 Vince Kraemer 2009-04-08 19:45:21 UTC
I will add a special message for the situation where the user has not run 'ant -f setup.xml'... 
Comment 5 Quality Engineering 2009-04-14 19:17:14 UTC
Integrated into 'main-golden', will be available in build *200904141401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/fbfbbc9bd8f9
User: Vince Kraemer <vkraemer@netbeans.org>
Log: #161394: improve message when setup hasn't been run before attempted registration
Comment 6 Vince Kraemer 2009-04-14 19:22:07 UTC
I think this addresses the filers concerns.