users@glassfish.java.net

Re: Glassfish Start-up Error

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Sun, 09 Dec 2007 14:05:18 +0100

try adding this :
-Dcom.sun.enterprise.server.ss.ASQuickStartup=false
to the JVM options (domain.xml).

-Alexis

glassfish_at_javadesktop.org wrote:
> When I start the Glassfish server in Eclipse, I get the following error:
>
> Dec 9, 2007 4:32:55 PM com.sun.enterprise.server.PEMain main
> INFO: Starting Sun Java System Application Server 9.1 (build b58g-fcs) ...
> Dec 9, 2007 4:32:56 PM com.sun.enterprise.server.PEMain$LoadMBeanServer doRun
> INFO: MBeanServer started: com.sun.enterprise.interceptor.DynamicInterceptor
> Dec 9, 2007 4:32:56 PM com.sun.enterprise.admin.server.core.channel.AdminChannel warn
> WARNING: channel.creation_error
> Dec 9, 2007 4:32:56 PM com.sun.enterprise.server.ss.ASLazyKernel startASSocketServices
> SEVERE: UnknownException during startup. Disable quick startup by setting system property com.sun.enterprise.server.ss.ASQuickStartup to false
> com.sun.appserv.server.ServerLifecycleException: java.lang.RuntimeException: Unable to save stub to /home/chris/glassfish-v2/domains/domain1/config/admch
> at com.sun.enterprise.admin.server.core.channel.AdminChannel.createRMIChannel(AdminChannel.java:111)
> at com.sun.enterprise.admin.server.core.AdminChannelLifecycle.onInitialization(AdminChannelLifecycle.java:74)
> at com.sun.enterprise.server.ss.ASLazyKernel.initializeAdminService(ASLazyKernel.java:213)
> at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:98)
> at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:92)
> at com.sun.enterprise.server.PEMain.run(PEMain.java:401)
> at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
> Caused by: java.lang.RuntimeException: Unable to save stub to /home/chris/glassfish-v2/domains/domain1/config/admch
> at com.sun.enterprise.admin.server.core.channel.AdminChannel.saveStubToFile(AdminChannel.java:354)
> at com.sun.enterprise.admin.server.core.channel.AdminChannel.createRMIChannel(AdminChannel.java:107)
> ... 11 more
> Caused by: java.io.FileNotFoundException: /home/chris/glassfish-v2/domains/domain1/config/admch (Permission denied)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
> at com.sun.enterprise.admin.server.core.channel.AdminChannel.saveStubToFile(AdminChannel.java:348)
> ... 12 more
>
> I gave read/write/execute permissions recursively to /home/chris/glassfish-v2/. Same error. Help appreciated.
>
> Thanks.
>
> Chris
> [Message sent by forum member 'chris55' (chris55)]
>
> http://forums.java.net/jive/thread.jspa?messageID=249209
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>