redhat - Glassfish bundle in unexpected state exception -


so, basicly:

there standalone (no cluster) new installation of glassfish 3.1.2 on rhel 6.2 , java 6 without deployed applications (really new installation).

i started default domain domain1 on server first time , stopped without done between start/stop.

when start domain again, t following error:

    waiting domain1 start ...error starting domain domain1. server exited prematurely exit code 1. before died, produced following output:  launching glassfish on felix platform 04.06.2011 18:27:47 bundleprovisioner update info: updated bundle 1 /home/glassfisfusr/glassfish3/glassfish/modules/endorsed/jaxb-api-osgi.jar 04.06.2011 18:27:47 bundleprovisioner update info: updated bundle 2 /home/glassfisfusr/glassfish3/glassfish/modules/endorsed/javax.annotation.jar 04.06.2011 18:27:47 bundleprovisioner update info: updated bundle 3 /home/glassfisfusr/glassfish3/glassfish/modules/endorsed/webservices-api-osgi.jar 04.06.2011 18:27:47 bundleprovisioner update  skipped   04.06.2011 18:27:49 bundleprovisioner update info: updated bundle 319 /home/glassfisfusr/glassfish3/glassfish/modules/autostart/osgi-ee-resources.jar 04.06.2011 18:27:49 osgiframeworklauncher launchosgiframework info: updating system bundle exception in thread "main" java.lang.reflect.invocationtargetexception         @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)         @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)         @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)         @ java.lang.reflect.method.invoke(method.java:597)         @ com.sun.enterprise.glassfish.bootstrap.glassfishmain.main(glassfishmain.java:97)         @ com.sun.enterprise.glassfish.bootstrap.asmain.main(asmain.java:55) caused by: org.glassfish.embeddable.glassfishexception: java.lang.illegalstateexception: bundle in unexpected state.         @ com.sun.enterprise.glassfish.bootstrap.osgi.osgiglassfishruntimebuilder.build(osgiglassfishruntimebuilder.java:164)         @ org.glassfish.embeddable.glassfishruntime._bootstrap(glassfishruntime.java:157)         @ org.glassfish.embeddable.glassfishruntime.bootstrap(glassfishruntime.java:110)         @ com.sun.enterprise.glassfish.bootstrap.glassfishmain$launcher.launch(glassfishmain.java:112)         ... 6 more caused by: java.lang.illegalstateexception: bundle in unexpected state.         @ org.apache.felix.framework.felix.acquirebundlelock(felix.java:4856)         @ org.apache.felix.framework.felix.start(felix.java:809)         @ com.sun.enterprise.glassfish.bootstrap.osgi.osgiglassfishruntimebuilder.build(osgiglassfishruntimebuilder.java:157)         ... 9 more error stopping framework: java.lang.nullpointerexception java.lang.nullpointerexception         @ com.sun.enterprise.glassfish.bootstrap.glassfishmain$launcher$1.run(glassfishmain.java:203) 

take @ bugreport: http://java.net/jira/browse/wsit-1642?page=com.atlassian.streams.streams-jira-plugin%3aactivity-stream-issue-tab

the following help:

rm -rf $gf_home/glassfish/domains/domain1/osgi-cache/ 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -