5 Replies Latest reply on Apr 24, 2005 8:21 AM by Darryl Miles

    JBoss 4 on RH Linux 7 Locking up in EJB deployer?

    Jacob Anderson Newbie

      JBoss 4.0.1sp1
      JDK 1.4.2_08
      RH Linux 7.0
      SQL SERVER 2000 JDBC driver

      We have a project with maybe 30 entity beans and some miscellaneous other classes. The application is configured to run as its own server instance (exists in jboss/server/<project_name>/...), so we start it up as "run -c <project_name>".

      On windows, using the same JDK and JBoss version, the application deploys just fine. On the RH Linux box, though, JBoss always locks-up in the EJB deployer.

      One thing we *did* was to map the "DECIMAL" type to BigDecimal. I remember seeing someting about that once in the JBoss docs - could that be the culprit??

      After turning on "-verbose" when jboss starts up and enabling TRACE mode for the EJB deployer, I see:

      > [EjbModule] Deploying <last bean in the list>
      [Loaded $Proxy75]
      [Loaded org.jboss.ejb.plugins.local.LocalProxy]
      [Loaded org.jboss.ejb.plugins.local.LocalHomeProxy]
      [Loaded org.jboss.ejb.plugins.local.BaseLocalProxyFactory$ClassLoaderAction$UTIL]
      [Loaded org.jboss.ejb.plugins.local.BaseLocalProxyFactory$ClassLoaderAction]
      [Loaded org.jboss.ejb.plugins.local.BaseLocalProxyFactory$3]
      [Loaded org.jboss.ejb.plugins.local.BaseLocalProxyFactory$2]
      [ ... ]
      [Loaded org.jboss.proxy.ejb.EJBMetaDataImpl]
      [Loaded org.jboss.proxy.ejb.handle.HomeHandleImpl]
      [Loaded org.jboss.naming.NamingContextFactory]
      [Loaded org.jboss.proxy.ejb.GenericEJBInterceptor]
      [Loaded org.jboss.proxy.ejb.HomeInterceptor]
      [Loaded org.jboss.proxy.ejb.EntityInterceptor]
      [Loaded org.jboss.proxy.ejb.ListEntityInterceptor]
      [ ... ]
      [Loaded org.jboss.proxy.ejb.StatelessSessionInterceptor]
      [ ... ]
      [Loaded sun.rmi.transport.DGCAckHandler from /usr/java/j2sdk1.4.2_08/jre/lib/rt.jar]
      [Loaded sun.rmi.transport.DGCAckHandler$1 from /usr/java/j2sdk1.4.2_08/jre/lib/rt.jar]
      [ ... ]
      [Loaded org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader]
      [ ... ]
      [Loaded org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge$1]
      [Loaded org.jboss.resource.connectionmanager.IdleRemover]
      [Loaded org.jboss.resource.connectionmanager.IdleRemover$1]
      [Loaded com.microsoft.jdbc.base.BaseDriver]
      [Loaded com.microsoft.jdbc.sqlserver.SQLServerDriver]
      [ ... ]
      [Loaded org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand]
      [ ... ]
      [Loaded org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler]
      [Loaded org.jboss.proxy.compiler.Proxy]
      [ ... ]
      [Loaded org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGenerator]

      and the last thing before it intercepts my ^C:

      [Loaded sun.security.provider.NativeSeedGenerator from /usr/java/j2sdk1.4.2_08/jre/lib/rt.jar]
      [Loaded sun.security.provider.SeedGenerator$4 from /usr/java/j2sdk1.4.2_08/jre/lib/rt.jar]
      [Loaded sun.security.provider.SeedGenerator$2 from /usr/java/j2sdk1.4.2_08/jre/lib/rt.jar]

      THEN, when it is shutting down, it always locks up in:

      09:39:34,339 INFO [TomcatDeployer] undeploy, ctxPath=/ws4ee, warUrl=file:/home/jboss-4.0.1sp1/server/pace/tmp/deploy/tmp36684jboss-ws4ee.war/

      Has anyone experienced any problems like this on their linux installations using JBoss 4?? THe SQL server driver works just fine, we use it to initialize the database on the same machine, and it doesn't lock-up.


      -- Jake