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 130655 - Can't start Glassfish v2 from non-default domain
Summary: Can't start Glassfish v2 from non-default domain
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All Linux
: P4 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2008-03-20 15:13 UTC by Jaroslav Pospisil
Modified: 2008-11-14 23:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
server.log (25.19 KB, text/plain)
2008-03-20 15:14 UTC, Jaroslav Pospisil
Details
domain.xml (21.27 KB, text/xml)
2008-03-21 08:35 UTC, Jaroslav Pospisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2008-03-20 15:13:39 UTC
Build 200803200007,Ubuntu Hardy, JDK1.6.0_05

Start IDE with clean userdir,add Glassfish v2ur1 server,don't use default domain, but choose Create personal Domain option. 
Then try to start the server. It fails with message "Sun Java System Application Server Couldn't start...".
Attaching server.log
Comment 1 Jaroslav Pospisil 2008-03-20 15:14:32 UTC
Created attachment 58756 [details]
server.log
Comment 2 Vince Kraemer 2008-03-20 15:59:42 UTC
which v2ur1 build are you using?

does the default domain (domain1) start if you add it to the IDE?

Are you able to start the domain that you created with NetBeans via the command-line 

(asadmin start-domain --domaindir /home/jp154641/space domainfolder1)

Are both of these files present: /home/jp154641/space/domainfolder1/config/keystore.jks;
/home/jp154641/space/domainfolder1/config/cacerts.jks?

Are you able to create and start a domain using asadmin commands?
Comment 3 Jaroslav Pospisil 2008-03-20 16:22:09 UTC
I use Glassfish v2ur1 bundled with Netbeans6.1 full. Default domain starts correctly,problem is with non-default domain.
According to console it looks like there's something wrong and I can't open admin console in browser then.

***************************************************************************************************

jp154641@jp154641-laptop:~/space/servers/glassfish-v2ur1/bin$ ./asadmin start-domain --domaindir /home/jp154641/space
domainfolder1
Starting Domain domainfolder1, please wait.
Log redirected to /home/jp154641/space/domainfolder1/logs/server.log.
Redirecting output to /home/jp154641/space/domainfolder1/logs/server.log
Domain domainfolder1 is ready to receive client requests. Additional services are being started in background. 
Domain [domainfolder1] is running [Sun Java System Application Server 9.1_01 (build b09d-fcs)] with its configuration
and logs at: [/home/jp154641/space].
Admin Console is available at [http://localhost:4889].
Use the same port [4889] for "asadmin" commands.
User web applications are available at these URLs:
[http://localhost:8121 https://localhost:8222 ].
Following web-contexts are available:
[/web1  /__wstx-services ].
Standard JMX Clients (like JConsole) can connect to JMXServiceURL:
[service:jmx:rmi:///jndi/rmi://jp154641-laptop:8727/jmxrmi] for domain management purposes.
Domain listens on at least following ports for connections:
[8121 8222 4889 3741 3861 3961 8727 ].
Domain does not support application server clusters and other standalone instances.


******************************************************************************************************

Both files are present.

If I create my domain with asadmin, I can start it and stop it successfully.
Comment 4 Jaroslav Pospisil 2008-03-20 16:23:33 UTC
Glassfish version:

Version = Sun Java System Application Server 9.1_01 (build b09d-fcs)
Comment 5 Jaroslav Pospisil 2008-03-20 16:35:48 UTC
It looks like I'm able to create new domain and start Glassfish also through Netbeans Successfully now. Maybe the
generated port number collided with something, since issue is still reproducible,but only for original domain. I'm
decreasing priority and marking as random.
Comment 6 Vince Kraemer 2008-03-20 17:08:32 UTC
please attach the domain.xml file from the 'broken' domain.

I will dig into it for more clues.
Comment 7 Jaroslav Pospisil 2008-03-21 08:35:39 UTC
Created attachment 58815 [details]
domain.xml
Comment 8 Vince Kraemer 2008-08-27 02:10:29 UTC
this may be a problem in the code that does create domain... though I do not know what it is at this point....

Most of the searches that have "SecuritySupportImpl loadStores" are issue with the master password.


Comment 9 Vince Kraemer 2008-11-14 23:23:51 UTC
cannot reproduce with 6.5 and v2 ur 2 or 6.5 and v2.1