quality@glassfish.java.net

Re: GlassFish V3 B65 on Ubuntu 9.04 Server

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sun, 27 Sep 2009 12:18:34 +0200

check if during the installation it created the domain1 or not..

On Sun, Sep 27, 2009 at 11:19 AM, Axl Mattheus <amattheu_at_apache.org> 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/
>



-- 
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/arena-http/wadl