4 Replies Latest reply on Dec 16, 2011 1:46 PM by Wolfgang Knauf

    JBoss App working on Win XP is not on Win 7

    Felipe Muñoz Newbie

      Hi,

       

      I was working on a web application on Windows 7 and Eclipse (jee version). Then my bosses update my computer, but it's with Windows 7. I copied all the project setup (Deployment Assembly, Java Build Path, Project References and Targeted Runtimes), but It's not working now. When I start the server and try to login to the web app in the stdout appears:

       

      17:58:58,036 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container

      17:58:58,037 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container

      17:58:58,041 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public java.lang.String com.gp.swcs.persistence.services.AuthenticationEJB.getUserPassword(java.lang.String) throws java.sql.SQLException

      17:58:58,045 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public java.lang.String com.gp.swcs.persistence.services.AuthenticationEJB.getUserPassword(java.lang.String) throws java.sql.SQLException

      17:58:58,050 INFO  [STDOUT] Recuperando valor de key [connection.datasourceName]

      17:59:05,729 INFO  [STDOUT] Recuperando valor de key [connection.datasourceName]

      18:03:57,957 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_18] - TransactionReaper::check timeout for TX a0000ee:cd57:4ee7bc75:63 in state  RUN

      18:03:57,958 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id a0000ee:cd57:4ee7bc75:63 invoked while multiple threads active within it.

      18:03:57,958 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.CheckedAction_2] - CheckedAction::check - atomic action a0000ee:cd57:4ee7bc75:63 aborting with 1 threads active!

      18:03:57,958 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_7] - TransactionReaper::doCancellations worker Thread[Thread-10,5,jboss] successfuly cancelled TX a0000ee:cd57:4ee7bc75:63

      18:04:05,724 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_18] - TransactionReaper::check timeout for TX a0000ee:cd57:4ee7bc75:64 in state  RUN

      18:04:05,724 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id a0000ee:cd57:4ee7bc75:64 invoked while multiple threads active within it.

      18:04:05,724 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.CheckedAction_2] - CheckedAction::check - atomic action a0000ee:cd57:4ee7bc75:64 aborting with 1 threads active!

      18:04:05,724 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_7] - TransactionReaper::doCancellations worker Thread[Thread-10,5,jboss] successfuly cancelled TX a0000ee:cd57:4ee7bc75:64

       

      That didn't happen in the win xp machine.

       

      How can I try to solve this problem?

       

      Thanks.

        • 1. Re: JBoss App working on Win XP is not on Win 7
          Felipe Muñoz Newbie

          Moreover, I copied eclipse, workspace (.metadata included) from the original machine, and still not working!!

           

          Please help me! I can't resolve this!

          • 2. Re: JBoss App working on Win XP is not on Win 7
            Wolfgang Knauf Master

            Hi Felipe,

             

            unfortunately, I don't see any helpful error message.

             

            Could you provide more details about your app? Which JBoss version? Are there any deployment errors/warnings in "server.log"? Did you rebuild the app on the new machine before deploying?

             

            Best regards

             

            Wolfgang

            • 3. Re: JBoss App working on Win XP is not on Win 7
              Felipe Muñoz Newbie

              Thanks Wolfgang!

               

              The app is a web app to publicly access the data from outside the place I work. It starts with a tipical user/passwd login. This login fails with the errors I've posted. I'm ussing JBoss 5.0.1. I've tried 5.1 but it even doesn't start. And yes, I've rebuild the app in the new machine...

               

              About the server.log file I've found some interesting stuff...

               

              First, an error that I don't understand at all:

               

              011-12-15 19:10:08,170 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) Creating ENC using ClassLoader: BaseClassLoader@13478c8{vfsfile:/C:/jboss-5.0.1.GA_NUEVO/server/default/deploy/http-invoker.sar/invoker.war/}

              2011-12-15 19:10:08,170 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) Unable to retrieve orb

              javax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered.

                        at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:529)

                        at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:559)

                        at org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:451)

                        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)

                        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4388)

                        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)

                        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)

                        at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

                        at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

                        at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                        at java.lang.reflect.Method.invoke(Unknown Source)

                        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

                        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

                        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

                        at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

                        at $Proxy36.start(Unknown Source)

                        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

                        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

                        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

                        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

                        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

                        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                        at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)

                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

                        at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

                        at org.jboss.system.ServiceController.start(ServiceController.java:460)

                        at org.jboss.system.microcontainer.jmx.ServiceControllerStartStopLifecycleCallback.install(ServiceControllerStartStopLifecycleCallback.java:44)

                        at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                        at java.lang.reflect.Method.invoke(Unknown Source)

                        at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)

                        at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)

                        at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)

                        at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300)

                        at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:286)

                        at org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:87)

                        at org.jboss.dependency.plugins.AbstractController.handleLifecycleCallbacks(AbstractController.java:1535)

                        at org.jboss.dependency.plugins.AbstractController.handleInstallLifecycleCallbacks(AbstractController.java:1500)

                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:943)

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

                        at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

                        at org.jboss.system.ServiceController.start(ServiceController.java:460)

                        at org.jboss.system.microcontainer.jmx.ServiceControllerStartStopLifecycleCallback.install(ServiceControllerStartStopLifecycleCallback.java:44)

                        at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                        at java.lang.reflect.Method.invoke(Unknown Source)

                        at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)

                        at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)

                        at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)

                        at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300)

                        at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:286)

                        at org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:87)

                        at org.jboss.dependency.plugins.AbstractController.handleLifecycleCallbacks(AbstractController.java:1535)

                        at org.jboss.dependency.plugins.AbstractController.handleInstallLifecycleCallbacks(AbstractController.java:1500)

                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:943)

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

                        at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

                        at org.jboss.system.ServiceController.start(ServiceController.java:460)

                        at org.jboss.system.microcontainer.jmx.ServiceControllerStartStopLifecycleCallback.install(ServiceControllerStartStopLifecycleCallback.java:44)

                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                        at java.lang.reflect.Method.invoke(Unknown Source)

                        at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)

                        at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)

                        at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)

                        at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300)

                        at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:286)

                        at org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:87)

                        at org.jboss.dependency.plugins.AbstractController.handleLifecycleCallbacks(AbstractController.java:1535)

                        at org.jboss.dependency.plugins.AbstractController.handleInstallLifecycleCallbacks(AbstractController.java:1500)

                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:943)

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

                        at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

                        at org.jboss.system.ServiceController.start(ServiceController.java:460)

                        at org.jboss.system.microcontainer.jmx.ServiceControllerStartStopLifecycleCallback.install(ServiceControllerStartStopLifecycleCallback.java:44)

                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                        at java.lang.reflect.Method.invoke(Unknown Source)

                        at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)

                        at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)

                        at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)

                        at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300)

                        at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:286)

                        at org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:87)

                        at org.jboss.dependency.plugins.AbstractController.handleLifecycleCallbacks(AbstractController.java:1535)

                        at org.jboss.dependency.plugins.AbstractController.handleInstallLifecycleCallbacks(AbstractController.java:1500)

                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:943)

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)

                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)

                        at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)

                        at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)

                        at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

                        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

                        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)

                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)

                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)

                        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)

                        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)

                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

                        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)

                        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)

                        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)

                        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)

                        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)

                        at org.jboss.Main.boot(Main.java:209)

                        at org.jboss.Main$1.run(Main.java:547)

                        at java.lang.Thread.run(Unknown Source)

              2011-12-15 19:10:08,170 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) Linked java:comp/TransactionSynchronizationRegistry to JNDI name: java:TransactionSynchronizationRegistry

               

               

              Then in the log appears the next strings. I don't understand why JBoss or the app wants to create a table!!?!?! o_O :

               

              2011-12-15 19:10:09,466 DEBUG [org.jboss.security.integration.JNDIBasedSecurityManagement] (main) setCachePolicy, c=org.jboss.util.TimedCachePolicy@110e05e

              2011-12-15 19:10:09,544 DEBUG [org.jboss.messaging.core.impl.JDBCSupport] (main) Failed to execute: CREATE TABLE JBM_USER (USER_ID VARCHAR(32) NOT NULL, PASSWD VARCHAR(32) NOT NULL, CLIENTID VARCHAR(128), PRIMARY KEY(USER_ID))

              java.sql.SQLException: Table already exists: JBM_USER in statement [CREATE TABLE JBM_USER]

                        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)

                        at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)

                        at org.hsqldb.jdbc.jdbcStatement.executeUpdate(Unknown Source)

                        at org.jboss.resource.adapter.jdbc.WrappedStatement.executeUpdate(WrappedStatement.java:249)

                        at org.jboss.messaging.core.impl.JDBCSupport.createSchema(JDBCSupport.java:301)

                        at org.jboss.messaging.core.impl.JDBCSupport.start(JDBCSupport.java:167)

                        at org.jboss.jms.server.plugin.JDBCJMSUserManager.start(JDBCJMSUserManager.java:98)

                        at org.jboss.jms.server.plugin.JDBCJMSUserManagerService.startService(JDBCJMSUserManagerService.java:78)

                        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)

                        at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:269)

                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                        at java.lang.reflect.Method.invoke(Unknown Source)

                        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

                        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

                        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)

                        at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

                        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)

                        at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

                        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

                        at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

                        at $Proxy36.start(Unknown Source)

              ...

              ...

               

               

              For sure there's something I'n missing...

               

              Hope you can help me Wolfgang! And thanks you very much for the clues...

               

              Regards,

               

              Felipe.

              • 4. Re: JBoss App working on Win XP is not on Win 7
                Wolfgang Knauf Master

                Hi,

                 

                I don't have much more ideas...

                 

                 

                In your initial post, there is this warn message:

                18:03:57,957 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_18] - TransactionReaper::check timeout for TX a0000ee:cd57:4ee7bc75:63 in state  RUN

                 

                This might be related to JMS configuration: http://community.jboss.org/thread/148206 - do you use a message driven bean or JMS queues?

                 

                In your second post, there are two other error messages. They both can be ignored, they are "known" warn messages. See here: http://community.jboss.org/message/251030

                 

                One common cause of trouble is a JAR conflict. So, could you post a list of all JAR files bundled with your app?

                 

                Best regards

                 

                Wolfgang