quality@glassfish.java.net

Re: GlassFish V3 B65 on Ubuntu 9.04 Server

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Tue, 29 Sep 2009 09:32:11 +0200

Somehow you don't seem to have StAX implementation classes available
to your running asadmin command (or to Java altogether)...
Can you start GlassFish using "java -jar glassfish/modules/
glassfish.jar"?
What does glassfish/config/asenv.conf contains?
-Alexis

On Sep 29, 2009, at 2:52, Judy Tang wrote:

> Hi AX,
>
> Thanks for testing and reporting issue. Our internal testing used
> the same configuration but with JDK 1.6.0_16,
> it works fine. Did your environment worked before with GlassFish v3
> previous builds ?
> Thanks,
> Judy
>
> Axl Mattheus wrote:
>> I installed glassfish v3 preview (promoted) build 65 on Ubuntu 9.04
>> Server. The java version is Sun JDK 1.6.0_14.
>>
>> Whenever I try to execute some commands form asadmin, it crashes
>> with the following stacktrace:
>>
>> --(gf3adm_at_gf3tst)-(0)-- ./asadmin
>> Use "exit" to exit and "help" for online help.
>> asadmin> start-domain domain1
>> Exception in thread "main"
>> javax.xml.stream.FactoryConfigurationError: Provider
>> com.bea.xml.stream.MXParserFactory not found
>> at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:
>> 72)
>> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
>> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
>> at
>> javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:
>> 136)
>> at
>> com
>> .sun
>> .enterprise
>> .universal.xml.MiniXmlParser.createParser(MiniXmlParser.java:209)
>> at
>> com
>> .sun.enterprise.universal.xml.MiniXmlParser.read(MiniXmlParser.java:
>> 183)
>> at
>> com
>> .sun
>> .enterprise.universal.xml.MiniXmlParser.<init>(MiniXmlParser.java:65)
>> at
>> com.sun.enterprise.admin.launcher.GFLauncher.setup(GFLauncher.java:
>> 132)
>> at
>> com
>> .sun
>> .enterprise
>> .admin
>> .cli
>> .StartDomainCommand.runCommandNotEmbedded(StartDomainCommand.java:
>> 138)
>> at
>> com
>> .sun
>> .enterprise
>> .admin
>> .cli.StartDomainCommand.executeCommand(StartDomainCommand.java:113)
>> at
>> com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:256)
>> at
>> com
>> .sun
>> .enterprise
>> .admin.cli.MultimodeCommand.executeCommands(MultimodeCommand.java:
>> 210)
>> at
>> com
>> .sun
>> .enterprise
>> .admin.cli.MultimodeCommand.executeCommand(MultimodeCommand.java:127)
>> at
>> com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:256)
>> at
>> com
>> .sun
>> .enterprise.admin.cli.AsadminMain.executeCommand(AsadminMain.java:
>> 192)
>> at
>> com.sun.enterprise.admin.cli.AsadminMain.main(AsadminMain.java:130)
>> --(gf3adm_at_gf3tst)-(0)--
>>
>> Here is another example:
>>
>> --(gf3adm_at_gf3tst)-(0)-- ./asadmin
>> Use "exit" to exit and "help" for online help.
>> asadmin> list-domains
>> Exception in thread "main"
>> javax.xml.stream.FactoryConfigurationError: Provider
>> com.bea.xml.stream.MXParserFactory not found
>> at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:
>> 72)
>> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
>> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
>> at
>> javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:
>> 136)
>> at
>> com
>> .sun
>> .enterprise
>> .universal.xml.MiniXmlParser.createParser(MiniXmlParser.java:209)
>> at
>> com
>> .sun.enterprise.universal.xml.MiniXmlParser.read(MiniXmlParser.java:
>> 183)
>> at
>> com
>> .sun
>> .enterprise.universal.xml.MiniXmlParser.<init>(MiniXmlParser.java:65)
>> at
>> com.sun.enterprise.admin.launcher.GFLauncher.setup(GFLauncher.java:
>> 132)
>> at
>> com
>> .sun
>> .enterprise
>> .admin
>> .cli
>> .StartDomainCommand.runCommandNotEmbedded(StartDomainCommand.java:
>> 138)
>> at
>> com
>> .sun
>> .enterprise
>> .admin
>> .cli.StartDomainCommand.executeCommand(StartDomainCommand.java:113)
>> at
>> com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:256)
>> at
>> com
>> .sun
>> .enterprise
>> .admin.cli.MultimodeCommand.executeCommands(MultimodeCommand.java:
>> 210)
>> at
>> com
>> .sun
>> .enterprise
>> .admin.cli.MultimodeCommand.executeCommand(MultimodeCommand.java:127)
>> at
>> com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:256)
>> at
>> com
>> .sun
>> .enterprise.admin.cli.AsadminMain.executeCommand(AsadminMain.java:
>> 192)
>> at
>> com.sun.enterprise.admin.cli.AsadminMain.main(AsadminMain.java:130)
>> --(gf3adm_at_gf3tst)-(0)--
>>
>> And another:
>>
>> --(gf3adm_at_gf3tst)-(0)-- ./asadmin
>> Use "exit" to exit and "help" for online help.
>> asadmin> start-domain domain1
>> Exception in thread "main"
>> javax.xml.stream.FactoryConfigurationError: Provider
>> com.bea.xml.stream.MXParserFactory not found
>> at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:
>> 72)
>> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
>> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
>> at
>> javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:
>> 136)
>> at
>> com
>> .sun
>> .enterprise
>> .universal.xml.MiniXmlParser.createParser(MiniXmlParser.java:209)
>> at
>> com
>> .sun.enterprise.universal.xml.MiniXmlParser.read(MiniXmlParser.java:
>> 183)
>> at
>> com
>> .sun
>> .enterprise.universal.xml.MiniXmlParser.<init>(MiniXmlParser.java:65)
>> at
>> com.sun.enterprise.admin.launcher.GFLauncher.setup(GFLauncher.java:
>> 132)
>> at
>> com
>> .sun
>> .enterprise
>> .admin
>> .cli
>> .StartDomainCommand.runCommandNotEmbedded(StartDomainCommand.java:
>> 138)
>> at
>> com
>> .sun
>> .enterprise
>> .admin
>> .cli.StartDomainCommand.executeCommand(StartDomainCommand.java:113)
>> at
>> com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:256)
>> at
>> com
>> .sun
>> .enterprise
>> .admin.cli.MultimodeCommand.executeCommands(MultimodeCommand.java:
>> 210)
>> at
>> com
>> .sun
>> .enterprise
>> .admin.cli.MultimodeCommand.executeCommand(MultimodeCommand.java:127)
>> at
>> com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:256)
>> at
>> com
>> .sun
>> .enterprise.admin.cli.AsadminMain.executeCommand(AsadminMain.java:
>> 192)
>> at
>> com.sun.enterprise.admin.cli.AsadminMain.main(AsadminMain.java:130)
>> --(gf3adm_at_gf3tst)-(0)--
>>
>> Here is an example of a partially succefful use of asadmin:
>>
>> --(gf3adm_at_gf3tst)-(0)-- ./asadmin
>> Use "exit" to exit and "help" for online help.
>> asadmin> create-domain
>> Enter admin user name [Enter to accept default "admin" / no
>> password]>
>> Enter the value for the domain_name operand> domain2
>> Using port 4848 for Admin.
>> Using default port 8080 for HTTP Instance.
>> Using default port 7676 for JMS.
>> Using default port 3700 for IIOP.
>> Using default port 8181 for HTTP_SSL.
>> Using default port 3820 for IIOP_SSL.
>> Using default port 3920 for IIOP_MUTUALAUTH.
>> Using default port 8686 for JMX_ADMIN.
>> Distinguished Name of the self-signed X.509 Server Certificate is:
>> [CN=gf3tst,OU=GlassFish,O=Sun Microsystems,L=Santa
>> Clara,ST=California,C=US]
>> No domain initializers found, bypassing customization step
>> Domain domain2 created.
>> Domain domain2 admin port is 4848.
>> Domain domain2 allows admin login as user "admin" with no password.
>> Command create-domain executed successfully.
>> asadmin> start-domain domain2
>> Exception in thread "main"
>> javax.xml.stream.FactoryConfigurationError: Provider
>> com.bea.xml.stream.MXParserFactory not found
>> at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:
>> 72)
>> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
>> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
>> at
>> javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:
>> 136)
>> at
>> com
>> .sun
>> .enterprise
>> .universal.xml.MiniXmlParser.createParser(MiniXmlParser.java:209)
>> at
>> com
>> .sun.enterprise.universal.xml.MiniXmlParser.read(MiniXmlParser.java:
>> 183)
>> at
>> com
>> .sun
>> .enterprise.universal.xml.MiniXmlParser.<init>(MiniXmlParser.java:65)
>> at
>> com.sun.enterprise.admin.launcher.GFLauncher.setup(GFLauncher.java:
>> 132)
>> at
>> com
>> .sun
>> .enterprise
>> .admin
>> .cli
>> .StartDomainCommand.runCommandNotEmbedded(StartDomainCommand.java:
>> 138)
>> at
>> com
>> .sun
>> .enterprise
>> .admin
>> .cli.StartDomainCommand.executeCommand(StartDomainCommand.java:113)
>> at
>> com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:256)
>> at
>> com
>> .sun
>> .enterprise
>> .admin.cli.MultimodeCommand.executeCommands(MultimodeCommand.java:
>> 210)
>> at
>> com
>> .sun
>> .enterprise
>> .admin.cli.MultimodeCommand.executeCommand(MultimodeCommand.java:127)
>> at
>> com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:256)
>> at
>> com
>> .sun
>> .enterprise.admin.cli.AsadminMain.executeCommand(AsadminMain.java:
>> 192)
>> at
>> com.sun.enterprise.admin.cli.AsadminMain.main(AsadminMain.java:130)
>> --(gf3adm_at_gf3tst)-(0)--
>>
>>
>> Thank you,
>>
>> ax/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>