users@glassfish.java.net

Problem starting GF 3.0.1

From: <noreply_at_java.net>
Date: Thu, 04 Nov 2010 07:57:27 -0700

I´m having problem starting Glassfish 3.0.1. First the problem only occurred
a few (random) times, but now it´s always happening. Here is the log

D:\Dados\Documents and
Settings\49756518>D:\java\glassfish\glassfishv301-2\glassfish\bin\asadmin.bat
Use "exit" to exit and "help" for online help.
asadmin> start-domain --verbose
04/11/2010 11:24:53 com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: JVM invocation command line:
C:\Arquivos de programas\Java\jdk1.6.0_18\bin\java.exe
-cp
D:/java/glassfish/glassfishv301-2/glassfish/modules/glassfish.jar
-XX:+UnlockDiagnosticVMOptions
-XX:MaxPermSize=192m
-XX:NewRatio=2
-XX:+LogVMOutput
-XX:LogFile=D:\java\glassfish\glassfishv301-2\glassfish\domains\domain1/logs/jvm.log
-Xmx512m
-javaagent:D:/java/glassfish/glassfishv301-2/glassfish/lib/monitor/btrace-agent.jar=unsafe=true,noServer=true
-client
-Dosgi.shell.telnet.maxconn=1
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Dfelix.fileinstall.dir=D:\java\glassfish\glassfishv301-2\glassfish/modules/autostart/
-Djavax.net.ssl.keyStore=D:\java\glassfish\glassfishv301-2\glassfish\domains\domain1/config/keystore.jks
-Dosgi.shell.telnet.port=6666
-Djava.security.policy=D:\java\glassfish\glassfishv301-2\glassfish\domains\domain1/config/server.policy
-Dfelix.fileinstall.poll=5000
-Dcom.sun.aas.instanceRoot=D:\java\glassfish\glassfishv301-2\glassfish\domains\domain1
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dosgi.shell.telnet.ip=127.0.0.1
-Djava.endorsed.dirs=D:\java\glassfish\glassfishv301-2\glassfish/modules/endorsed;D:\java\glassfish\glassfishv301-2\glassfish/lib/endorsed
-Dcom.sun.aas.installRoot=D:\java\glassfish\glassfishv301-2\glassfish
-Djava.ext.dirs=C:\Arquivos de programas\Java\jdk1.6.0_18/lib/ext;C:\Arquivos
de programas\Java\jdk1.6.0_18/jre/lib/ext;D:\java\glassfish\gl
assfishv301-2\glassfish\domains\domain1/lib/ext
-Dfelix.fileinstall.bundles.new.start=true
-Djavax.net.ssl.trustStore=D:\java\glassfish\glassfishv301-2\glassfish\domains\domain1/config/cacerts.jks
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
-Djava.security.auth.login.config=D:\java\glassfish\glassfishv301-2\glassfish\domains\domain1/config/login.conf
-DANTLR_USE_DIRECT_CLASS_LOADING=true
-Dfelix.fileinstall.debug=1
-Dorg.glassfish.web.rfc2109_cookie_names_enforced=false
-Djava.library.path=D:/java/glassfish/glassfishv301-2/glassfish/lib;C:/Arquivos
de programas/Java/jdk1.6.0_18/bin;D:/Dados/Documents and Set
tings/49756518;C:/WINDOWS/Sun/Java/bin;C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/system32/wbem;C:/Arquivos
de programas/Intel/DMIX;D:/java/a
pache-maven-3.0/bin;D:/java/apache-ant-1.7.1/bin;C:/Sefaz-CE/SefazNET;C:/Arquivos
de programas/TortoiseSVN/bin;D:/java/glassfish2/bin;D:/jav
a/Sun/AppServer/bin;C:/Arquivos de programas/CVSNT
com.sun.enterprise.glassfish.bootstrap.ASMain
-domainname
domain1
-asadmin-args
-instancename
server
-verbose
true
-debug
false
-asadmin-classpath
D:/java/glassfish/glassfishv301-2/glassfish/modules/admin-cli.jar
-asadmin-classname
com.sun.enterprise.admin.cli.AsadminMain
-upgrade
false
-domaindir
D:/java/glassfish/glassfishv301-2/glassfish/domains/domain1
-read-stdin
true
04/11/2010 11:24:53 com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: Successfully launched in 16 msec.
04/11/2010 11:24:53 com.sun.enterprise.glassfish.bootstrap.ASMain main
INFO: Launching GlassFish on Felix platform
Welcome to Felix
================
04/11/2010 11:24:57 Main start
WARNING: Exception while starting bundle com.sun.enterprise.osgi-adapter [92]
org.osgi.framework.BundleException: Activator start error in bundle
com.sun.enterprise.osgi-adapter [92].
        at
org.apache.felix.framework.Felix.activateBundle(Felix.java:1751)
        at
org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
        at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
        at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
        at
org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
        at
org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
        at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoSuchMethodError:
com.sun.enterprise.module.bootstrap.StartupContext.<init>(Ljava/io/File;Ljava/util/Properties;)V
        at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:114)
        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
        at
org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
        ... 9 more
{felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir =
D:\java\glassfish\glassfishv301-2\glassfish\domains\domain1\autodeploy\bundles,
 felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true,
felix.fileinstall.tmpdir = D:\Dados\DOCUME~1\49756518\CONFIG~1\Tem
p\fileinstall--8911287162137956111, felix.fileinstall.filter = null}
{felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir =
D:\java\glassfish\glassfishv301-2\glassfish\modules\autostart,
felix.fileinstal
l.debug = 1, felix.fileinstall.bundles.new.start = true,
felix.fileinstall.tmpdir =
D:\Dados\DOCUME~1\49756518\CONFIG~1\Temp\fileinstall--32
20957488409899813, felix.fileinstall.filter = null}
Started bundle:
file:/D:/java/glassfish/glassfishv301-2/glassfish/modules/autostart/osgi-web-container.jar
Started bundle:
file:/D:/java/glassfish/glassfishv301-2/glassfish/modules/autostart/org.apache.felix.scr.jar
04/11/2010 11:24:57 Main start
WARNING: Exception while starting bundle com.sun.enterprise.osgi-adapter [92]
org.osgi.framework.BundleException: Activator start error in bundle
com.sun.enterprise.osgi-adapter [92].
        at
org.apache.felix.framework.Felix.activateBundle(Felix.java:1751)
        at
org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
        at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
        at org.jvnet.hk2.osgimain.Main.start(Main.java:154)
        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
        at
org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
        at
org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
        at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoSuchMethodError:
com.sun.enterprise.module.bootstrap.StartupContext.<init>(Ljava/io/File;Ljava/util/Properties;)V
        at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:114)
        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
        at
org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
        ... 9 more
Updating configuration from
org.apache.felix.fileinstall-autodeploy-bundles.cfg
Installed
D:\java\glassfish\glassfishv301-2\glassfish\modules\autostart\org.apache.felix.fileinstall-autodeploy-bundles.cfg
{felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir =
D:\java\glassfish\glassfishv301-2\glassfish\domains\domain1\autodeploy\bundles,
 felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true,
felix.fileinstall.tmpdir = D:\Dados\DOCUME~1\49756518\CONFIG~1\Tem
p\fileinstall--4843937266077181191, felix.fileinstall.filter = null}
 


--
[Message sent by forum member 'fabriciolemos']
View Post: http://forums.java.net/node/712051