[jboss-jira] [JBoss JIRA] Resolved: (JBASM-30) System Property "java.endorsed.dirs" is not set in ServerController.getStartCommandLine

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Thu May 14 15:36:46 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBASM-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Lee Rubinger resolved JBASM-30.
--------------------------------------

    Resolution: Done


> System Property "java.endorsed.dirs" is not set in ServerController.getStartCommandLine
> ---------------------------------------------------------------------------------------
>
>                 Key: JBASM-30
>                 URL: https://jira.jboss.org/jira/browse/JBASM-30
>             Project: JBoss AS Server Manager
>          Issue Type: Bug
>    Affects Versions: 1.0.2.GA
>            Reporter: Andrew Lee Rubinger
>            Assignee: Andrew Lee Rubinger
>             Fix For: 1.0.3.GA
>
>
> Must be set to $JBOSS_HOME/lib/endorsed.
> For instance:
> [alrubinger at localhost testsuite]$ /opt/sun/java/jdk1.5.0_18-x86_64/bin/java -cp /home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x_BootstrapLegacyRemoval/build/output/jboss-5.1.0.GA/bin/run.jar:/opt/sun/java/jdk5/lib/tools.jar -Djboss.vfs.forceNoReaper=true -Dxb.builder.useUnorderedSequence=true -Djboss.server.log.threshold=DEBUG org.jboss.Main -c minimal -b localhost -g DefaultPartition
> 13:04:05,150 INFO  [AbstractServer] Starting: org.jboss.bootstrap.impl.as.server.JBossASServerImpl at 67006d75
> 13:04:05,559 INFO  [AbstractMCServerBase] Starting Microcontainer, Main bootstrapURL=file:/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x_BootstrapLegacyRemoval/build/output/jboss-5.1.0.GA/server/minimal/conf/bootstrap.xml
> Failed to boot JBoss:
> java.lang.Exception: Encountered exception in server startup
> 	at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.doStart(AbstractMCServerBase.java:280)
> 	at org.jboss.bootstrap.impl.as.server.JBossASServerImpl.doStart(JBossASServerImpl.java:288)
> 	at org.jboss.bootstrap.impl.base.server.AbstractServer.start(AbstractServer.java:331)
> 	at org.jboss.bootstrap.impl.as.server.JBossASServerImpl.start(JBossASServerImpl.java:301)
> 	at org.jboss.Main.boot(Main.java:389)
> 	at org.jboss.Main$1.run(Main.java:723)
> 	at java.lang.Thread.run(Thread.java:595)
> Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x_BootstrapLegacyRemoval/build/output/jboss-5.1.0.GA/server/minimal/conf/bootstrap/classloader.xml at 6,49
> 	at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:177)
> 	at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:147)
> 	at org.jboss.bootstrap.impl.mc.deployer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:150)
> 	at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.doStart(AbstractMCServerBase.java:265)
> 	... 6 more
> Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlNsForm
> 	at org.jboss.xb.builder.JBossXBNoSchemaBuilder.<init>(JBossXBNoSchemaBuilder.java:164)
> 	at org.jboss.xb.builder.JBossXBBuilder.build(JBossXBBuilder.java:288)
> 	at org.jboss.xb.builder.JBossXBBuilder.build(JBossXBBuilder.java:181)
> 	at org.jboss.xb.builder.JBossXBBuilder.build(JBossXBBuilder.java:160)
> 	at org.jboss.xb.binding.resolver.AbstractMutableSchemaResolver.resolve(AbstractMutableSchemaResolver.java:261)
> 	at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:274)
> 	at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:401)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
> 	at com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.startElement(XIncludeHandler.java:715)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:779)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1168)
> 	at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
> 	... 9 more
> Posting Shutdown Request to the server...
> Exception in thread "Thread-1" java.lang.RuntimeException: Exception encountered in shutting down the server
> 	at org.jboss.Main$ShutdownHook$1.run(Main.java:928)
> Caused by: java.lang.IllegalStateException: Server must be in LifecycleState STARTED; is instead: STARTING
> 	at org.jboss.bootstrap.impl.base.server.AbstractServer.checkState(AbstractServer.java:820)
> 	at org.jboss.bootstrap.impl.base.server.AbstractServer.shutdown(AbstractServer.java:254)
> 	at org.jboss.Main$ShutdownHook$1.run(Main.java:907)
> This is due to the exclusion of jaxb-api.jar.  Using "run.sh -c minimal" boots up just fine, as done manually supplying the property on the command line.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list