3 Replies Latest reply on Apr 24, 2007 2:16 PM by Eleanor O'Neill

    Troublesome EAR file deployment

    Eleanor O'Neill Newbie

      Hi,

      I'm trying to move an ear file from a JBoss AS on a Windows computer to a JBoss AS on a Linux machine. I have tried deploying it as an ear file and as an exploded ear file - neither seems to throw an error but I can't get access to the content. And the server is definitely running - I had to do a Jems command line install though because I don't have local access to the Linux box.

      The printout from starting the server is below and the exploded ear file is called BioMechApp.ear

      If anyone spots anything obvious I would be very grateful for the info.

      Regards


      root@www:/usr/local/jboss/jboss-4.0.4/bin# sh run.sh
      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /usr/local/jboss/jboss-4.0.4

      JAVA: /usr/local/java/jdk1.6.0_01/bin/java

      JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

      CLASSPATH: /usr/local/jboss/jboss-4.0.4/bin/run.jar:/usr/local/java/jdk1.6.0_01/lib/tools.jar

      =========================================================================

      20:26:39,954 INFO [Server] Starting JBoss (MX MicroKernel)...
      20:26:39,956 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
      20:26:39,959 INFO [Server] Home Dir: /usr/local/jboss/jboss-4.0.4
      20:26:39,959 INFO [Server] Home URL: file:/usr/local/jboss/jboss-4.0.4/
      20:26:39,961 INFO [Server] Patch URL: null
      20:26:39,961 INFO [Server] Server Name: default
      20:26:39,962 INFO [Server] Server Home Dir: /usr/local/jboss/jboss-4.0.4/server/default
      20:26:39,962 INFO [Server] Server Home URL: file:/usr/local/jboss/jboss-4.0.4/server/default/
      20:26:40,014 INFO [Server] Server Log Dir: /usr/local/jboss/jboss-4.0.4/server/default/log
      20:26:40,015 INFO [Server] Server Temp Dir: /usr/local/jboss/jboss-4.0.4/server/default/tmp
      20:26:40,015 INFO [Server] Root Deployment Filename: jboss-service.xml
      20:26:40,778 INFO [ServerInfo] Java version: 1.6.0_01,Sun Microsystems Inc.
      20:26:40,778 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0_01-b06,Sun Microsystems Inc.
      20:26:40,779 INFO [ServerInfo] OS-System: Linux 2.4.29,i386
      20:26:42,045 INFO [Server] Core system initialized
      20:26:46,627 INFO [WebService] Using RMI server codebase: http://www.mme.tcd.ie:8083/
      20:26:46,678 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      20:26:59,091 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date=200609291417)
      20:27:01,604 INFO [Embedded] Catalina naming disabled
      20:27:01,700 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
      20:27:01,703 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
      20:27:02,369 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
      20:27:02,372 INFO [Catalina] Initialization processed in 669 ms
      20:27:02,373 INFO [StandardService] Starting service jboss.web
      20:27:02,379 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20
      20:27:02,546 INFO [StandardHost] XML validation disabled
      20:27:02,625 INFO [Catalina] Server startup in 252 ms
      20:27:03,329 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
      20:27:04,379 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
      20:27:05,369 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
      20:27:05,669 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp15802jbossws-context-exp.war/
      20:27:06,112 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      20:27:08,758 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
      20:27:10,136 INFO [MailService] Mail Service bound to java:/Mail
      20:27:11,393 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
      20:27:11,561 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
      20:27:11,688 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
      20:27:11,818 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
      20:27:11,931 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
      20:27:12,002 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
      20:27:14,434 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      20:27:14,986 INFO [A] Bound to JNDI name: queue/A
      20:27:14,990 INFO [B] Bound to JNDI name: queue/B
      20:27:14,994 INFO [C] Bound to JNDI name: queue/C
      20:27:14,998 INFO [D] Bound to JNDI name: queue/D
      20:27:15,002 INFO [ex] Bound to JNDI name: queue/ex
      20:27:15,078 INFO [testTopic] Bound to JNDI name: topic/testTopic
      20:27:15,083 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
      20:27:15,092 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
      20:27:15,101 INFO [testQueue] Bound to JNDI name: queue/testQueue
      20:27:15,213 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
      20:27:15,311 INFO [DLQ] Bound to JNDI name: queue/DLQ
      20:27:15,607 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      20:27:15,714 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
      20:27:16,075 INFO [EARDeployer] Init J2EE application: file:/usr/local/jboss/jboss-4.0.4/server/default/deploy/BioMechApp.ear/
      20:27:17,127 INFO [EjbModule] Deploying User
      20:27:17,986 INFO [ProxyFactory] Bound EJB Home 'User' to jndi 'ejb/User'
      20:27:17,990 INFO [EJBDeployer] Deployed: file:/usr/local/jboss/jboss-4.0.4/server/default/deploy/BioMechApp.ear/BioMechEJB.jar/
      20:27:18,242 INFO [TomcatDeployer] deploy, ctxPath=/mscbiomech, warUrl=.../deploy/BioMechApp.ear/BioMechWeb.war/
      20:27:19,779 INFO [JBossCacheManager] init(): replicationGranularity_ is 0 and invaldateSessionPolicy is 2
      20:27:19,792 WARN [TomcatDeployer] Failed to setup clustering, clustering disabled. NoClassDefFoundError: org/jboss/cache/CacheException
      20:27:19,962 INFO [EARDeployer] Started J2EE application: file:/usr/local/jboss/jboss-4.0.4/server/default/deploy/BioMechApp.ear/
      20:27:20,448 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      20:27:21,094 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      20:27:21,289 INFO [JkMain] Jk running ID=0 time=0/250 config=null
      20:27:21,482 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 41s:462ms

        • 1. Re: Troublesome EAR file deployment
          jaikiran pai Master

           

          but I can't get access to the content


          Any errors you see in the log files?

          The server startup logs show that your application has been started:

          20:27:19,962 INFO [EARDeployer] Started J2EE application: file:/usr/local/jboss/jboss-4.0.4/server/default/deploy/BioMechApp.ear/


          • 2. Re: Troublesome EAR file deployment
            Eleanor O'Neill Newbie

            Hi Jaikiran,

            Thanks for replying so quickly. I've had a look though the log files and found two obvious errors in server.log. At the moment they don't mean much to me but I'm going to start googling - if you can offer any advice on either of these I'd be very grateful.

            Thanks again.


            This first error is repeated twice:

            2007-04-23 20:27:14,902 DEBUG [org.jboss.system.ServiceController] starting service jboss.mq:service=DestinationManager
            2007-04-23 20:27:14,902 DEBUG [org.jboss.system.ServiceController] waiting in start jboss.mq:service=DestinationManager on jboss.mq:service=PersistenceManager
            2007-04-23 20:27:14,902 DEBUG [org.jboss.system.ServiceController] starting service jboss.mq:service=PersistenceManager
            2007-04-23 20:27:14,902 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Starting jboss.mq:service=PersistenceManager
            2007-04-23 20:27:14,907 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Creating Schema
            2007-04-23 20:27:14,911 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Could not create table with SQL: CREATE CACHED TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) )
            java.sql.SQLException: Table already exists: JMS_MESSAGES in statement [CREATE CACHED TABLE JMS_MESSAGES]
             at org.hsqldb.jdbc.Util.throwError(Unknown Source)
             at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
             at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:251)
             at org.jboss.mq.pm.jdbc2.PersistenceManager.createSchema(PersistenceManager.java:277)
             at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1796)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
             at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
             at $Proxy0.start(Unknown Source)
             at org.jboss.system.ServiceController.start(ServiceController.java:417)
             at org.jboss.system.ServiceController.start(ServiceController.java:435)
             at org.jboss.system.ServiceController.start(ServiceController.java:435)
             at org.jboss.system.ServiceController.start(ServiceController.java:435)
             at org.jboss.system.ServiceController.start(ServiceController.java:435)
             at org.jboss.system.ServiceController.start(ServiceController.java:435)
             at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
             at $Proxy4.start(Unknown Source)
             at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
             at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
             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:659)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
             at $Proxy34.start(Unknown Source)
             at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
             at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
             at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
             at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
             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:659)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
             at $Proxy8.deploy(Unknown Source)
             at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
             at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
             at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
             at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
             at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
             at $Proxy0.start(Unknown Source)
             at org.jboss.system.ServiceController.start(ServiceController.java:417)
             at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
             at $Proxy4.start(Unknown Source)
             at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
             at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
             at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
             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:659)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
             at $Proxy5.deploy(Unknown Source)
             at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
             at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
             at org.jboss.Main.boot(Main.java:200)
             at org.jboss.Main$1.run(Main.java:490)
             at java.lang.Thread.run(Thread.java:619)
            
            
            





            This is the second error:

            2007-04-23 20:27:17,875 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EjbModule,module=BioMechEJB.jar
            2007-04-23 20:27:17,876 DEBUG [org.jboss.ejb.EjbModule] Starting jboss.j2ee:service=EjbModule,module=BioMechEJB.jar
            2007-04-23 20:27:17,876 DEBUG [org.jboss.ejb.EjbModule] startService, starting container: User
            2007-04-23 20:27:17,876 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:jndiName=ejb/User,service=EJB
            2007-04-23 20:27:17,876 DEBUG [org.jboss.ejb.StatelessSessionContainer] Starting jboss.j2ee:jndiName=ejb/User,service=EJB
            2007-04-23 20:27:17,876 DEBUG [org.jboss.ejb.StatelessSessionContainer] Begin java:comp/env for EJB: User
            2007-04-23 20:27:17,876 DEBUG [org.jboss.ejb.StatelessSessionContainer] TCL: org.jboss.util.loading.DelegatingClassLoader@18e4a2e
            2007-04-23 20:27:17,877 DEBUG [org.jboss.ejb.StatelessSessionContainer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered.
            2007-04-23 20:27:17,880 DEBUG [org.jboss.ejb.StatelessSessionContainer] End java:comp/env for EJB: User
            2007-04-23 20:27:17,881 DEBUG [org.jboss.ejb.plugins.local.BaseLocalProxyFactory] User cannot be Bound, doesn't have local and local home interfaces
            2007-04-23 20:27:17,912 DEBUG [org.jboss.proxy.ejb.ProxyFactory] (re-)Binding Home ejb/User
            2007-04-23 20:27:17,986 INFO [org.jboss.proxy.ejb.ProxyFactory] Bound EJB Home 'User' to jndi 'ejb/User'
            2007-04-23 20:27:17,986 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EJB,plugin=pool,jndiName=ejb/User
            2007-04-23 20:27:17,987 DEBUG [org.jboss.ejb.plugins.StatelessSessionInstancePool] Starting jboss.j2ee:service=EJB,plugin=pool,jndiName=ejb/User
            2007-04-23 20:27:17,987 DEBUG [org.jboss.ejb.plugins.StatelessSessionInstancePool] Started jboss.j2ee:service=EJB,plugin=pool,jndiName=ejb/User
            2007-04-23 20:27:17,987 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:service=EJB,plugin=pool,jndiName=ejb/User dependent components: []
            2007-04-23 20:27:17,987 DEBUG [org.jboss.resource.connectionmanager.CachedConnectionInterceptor] start called in CachedConnectionInterceptor
            2007-04-23 20:27:17,989 DEBUG [org.jboss.ejb.StatelessSessionContainer] Started jboss.j2ee:jndiName=ejb/User,service=EJB
            2007-04-23 20:27:17,989 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:jndiName=ejb/User,service=EJB dependent components: []
            2007-04-23 20:27:17,990 DEBUG [org.jboss.ejb.EjbModule] Started jboss.j2ee:service=EjbModule,module=BioMechEJB.jar
            2007-04-23 20:27:17,990 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:service=EjbModule,module=BioMechEJB.jar dependent components: []
            2007-04-23 20:27:17,990 INFO [org.jboss.ejb.EJBDeployer] Deployed: file:/usr/local/jboss/jboss-4.0.4/server/default/deploy/BioMechApp.ear/BioMechEJB.jar/
            2007-04-23 20:27:18,235 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: BioMechEJB.jar
            2007-04-23 20:27:18,235 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/usr/local/jboss/jboss-4.0.4/server/default/deploy/BioMechApp.ear/BioMechWeb.war/
            2007-04-23 20:27:18,235 DEBUG [org.jboss.ws.integration.jboss.DeployerInterceptorJSE] start: file:/usr/local/jboss/jboss-4.0.4/server/default/deploy/BioMechApp.ear/BioMechWeb.war/
            2007-04-23 20:27:18,235 DEBUG [org.jboss.system.ServiceController] starting service jboss.web.deployment:war=BioMechWeb.war,id=-1491581869
            2007-04-23 20:27:18,236 DEBUG [org.jboss.web.WebModule] Starting jboss.web.deployment:war=BioMechWeb.war,id=-1491581869
            2007-04-23 20:27:18,236 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] webContext: /mscbiomech
            2007-04-23 20:27:18,236 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] warURL: file:/usr/local/jboss/jboss-4.0.4/server/default/deploy/BioMechApp.ear/BioMechWeb.war/
            2007-04-23 20:27:18,236 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] webAppParser: org.jboss.web.AbstractWebDeployer$DescriptorParser@df39bc
            2007-04-23 20:27:18,237 DEBUG [org.jboss.web.WebPermissionMapping] Qualified url patterns: {/=PatternInfo[pattern=/,type=3,isOverriden=false,qualifiers=[]]}
            2007-04-23 20:27:18,242 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/mscbiomech, warUrl=.../deploy/BioMechApp.ear/BioMechWeb.war/
            2007-04-23 20:27:18,243 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, Begin
            2007-04-23 20:27:18,275 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Creating ENC using ClassLoader: java.net.FactoryURLClassLoader@147788d
            2007-04-23 20:27:18,275 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] ..org.jboss.mx.loading.UnifiedClassLoader3@1768b0a{ url=file:/usr/local/jboss/jboss-4.0.4/server/default/deploy/BioMechApp.ear/ ,addedOrder=41}
            2007-04-23 20:27:18,275 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] ..org.jboss.system.server.NoAnnotationURLClassLoader@b66cc
            2007-04-23 20:27:18,275 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] ..sun.misc.Launcher$AppClassLoader@df6ccd
            2007-04-23 20:27:18,275 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] ..sun.misc.Launcher$ExtClassLoader@601bb1
            2007-04-23 20:27:18,285 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered.
            2007-04-23 20:27:18,286 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Linked java:comp/UserTransaction to JNDI name: UserTransaction
            2007-04-23 20:27:18,286 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] addEnvEntries
            2007-04-23 20:27:18,286 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkResourceEnvRefs
            2007-04-23 20:27:18,286 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkResourceRefs
            2007-04-23 20:27:18,286 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkMessageDestinationRefs
            2007-04-23 20:27:18,287 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkEjbRefs
            2007-04-23 20:27:18,287 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Linking ejb-ref: ejb/Fibo to JNDI name: ejb/Fibo
            2007-04-23 20:27:18,287 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkEjbLocalRefs
            2007-04-23 20:27:18,287 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkServiceRefs
            2007-04-23 20:27:18,287 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkSecurityDomain
            2007-04-23 20:27:18,287 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] No security-domain given, using default: java:/jaas/other
            2007-04-23 20:27:18,287 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Linking security/securityMgr to JNDI name: java:/jaas/other
            2007-04-23 20:27:18,289 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, End
            2007-04-23 20:27:18,348 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Using session cookies default setting
            2007-04-23 20:27:18,687 DEBUG [org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)/Tomcat-5.5'
            2007-04-23 20:27:19,779 INFO [org.jboss.web.tomcat.tc5.session.JBossCacheManager] init(): replicationGranularity_ is 0 and invaldateSessionPolicy is 2
            2007-04-23 20:27:19,788 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Classes needed for clustered webapp unavailable
            java.lang.NoClassDefFoundError: org/jboss/cache/CacheException
             at org.jboss.web.tomcat.tc5.session.JBossCacheManager.init(JBossCacheManager.java:153)
             at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:332)
             at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
             at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
             at org.jboss.web.WebModule.startModule(WebModule.java:83)
             at org.jboss.web.WebModule.startService(WebModule.java:61)
            





            • 3. Re: Troublesome EAR file deployment
              Eleanor O'Neill Newbie

              Hi Jaikiran,

              Think I've found the source of my problems, I'm pretty sure it's a mysql issue. I deployed some very simple html pages in the ear file and I can access them through a browser so JBoss appears to be fine.

              Thanks for pointing me in the right direction
              Regards.