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