4 Replies Latest reply on Jan 16, 2014 7:06 AM by vrodrigues

    Migration from 4.2.2 to 5.1

    vrodrigues

      Hi everyone,

       

      I'm trying to migrate my very very very very old application that is running in Jboss 4.2.2 to Jboss 5.1(then eventually for 6.1).

      I'm having this problem:

       

       

      Caused by: java.lang.ClassCastException: org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData cannot be cast to org.jboss.metadata.ejb.jboss.JBossEntityBeanMetaData
      

       

      This is my ebj-jar.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
      <ejb-jar>
          <enterprise-beans>
              <session>
                  <description>Business Interface Layer Core Component</description>
                  <ejb-name>bil.BILCore</ejb-name>
                  <home>com.link.marketplace.bil.BILCoreHome</home>
                  <remote>com.link.marketplace.bil.BILCore</remote>
                  <ejb-class>com.link.marketplace.bil.BILCoreEJB</ejb-class>
                  <session-type>Stateless</session-type>
                  <transaction-type>Container</transaction-type>
              </session>
              <session>
                  <description>Business Interface Layer Process Manager</description>
                  <ejb-name>bil.BILEventProcessorManager</ejb-name>
                  <home>com.link.marketplace.bil.BILEventProcessorManagerHome</home>
                  <remote>com.link.marketplace.bil.BILEventProcessorManager</remote>
                  <ejb-class>com.link.marketplace.bil.BILEventProcessorManagerEJB</ejb-class>
                  <session-type>Stateless</session-type>
                  <transaction-type>Container</transaction-type>
              </session>
              <session>
                  <description>This class has the same behavior as TXServer except for: - It has a more object friendly interface, for easier programatic call of process request - Transaction management is disabled.</description>
                  <ejb-name>extension.TXServerBILNTHome</ejb-name>
                  <home>tradeex.ec4.extension.TXServerBILNTHome</home>
                  <remote>tradeex.ec4.extension.TXServerBILNT</remote>
                  <ejb-class>tradeex.ec4.extension.TXServerBILNTBean</ejb-class>
                  <session-type>Stateless</session-type>
                  <transaction-type>Container</transaction-type>
              </session>
              <session>
                  <description>This class has the same behavior as TXServer except for: - It has a more object friendly interface, for easier programatic call of process request - Transaction management is enabled.</description>
                  <ejb-name>extension.TXServerBILTHome</ejb-name>
                  <home>tradeex.ec4.extension.TXServerBILTHome</home>
                  <remote>tradeex.ec4.extension.TXServerBILT</remote>
                  <ejb-class>tradeex.ec4.extension.TXServerBILTBean</ejb-class>
                  <session-type>Stateless</session-type>
                  <transaction-type>Container</transaction-type>
              </session>
              <session>
                  <description>This class has the same behavior as TXServerBILNT but longer execution time for thread manager.</description>
                  <ejb-name>extension.TXServerBILNTTMHome</ejb-name>
                  <home>tradeex.ec4.extension.TXServerBILNTHome</home>
                  <remote>tradeex.ec4.extension.TXServerBILNT</remote>
                  <ejb-class>tradeex.ec4.extension.TXServerBILNTBean</ejb-class>
                  <session-type>Stateless</session-type>
                  <transaction-type>Container</transaction-type>
              </session>
              <session>
                  <description>This class has the same behavior as TXServerBILT but longer execution time for thread manager.</description>
                  <ejb-name>extension.TXServerBILTTMHome</ejb-name>
                  <home>tradeex.ec4.extension.TXServerBILTHome</home>
                  <remote>tradeex.ec4.extension.TXServerBILT</remote>
                  <ejb-class>tradeex.ec4.extension.TXServerBILTBean</ejb-class>
                  <session-type>Stateless</session-type>
                  <transaction-type>Container</transaction-type>
              </session>
              <entity>
                  <description>Business Interface Layer Event Bean</description>
                  <ejb-name>bil.BILEvent</ejb-name>
                  <home>com.link.marketplace.bil.BILEventHome</home>
                  <remote>com.link.marketplace.bil.BILEvent</remote>
                  <ejb-class>com.link.marketplace.bil.BILEventEJB</ejb-class>
                  <persistence-type>Bean</persistence-type>
                  <prim-key-class>com.link.marketplace.bil.BILEventPK</prim-key-class>
                  <reentrant>False</reentrant>
              </entity>
              <session>
                  <description>Functions as a single point of access to MarketPlace server-side code.</description>
                  <ejb-name>TXServerBean</ejb-name>
                  <home>tradeex.ec4.extension.TXServerHome</home>
                  <remote>tradeex.ec4.extension.TXServer</remote>
                  <ejb-class>tradeex.ec4.extension.TXServerBean</ejb-class>
                  <session-type>Stateless</session-type>
                  <transaction-type>Container</transaction-type>
              </session>
          </enterprise-beans>
          <assembly-descriptor>
              <container-transaction>
                  <method>
                      <ejb-name>bil.BILCore</ejb-name>
                      <method-name>*</method-name>
                  </method>
                  <method>
                      <ejb-name>bil.BILEventProcessorManager</ejb-name>
                      <method-name>*</method-name>
                  </method>
                  <method>
                      <ejb-name>bil.BILEvent</ejb-name>
                      <method-name>*</method-name>
                  </method>
                  <method>
                      <ejb-name>extension.TXServerBILNTHome</ejb-name>
                      <method-name>*</method-name>
                  </method>
                  <method>
                      <ejb-name>extension.TXServerBILTHome</ejb-name>
                      <method-name>*</method-name>
                  </method>
                  <method>
                      <ejb-name>extension.TXServerBILNTTMHome</ejb-name>
                      <method-name>*</method-name>
                  </method>
                  <method>
                      <ejb-name>extension.TXServerBILTTMHome</ejb-name>
                      <method-name>*</method-name>
                  </method>
                  <trans-attribute>Required</trans-attribute>
              </container-transaction>
              <container-transaction>
                  <method>
                      <ejb-name>TXServerBean</ejb-name>
                      <method-name>*</method-name>
                  </method>
                  <trans-attribute>Supports</trans-attribute>
              </container-transaction>
          </assembly-descriptor>
      </ejb-jar>
      

       

      This is my jboss.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.2//EN" "http://www.jboss.org/j2ee/dtd/jboss_5_0.dtd">
      <jboss>
          <enterprise-beans>
              <session>
                  <ejb-name>bil.BILCore</ejb-name>
                  <jndi-name>bil.BILCore</jndi-name>
                  <call-by-value>false</call-by-value>
                  <method-attributes>
                      <method>
                          <method-name>processEvent</method-name>
                          <transaction-timeout>3600</transaction-timeout>
                      </method>
                      <method>
                          <method-name>processMessage</method-name>
                          <transaction-timeout>3600</transaction-timeout>
                      </method>
                  </method-attributes>
              </session>
              <session>
                  <ejb-name>bil.BILEventProcessorManager</ejb-name>
                  <jndi-name>bil.BILEventProcessorManager</jndi-name>
                  <call-by-value>false</call-by-value>
              </session>
              <session>
                  <ejb-name>extension.TXServerBILNTHome</ejb-name>
                  <jndi-name>extension.TXServerBILNTHome</jndi-name>
                  <call-by-value>false</call-by-value>
              </session>
              <session>
                  <ejb-name>extension.TXServerBILTHome</ejb-name>
                  <jndi-name>extension.TXServerBILTHome</jndi-name>
                  <call-by-value>false</call-by-value>
              </session>
              <session>
                  <ejb-name>extension.TXServerBILNTTMHome</ejb-name>
                  <jndi-name>extension.TXServerBILNTTMHome</jndi-name>
                  <call-by-value>false</call-by-value>
                  <method-attributes>
                      <method>
                          <method-name>processRequest</method-name>
                          <transaction-timeout>3600</transaction-timeout>
                      </method>
                  </method-attributes>
              </session>
              <session>
                  <ejb-name>extension.TXServerBILTTMHome</ejb-name>
                  <jndi-name>extension.TXServerBILTTMHome</jndi-name>
                  <call-by-value>false</call-by-value>
                  <method-attributes>
                      <method>
                          <method-name>processRequest</method-name>
                          <transaction-timeout>3600</transaction-timeout>
                      </method>
                  </method-attributes>
              </session>
              <entity>
                  <ejb-name>bil.BILEvent</ejb-name>
                  <jndi-name>bil.BILEvent</jndi-name>
                  <call-by-value>false</call-by-value>
              </entity>
              <entity>
                  <ejb-name>TXServerBean</ejb-name>
                  <jndi-name>extension.TXServerHome</jndi-name>
                  <call-by-value>false</call-by-value>
              </entity>
          </enterprise-beans>
      </jboss>
      

       

       

      This is the log:

      12:03:33,436 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
      12:03:33,437 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)
      12:03:33,437 INFO  [ServerImpl] Bootstrap URL: null
      12:03:33,437 INFO  [ServerImpl] Home Dir: D:\develop\jboss-5.1.0.GAVitor
      12:03:33,437 INFO  [ServerImpl] Home URL: file:/D:/develop/jboss-5.1.0.GAVitor/
      12:03:33,438 INFO  [ServerImpl] Library URL: file:/D:/develop/jboss-5.1.0.GAVitor/lib/
      12:03:33,438 INFO  [ServerImpl] Patch URL: null
      12:03:33,438 INFO  [ServerImpl] Common Base URL: file:/D:/develop/jboss-5.1.0.GAVitor/common/
      12:03:33,438 INFO  [ServerImpl] Common Library URL: file:/D:/develop/jboss-5.1.0.GAVitor/common/lib/
      12:03:33,438 INFO  [ServerImpl] Server Name: default-trunk
      12:03:33,439 INFO  [ServerImpl] Server Base Dir: D:\develop\jboss-5.1.0.GAVitor\server
      12:03:33,439 INFO  [ServerImpl] Server Base URL: file:/D:/develop/jboss-5.1.0.GAVitor/server/
      12:03:33,439 INFO  [ServerImpl] Server Config URL: file:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/conf/
      12:03:33,439 INFO  [ServerImpl] Server Home Dir: D:\develop\jboss-5.1.0.GAVitor\server\default-trunk
      12:03:33,439 INFO  [ServerImpl] Server Home URL: file:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/
      12:03:33,439 INFO  [ServerImpl] Server Data Dir: D:\develop\jboss-5.1.0.GAVitor\server\default-trunk\data
      12:03:33,439 INFO  [ServerImpl] Server Library URL: file:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/lib/
      12:03:33,439 INFO  [ServerImpl] Server Log Dir: D:\develop\jboss-5.1.0.GAVitor\server\default-trunk\log
      12:03:33,439 INFO  [ServerImpl] Server Native Dir: D:\develop\jboss-5.1.0.GAVitor\server\default-trunk\tmp\native
      12:03:33,439 INFO  [ServerImpl] Server Temp Dir: D:\develop\jboss-5.1.0.GAVitor\server\default-trunk\tmp
      12:03:33,440 INFO  [ServerImpl] Server Temp Deploy Dir: D:\develop\jboss-5.1.0.GAVitor\server\default-trunk\tmp\deploy
      12:03:33,953 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/conf/bootstrap.xml
      12:03:34,350 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
      12:03:34,352 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
      12:03:34,545 INFO  [CopyMechanism] VFS temp dir: D:\develop\jboss-5.1.0.GAVitor\server\default-trunk\tmp
      12:03:34,545 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      12:03:35,568 INFO  [ServerInfo] Java version: 1.6.0_37,Sun Microsystems Inc.
      12:03:35,568 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
      12:03:35,568 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 20.12-b01,Sun Microsystems Inc.
      12:03:35,568 INFO  [ServerInfo] OS-System: Windows NT (unknown) 6.2,x86
      12:03:35,569 INFO  [ServerInfo] VM arguments: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:53334 -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=D:\develop\jboss-5.1.0.GAVitor\lib\endorsed -Dfile.encoding=Cp1252 
      12:03:35,596 INFO  [JMXKernel] Legacy JMX core initialized
      12:03:37,156 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey@152e9a8[domain=default, server=default, name=default-trunk]
      12:03:38,204 INFO  [WebService] Using RMI server codebase: http://localhost:8083/
      12:03:42,773 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
      12:03:42,773 INFO  [NativeServerConfig] 3.1.2.GA
      12:03:43,420 INFO  [AttributeCallbackItem] Owner callback not implemented.
      12:03:44,332 INFO  [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@f97d27[ defaultDomain='jboss' ]
      12:04:01,236 ERROR [AbstractKernelController] Error installing to PostClassLoader: name=vfsfile:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/marketplace-app.ear/ state=ClassLoader mode=Manual requiredState=PostClassLoader
      org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/marketplace-app.ear/saphety-buy-ejbs.jar/
        at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177)
        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:662)
      Caused by: java.lang.ClassCastException: org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData cannot be cast to org.jboss.metadata.ejb.jboss.JBossEntityBeanMetaData
        at org.jboss.metadata.ejb.jboss.JBossEntityBeanMetaData.merge(JBossEntityBeanMetaData.java:880)
        at org.jboss.metadata.ejb.jboss.JBossEnterpriseBeansMetaData.merge(JBossEnterpriseBeansMetaData.java:245)
        at org.jboss.metadata.ejb.jboss.JBossMetaData.merge(JBossMetaData.java:952)
        at org.jboss.ejb.deployers.MergedJBossMetaDataDeployer.deploy(MergedJBossMetaDataDeployer.java:94)
        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
        ... 30 more
      12:04:01,287 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@407510{vfsfile:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/profileservice-secured.jar/}
      12:04:01,288 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@407510{vfsfile:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/profileservice-secured.jar/}
      12:04:01,288 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@407510{vfsfile:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/profileservice-secured.jar/}
      12:04:01,288 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@407510{vfsfile:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/profileservice-secured.jar/}
      12:04:03,303 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://localhost/jndi/rmi://localhost:1090/jmxconnector
      12:04:03,429 INFO  [MailService] Mail Service bound to java:/Mail
      12:04:06,311 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:04:06,319 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
      12:04:06,377 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
      12:04:06,428 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
      12:04:06,428 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
      12:04:06,617 INFO  [TransactionManagerService] Initializing recovery manager
      12:04:06,696 INFO  [TransactionManagerService] Recovery manager configured
      12:04:06,696 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
      12:04:06,715 INFO  [TransactionManagerService] Starting transaction recovery manager
      12:04:07,045 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jdk1.6.0_37\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Java\jdk1.6.0_37\jre\bin;native;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;%JAVA_HOME%\bin;.
      12:04:07,096 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
      12:04:07,096 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
      12:04:07,117 INFO  [StandardService] Starting service jboss.web
      12:04:07,119 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA
      12:04:07,154 INFO  [Catalina] Server startup in 57 ms
      12:04:07,173 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
      12:04:07,573 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws
      12:04:07,597 INFO  [TomcatDeployment] deploy, ctxPath=/web-console
      12:04:07,854 INFO  [RARDeployment] Required license terms exist, view vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
      12:04:07,867 INFO  [RARDeployment] Required license terms exist, view vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
      12:04:07,884 INFO  [RARDeployment] Required license terms exist, view vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/jms-ra.rar/META-INF/ra.xml
      12:04:07,897 INFO  [RARDeployment] Required license terms exist, view vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/mail-ra.rar/META-INF/ra.xml
      12:04:07,914 INFO  [RARDeployment] Required license terms exist, view vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/quartz-ra.rar/META-INF/ra.xml
      12:04:07,973 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
      12:04:07,996 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      12:04:07,999 INFO  [RAMJobStore] RAMJobStore initialized.
      12:04:07,999 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
      12:04:07,999 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      12:04:07,999 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
      12:04:08,354 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      12:04:09,229 INFO  [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started
      12:04:09,297 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      12:04:09,302 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
      12:04:09,302 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
      12:04:09,342 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
      12:04:09,342 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1ecef54 started
      12:04:09,343 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
      12:04:09,343 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1a64c64 started
      12:04:09,344 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      12:04:09,345 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
      12:04:09,345 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@177636e started
      12:04:09,446 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      12:04:09,767 INFO  [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar
      12:04:09,773 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
      12:04:09,773 INFO  [JBossASKernel]   with dependencies:
      12:04:09,773 INFO  [JBossASKernel]   and demands:
      12:04:09,773 INFO  [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
      12:04:09,773 INFO  [JBossASKernel] jboss.ejb:service=EJBTimerService
      12:04:09,773 INFO  [JBossASKernel]   and supplies:
      12:04:09,773 INFO  [JBossASKernel] Class:org.jboss.profileservice.spi.ProfileService
      12:04:09,773 INFO  [JBossASKernel] jndi:SecureProfileService/remote
      12:04:09,774 INFO  [JBossASKernel] jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService
      12:04:09,774 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar
      12:04:09,774 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
      12:04:09,775 INFO  [JBossASKernel]   with dependencies:
      12:04:09,775 INFO  [JBossASKernel]   and demands:
      12:04:09,775 INFO  [JBossASKernel] jboss.ejb:service=EJBTimerService
      12:04:09,775 INFO  [JBossASKernel]   and supplies:
      12:04:09,775 INFO  [JBossASKernel] jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager
      12:04:09,775 INFO  [JBossASKernel] Class:org.jboss.deployers.spi.management.deploy.DeploymentManager
      12:04:09,775 INFO  [JBossASKernel] jndi:SecureDeploymentManager/remote
      12:04:09,775 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar
      12:04:09,776 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
      12:04:09,776 INFO  [JBossASKernel]   with dependencies:
      12:04:09,776 INFO  [JBossASKernel]   and demands:
      12:04:09,776 INFO  [JBossASKernel] jboss.ejb:service=EJBTimerService
      12:04:09,776 INFO  [JBossASKernel]   and supplies:
      12:04:09,776 INFO  [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
      12:04:09,776 INFO  [JBossASKernel] Class:org.jboss.deployers.spi.management.ManagementView
      12:04:09,776 INFO  [JBossASKernel] jndi:SecureManagementView/remote
      12:04:09,776 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar
      12:04:09,784 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@96f868{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
      12:04:09,784 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@1ae9e8d{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
      12:04:09,784 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@121b359{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
      12:04:09,883 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
      12:04:09,896 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager
      12:04:09,943 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
      
      
        SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface
        SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface
      
      
      12:04:09,999 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
      12:04:10,000 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView
      12:04:10,014 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
      
      
        SecureManagementView/remote - EJB3.x Default Remote Business Interface
        SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface
      
      
      12:04:10,051 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
      12:04:10,052 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService
      12:04:10,064 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
      
      
        SecureProfileService/remote - EJB3.x Default Remote Business Interface
        SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface
      
      
      12:04:10,225 INFO  [TomcatDeployment] deploy, ctxPath=/admin-console
      12:04:10,307 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
      12:04:11,928 INFO  [TomcatDeployment] deploy, ctxPath=/
      12:04:11,976 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
      12:04:12,019 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      
      DEPLOYMENTS IN ERROR:
        Deployment "vfsfile:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/marketplace-app.ear/" is in error due to the following reason(s): java.lang.ClassCastException: org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData cannot be cast to org.jboss.metadata.ejb.jboss.JBossEntityBeanMetaData
      
      
      12:04:12,029 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
      12:04:12,061 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
      12:04:12,071 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 38s:629ms
      
      12:04:10,225 INFO  [TomcatDeployment] deploy, ctxPath=/admin-console
      12:04:10,307 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
      12:04:11,928 INFO  [TomcatDeployment] deploy, ctxPath=/
      12:04:11,976 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
      12:04:12,019 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      
      DEPLOYMENTS IN ERROR:
        Deployment "vfsfile:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/marketplace-app.ear/" is in error due to the following reason(s): java.lang.ClassCastException: org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData cannot be cast to org.jboss.metadata.ejb.jboss.JBossEntityBeanMetaData
      
      
      12:04:12,029 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
      12:04:12,061 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
      12:04:12,071 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 38s:629ms
      

       

       

      Can anyone help me please? Got no idea how to solve this

        • 1. Re: Migration from 4.2.2 to 5.1
          vrodrigues

          No ideas?

          • 2. Re: Re: Migration from 4.2.2 to 5.1
            vrodrigues

            Ok. Found the solution:

             

            Changed in jboss.xml

             

             <entity>
                        <ejb-name>TXServerBean</ejb-name>
                        <jndi-name>extension.TXServerHome</jndi-name>
                        <call-by-value>false</call-by-value>
             </entity>
            

             

            To

            <session>
                        <ejb-name>TXServerBean</ejb-name>
                        <jndi-name>extension.TXServerHome</jndi-name>
                        <call-by-value>false</call-by-value>
            </session>
            

             

            Problem solved but now it gives me

            14:25:47,322 ERROR [STDERR] Error initializing Queue JMSEventTopic
            14:25:47,322 ERROR [STDERR] javax.naming.NameNotFoundException: QueueConnectionFactory not bound
            

            And

            14:25:47,334 ERROR [STDERR] Error initializing Queue JMSTaskQ
            14:25:47,334 ERROR [STDERR] javax.naming.NameNotFoundException: QueueConnectionFactory not bound
            

             

            And

            14:25:47,346 ERROR [STDERR] Error initializing Queue RetryQueue
            14:25:47,346 ERROR [STDERR] javax.naming.NameNotFoundException: QueueConnectionFactory not bound
            

             

            My marketplace-ds.xml inside deploy folder:

            <datasources>
              <no-tx-datasource>
              <jndi-name>jdbc/ECMarketplaceNT</jndi-name>
              <connection-url>jdbc:oracle:thin:@X:X:X</connection-url>
              <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
              <user-name>ecwebuser</user-name>
              <password>ecwebuser</password>
              <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>    
              <metadata>
              <type-mapping>Oracle9i</type-mapping>
              </metadata>
              <use-java-context>false</use-java-context>
              </no-tx-datasource>
              <local-tx-datasource>
              <jndi-name>jdbc/ECMarketplace</jndi-name>
              <connection-url>jdbc:oracle:thin:@X:X:X</connection-url>
              <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
              <user-name>ecwebuser</user-name>
              <password>ecwebuser</password>
              <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>    
              <metadata>
              <type-mapping>Oracle9i</type-mapping>
              </metadata>
              <use-java-context>false</use-java-context>
              </local-tx-datasource>
              <local-tx-datasource>
              <jndi-name>jdbc/RequisiteBugsEye</jndi-name>
              <connection-url>jdbc:oracle:thin:@X:X:X</connection-url>
              <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
              <user-name>bugseye38</user-name>
              <password>bugseye38</password>
              <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>    
              <metadata>
              <type-mapping>Oracle9i</type-mapping>
              </metadata>
              <use-java-context>false</use-java-context>
              </local-tx-datasource>
              <local-tx-datasource>
              <jndi-name>jdbc/E-gov Connection Pool</jndi-name>
              <connection-url>jdbc:oracle:thin:@X:X:X</connection-url>
              <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
              <user-name>bizgov</user-name>
              <password>1q2w</password>
              <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>    
              <metadata>
              <type-mapping>Oracle9i</type-mapping>
              </metadata>
              <use-java-context>false</use-java-context>
              </local-tx-datasource>
              <local-tx-datasource>
              <jndi-name>jdbc/ECflyway</jndi-name>
              <connection-url>jdbc:oracle:thin:@X:X:X</connection-url>
              <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
              <user-name>ecflyway</user-name>
              <password>install</password>
              <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>    
              <metadata>
              <type-mapping>Oracle9i</type-mapping>
              </metadata>
              <use-java-context>false</use-java-context>
              </local-tx-datasource>
            </datasources>
            

             

            Changed my connection url to x:x:x but just for not showing...

             

            log:

            14:45:37,508 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
            14:45:37,509 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)
            14:45:37,509 INFO  [ServerImpl] Bootstrap URL: null
            14:45:37,509 INFO  [ServerImpl] Home Dir: D:\develop\jboss-5.1.0.GAVitor
            14:45:37,509 INFO  [ServerImpl] Home URL: file:/D:/develop/jboss-5.1.0.GAVitor/
            14:45:37,510 INFO  [ServerImpl] Library URL: file:/D:/develop/jboss-5.1.0.GAVitor/lib/
            14:45:37,510 INFO  [ServerImpl] Patch URL: null
            14:45:37,510 INFO  [ServerImpl] Common Base URL: file:/D:/develop/jboss-5.1.0.GAVitor/common/
            14:45:37,511 INFO  [ServerImpl] Common Library URL: file:/D:/develop/jboss-5.1.0.GAVitor/common/lib/
            14:45:37,511 INFO  [ServerImpl] Server Name: default-trunk
            14:45:37,511 INFO  [ServerImpl] Server Base Dir: D:\develop\jboss-5.1.0.GAVitor\server
            14:45:37,511 INFO  [ServerImpl] Server Base URL: file:/D:/develop/jboss-5.1.0.GAVitor/server/
            14:45:37,511 INFO  [ServerImpl] Server Config URL: file:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/conf/
            14:45:37,511 INFO  [ServerImpl] Server Home Dir: D:\develop\jboss-5.1.0.GAVitor\server\default-trunk
            14:45:37,511 INFO  [ServerImpl] Server Home URL: file:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/
            14:45:37,512 INFO  [ServerImpl] Server Data Dir: D:\develop\jboss-5.1.0.GAVitor\server\default-trunk\data
            14:45:37,512 INFO  [ServerImpl] Server Library URL: file:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/lib/
            14:45:37,512 INFO  [ServerImpl] Server Log Dir: D:\develop\jboss-5.1.0.GAVitor\server\default-trunk\log
            14:45:37,512 INFO  [ServerImpl] Server Native Dir: D:\develop\jboss-5.1.0.GAVitor\server\default-trunk\tmp\native
            14:45:37,512 INFO  [ServerImpl] Server Temp Dir: D:\develop\jboss-5.1.0.GAVitor\server\default-trunk\tmp
            14:45:37,512 INFO  [ServerImpl] Server Temp Deploy Dir: D:\develop\jboss-5.1.0.GAVitor\server\default-trunk\tmp\deploy
            14:45:38,083 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/conf/bootstrap.xml
            14:45:38,663 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
            14:45:38,665 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
            14:45:38,863 INFO  [CopyMechanism] VFS temp dir: D:\develop\jboss-5.1.0.GAVitor\server\default-trunk\tmp
            14:45:38,868 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
            14:45:39,791 INFO  [ServerInfo] Java version: 1.6.0_37,Sun Microsystems Inc.
            14:45:39,791 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
            14:45:39,791 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 20.12-b01,Sun Microsystems Inc.
            14:45:39,791 INFO  [ServerInfo] OS-System: Windows NT (unknown) 6.2,x86
            14:45:39,792 INFO  [ServerInfo] VM arguments: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:50103 -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=D:\develop\jboss-5.1.0.GAVitor\lib\endorsed -Dfile.encoding=Cp1252 
            14:45:39,819 INFO  [JMXKernel] Legacy JMX core initialized
            14:45:41,414 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey@13b9fb[domain=default, server=default, name=default-trunk]
            14:45:42,588 INFO  [WebService] Using RMI server codebase: http://localhost:8083/
            14:45:46,647 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
            14:45:46,647 INFO  [NativeServerConfig] 3.1.2.GA
            14:45:46,972 INFO  [AttributeCallbackItem] Owner callback not implemented.
            14:45:47,757 INFO  [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@114a3c6[ defaultDomain='jboss' ]
            14:46:03,500 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@15152990{vfsfile:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/profileservice-secured.jar/}
            14:46:03,501 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@15152990{vfsfile:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/profileservice-secured.jar/}
            14:46:03,502 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@15152990{vfsfile:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/profileservice-secured.jar/}
            14:46:03,502 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@15152990{vfsfile:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/profileservice-secured.jar/}
            14:46:03,508 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@7769978{vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/marketplace-app.ear/saphety-buy-ejbs.jar/}
            14:46:03,509 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@7769978{vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/marketplace-app.ear/saphety-buy-ejbs.jar/}
            14:46:03,509 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@7769978{vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/marketplace-app.ear/saphety-buy-ejbs.jar/}
            14:46:05,819 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://localhost/jndi/rmi://localhost:1090/jmxconnector
            14:46:05,928 INFO  [MailService] Mail Service bound to java:/Mail
            14:46:08,868 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.
            14:46:08,881 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
            14:46:08,942 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
            14:46:08,982 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
            14:46:08,982 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
            14:46:09,199 INFO  [TransactionManagerService] Initializing recovery manager
            14:46:09,296 INFO  [TransactionManagerService] Recovery manager configured
            14:46:09,297 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
            14:46:09,322 INFO  [TransactionManagerService] Starting transaction recovery manager
            14:46:09,731 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jdk1.6.0_37\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Java\jdk1.6.0_37\jre\bin;native;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;%JAVA_HOME%\bin;.
            14:46:09,781 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
            14:46:09,782 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
            14:46:09,809 INFO  [StandardService] Starting service jboss.web
            14:46:09,813 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA
            14:46:09,850 INFO  [Catalina] Server startup in 67 ms
            14:46:09,877 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
            14:46:10,329 INFO  [TomcatDeployment] deploy, ctxPath=/web-console
            14:46:10,567 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws
            14:46:10,648 INFO  [RARDeployment] Required license terms exist, view vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
            14:46:10,665 INFO  [RARDeployment] Required license terms exist, view vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
            14:46:10,688 INFO  [RARDeployment] Required license terms exist, view vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/jms-ra.rar/META-INF/ra.xml
            14:46:10,706 INFO  [RARDeployment] Required license terms exist, view vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/mail-ra.rar/META-INF/ra.xml
            14:46:10,727 INFO  [RARDeployment] Required license terms exist, view vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/quartz-ra.rar/META-INF/ra.xml
            14:46:10,796 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
            14:46:10,827 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
            14:46:10,832 INFO  [RAMJobStore] RAMJobStore initialized.
            14:46:10,832 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
            14:46:10,832 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
            14:46:10,833 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
            14:46:11,693 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
            14:46:12,090 INFO  [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started
            14:46:12,161 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            14:46:12,199 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
            14:46:12,200 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@816aad started
            14:46:12,202 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            14:46:12,209 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
            14:46:12,209 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1c61038 started
            14:46:12,209 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
            14:46:12,209 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
            14:46:12,210 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
            14:46:12,210 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1a10a62 started
            14:46:12,297 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
            14:46:12,455 INFO  [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/ECMarketplaceNT' to JNDI name 'jdbc/ECMarketplaceNT'
            14:46:12,496 INFO  [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/ECMarketplace' to JNDI name 'jdbc/ECMarketplace'
            14:46:12,546 INFO  [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/RequisiteBugsEye' to JNDI name 'jdbc/RequisiteBugsEye'
            14:46:12,588 INFO  [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/E-gov Connection Pool' to JNDI name 'jdbc/E-gov Connection Pool'
            14:46:12,634 INFO  [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/ECflyway' to JNDI name 'jdbc/ECflyway'
            14:46:13,006 INFO  [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar
            14:46:13,013 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
            14:46:13,013 INFO  [JBossASKernel]   with dependencies:
            14:46:13,013 INFO  [JBossASKernel]   and demands:
            14:46:13,013 INFO  [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
            14:46:13,013 INFO  [JBossASKernel] jboss.ejb:service=EJBTimerService
            14:46:13,013 INFO  [JBossASKernel]   and supplies:
            14:46:13,014 INFO  [JBossASKernel] Class:org.jboss.profileservice.spi.ProfileService
            14:46:13,014 INFO  [JBossASKernel] jndi:SecureProfileService/remote
            14:46:13,014 INFO  [JBossASKernel] jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService
            14:46:13,014 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar
            14:46:13,015 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
            14:46:13,015 INFO  [JBossASKernel]   with dependencies:
            14:46:13,015 INFO  [JBossASKernel]   and demands:
            14:46:13,016 INFO  [JBossASKernel] jboss.ejb:service=EJBTimerService
            14:46:13,016 INFO  [JBossASKernel]   and supplies:
            14:46:13,016 INFO  [JBossASKernel] jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager
            14:46:13,016 INFO  [JBossASKernel] Class:org.jboss.deployers.spi.management.deploy.DeploymentManager
            14:46:13,016 INFO  [JBossASKernel] jndi:SecureDeploymentManager/remote
            14:46:13,016 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar
            14:46:13,017 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
            14:46:13,017 INFO  [JBossASKernel]   with dependencies:
            14:46:13,017 INFO  [JBossASKernel]   and demands:
            14:46:13,018 INFO  [JBossASKernel] jboss.ejb:service=EJBTimerService
            14:46:13,018 INFO  [JBossASKernel]   and supplies:
            14:46:13,018 INFO  [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
            14:46:13,018 INFO  [JBossASKernel] Class:org.jboss.deployers.spi.management.ManagementView
            14:46:13,018 INFO  [JBossASKernel] jndi:SecureManagementView/remote
            14:46:13,018 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar
            14:46:13,027 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@179df59{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
            14:46:13,027 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@b6c566{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
            14:46:13,027 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@13f5c76{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
            14:46:13,224 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
            14:46:13,235 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager
            14:46:13,291 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
            
            
              SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface
              SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface
            
            
            14:46:13,344 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
            14:46:13,345 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView
            14:46:13,355 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
            
            
              SecureManagementView/remote - EJB3.x Default Remote Business Interface
              SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface
            
            
            14:46:13,384 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
            14:46:13,386 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService
            14:46:13,395 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
            
            
              SecureProfileService/remote - EJB3.x Default Remote Business Interface
              SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface
            
            
            14:46:13,556 INFO  [TomcatDeployment] deploy, ctxPath=/admin-console
            14:46:13,656 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
            14:46:15,228 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
            14:46:15,401 INFO  [EjbDeployer] installing bean: ejb/saphety-buy-ejbs.jar#TXServerBean,uid22573704
            14:46:15,401 INFO  [EjbDeployer]   with dependencies:
            14:46:15,401 INFO  [EjbDeployer]   and supplies:
            14:46:15,401 INFO  [EjbDeployer] jndi:extension.TXServerHome
            14:46:15,401 INFO  [EjbDeployer] installing bean: ejb/saphety-buy-ejbs.jar#extension.TXServerBILTHome,uid29629015
            14:46:15,401 INFO  [EjbDeployer]   with dependencies:
            14:46:15,401 INFO  [EjbDeployer]   and supplies:
            14:46:15,401 INFO  [EjbDeployer] jndi:extension.TXServerBILTHome
            14:46:15,401 INFO  [EjbDeployer] installing bean: ejb/saphety-buy-ejbs.jar#bil.BILCore,uid27092597
            14:46:15,402 INFO  [EjbDeployer]   with dependencies:
            14:46:15,402 INFO  [EjbDeployer]   and supplies:
            14:46:15,402 INFO  [EjbDeployer] jndi:bil.BILCore
            14:46:15,402 INFO  [EjbDeployer] installing bean: ejb/saphety-buy-ejbs.jar#extension.TXServerBILNTTMHome,uid11648618
            14:46:15,402 INFO  [EjbDeployer]   with dependencies:
            14:46:15,402 INFO  [EjbDeployer]   and supplies:
            14:46:15,402 INFO  [EjbDeployer] jndi:extension.TXServerBILNTTMHome
            14:46:15,402 INFO  [EjbDeployer] installing bean: ejb/saphety-buy-ejbs.jar#bil.BILEventProcessorManager,uid21781497
            14:46:15,402 INFO  [EjbDeployer]   with dependencies:
            14:46:15,402 INFO  [EjbDeployer]   and supplies:
            14:46:15,402 INFO  [EjbDeployer] jndi:bil.BILEventProcessorManager
            14:46:15,402 INFO  [EjbDeployer] installing bean: ejb/saphety-buy-ejbs.jar#bil.BILEvent,uid2782098
            14:46:15,402 INFO  [EjbDeployer]   with dependencies:
            14:46:15,403 INFO  [EjbDeployer]   and supplies:
            14:46:15,403 INFO  [EjbDeployer] jndi:bil.BILEvent
            14:46:15,403 INFO  [EjbDeployer] installing bean: ejb/saphety-buy-ejbs.jar#extension.TXServerBILNTHome,uid17400745
            14:46:15,403 INFO  [EjbDeployer]   with dependencies:
            14:46:15,403 INFO  [EjbDeployer]   and supplies:
            14:46:15,403 INFO  [EjbDeployer] jndi:extension.TXServerBILNTHome
            14:46:15,403 INFO  [EjbDeployer] installing bean: ejb/saphety-buy-ejbs.jar#extension.TXServerBILTTMHome,uid27458025
            14:46:15,403 INFO  [EjbDeployer]   with dependencies:
            14:46:15,403 INFO  [EjbDeployer]   and supplies:
            14:46:15,403 INFO  [EjbDeployer] jndi:extension.TXServerBILTTMHome
            14:46:19,816 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=webservices,endpoint=WSOrder
            14:46:19,819 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=webservices,endpoint=WSAuction
            14:46:19,821 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=webservices,endpoint=WSWorkflow
            14:46:19,822 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=webservices,endpoint=WSInvoice
            14:46:19,824 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=webservices,endpoint=WSExpenseNote
            14:46:19,827 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=webservices,endpoint=WSUserIntegration
            14:46:19,923 INFO  [WebMetaDataModifierImpl] Ignore servlet: com.saphety.marketplace.webservicejboss.WsdlServlet
            14:46:20,021 INFO  [EjbModule] Deploying TXServerBean
            14:46:20,053 WARN  [EjbModule] EJB configured to bypass security. Please verify if this is intended. Bean=TXServerBean Deployment=vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/marketplace-app.ear/saphety-buy-ejbs.jar/
            14:46:20,093 INFO  [EjbModule] Deploying extension.TXServerBILTHome
            14:46:20,098 WARN  [EjbModule] EJB configured to bypass security. Please verify if this is intended. Bean=extension.TXServerBILTHome Deployment=vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/marketplace-app.ear/saphety-buy-ejbs.jar/
            14:46:20,098 INFO  [EjbModule] Deploying bil.BILCore
            14:46:20,102 WARN  [EjbModule] EJB configured to bypass security. Please verify if this is intended. Bean=bil.BILCore Deployment=vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/marketplace-app.ear/saphety-buy-ejbs.jar/
            14:46:20,103 INFO  [EjbModule] Deploying extension.TXServerBILNTTMHome
            14:46:20,105 WARN  [EjbModule] EJB configured to bypass security. Please verify if this is intended. Bean=extension.TXServerBILNTTMHome Deployment=vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/marketplace-app.ear/saphety-buy-ejbs.jar/
            14:46:20,106 INFO  [EjbModule] Deploying bil.BILEventProcessorManager
            14:46:20,109 WARN  [EjbModule] EJB configured to bypass security. Please verify if this is intended. Bean=bil.BILEventProcessorManager Deployment=vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/marketplace-app.ear/saphety-buy-ejbs.jar/
            14:46:20,109 INFO  [EjbModule] Deploying bil.BILEvent
            14:46:20,122 WARN  [EjbModule] EJB configured to bypass security. Please verify if this is intended. Bean=bil.BILEvent Deployment=vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/marketplace-app.ear/saphety-buy-ejbs.jar/
            14:46:20,152 INFO  [EjbModule] Deploying extension.TXServerBILNTHome
            14:46:20,154 WARN  [EjbModule] EJB configured to bypass security. Please verify if this is intended. Bean=extension.TXServerBILNTHome Deployment=vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/marketplace-app.ear/saphety-buy-ejbs.jar/
            14:46:20,155 INFO  [EjbModule] Deploying extension.TXServerBILTTMHome
            14:46:20,158 WARN  [EjbModule] EJB configured to bypass security. Please verify if this is intended. Bean=extension.TXServerBILTTMHome Deployment=vfszip:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/deploy/marketplace-app.ear/saphety-buy-ejbs.jar/
            14:46:20,263 INFO  [ProxyFactory] Bound EJB Home 'TXServerBean' to jndi 'extension.TXServerHome'
            14:46:20,270 INFO  [ProxyFactory] Bound EJB Home 'extension.TXServerBILTHome' to jndi 'extension.TXServerBILTHome'
            14:46:20,279 INFO  [ProxyFactory] Bound EJB Home 'bil.BILCore' to jndi 'bil.BILCore'
            14:46:20,288 INFO  [ProxyFactory] Bound EJB Home 'extension.TXServerBILNTTMHome' to jndi 'extension.TXServerBILNTTMHome'
            14:46:20,298 INFO  [ProxyFactory] Bound EJB Home 'bil.BILEventProcessorManager' to jndi 'bil.BILEventProcessorManager'
            14:46:20,309 INFO  [ProxyFactory] Bound EJB Home 'bil.BILEvent' to jndi 'bil.BILEvent'
            14:46:20,317 INFO  [ProxyFactory] Bound EJB Home 'extension.TXServerBILNTHome' to jndi 'extension.TXServerBILNTHome'
            14:46:20,322 INFO  [ProxyFactory] Bound EJB Home 'extension.TXServerBILTTMHome' to jndi 'extension.TXServerBILTTMHome'
            14:46:20,329 INFO  [TomcatDeployment] deploy, ctxPath=/
            14:46:20,468 ERROR [STDERR] Mapping Table is modified, reloading Mapping Table
            14:46:20,519 ERROR [STDERR] documentBaseDir: /wui
            14:46:20,520 ERROR [STDERR] serverURL: null
            14:46:20,629 INFO  [STDOUT] Undefined key: TXJDBCSource1
            14:46:21,337 ERROR [STDERR] >>>>tradeex.ec4.framework.application.TXServerInfoConnecting to client: extension.TXServerHome
            14:46:21,338 ERROR [STDERR] Startup JMS
            14:46:21,359 ERROR [STDERR] Error initializing Queue JMSEventTopic
            14:46:21,359 ERROR [STDERR] javax.naming.NameNotFoundException: QueueConnectionFactory not bound
            14:46:21,362 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
            14:46:21,362 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
            14:46:21,362 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
            14:46:21,362 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
            14:46:21,362 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            14:46:21,362 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            14:46:21,362 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            14:46:21,362 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            14:46:21,362 ERROR [STDERR] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
            14:46:21,362 ERROR [STDERR] at sun.rmi.transport.Transport$1.run(Transport.java:159)
            14:46:21,362 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method)
            14:46:21,362 ERROR [STDERR] at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
            14:46:21,362 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
            14:46:21,362 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
            14:46:21,363 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
            14:46:21,363 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            14:46:21,363 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            14:46:21,363 ERROR [STDERR] at java.lang.Thread.run(Thread.java:662)
            14:46:21,363 ERROR [STDERR] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
            14:46:21,363 ERROR [STDERR] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
            14:46:21,363 ERROR [STDERR] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
            14:46:21,363 ERROR [STDERR] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
            14:46:21,363 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
            14:46:21,363 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
            14:46:21,363 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:392)
            14:46:21,363 ERROR [STDERR] at tradeex.ec4.jms.JMSStartup.initializeQueue(JMSStartup.java:238)
            14:46:21,363 ERROR [STDERR] at tradeex.ec4.jms.JMSStartup.startup(JMSStartup.java:143)
            14:46:21,363 ERROR [STDERR] at tradeex.ec4.servlets.StartupServlet.init(StartupServlet.java:55)
            14:46:21,364 ERROR [STDERR] at javax.servlet.GenericServlet.init(GenericServlet.java:212)
            14:46:21,364 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
            14:46:21,364 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
            14:46:21,364 ERROR [STDERR] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
            14:46:21,364 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)
            14:46:21,364 ERROR [STDERR] at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
            14:46:21,364 ERROR [STDERR] at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
            14:46:21,364 ERROR [STDERR] at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
            14:46:21,364 ERROR [STDERR] at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
            14:46:21,364 ERROR [STDERR] at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
            14:46:21,364 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            14:46:21,364 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            14:46:21,364 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            14:46:21,364 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            14:46:21,364 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
            14:46:21,365 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
            14:46:21,365 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            14:46:21,365 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            14:46:21,365 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
            14:46:21,365 ERROR [STDERR] at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
            14:46:21,365 ERROR [STDERR] at $Proxy38.start(Unknown Source)
            14:46:21,365 ERROR [STDERR] at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
            14:46:21,365 ERROR [STDERR] at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
            14:46:21,365 ERROR [STDERR] at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
            14:46:21,365 ERROR [STDERR] at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
            14:46:21,365 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
            14:46:21,365 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
            14:46:21,366 ERROR [STDERR] at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
            14:46:21,366 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
            14:46:21,366 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
            14:46:21,366 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
            14:46:21,366 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
            14:46:21,366 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
            14:46:21,366 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
            14:46:21,366 ERROR [STDERR] at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
            14:46:21,366 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:460)
            14:46:21,366 ERROR [STDERR] at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
            14:46:21,366 ERROR [STDERR] at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
            14:46:21,366 ERROR [STDERR] at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
            14:46:21,366 ERROR [STDERR] at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
            14:46:21,366 ERROR [STDERR] at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
            14:46:21,366 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
            14:46:21,366 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
            14:46:21,366 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
            14:46:21,366 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
            14:46:21,367 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
            14:46:21,367 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
            14:46:21,367 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
            14:46:21,367 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
            14:46:21,367 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
            14:46:21,367 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
            14:46:21,367 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
            14:46:21,367 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
            14:46:21,367 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
            14:46:21,367 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
            14:46:21,367 ERROR [STDERR] at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
            14:46:21,367 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
            14:46:21,367 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
            14:46:21,367 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
            14:46:21,367 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
            14:46:21,367 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
            14:46:21,368 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
            14:46:21,368 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
            14:46:21,368 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
            14:46:21,368 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
            14:46:21,368 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
            14:46:21,368 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
            14:46:21,368 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
            14:46:21,368 ERROR [STDERR] at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
            14:46:21,368 ERROR [STDERR] at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
            14:46:21,368 ERROR [STDERR] at org.jboss.Main.boot(Main.java:221)
            14:46:21,368 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:556)
            14:46:21,368 ERROR [STDERR] at java.lang.Thread.run(Thread.java:662)
            14:46:21,373 ERROR [STDERR] Error initializing Queue JMSTaskQ
            14:46:21,373 ERROR [STDERR] javax.naming.NameNotFoundException: QueueConnectionFactory not bound
            14:46:21,373 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
            14:46:21,373 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
            14:46:21,373 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
            14:46:21,373 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
            14:46:21,373 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            14:46:21,373 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            14:46:21,373 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            14:46:21,374 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            14:46:21,374 ERROR [STDERR] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
            14:46:21,374 ERROR [STDERR] at sun.rmi.transport.Transport$1.run(Transport.java:159)
            14:46:21,374 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method)
            14:46:21,374 ERROR [STDERR] at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
            14:46:21,374 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
            14:46:21,374 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
            14:46:21,374 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
            14:46:21,374 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            14:46:21,374 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            14:46:21,374 ERROR [STDERR] at java.lang.Thread.run(Thread.java:662)
            14:46:21,374 ERROR [STDERR] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
            14:46:21,374 ERROR [STDERR] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
            14:46:21,374 ERROR [STDERR] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
            14:46:21,374 ERROR [STDERR] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
            14:46:21,375 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
            14:46:21,375 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
            14:46:21,375 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:392)
            14:46:21,375 ERROR [STDERR] at tradeex.ec4.jms.JMSStartup.initializeQueue(JMSStartup.java:238)
            14:46:21,375 ERROR [STDERR] at tradeex.ec4.jms.JMSStartup.startup(JMSStartup.java:143)
            14:46:21,375 ERROR [STDERR] at tradeex.ec4.servlets.StartupServlet.init(StartupServlet.java:55)
            14:46:21,375 ERROR [STDERR] at javax.servlet.GenericServlet.init(GenericServlet.java:212)
            14:46:21,375 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
            14:46:21,375 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
            14:46:21,375 ERROR [STDERR] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
            14:46:21,375 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)
            14:46:21,375 ERROR [STDERR] at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
            14:46:21,375 ERROR [STDERR] at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
            14:46:21,375 ERROR [STDERR] at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
            14:46:21,375 ERROR [STDERR] at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
            14:46:21,375 ERROR [STDERR] at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
            14:46:21,375 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            14:46:21,375 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            14:46:21,376 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            14:46:21,376 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            14:46:21,376 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
            14:46:21,376 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
            14:46:21,376 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            14:46:21,376 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            14:46:21,376 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
            14:46:21,376 ERROR [STDERR] at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
            14:46:21,376 ERROR [STDERR] at $Proxy38.start(Unknown Source)
            14:46:21,376 ERROR [STDERR] at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
            14:46:21,376 ERROR [STDERR] at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
            14:46:21,376 ERROR [STDERR] at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
            14:46:21,376 ERROR [STDERR] at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
            14:46:21,376 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
            14:46:21,377 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
            14:46:21,377 ERROR [STDERR] at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
            14:46:21,377 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
            14:46:21,377 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
            14:46:21,377 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
            14:46:21,377 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
            14:46:21,377 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
            14:46:21,377 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
            14:46:21,377 ERROR [STDERR] at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
            14:46:21,377 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:460)
            14:46:21,377 ERROR [STDERR] at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
            14:46:21,377 ERROR [STDERR] at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
            14:46:21,377 ERROR [STDERR] at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
            14:46:21,377 ERROR [STDERR] at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
            14:46:21,377 ERROR [STDERR] at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
            14:46:21,377 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
            14:46:21,378 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
            14:46:21,378 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
            14:46:21,378 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
            14:46:21,378 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
            14:46:21,378 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
            14:46:21,378 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
            14:46:21,378 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
            14:46:21,378 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
            14:46:21,378 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
            14:46:21,378 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
            14:46:21,378 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
            14:46:21,378 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
            14:46:21,378 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
            14:46:21,378 ERROR [STDERR] at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
            14:46:21,379 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
            14:46:21,379 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
            14:46:21,379 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
            14:46:21,379 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
            14:46:21,379 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
            14:46:21,379 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
            14:46:21,379 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
            14:46:21,379 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
            14:46:21,379 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
            14:46:21,379 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
            14:46:21,379 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
            14:46:21,379 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
            14:46:21,379 ERROR [STDERR] at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
            14:46:21,379 ERROR [STDERR] at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
            14:46:21,379 ERROR [STDERR] at org.jboss.Main.boot(Main.java:221)
            14:46:21,380 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:556)
            14:46:21,380 ERROR [STDERR] at java.lang.Thread.run(Thread.java:662)
            14:46:21,384 ERROR [STDERR] Error initializing Queue RetryQueue
            14:46:21,385 ERROR [STDERR] javax.naming.NameNotFoundException: QueueConnectionFactory not bound
            14:46:21,385 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
            14:46:21,385 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
            14:46:21,385 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
            14:46:21,385 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
            14:46:21,385 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            14:46:21,385 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            14:46:21,385 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            14:46:21,385 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            14:46:21,385 ERROR [STDERR] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
            14:46:21,385 ERROR [STDERR] at sun.rmi.transport.Transport$1.run(Transport.java:159)
            14:46:21,385 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method)
            14:46:21,386 ERROR [STDERR] at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
            14:46:21,386 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
            14:46:21,386 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
            14:46:21,386 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
            14:46:21,386 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            14:46:21,386 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            14:46:21,386 ERROR [STDERR] at java.lang.Thread.run(Thread.java:662)
            14:46:21,386 ERROR [STDERR] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
            14:46:21,386 ERROR [STDERR] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
            14:46:21,386 ERROR [STDERR] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
            14:46:21,386 ERROR [STDERR] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
            14:46:21,386 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
            14:46:21,386 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
            14:46:21,386 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:392)
            14:46:21,387 ERROR [STDERR] at tradeex.ec4.jms.JMSStartup.initializeQueue(JMSStartup.java:238)
            14:46:21,387 ERROR [STDERR] at tradeex.ec4.jms.JMSStartup.startup(JMSStartup.java:143)
            14:46:21,387 ERROR [STDERR] at tradeex.ec4.servlets.StartupServlet.init(StartupServlet.java:55)
            14:46:21,387 ERROR [STDERR] at javax.servlet.GenericServlet.init(GenericServlet.java:212)
            14:46:21,387 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
            14:46:21,387 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
            14:46:21,387 ERROR [STDERR] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
            14:46:21,387 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)
            14:46:21,387 ERROR [STDERR] at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
            14:46:21,387 ERROR [STDERR] at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
            14:46:21,387 ERROR [STDERR] at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
            14:46:21,387 ERROR [STDERR] at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
            14:46:21,387 ERROR [STDERR] at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
            14:46:21,387 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            14:46:21,387 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            14:46:21,388 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            14:46:21,388 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            14:46:21,388 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
            14:46:21,388 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
            14:46:21,388 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            14:46:21,388 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            14:46:21,388 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
            14:46:21,388 ERROR [STDERR] at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
            14:46:21,388 ERROR [STDERR] at $Proxy38.start(Unknown Source)
            14:46:21,388 ERROR [STDERR] at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
            14:46:21,388 ERROR [STDERR] at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
            14:46:21,388 ERROR [STDERR] at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
            14:46:21,388 ERROR [STDERR] at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
            14:46:21,388 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
            14:46:21,388 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
            14:46:21,388 ERROR [STDERR] at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
            14:46:21,388 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
            14:46:21,389 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
            14:46:21,389 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
            14:46:21,389 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
            14:46:21,389 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
            14:46:21,389 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
            14:46:21,389 ERROR [STDERR] at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
            14:46:21,389 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:460)
            14:46:21,389 ERROR [STDERR] at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
            14:46:21,389 ERROR [STDERR] at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
            14:46:21,389 ERROR [STDERR] at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
            14:46:21,389 ERROR [STDERR] at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
            14:46:21,389 ERROR [STDERR] at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
            14:46:21,389 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
            14:46:21,389 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
            14:46:21,389 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
            14:46:21,389 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
            14:46:21,389 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
            14:46:21,389 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
            14:46:21,390 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
            14:46:21,390 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
            14:46:21,390 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
            14:46:21,390 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
            14:46:21,390 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
            14:46:21,390 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
            14:46:21,390 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
            14:46:21,390 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
            14:46:21,390 ERROR [STDERR] at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
            14:46:21,390 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
            14:46:21,390 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
            14:46:21,390 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
            14:46:21,390 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
            14:46:21,391 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
            14:46:21,391 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
            14:46:21,391 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
            14:46:21,391 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
            14:46:21,391 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
            14:46:21,391 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
            14:46:21,391 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
            14:46:21,391 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
            14:46:21,391 ERROR [STDERR] at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
            14:46:21,391 ERROR [STDERR] at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
            14:46:21,391 ERROR [STDERR] at org.jboss.Main.boot(Main.java:221)
            14:46:21,391 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:556)
            14:46:21,391 ERROR [STDERR] at java.lang.Thread.run(Thread.java:662)
            14:46:21,391 ERROR [STDERR] Startup Resender
            14:46:21,396 INFO  [STDOUT] [Jan 13(Seg) 02:46:21.395] <init> ******* Starting up Resender *******
            14:46:21,396 INFO  [STDOUT] [Jan 13(Seg) 02:46:21.396] <init> Timeout for sending payload is 15 seconds
            14:46:21,396 INFO  [STDOUT] [Jan 13(Seg) 02:46:21.396] <init> 2 threads will be polling the server at 5 second intervals
            14:46:21,396 INFO  [STDOUT] [Jan 13(Seg) 02:46:21.396] <init> Messages are being logged to ../mkt-data/resender.log
            14:46:21,396 INFO  [STDOUT] [Jan 13(Seg) 02:46:21.396] <init> Resender startup complete
            14:46:21,396 ERROR [STDERR] Startup BIL Recover
            14:46:21,438 ERROR [STDERR] BILCoreRecoverer: running...
            Parameters =  timeBetweenCheckLostEvents = 30000, runRecoverer = false, runLauncher = true, timeToWaitForParentThread = 20000
            14:46:34,094 WARN  [TomcatDeployment] Failed to setup clustering, clustering disabled. NoClassDefFoundError: org/jboss/cache/pojo/jmx/PojoCacheJmxWrapperMBean
            14:46:34,100 INFO  [TomcatDeployment] deploy, ctxPath=/saphetybuy
            14:46:34,358 INFO  [PackagesResourceConfig] Scanning for root resource and provider classes in the packages:
              tradeex.ec4.rest.resource
              tradeex.ec4.rest.provider
              tradeex.ec4.rest.error
            14:46:34,463 INFO  [ScanningResourceConfig] Root resource classes found:
              class tradeex.ec4.rest.resource.ApiListingResource
              class tradeex.ec4.rest.resource.documentservice.IntegrationDocumentStatusResourceV1
              class tradeex.ec4.rest.resource.documentservice.RequisitionResourceV1
            r.AccountPror) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 59s:651ms
            
            14:46:21,438 ERROR [STDERR] BILCoreRecoverer: running...
            Parameters =  timeBetweenCheckLostEvents = 30000, runRecoverer = false, runLauncher = true, timeToWaitForParentThread = 20000
            14:46:34,094 WARN  [TomcatDeployment] Failed to setup clustering, clustering disabled. NoClassDefFoundError: org/jboss/cache/pojo/jmx/PojoCacheJmxWrapperMBean
            14:46:34,100 INFO  [TomcatDeployment] deploy, ctxPath=/saphetybuy
            14:46:34,358 INFO  [PackagesResourceConfig] Scanning for root resource and provider classes in the packages:
              tradeex.ec4.rest.resource
              tradeex.ec4.rest.provider
              tradeex.ec4.rest.error
            14:46:34,463 INFO  [ScanningResourceConfig] Root resource classes found:
              class tradeex.ec4.rest.resource.ApiListingResource
              class tradeex.ec4.rest.resource.documentservice.IntegrationDocumentStatusResourceV1
              class tradeex.ec4.rest.resource.documentservice.RequisitionResourceV1
              class tradeex.ec4.rest.resource.documentservice.ExpenseResourceV1
              class tradeex.ec4.rest.resource.updatingCreatingVisibilities.UpdateVisibilty
              class tradeex.ec4.rest.resource.documentservice.InvoiceResourceV1
            14:46:34,463 INFO  [ScanningResourceConfig] Provider classes found:
              class tradeex.ec4.rest.error.NotFoundExceptionMapper
              class tradeex.ec4.rest.provider.ObjectMapperProvider
              class tradeex.ec4.rest.provider.AccountProvider
              class tradeex.ec4.rest.error.ThrowableExceptionMapper
            14:46:34,557 INFO  [WebApplicationImpl] Initiating Jersey application, version 'Jersey: 1.14 09/09/2012 05:39 PM'
            14:46:35,537 INFO  [TomcatDeployment] deploy, ctxPath=/webservices
            14:46:36,830 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/data/wsdl/marketplace-app.ear/webservices-jboss.war/WSOrderImplService4216919816407040503.wsdl
            14:46:36,834 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/data/wsdl/marketplace-app.ear/webservices-jboss.war/WSAuctionImplService7628039018183199312.wsdl
            14:46:36,839 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/data/wsdl/marketplace-app.ear/webservices-jboss.war/WSWorkflowImplService5173400500850333378.wsdl
            14:46:36,847 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/data/wsdl/marketplace-app.ear/webservices-jboss.war/WSInvoiceImplService7087876532008915855.wsdl
            14:46:36,853 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/data/wsdl/marketplace-app.ear/webservices-jboss.war/WSExpenseNoteImplService2234291809890468455.wsdl
            14:46:36,858 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/develop/jboss-5.1.0.GAVitor/server/default-trunk/data/wsdl/marketplace-app.ear/webservices-jboss.war/WSUserIntegrationImplService179728747434795502.wsdl
            14:46:37,068 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
            14:46:37,155 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
            14:46:37,165 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 59s:651ms
            14:47:01,403 INFO  [STDOUT] [Jan 13(Seg) 02:47:01.402] <init> Attempt to open a connection to the JMS provider failed (QueueConnectionFactory not bound)
            14:47:41,408 INFO  [STDOUT] [Jan 13(Seg) 02:47:41.408] <init> Attempt to open a connection to the JMS provider failed (QueueConnectionFactory not bound)
            14:48:21,413 INFO  [STDOUT] [Jan 13(Seg) 02:48:21.413] <init> Attempt to open a connection to the JMS provider failed (QueueConnectionFactory not bound)
            
            • 3. Re: Re: Re: Migration from 4.2.2 to 5.1
              vrodrigues

              I found the QueueConnectionFactory call in 4.2.2. In uil2-service.xml.

               

              <!--
                    Two JNDI bindings that act like jms client connections remotely
                    but have j2ee defined semantics inside JBoss
                 -->
                 <mbean code="org.jboss.naming.LinkRefPairService"
                        name="jboss.jms:alias=QueueConnectionFactory">
                    <attribute name="JndiName">QueueConnectionFactory</attribute>
                    <attribute name="RemoteJndiName">ConnectionFactory</attribute>
                    <attribute name="LocalJndiName">java:/JmsXA</attribute>
                    <depends>jboss:service=Naming</depends>
                 </mbean>
                 <mbean code="org.jboss.naming.LinkRefPairService"
                        name="jboss.jms:alias=TopicConnectionFactory">
                    <attribute name="JndiName">TopicConnectionFactory</attribute>
                    <attribute name="RemoteJndiName">ConnectionFactory</attribute>
                    <attribute name="LocalJndiName">java:/JmsXA</attribute>
                    <depends>jboss:service=Naming</depends>
                 </mbean>
              

               

              Do i need to do this in jms-ds.xml?

              • 4. Re: Re: Re: Re: Migration from 4.2.2 to 5.1
                vrodrigues

                Ok. Found the solution. Just changed the deploy\messaging\connection-factories-service.xml and added the QueueConnectionFactory.

                 

                <!-- Queue Connection Factory -->
                    <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory"
                           name="jboss.messaging.connectionfactory:service=QueueConnectionFactory"
                           xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
                        <constructor>
                            <arg type="java.lang.String" value="QueueConnectionFactory"/>
                        </constructor>
                        <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
                        <depends optional-attribute-name="Connector">jboss.messaging:service=Connector,transport=bisocket</depends>
                        <depends>jboss.messaging:service=PostOffice</depends>
                        <attribute name="PrefetchSize">150</attribute>
                        <attribute name="DupsOKBatchSize">5000</attribute>
                        <attribute name="SupportsFailover">false</attribute>
                        <attribute name="SupportsLoadBalancing">false</attribute>
                        <attribute name="SlowConsumers">false</attribute>
                        <attribute name="JNDIBindings">
                            <bindings>
                                <binding>QueueConnectionFactory</binding>
                            </bindings>
                        </attribute>
                    </mbean>
                
                    <!-- Topic Connection Factory -->
                    <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory"
                           name="jboss.messaging.connectionfactory:service=TopicConnectionFactory"
                           xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
                        <constructor>
                            <arg type="java.lang.String" value="TopicConnectionFactory"/>
                        </constructor>
                        <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
                        <depends optional-attribute-name="Connector">jboss.messaging:service=Connector,transport=bisocket</depends>
                        <depends>jboss.messaging:service=PostOffice</depends>
                        <attribute name="PrefetchSize">150</attribute>
                        <attribute name="DupsOKBatchSize">5000</attribute>
                        <attribute name="SupportsFailover">false</attribute>
                        <attribute name="SupportsLoadBalancing">false</attribute>
                        <attribute name="SlowConsumers">false</attribute>
                        <attribute name="JNDIBindings">
                            <bindings>
                                <binding>TopicConnectionFactory</binding>
                            </bindings>
                        </attribute>
                    </mbean>
                
                

                 

                And also added to the deploy\messaging\destinations-service.xml

                 

                      <!-- Queue -->
                  
                        <mbean code="org.jboss.jms.server.destination.QueueService"
                      name="jboss.messaging.destination:service=Queue,name=RetryQueue"
                      xmbean-dd="xmdesc/Queue-xmbean.xml">
                      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
                      <depends>jboss.messaging:service=PostOffice</depends>
                   </mbean> 
                  
                      <mbean code="org.jboss.jms.server.destination.QueueService"
                      name="jboss.messaging.destination:service=Queue,name=TaskQueue"
                      xmbean-dd="xmdesc/Queue-xmbean.xml">
                      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
                      <depends>jboss.messaging:service=PostOffice</depends>
                   </mbean>
                  
                  
                   <!-- Topic -->
                     <mbean code="org.jboss.jms.server.destination.QueueService"
                      name="jboss.messaging.destination:service=Queue,name=MPEventsTopic"
                      xmbean-dd="xmdesc/Queue-xmbean.xml">
                      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
                      <depends>jboss.messaging:service=PostOffice</depends>
                   </mbean>
                
                

                 

                Now my deploy doesn't show me any problems. But there is a problem. When i acess the application it gives me this error:

                 

                11:36:30,868 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
                org.apache.jasper.JasperException: Unable to compile class for JSP:
                
                
                An error occurred at line: 9 in the jsp file: /wui/Login.jsp
                Duplicate local variable thisMaxLength
                6: <jsp:useBean id="pass" class="java.lang.String" scope="request"/>
                7: <jsp:include page="global/MasterTopLog.jsp"/>
                8:  <% 
                9:   String thisMaxLength = (String) request.getAttribute("maxLength");
                10:  %>
                11:  <script>
                12:  function reloadme(lang) {
                
                
                
                
                Stacktrace:
                  at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
                  at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
                  at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
                  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:335)
                  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
                  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
                  at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
                  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
                  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
                  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
                  at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)
                  at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)
                  at tradeex.ec4.servlets.TXHttpServlet.forward(TXHttpServlet.java:634)
                  at tradeex.ec4.servlets.TXHttpServlet.invokeRequest(TXHttpServlet.java:234)
                  at tradeex.ec4.servlets.TXHttpServlet.processRequest(TXHttpServlet.java:501)
                  at tradeex.ec4.servlets.TXHttpServlet.doGet(TXHttpServlet.java:314)
                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                  at tradeex.ec4.filters.TrimFilter.doFilter(TrimFilter.java:33)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                  at tradeex.ec4.filters.GZIPFilter.doFilter(GZIPFilter.java:26)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
                  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
                  at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
                  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
                  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
                  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                  at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
                  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
                  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
                  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
                  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                  at java.lang.Thread.run(Thread.java:662)
                11:36:30,869 ERROR [[/]] Unable to forward request. requestEvent=/redirect, nextPage=/wui/Index.jsp,locale=pt
                org.apache.jasper.JasperException: Unable to compile class for JSP:
                
                
                An error occurred at line: 9 in the jsp file: /wui/Login.jsp
                Duplicate local variable thisMaxLength
                6: <jsp:useBean id="pass" class="java.lang.String" scope="request"/>
                7: <jsp:include page="global/MasterTopLog.jsp"/>
                8:  <% 
                9:   String thisMaxLength = (String) request.getAttribute("maxLength");
                10:  %>
                11:  <script>
                12:  function reloadme(lang) {
                
                
                
                
                Stacktrace:
                  at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
                  at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
                  at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
                  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:335)
                  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
                  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
                  at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
                  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
                  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
                  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
                  at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)
                  at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)
                  at tradeex.ec4.servlets.TXHttpServlet.forward(TXHttpServlet.java:634)
                  at tradeex.ec4.servlets.TXHttpServlet.invokeRequest(TXHttpServlet.java:234)
                  at tradeex.ec4.servlets.TXHttpServlet.processRequest(TXHttpServlet.java:501)
                  at tradeex.ec4.servlets.TXHttpServlet.doGet(TXHttpServlet.java:314)
                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                  at tradeex.ec4.filters.TrimFilter.doFilter(TrimFilter.java:33)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                  at tradeex.ec4.filters.GZIPFilter.doFilter(GZIPFilter.java:26)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
                  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
                  at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
                  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
                  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
                  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                  at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
                  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
                  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
                  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
                  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                  at java.lang.Thread.run(Thread.java:662)
                
                

                 

                My JSP(Login.jsp)

                <%@ taglib uri="http://www.saphety.com/jstl/marketplace" prefix="mkt" %>
                <!-- NEWBIZIMAGE -->
                <%@ page extends="tradeex.ec4.jsp.BaseJSPPage" import="java.util.*, tradeex.ec4.jsp.NavigationControl" contentType="text/html; charset=ISO8859_1"%>
                <jsp:useBean id="user" class="tradeex.ec4.marketplace.user.ECUser" scope="session"/>
                <jsp:useBean id="username" class="java.lang.String" scope="request"/>
                <jsp:useBean id="pass" class="java.lang.String" scope="request"/>
                <jsp:include page="global/MasterTopLog.jsp"/>
                <% 
                  String thisMaxLength = (String) request.getAttribute("maxLength");
                %>
                <script>
                function reloadme(lang) {
                  execlick('/control/redirect?lang=' + lang,'');
                
                  }
                </script>
                  <table border=0 cellpadding=0 cellspacing=0>
                    <FORM name="mainForm" action="/control/login" method=post onsubmit="displayLoading();">
                    <input type="hidden" name="isLogin">
                    <input type="hidden" name="date" value="">
                    <% String redirectStr = request.getParameter("redirect"); %> <% if (redirectStr == null) {
                  redirectStr = "/control/loadHomePageTOC" ;
                     } %>
                        <input type="hidden" name="redirect" value="<%= redirectStr %>">
                    <% if (request.getParameter("AUCTIONID") != null) { %>
                     <input type="hidden" name="AUCTIONID" value="<%=request.getParameter("AUCTIONID")%>">
                    <% } %> 
                        <tr class="top3">         
                         <td class="top3w" nowrap><div class="loginorange"><mkt:loc key="8">Login</mkt:loc></div></td>        
                         <td class="top3w" nowrap><div class="logingray"><mkt:loc key="2">Username</mkt:loc></div></td>
                         <td class="top3w" nowrap><input name="principalID" id="principalID" size=15  value="<%=username%>" class="form" maxlength="<%= thisMaxLength %>" tabindex="1"></td>                
                         <script>
                         document.getElementById("principalID").focus();
                         </script>
                         <td class="top3w" nowrap><div class="logingray" ><mkt:loc key="3">Password</mkt:loc></div></td>
                         <td class="top3w" nowrap><input type="password" name="credential" size=15 value="<%=pass%>" class="form" maxlength="<%= thisMaxLength %>" tabindex="2"></td>  
                  <td class="top3w" nowrap><div class="logingray" onmouseover="className='loginovergray';" onmouseout="className='logingray';" onclick="javascript:document.mainForm.elements['bsub'].click()" ><mkt:loc key="7">Ok</mkt:loc></div></td>
                  <td class="top3w"><div> <img src="images/clear.gif" width="15" height="10"></div></td>
                  <td><img src="<%=session.getAttribute("docroot") + "images/icon_pt_PT.png"%>" onclick="javascript:reloadme('pt_PT');" onmouseover="this.style.cursor='pointer'" /> </td>
                     <td> </td>
                     <td><img src="<%=session.getAttribute("docroot") + "images/icon_en_US.png"%>" onclick="javascript:reloadme('en_US');" onmouseover="this.style.cursor='pointer'" /> </td>
                     <td> </td>
                     <td><img src="<%=session.getAttribute("docroot") + "images/icon_es_ES.png"%>" onclick="javascript:reloadme('es_ES');" onmouseover="this.style.cursor='pointer'" /> </td>
                     <td> </td>
                        </tr>
                        <tr>         
                         <td ><img src="images/clear.gif" width="15" height="10"></td>
                         <td ><img src="images/clear.gif" width="15" height="10"></td>
                         <td ><img src="images/clear.gif" width="15" height="10"></td>
                         <td ><img src="images/clear.gif" width="15" height="10"></td>
                         <td colspan="7" class="personlogout" onmouseover="className='personlogin'" onmouseout="className='personlogout'" onclick="execlick('/control/forgotPwdRedirect')" align="center">
                      <mkt:loc key="6">Recover password</mkt:loc><button name="bsub" type="submit" style="color: transparent; background-color: transparent; border-color: transparent;border:0px; height:0px; width:0px;"/><br>
                  </td>
                        </tr>
                    </FORM>   
                  </table>
                  <br clear="both"/>
                </div>
                <div class="middlelog">
                <div class="middlelogtop">
                  <div class="middlelogbottom">
                   <div class="middlelogright">
                    <div class="middlelogtext" align="center">
                      <mkt:loc key="9">CUSTOMER SUPPORT</mkt:loc><br><br>
                        <a class="middleloglink" style="font-size:13px" href="mailto:helpdesk@saphety.com">helpdesk@saphety.com</a><br><br>
                        <mkt:loc key="10">If you pretend a alternative contact,<br> please visit our website on </mkt:loc> <a style="font-size: 11px" href="http://www.saphety.com/pt-PT/contactos/">www.saphety.com</a>
                     </div>  
                     <div class="bottomlog">
                    <jsp:include page="global/Footer.jsp"/>
                           <div class="middlelogmsg"> <%= request.getAttribute("error") == null ? "" : request.getAttribute("error") %>
                       </div>
                     </div> 
                   </div> 
                  </div>
                </div>
                </div>
                </div>
                </body>
                
                

                 

                I don't see the thisMaxLength duplicated problem. help?

                 

                The inclusion of the jsp done this way in the application in 4.2.2,  <jsp:include page="Test.jsp"/>  is NOT WORKING in jboss 5.1. It only works with <%@ include file="Test.jsp"%>. Any ideas why? GOD, if i have to changed a 15 years old application that has thousand of thousands of jsp:include to include file i will have a nervous breakdown...