10 Replies Latest reply on Jul 22, 2011 3:51 AM by Mustafa Şahin AYDIN

    JBOSS 6 Startup Error

    Enes Tahan Newbie

      Hiya, we are developing a very large scale web application (more than 3000 pages , over 10000 classes), and it has all developed with jsf 1.1,jsp,pojos,jdbc.

      not it is time to refresh the whole app with new shining technology, we are planning to use seam 3, jboss 6 or 7.

      Afew days ago i downloaded jboss 6.0.0 final , i just run it. and i got lots of exepctions. i didnt deploy anything. it was outside of eclipse.

      then i did the same on different computers at work(i downloaded again per machine and on that machine), it happened the same.

       

      platform windows 7, i tried it on windows XP alsoe, the same result.

       

      i defined JBOSS_HOME=D:\Jboss-6.0.0-Final

      i defined JAVA_HOME=C:\Java\jdk1.6.0_24

       

      we are using jboss 4.2.3 it is working, and i tried jboss 7 beta 3 it is ok

       

      so what is the problem u think?

       

      here is the stack trace

       

       

      12:33:37,818 ERROR [AbstractKernelController] Error installing to Parse: name=vfs:///D:/jboss-6.0.0.Final/server/default/deploy/jboss-ejb3-embedded-impl-as.jar state=PreParse mode=Manual requiredState=Parse: org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfs:///D:/jboss-6.0.0.Final/server/default/deploy/jboss-ejb3-embedded-impl-as.jar/embedded-ejb-as-adaptor-jboss-beans.xml

                at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA]

                at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:383) [:2.2.0.GA]

                at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:343) [:2.2.0.GA]

                at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:315) [:2.2.0.GA]

                at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:255) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]

                at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]

                at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]

                at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]

                at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]

                at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]

                at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]

                at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]

                at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]

                at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.0.0.Final]

                at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]

                at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

                at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

                at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]

      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: vfs:///D:/jboss-6.0.0.Final/server/default/deploy/jboss-ejb3-embedded-impl-as.jar/embedded-ejb-as-adaptor-jboss-beans.xml@15,37

                at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:224) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:178) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:257) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:231) [jbossxb.jar:2.0.3.GA]

                at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137) [:2.2.0.GA]

                at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121) [:2.2.0.GA]

                at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:352) [:2.2.0.GA]

                at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:317) [:2.2.0.GA]

                at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:376) [:2.2.0.GA]

                ... 48 more

      Caused by: java.lang.RuntimeException: Invalid value Strict valid are [CALLBACK, OPTIONAL, STRICT]

                at org.jboss.xb.builder.runtime.EnumValueAdapter.cast(EnumValueAdapter.java:136) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.builder.runtime.AbstractPropertyHandler.attribute(AbstractPropertyHandler.java:115) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.binding.sunday.unmarshalling.RegisteredAttributesHandler.attributes(RegisteredAttributesHandler.java:64) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.builder.runtime.BeanHandler.startParticle(BeanHandler.java:112) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.builder.runtime.SetParentOverrideHandler.startParticle(SetParentOverrideHandler.java:65) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.binding.sunday.unmarshalling.AbstractPosition.initValue(AbstractPosition.java:147) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.binding.sunday.unmarshalling.ElementPosition.push(ElementPosition.java:582) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:205) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.startElement(SaxJBossXBParser.java:401) [jbossxb.jar:2.0.3.GA]

                at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:209) [jbossxb.jar:2.0.3.GA]

                ... 56 more

       

       

      12:33:37,883 ERROR [AbstractKernelController] Error installing to Parse: name=vfs:///D:/jboss-6.0.0.Final/server/default/deploy/shrinkwrap-extension-vdf.jar state=PreParse mode=Manual requiredState=Parse: org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfs:///D:/jboss-6.0.0.Final/server/default/deploy/shrinkwrap-extension-vdf.jar/shrinkwrap-deployer-jboss-beans.xml

                at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA]

                at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:383) [:2.2.0.GA]

                at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:343) [:2.2.0.GA]

                at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:315) [:2.2.0.GA]

                at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:255) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]

                at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]

                at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]

                at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]

                at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]

                at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]

                at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]

                at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]

                at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]

                at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.0.0.Final]

                at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]

                at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

                at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

                at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]

      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: vfs:///D:/jboss-6.0.0.Final/server/default/deploy/shrinkwrap-extension-vdf.jar/shrinkwrap-deployer-jboss-beans.xml@17,19

                at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:224) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:178) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:257) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:231) [jbossxb.jar:2.0.3.GA]

                at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137) [:2.2.0.GA]

                at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121) [:2.2.0.GA]

                at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:352) [:2.2.0.GA]

                at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:317) [:2.2.0.GA]

                at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:376) [:2.2.0.GA]

                ... 48 more

      Caused by: java.lang.RuntimeException: Invalid value Strict valid are [CALLBACK, OPTIONAL, STRICT]

                at org.jboss.xb.builder.runtime.EnumValueAdapter.cast(EnumValueAdapter.java:136) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.builder.runtime.AbstractPropertyHandler.attribute(AbstractPropertyHandler.java:115) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.binding.sunday.unmarshalling.RegisteredAttributesHandler.attributes(RegisteredAttributesHandler.java:64) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.builder.runtime.BeanHandler.startParticle(BeanHandler.java:112) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.builder.runtime.SetParentOverrideHandler.startParticle(SetParentOverrideHandler.java:65) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.binding.sunday.unmarshalling.AbstractPosition.initValue(AbstractPosition.java:147) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.binding.sunday.unmarshalling.ElementPosition.push(ElementPosition.java:582) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:205) [jbossxb.jar:2.0.3.GA]

                at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.startElement(SaxJBossXBParser.java:401) [jbossxb.jar:2.0.3.GA]

                at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:209) [jbossxb.jar:2.0.3.GA]

                ... 56 more

        • 1. JBOSS 6 Startup Error
          jaikiran pai Master

          What command do you use to start the server? Please attach the boot.log and server.log files. Also, have you or someone else added/changed any jars from the JDK installation folder? How about trying to dowloand a clean JDK installation and pointing JAVA_HOME to that location? Does that work?

          • 2. JBOSS 6 Startup Error
            jaikiran pai Master

            By the way, you don't have to set JBOSS_HOME, it will be automatically set by the server startup scripts.

            • 3. Re: JBOSS 6 Startup Error
              Enes Tahan Newbie

              i attached the boot.log and server.log  files,

              First of all i was using jdk jdk1.6.0_23  i thought maybe i changed some stuff then i installed the latest jdk jdk1.6.0_24

              thats where JAVA_HOME points now.

               

              i aldo added run.bat and run.conf.bat files

              like i said i didnt change any configuration i just downloaded and run it.

              • 4. JBOSS 6 Startup Error
                Peter Johnson Master

                Unpack this file: D:/jboss-6.0.0.Final/server/default/deploy/jboss-ejb3-embedded-impl-as.jar. In the base directory there is a file named embedded-ejb-as-adaptor-jboss-beans.xml. Post the contents of that file.

                 

                The error message has me puzzled because it claims that that xml file has an incorrect value ("Strict") at line 15 position 37, but for the file I am looking at, that position is the end of that line and there is no "Strict" value anywhere in the file. Ditto for the other file and location in question: D:/jboss-6.0.0.Final/server/default/deploy/shrinkwrap-extension-vdf.jar/shrinkwrap-deployer-jboss-beans.xml@17,19

                • 5. Re: JBOSS 6 Startup Error
                  Enes Tahan Newbie

                  i also attached the files, and i am giving you the contents of the files

                   

                  embedded-ejb-as-adaptor-jboss-beans.xml

                   

                  <?xml version="1.0" encoding="UTF-8"?>

                   

                   

                    <!--

                      EJB/AS Adaptor

                  -->

                  <deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                    xsi:schemaLocation="urn:jboss:bean-deployer:2.0 bean-deployer_2_0.xsd"

                    xmlns="urn:jboss:bean-deployer:2.0">

                   

                   

                   

                   

                    <bean name="org.jboss.ejb3.EmbeddedEJBContainerASAdaptor"

                      class="org.jboss.ejb3.embedded.impl.as.EmbeddedEJBContainerASAdaptor">

                      <constructor>

                        <parameter class="org.jboss.bootstrap.api.mc.server.MCBasedServer">

                          <inject bean="JBossServer"/>

                        </parameter>

                      </constructor>

                    </bean>

                   

                   

                  </deployment>

                   

                   

                  shrinkwrap-deployer-jboss-beans.xml

                   

                  <?xml version="1.0" encoding="UTF-8"?>

                   

                   

                  <!--

                   

                   

                    Deployment descriptor for the ShrinkWrapDeployer and its dependencies

                   

                   

                  -->

                   

                   

                  <deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                    xsi:schemaLocation="urn:jboss:bean-deployer:2.0 bean-deployer_2_0.xsd"

                    xmlns="urn:jboss:bean-deployer:2.0">

                   

                    <!-- ShrinkWrapDeployer -->

                    <bean name="ShrinkWrapDeployer" class="org.jboss.shrinkwrap.vdf.impl.ShrinkWrapDeployerImpl">

                      <constructor>

                        <parameter class="org.jboss.deployers.client.spi.main.MainDeployer">

                          <inject />

                        </parameter>

                        <parameter class="org.jboss.vfs.TempFileProvider">

                          <inject />

                        </parameter>

                      </constructor>

                    </bean>

                   

                    <!-- Deployment configuration for a VFS TempFileProvider

                   

                   

                    <threads xmlns="urn:jboss:threads:2.0">

                      <thread-factory name="org.jboss.reloaded.TempFileThreadFactory"/>

                      <scheduled-thread-pool-executor name="org.jboss.reloaded.TempFileExecutorService">

                          <max-threads count="1" per-cpu="1"/>

                          <thread-factory name="org.jboss.reloaded.TempFileThreadFactory"/>

                      </scheduled-thread-pool-executor>

                    </threads>

                   

                    Currently fails with:

                   

                    org.jboss.joinpoint.spi.JoinpointException: Constructor not found

                    org.jboss.threads.QueuelessExecutor[int, java.util.concurrent.ThreadFactory] in

                    [ReflectConstructorInfoImpl@11afd9cc{[ReflectClassInfoImpl@3003e926{name=java.util.concurrent.ThreadFactory},

                    ReflectClassInfoImpl@50bfd66a{name=org.jboss.threads.DirectExecutor},

                    ReflectClassInfoImpl@6295f290{name=java.util.concurrent.Executor}, long]}]

                   

                    FIXME:  Example on http://community.jboss.org/wiki/ThreadPoolConfiguration might need to be updated

                    Ask DML

                   

                    -->

                   

                    <!--

                      Define the Executor, but this should really be done in threads.xsd

                      format above

                      TODO Remove this when the above works

                    -->

                    <bean name="org.jboss.shrinkwrap.TempFileExecutorService" class="org.jboss.threads.JBossScheduledThreadPoolExecutor">

                      <constructor>

                        <parameter>1</parameter>

                      </constructor>

                    </bean>

                   

                   

                    <bean name="org.jboss.shrinkwrap.TempFileProvider" class="org.jboss.vfs.TempFileProvider">

                      <constructor factoryClass="org.jboss.vfs.TempFileProvider"

                        factoryMethod="create">

                        <parameter>shrinkwrap-</parameter>

                        <parameter>

                          <inject bean="org.jboss.shrinkwrap.TempFileExecutorService" />

                        </parameter>

                      </constructor>

                    </bean>

                   

                  </deployment>

                  • 6. Re: JBOSS 6 Startup Error
                    Peter Johnson Master

                    OK, those look just like the ones I have. So that wasn't helpful.

                     

                    Try this. In the bin/run.conf.bat file add "-verbose:class" to one of the JAVA_OPTS settings. Then run it again, redirecting stdout to a file:

                     

                    run >> jboss.out 2>>&1

                     

                    That option causes the JVM to list each class loaded and the JAR it came from. Look within jboss.out for anything that comes from an unexpected location (not from within the JBoss not the JVM directory). If nothing looks obvious, post the jboss.out file.

                    • 7. Re: JBOSS 6 Startup Error
                      Enes Tahan Newbie

                      I did what u said and parsed the file apart from   jboss home  and jdk home jars

                      I have only jboss proxy classes and dynamically created methods etc.

                      but then i noticed that all computers that i tried to run jboss on, have Turkish Windows.

                      I have an English Windows 7 but language is configured as Turkish.

                      when i change  my Windows language to English,the problem disappears.

                      I had similar problem Turkish locale problem with Glassfish 3.1,it was trying to call methods in Turkish locale like getTimeİnterval(capital letter İ instead of I).It was a classloading issue. i dunno jboss 6 has the same problem or not? I dunno apart from Turkish locale how many locales are affected with this problem also?

                       

                      i solved my problem in this way:

                       

                      -Duser.language=en -Duser.country=US

                      adding this parameter to run.bat file solves your problem ,but cant expect what kinda local specific problem may occurs.

                       

                      for example for jsf whenever u use   <f:dateTimeConverter/> you have to set  timeZone attribute (timeZone="EET" for me)  with your own timezone.if not,converter will calculate the date acording to US,en timezone. probably there will be issues with currency stuff but cant be sure.

                       

                      Message was edited by: Enes Tahan

                      • 8. Re: JBOSS 6 Startup Error
                        Peter Johnson Master

                        Thank you for posting the solution!

                        • 9. JBOSS 6 Startup Error
                          jaikiran pai Master

                          Indeed! Wouldn't have been easy narrowing it down.

                           

                          I'm still curious why the JBossXB parser ended up with such a weird error message. Time to play around with language settings and see if this can be narrowed down to some bug.

                          • 10. Re: JBOSS 6 Startup Error
                            Mustafa Şahin AYDIN Newbie

                            Thanks Enes. For your answer. I want to add something and give some details about the bug if you let me . İf you are starting the jboss in eclipse. Editing the run.bat or adding jvm parameters did not work at least for me.I think eclipse is using copy of jboss-jvm parameters. I clicked the servers tab and double click jboss. And click open-louch configuration and add jvm parameters there. This works for me.

                             

                            This is typical Turkish "I" problem. I think jboss testers must test this issue.It is a known bug of all software systems. If you are writing international softwares.

                            Small letter of a big one A and it is same in all languages this is true for every letters except one letter.

                            But in Turkish small i, big İ not I like English because turkish has another letter which English does not have

                            small ı, big I

                             

                            so words Caused by: java.lang.RuntimeException: Invalid value Strict valid are [CALLBACK, OPTIONAL, STRICT]

                             

                            became STRİCT or some cases INVALID became İNVALİD

                             

                            I hope it helps expecially for Turkish people.

                            jboss.png