[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss5 CR1 and org.jboss.xb.binding.JBossXBException

BjPenn do-not-reply at jboss.com
Wed Mar 18 10:11:02 EDT 2009


"jaikiran" wrote : The exception stacktrace, that you posted, doesn't show anything actually :)
  | 
  | Can you please post the entire exception stacktrace.
  | 


ok sorry :)

anonymous wrote : JAVA_HOME is not set. Unexpected results may occur.
  | Set JAVA_HOME to the directory of your local JDK to avoid this message.
  | ===============================================================================
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: C:\java\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA
  | 
  |   JAVA: java
  | 
  |   JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
  | 
  |   CLASSPATH: ;C:\java\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\bin\run.jar
  | 
  | ===============================================================================
  | 
  | 12:20:47,312 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
  | 12:20:47,312 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048)
  | 12:20:47,312 INFO  [ServerImpl] Bootstrap URL: null
  | 12:20:47,312 INFO  [ServerImpl] Home Dir: C:\java\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA
  | 12:20:47,312 INFO  [ServerImpl] Home URL: file:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/
  | 12:20:47,312 INFO  [ServerImpl] Library URL: file:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/lib/
  | 12:20:47,312 INFO  [ServerImpl] Patch URL: null
  | 12:20:47,312 INFO  [ServerImpl] Common Base URL: file:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/common/
  | 12:20:47,312 INFO  [ServerImpl] Common Library URL: file:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/common/lib/
  | 12:20:47,312 INFO  [ServerImpl] Server Name: default
  | 12:20:47,312 INFO  [ServerImpl] Server Base Dir: C:\java\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server
  | 12:20:47,312 INFO  [ServerImpl] Server Base URL: file:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/
  | 12:20:47,312 INFO  [ServerImpl] Server Config URL: file:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/conf/
  | 12:20:47,312 INFO  [ServerImpl] Server Home Dir: C:\java\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server\default
  | 12:20:47,312 INFO  [ServerImpl] Server Home URL: file:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/
  | 12:20:47,312 INFO  [ServerImpl] Server Data Dir: C:\java\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server\default\data
  | 12:20:47,328 INFO  [ServerImpl] Server Library URL: file:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/lib/
  | 12:20:47,328 INFO  [ServerImpl] Server Log Dir: C:\java\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server\default\log
  | 12:20:47,328 INFO  [ServerImpl] Server Native Dir: C:\java\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server\default\tmp\native
  | 12:20:47,328 INFO  [ServerImpl] Server Temp Dir: C:\java\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server\default\tmp
  | 12:20:47,328 INFO  [ServerImpl] Server Temp Deploy Dir: C:\java\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server\default\tmp\deploy
  | 12:20:48,062 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/conf/bootstrap.xml
  | 12:20:48,718 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
  | 12:20:48,718 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
  | 12:20:49,187 INFO  [CopyMechanism] VFS temp dir: C:\java\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server\default\tmp
  | 12:20:49,187 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
  | 12:20:50,375 INFO  [ServerInfo] Java version: 1.6.0_10,Sun Microsystems Inc.
  | 12:20:50,375 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
  | 12:20:50,375 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 11.0-b15,Sun Microsystems Inc.
  | 12:20:50,375 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
  | 12:20:50,421 INFO  [JMXKernel] Legacy JMX core initialized
  | 12:20:52,515 INFO  [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository at 1c41e49(root=C:\java\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.ProfileKey at 143b82c3[domain=default,server=default,name=default])
  | 12:20:52,515 INFO  [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository at 1c41e49(root=C:\java\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.ProfileKey at 143b82c3[domain=default,server=default,name=default])
  | 12:20:52,515 INFO  [ProfileServiceImpl] Loaded profile: ProfileImpl at 7857a5{key=org.jboss.profileservice.spi.ProfileKey at 143b82c3[domain=default,server=default,name=default]}
  | 12:20:54,078 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
  | 12:21:00,687 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
  | 12:21:00,687 INFO  [NativeServerConfig] 3.0.5.GA
  | 12:21:08,718 ERROR [AbstractKernelController] Error installing to Parse: name=vfszip:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/jtk_SENIC.war/ state=Not Installed mode=Manual requiredState=Parse
  | org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/jtk_SENIC.war/
  | 	at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
  | 	at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:337)
  | 	at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:297)
  | 	at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:269)
  | 	at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:230)
  | 	at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
  | 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  | 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
  | 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
  | 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
  | 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
  | 	at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
  | 	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
  | 	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
  | 	at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
  | 	at org.jboss.Main.boot(Main.java:209)
  | 	at org.jboss.Main$1.run(Main.java:547)
  | 	at java.lang.Thread.run(Unknown Source)
  | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: cvc-complex-type.2.4.a: Invalid content was found starting with element 'provider'. One of '{"http://java.sun.com/xml/ns/persistence":non-jta-data-source, "http://java.sun.com/xml/ns/persistence":mapping-file, "http://java.sun.com/xml/ns/persistence":jar-file, "http://java.sun.com/xml/ns/persistence":class, "http://java.sun.com/xml/ns/persistence":exclude-unlisted-classes, "http://java.sun.com/xml/ns/persistence":properties}' is expected. @ vfszip:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/jtk_SENIC.war/WEB-INF/classes/META-INF/persistence.xml[5,15]
  | 	at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
  | 	at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
  | 	at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:199)
  | 	at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:170)
  | 	at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:132)
  | 	at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:118)
  | 	at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:256)
  | 	at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:188)
  | 	at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:323)
  | 	... 22 more
  | Caused by: org.xml.sax.SAXException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'provider'. One of '{"http://java.sun.com/xml/ns/persistence":non-jta-data-source, "http://java.sun.com/xml/ns/persistence":mapping-file, "http://java.sun.com/xml/ns/persistence":jar-file, "http://java.sun.com/xml/ns/persistence":class, "http://java.sun.com/xml/ns/persistence":exclude-unlisted-classes, "http://java.sun.com/xml/ns/persistence":properties}' is expected. @ vfszip:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/jtk_SENIC.war/WEB-INF/classes/META-INF/persistence.xml[5,15]
  | 	at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.error(SaxJBossXBParser.java:426)
  | 	at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
  | 	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
  | 	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
  | 	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
  | 	at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
  | 	at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
  | 	at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
  | 	at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
  | 	at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
  | 	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
  | 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
  | 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
  | 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  | 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  | 	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  | 	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  | 	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
  | 	at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:199)
  | 	... 30 more
  | 12:21:15,046 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
  | 12:21:15,281 INFO  [MailService] Mail Service bound to java:/Mail
  | 12:21:18,125 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
  | 12:21:18,156 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
  | 12:21:18,359 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
  | 12:21:18,359 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
  | 12:21:18,671 INFO  [TransactionManagerService] Initializing recovery manager
  | 12:21:18,906 INFO  [TransactionManagerService] Recovery manager configured
  | 12:21:18,906 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
  | 12:21:18,953 INFO  [TransactionManagerService] Starting transaction recovery manager
  | 12:21:19,765 INFO  [Http11Protocol] Inicializando Coyote HTTP/1.1 en puerto http-127.0.0.1-8080
  | 12:21:19,765 INFO  [AjpProtocol] Inicializando Coyote AJP/1.3 en ajp-127.0.0.1-8009
  | 12:21:19,765 INFO  [StandardService] Arrancando servicio jboss.web
  | 12:21:19,765 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.2.GA
  | 12:21:19,859 INFO  [Catalina] Server startup in 200 ms
  | 12:21:19,890 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
  | 12:21:21,390 INFO  [TomcatDeployment] deploy, ctxPath=/web-console
  | 12:21:21,812 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws
  | 12:21:22,000 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
  | 12:21:22,046 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
  | 12:21:22,093 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
  | 12:21:22,140 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
  | 12:21:22,187 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
  | 12:21:22,296 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
  | 12:21:22,343 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
  | 12:21:22,343 INFO  [RAMJobStore] RAMJobStore initialized.
  | 12:21:22,343 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
  | 12:21:22,343 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
  | 12:21:22,343 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
  | 12:21:23,718 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
  | 12:21:24,328 INFO  [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started
  | 12:21:24,453 WARN  [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
  | 12:21:24,453 WARN  [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
  | 12:21:24,531 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
  | 12:21:24,531 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at 1fbc274 started
  | 12:21:24,562 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
  | 12:21:24,562 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
  | 12:21:24,562 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at 7518b started
  | 12:21:24,562 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
  | 12:21:24,562 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at 6dba0d started
  | 12:21:24,562 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
  | 12:21:24,750 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
  | 12:21:24,828 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=smsactjndi' to JNDI name 'java:smsactjndi'
  | 12:21:24,875 INFO  [TomcatDeployment] deploy, ctxPath=/
  | 12:21:24,984 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
  | 12:21:25,093 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | DEPLOYMENTS IN ERROR:
  |   Deployment "vfszip:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/jtk_SENIC.war/" is in error due to the following reason(s): org.xml.sax.SAXException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'provider'. One of '{"http://java.sun.com/xml/ns/persistence":non-jta-data-source, "http://java.sun.com/xml/ns/persistence":mapping-file, "http://java.sun.com/xml/ns/persistence":jar-file, "http://java.sun.com/xml/ns/persistence":class, "http://java.sun.com/xml/ns/persistence":exclude-unlisted-classes, "http://java.sun.com/xml/ns/persistence":properties}' is expected. @ vfszip:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/jtk_SENIC.war/WEB-INF/classes/META-INF/persistence.xml[5,15]
  | 
  | 12:21:25,109 INFO  [Http11Protocol] Arrancando Coyote HTTP/1.1 en puerto http-127.0.0.1-8080
  | 12:21:25,140 INFO  [AjpProtocol] Arrancando Coyote AJP/1.3 en ajp-127.0.0.1-8009
  | 12:21:25,140 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048)] Started in 37s:812ms

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219116#4219116

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219116



More information about the jboss-user mailing list