0 Replies Latest reply on Feb 17, 2014 12:20 AM by cejotamoreno

    Errors when upgrading JBoss 4.3 to 5.1

    cejotamoreno Newbie

      Hi,

       

      I am currently migrating our web application from JBoss 4.3 (java 5) to .5.1 (java 7) and i am getting the following error. The web application currently is using JEE 5, EJB 3.0, JPA 1.0, Web Module 2.5. For the web, it is using rich faces 3.3.2, beanutils 1.8.3, collections 3.2.1 and digester 3.2. I would appreciate any insight.

       

      21:06:49,189 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
      21:06:49,189 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)
      21:06:49,189 INFO  [ServerImpl] Bootstrap URL: null
      21:06:49,189 INFO  [ServerImpl] Home Dir: C:\JBoss\jboss-5.1.0.GA
      21:06:49,189 INFO  [ServerImpl] Home URL: file:/C:/JBoss/jboss-5.1.0.GA/
      21:06:49,189 INFO  [ServerImpl] Library URL: file:/C:/JBoss/jboss-5.1.0.GA/lib/
      21:06:49,189 INFO  [ServerImpl] Patch URL: null
      21:06:49,189 INFO  [ServerImpl] Common Base URL: file:/C:/JBoss/jboss-5.1.0.GA/common/
      21:06:49,189 INFO  [ServerImpl] Common Library URL: file:/C:/JBoss/jboss-5.1.0.GA/common/lib/
      21:06:49,189 INFO  [ServerImpl] Server Name: default
      21:06:49,189 INFO  [ServerImpl] Server Base Dir: C:\JBoss\jboss-5.1.0.GA\server
      21:06:49,189 INFO  [ServerImpl] Server Base URL: file:/C:/JBoss/jboss-5.1.0.GA/server/
      21:06:49,189 INFO  [ServerImpl] Server Config URL: file:/C:/JBoss/jboss-5.1.0.GA/server/default/conf/
      21:06:49,205 INFO  [ServerImpl] Server Home Dir: C:\JBoss\jboss-5.1.0.GA\server\default
      21:06:49,205 INFO  [ServerImpl] Server Home URL: file:/C:/JBoss/jboss-5.1.0.GA/server/default/
      21:06:49,205 INFO  [ServerImpl] Server Data Dir: C:\JBoss\jboss-5.1.0.GA\server\default\data
      21:06:49,205 INFO  [ServerImpl] Server Library URL: file:/C:/JBoss/jboss-5.1.0.GA/server/default/lib/
      21:06:49,205 INFO  [ServerImpl] Server Log Dir: C:\JBoss\jboss-5.1.0.GA\server\default\log
      21:06:49,205 INFO  [ServerImpl] Server Native Dir: C:\JBoss\jboss-5.1.0.GA\server\default\tmp\native
      21:06:49,205 INFO  [ServerImpl] Server Temp Dir: C:\JBoss\jboss-5.1.0.GA\server\default\tmp
      21:06:49,205 INFO  [ServerImpl] Server Temp Deploy Dir: C:\JBoss\jboss-5.1.0.GA\server\default\tmp\deploy
      21:06:49,798 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/JBoss/jboss-5.1.0.GA/server/default/conf/bootstrap.xml
      21:06:50,251 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
      21:06:50,267 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
      21:06:50,485 INFO  [CopyMechanism] VFS temp dir: C:\JBoss\jboss-5.1.0.GA\server\default\tmp
      21:06:50,485 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      21:06:51,468 INFO  [ServerInfo] Java version: 1.7.0_25,Oracle Corporation
      21:06:51,468 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
      21:06:51,468 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 23.25-b01,Oracle Corporation
      21:06:51,468 INFO  [ServerInfo] OS-System: Windows 7 6.1,amd64
      21:06:51,468 INFO  [ServerInfo] VM arguments: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:56244 -Dprogram.name=JBossTools: JBoss 5.1 Runtime Server -Xms256m -Xmx768m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=C:\JBoss\jboss-5.1.0.GA\lib\endorsed -Dcommon.lib.home=C:\MYAPP_V2\COMMON\LIB -Ddi.common.lib.home=C:\MYAPP_V2\COMMON\INT_COMMON -Dthird.party.lib.home=C:\MYAPP_V2\COMMON\LIB\thirdpartylib -Dnode.properties.file=C:\MYAPP_V2\COMMON\INT_COMMON\node.properties -Dfile.encoding=Cp1252 
      21:06:51,500 INFO  [JMXKernel] Legacy JMX core initialized
      21:06:53,045 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey@2e813d0[domain=default, server=default, name=default]
      21:07:02,156 INFO  [WebService] Using RMI server codebase: http://localhost:8483/
      21:07:06,744 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
      21:07:06,744 INFO  [NativeServerConfig] 3.1.2.GA
      21:07:07,183 INFO  [AttributeCallbackItem] Owner callback not implemented.
      21:07:08,025 INFO  [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@5ea9ea79[ defaultDomain='jboss' ]
      21:07:32,869 ERROR [AbstractKernelController] Error installing to Parse: name=vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/MYAPP2_ear.ear/ state=Not Installed mode=Manual requiredState=Parse
      org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/MYAPP2_ear.ear/MYAPP2Ui_war.war/
          at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
          at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:362)
          at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:322)
          at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:294)
          at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:234)
          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.doInstallParentFirst(DeployersImpl.java:1210)
          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:1631)
          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
          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:702)
          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
          at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
          at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
          at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
          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.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
          at org.jboss.Main.boot(Main.java:221)
          at org.jboss.Main$1.run(Main.java:556)
          at java.lang.Thread.run(Thread.java:724)
      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Neither fromValue(java.lang.String p) nor fromValue(java.lang.String p1, javax.xml.namespace.NamespaceContext p2) were found in interface com.sun.java.xml.ns.javaee.DispatcherType
          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.xb.util.JBossXBHelper.parse(JBossXBHelper.java:189)
          at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:166)
          at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137)
          at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121)
          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:348)
          ... 34 more
      Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Neither fromValue(java.lang.String p) nor fromValue(java.lang.String p1, javax.xml.namespace.NamespaceContext p2) were found in interface com.sun.java.xml.ns.javaee.DispatcherType
          at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtUtil.invokeUnmarshalMethod(RtUtil.java:350)
          at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtCharactersHandler.unmarshal(RtCharactersHandler.java:104)
          at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:1087)
          at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:236)
          at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.endElement(SaxJBossXBParser.java:373)
          at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
          at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source)
          at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source)
          at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(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)
          ... 42 more
      21:07:37,768 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://localhost/jndi/rmi://localhost:1090/jmxconnector
      21:07:37,878 INFO  [MailService] Mail Service bound to java:/Mail
      21:07:42,699 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
      21:07:42,768 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
      21:07:42,831 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
      21:07:42,831 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
      21:07:43,127 INFO  [TransactionManagerService] Initializing recovery manager
      21:07:43,236 INFO  [TransactionManagerService] Recovery manager configured
      21:07:43,236 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
      21:07:43,267 INFO  [TransactionManagerService] Starting transaction recovery manager
      21:07:43,845 INFO  [TomcatDeployment] deploy, ctxPath=/web-console
      21:07:44,688 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws
      21:07:44,735 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
      21:07:44,860 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
      21:07:44,861 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
      21:07:44,909 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
      21:07:44,924 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
      21:07:44,940 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
      21:07:45,205 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/MYAPPDS' to JNDI name 'java:jdbc/MYAPPDS'
      21:07:53,255 INFO  [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started
      21:07:54,223 INFO  [QueueService] Queue[/queue/A] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      21:07:54,691 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      21:07:55,145 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      21:07:55,145 INFO  [TopicService] Topic[/topic/TopicWithOwnDLQAndExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      21:07:55,145 INFO  [TopicService] Topic[/topic/securedTopic] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      21:07:55,597 INFO  [QueueService] Queue[/queue/C] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      21:07:56,050 INFO  [QueueService] Queue[/queue/QueueWithOwnRedeliveryDelay] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      21:07:56,519 INFO  [QueueService] Queue[/queue/PrivateExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      21:07:56,971 INFO  [QueueService] Queue[/queue/ex] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      21:07:57,985 INFO  [QueueService] Queue[/queue/QueueWithOwnDLQAndExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      21:07:58,033 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
      21:07:58,033 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@62df7f31 started
      21:07:58,501 INFO  [QueueService] Queue[/queue/D] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      21:07:58,969 INFO  [QueueService] Queue[/queue/B] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      21:07:58,969 INFO  [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
      21:07:58,969 INFO  [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
      21:07:58,969 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
      21:07:58,969 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@45000072 started
      21:07:58,984 INFO  [TopicService] Topic[/topic/TopicWithOwnRedeliveryDelay] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      21:07:58,984 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
      21:07:58,984 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@2d578a0f started
      21:07:59,437 INFO  [QueueService] Queue[/queue/PrivateDLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      21:07:59,527 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      21:07:59,636 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
      21:07:59,683 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):