dev@glassfish.java.net

Re: Issue Found: Glassfish Verifier Tool Will Cause the Server to Fail

From: Sahoo <sanjeeb.sahoo_at_oracle.com>
Date: Fri, 18 Mar 2011 08:51:55 +0530

Jerry,

As Mitesh updated the bug, not all dependencies of verifier can be
satisfied by web profile installation. It can be argued to be a bug in
verifier or in the glassfish-verifier package. In any case, while we are
addressing that, can you try using verifier in full profile instead?

Sahoo

On Thursday 17 March 2011 02:03 PM, Sahoo wrote:
> Yep, it's a severe bug. Verifier needs
> com.sun.jdo.spi.persistence.support.ejb.ejbc pkg which is not supplied
> by anyone and that's causing the server to not start, as server tries
> to process verifier module at the time of startup itself. Pl. file a bug.
>
> On Thursday 17 March 2011 10:51 AM, Yi Yang wrote:
>>
>> Dear Experts,
>>
>> I've encountered the following issue while installing Glassfish Verifier
>> Tool to Glassfish Server via the Updatetool. I am wonder whether you
>> have any solution for this.
>>
>> --------------------
>>
>> Glassfish Version: 3.1
>>
>> Glassfish Verifier Tool Version: 3.1-43
>>
>> Platform: Windows 7 32bit and Windows XP SP3 32bit
>>
>> Symptom: The Glassfish Server would fail and could not be started up
>> after installing the Glassfish Verifier Tool 3.1-43 via the Updatetool.
>>
>> Error message:
>> -------------------
>> c:\glassfish3\glassfish\bin>asadmin start-domain domain1
>> Waiting for domain1 to start
>> ...................................................
>> ................................................................................
>>
>> ................................................................................
>>
>> ................................................................................
>>
>> ................................................................................
>>
>> ................................................................................
>>
>> ................................................................................
>>
>> .....................................
>> No response from the Domain Administration Server (domain1) after 600
>> seconds.
>> The command is either taking too long to complete or the server has
>> failed.
>> Please see the server log files for command status.
>> Please start with the --verbose option in order to see early messages.
>> Command start-domain failed.
>>
>> c:\glassfish3\glassfish\bin>asadmin start-domain --verbose domain1
>> Mar 16, 2011 9:24:20 PM
>> com.sun.enterprise.admin.launcher.GFLauncherLogger info
>> INFO: JVM invocation command line:
>> C:\Program Files\Java\jdk1.6.0_24\bin\java.exe
>> -cp
>> C:/glassfish3/glassfish/modules/glassfish.jar
>> -XX:+UnlockDiagnosticVMOptions
>> -XX:MaxPermSize=192m
>> -XX:NewRatio=2
>> -Xmx512m
>> -javaagent:C:/glassfish3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true,noSe
>>
>> rver=true
>> -client
>> -Dosgi.shell.telnet.maxconn=1
>> -Dfelix.fileinstall.disableConfigSave=false
>> -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
>> -Dfelix.fileinstall.dir=C:\glassfish3\glassfish/modules/autostart/
>> -Djavax.net.ssl.keyStore=C:\glassfish3\glassfish\domains\domain1/config/keystore
>>
>> .jks
>> -Dosgi.shell.telnet.port=6666
>> -Djava.security.policy=C:\glassfish3\glassfish\domains\domain1/config/server.pol
>>
>> icy
>> -Dfelix.fileinstall.log.level=2
>> -Dfelix.fileinstall.poll=5000
>> -Dcom.sun.aas.instanceRoot=C:\glassfish3\glassfish\domains\domain1
>> -Dosgi.shell.telnet.ip=127.0.0.1
>> -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.
>>
>> config.serverbeans.AppserverConfigEnvironmentFactory
>> -Djava.endorsed.dirs=C:\glassfish3\glassfish/modules/endorsed;C:\glassfish3\glas
>>
>> sfish/lib/endorsed
>> -Dcom.sun.aas.installRoot=C:\glassfish3\glassfish
>> -Dfelix.fileinstall.bundles.startTransient=true
>> -Djava.ext.dirs=c:\program files\java\jdk1.6.0_24/lib/ext;c:\program
>> files\java\
>> jdk1.6.0_24/jre/lib/ext;C:\glassfish3\glassfish\domains\domain1/lib/ext
>> -Dfelix.fileinstall.bundles.new.start=true
>> -Djavax.net.ssl.trustStore=C:\glassfish3\glassfish\domains\domain1/config/cacert
>>
>> s.jks
>> -Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.f
>>
>> elix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command
>>
>> -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
>> -Djava.security.auth.login.config=C:\glassfish3\glassfish\domains\domain1/config
>>
>> /login.conf
>> -DANTLR_USE_DIRECT_CLASS_LOADING=true
>> -Dgosh.args=--nointeractive
>> -Djava.library.path=C:/glassfish3/glassfish/lib;C:/Program
>> Files/Java/jdk1.6.0_2
>> 4/bin;C:/glassfish3/glassfish/bin;C:/Windows/Sun/Java/bin;C:/Windows/System32;C:
>>
>> /Windows;Z:/app/cdc/product/11.2.0/dbhome_1/BIN;C:/glassfish3/bin;C:/glassfish3/
>>
>> glassfish/Mobile/Server/bin;C:/Windows/System32/wbem;C:/Windows/System32/Windows
>>
>> PowerShell/v1.0;C:/Program Files/Java/jre6
>> com.sun.enterprise.glassfish.bootstrap.ASMain
>> -domainname
>> domain1
>> -asadmin-args
>> --host,,,localhost,,,--port,,,4848,,,--secure=false,,,--terse=false,,,--echo=fal
>>
>> se,,,--interactive=true,,,start-domain,,,--verbose=true,,,--debug=false,,,--doma
>>
>> indir,,,C:\glassfish3\glassfish\domains,,,domain1
>> -instancename
>> server
>> -verbose
>> true
>> -debug
>> false
>> -asadmin-classpath
>> C:/glassfish3/glassfish/modules/admin-cli.jar
>> -asadmin-classname
>> com.sun.enterprise.admin.cli.AsadminMain
>> -upgrade
>> false
>> -type
>> DAS
>> -domaindir
>> C:/glassfish3/glassfish/domains/domain1
>> -read-stdin
>> true
>> Mar 16, 2011 9:24:20 PM
>> com.sun.enterprise.admin.launcher.GFLauncherLogger info
>> INFO: Successfully launched in 16 msec.
>> Launching GlassFish on Felix platform
>> ------------------------------------
>>
>> Thanks very much!
>>
>> Best regards,
>>
>> Jerry Yang
>> Oracle Berkeley DB Group
>