application deployment stalling
ntone606 Dec 12, 2002 4:04 PMHi everyone,
I'm trying to deploy my application on JBoss 3.0.4, which consists of an ejb layer in an ear. However, JBoss seems to run into problems with my application when starting the EJB containers after the beans have been deployed. The last console output I get is as follows (it's at info level):
20:51:00,194 INFO [EjbModule] Started
20:51:00,194 INFO [EjbModule] Starting
20:51:00,364 INFO [UserImage] Table 'EPIX_USER_IMAGE' already exists
And more usefully my server.log (which is at debug level) details the following final statements:
2002-12-12 20:51:00,194 INFO [org.jboss.ejb.EjbModule] Started
2002-12-12 20:51:00,194 DEBUG [org.jboss.ejb.EJBDeployer] Deployed: file:/C:/jboss-3.0.4/server/testing/tmp/deploy/server/testing/deploy/workingepix.ear/59.workingepix.ear-contents/trade-module.jar
2002-12-12 20:51:00,194 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: trade-module.jar
2002-12-12 20:51:00,194 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/C:/jboss-3.0.4/server/testing/tmp/deploy/server/testing/deploy/workingepix.ear/59.workingepix.ear-contents/user-ejb.jar
2002-12-12 20:51:00,194 DEBUG [org.jboss.ejb.EJBDeployer] start application, deploymentInfo: org.jboss.deployment.DeploymentInfo@54576a85 { url=file:/C:/jboss-3.0.4/server/testing/tmp/deploy/server/testing/deploy/workingepix.ear/59.workingepix.ear-contents/user-ejb.jar }
deployer: org.jboss.ejb.EJBDeployer@11bfbc
status: Starting
state: START_DEPLOYER
watch: file:/C:/jboss-3.0.4/server/testing/tmp/deploy/server/testing/deploy/workingepix.ear/59.workingepix.ear-contents/user-ejb.jar
lastDeployed: 1039726252913
lastModified: 1039726251931
mbeans:
jboss.j2ee:jndiName=ejb/UserModule,service=EJB state: null
jboss.j2ee:jndiName=ejb/User,service=EJB state: null
jboss.j2ee:jndiName=ejb/UserImage,service=EJB state: null
, short name: user-ejb.jar, parent short name: workingepix.ear
2002-12-12 20:51:00,194 INFO [org.jboss.ejb.EjbModule] Starting
2002-12-12 20:51:00,194 DEBUG [org.jboss.ejb.EjbModule] Application.start(), start container: org.jboss.ejb.StatelessSessionContainer@344eb4
2002-12-12 20:51:00,194 DEBUG [org.jboss.ejb.StatelessSessionContainer] Begin java:comp/env for EJB: UserModule
2002-12-12 20:51:00,194 DEBUG [org.jboss.ejb.StatelessSessionContainer] TCL: java.net.URLClassLoader@45af2e
2002-12-12 20:51:00,194 DEBUG [org.jboss.ejb.StatelessSessionContainer] Binding an EJBLocalReference ejb/UserImage
2002-12-12 20:51:00,194 DEBUG [org.jboss.ejb.StatelessSessionContainer] Binding ejb/UserImage to bean source: UserImage
2002-12-12 20:51:00,194 DEBUG [org.jboss.ejb.StatelessSessionContainer] Binding an EJBLocalReference ejb/User
2002-12-12 20:51:00,194 DEBUG [org.jboss.ejb.StatelessSessionContainer] Binding ejb/User to bean source: User
2002-12-12 20:51:00,194 DEBUG [org.jboss.ejb.StatelessSessionContainer] End java:comp/env for EJB: UserModule
2002-12-12 20:51:00,194 DEBUG [org.jboss.ejb.plugins.local.BaseLocalContainerInvoker] UserModule cannot be Bound, doesn't have local and local home interfaces
2002-12-12 20:51:00,214 DEBUG [org.jboss.proxy.ejb.ProxyFactory] Bound UserModule to ejb/UserModule
2002-12-12 20:51:00,214 DEBUG [org.jboss.resource.connectionmanager.CachedConnectionInterceptor] start called in CachedConnectionInterceptor
2002-12-12 20:51:00,214 DEBUG [org.jboss.ejb.EjbModule] Application.start(), start container: org.jboss.ejb.EntityContainer@ff62a
2002-12-12 20:51:00,214 DEBUG [org.jboss.ejb.EntityContainer] Begin java:comp/env for EJB: User
2002-12-12 20:51:00,214 DEBUG [org.jboss.ejb.EntityContainer] TCL: java.net.URLClassLoader@1bd9c9
2002-12-12 20:51:00,224 DEBUG [org.jboss.ejb.EntityContainer] Binding env-entry: sequenceName of type: java.lang.String to value:UserSequence
2002-12-12 20:51:00,224 DEBUG [org.jboss.ejb.EntityContainer] Binding an EJBReference ejb/propertyStore
2002-12-12 20:51:00,224 DEBUG [org.jboss.ejb.EntityContainer] Binding ejb/propertyStore to internal JNDI source: os.PropertyStore
2002-12-12 20:51:00,224 DEBUG [org.jboss.ejb.EntityContainer] Binding an EJBReference ejb/SequenceGenerator
2002-12-12 20:51:00,224 DEBUG [org.jboss.ejb.EntityContainer] Binding ejb/SequenceGenerator to internal JNDI source: os.SequenceGenerator
2002-12-12 20:51:00,224 DEBUG [org.jboss.ejb.EntityContainer] Binding an EJBLocalReference ejb/UserImage
2002-12-12 20:51:00,224 DEBUG [org.jboss.ejb.EntityContainer] Binding ejb/UserImage to bean source: UserImage
2002-12-12 20:51:00,224 DEBUG [org.jboss.ejb.EntityContainer] End java:comp/env for EJB: User
2002-12-12 20:51:00,234 DEBUG [org.jboss.ejb.plugins.local.BaseLocalContainerInvoker] Bound EJBLocalHome of User to ejb/User
2002-12-12 20:51:00,234 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.User] Initializing CMP plugin for User
2002-12-12 20:51:00,264 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.User] Loading standardjbosscmp-jdbc.xml : file:/C:/jboss-3.0.4/server/testing/conf/standardjbosscmp-jdbc.xml
2002-12-12 20:51:00,314 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.User] jar:file:/C:/jboss-3.0.4/server/testing/tmp/deploy/server/testing/deploy/workingepix.ear/59.workingepix.ear-contents/user-ejb.jar!/META-INF/jbosscmp-jdbc.xml found. Overriding defaults
2002-12-12 20:51:00,344 DEBUG [org.jboss.resource.connectionmanager.CachedConnectionInterceptor] start called in CachedConnectionInterceptor
2002-12-12 20:51:00,344 DEBUG [org.jboss.ejb.EjbModule] Application.start(), start container: org.jboss.ejb.EntityContainer@61509b
2002-12-12 20:51:00,344 DEBUG [org.jboss.ejb.EntityContainer] Begin java:comp/env for EJB: UserImage
2002-12-12 20:51:00,344 DEBUG [org.jboss.ejb.EntityContainer] TCL: java.net.URLClassLoader@114b17
2002-12-12 20:51:00,354 DEBUG [org.jboss.ejb.EntityContainer] End java:comp/env for EJB: UserImage
2002-12-12 20:51:00,354 DEBUG [org.jboss.ejb.plugins.local.BaseLocalContainerInvoker] Bound EJBLocalHome of UserImage to ejb/UserImage
2002-12-12 20:51:00,354 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.UserImage] Initializing CMP plugin for UserImage
2002-12-12 20:51:00,364 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.UserImage] Entity Exists SQL: SELECT COUNT(*) FROM EPIX_USER_IMAGE WHERE id=?
2002-12-12 20:51:00,364 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.UserImage] Insert Entity SQL: INSERT INTO EPIX_USER_IMAGE (id, image, imageName, id) VALUES (?, ?, ?, ?)
2002-12-12 20:51:00,364 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCRemoveEntityCommand.UserImage] Remove SQL: DELETE FROM EPIX_USER_IMAGE WHERE id=?
2002-12-12 20:51:00,364 INFO [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.UserImage] Table 'EPIX_USER_IMAGE' already exists
2002-12-12 20:51:00,364 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.UserImage.findByPrimaryKey] SQL: SELECT id FROM EPIX_USER_IMAGE WHERE id=?
2002-12-12 20:51:00,364 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.UserImage] Added findByPrimaryKey query command for local home interface
Everything looks fine, but JBoss then halts starting the containers with no further messages (sometimes crashing back out to the prompt).
Any ideas on what is going on? I've tried increasing the virtual memory available to the VM but it's not going over around 55 megs and the same problem occurs.
Thankyou to anyone who could shed some light on this issue.