Deployement problems with farming
denagbe Nov 29, 2002 7:12 AMHi,
In the context of farming it seems that my components
are deployed before the oracle service binds its name.
Actually I mean in the case that I restart my server after
having already deployed the components. During the restart
the server is not able to redeploy the components.
I clearly see in the log file that the oracle service
is deployed then comes the cluster-service, the farming-service
and the ejb.jar files that are located in the farm directory
which can not be deployed because it doesn't find the
data source that is bound only after.
Why is that so?
I noticed that if I move the jboss-local-jdbc.rar from
the deploy directory to the farm directory, it seems
to solve the problem.
Here is the loggin:
13:10:40,895 INFO [EjbModule] Creating
13:10:40,955 INFO [EjbModule] Deploying TestListItem
13:10:41,306 INFO [EjbModule] Deploying TestList
13:10:41,326 INFO [EjbModule] Deploying ControllerDispatcher
13:10:41,446 INFO [EjbModule] Deploying Controller
13:10:41,656 INFO [EjbModule] Created
13:10:41,656 INFO [EjbModule] Starting
13:10:42,077 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=meetin
gs/TestListItem,service=EJB
org.jboss.deployment.DeploymentException: Error: can't find data source: java:/jdbc/oracle
DS; - nested throwable: (javax.naming.NameNotFoundException: jdbc not bound)
at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.(JDBCEntityBridge.
java:99)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManag
er.java:397)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:339
)
at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:19
8)
at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376)
at org.jboss.ejb.Container.invoke(Container.java:756)
at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:9
76)
at $Proxy14.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:397)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
....
13:10:42,307 INFO [FarmMemberService] Started
13:10:42,307 INFO [MainDeployer] Deployed package: file:/D:/User/denagbe/src/devel/jboss-
3.0.3_tomcat-4.1.12/server/cluster/deploy/XXXfarm-service.xml
13:10:42,307 INFO [MainDeployer] Starting deployment of package: file:/D:/User/denagbe/sr
c/devel/jboss-3.0.3_tomcat-4.1.12/server/cluster/deploy/jboss-local-jdbc.rar
13:10:42,408 WARN [ServiceController] jboss.jca:service=RARDeployment,name=JBoss LocalTra
nsaction JDBC Wrapper does not implement any Service methods
13:10:42,408 WARN [ServiceController] jboss.jca:service=LocalTxDS,name=OracleDS does not
implement any Service methods
13:10:42,408 INFO [LocalTxConnectionManager] Creating
13:10:42,468 INFO [LocalTxConnectionManager] Created
13:10:42,468 WARN [ServiceController] jboss.jca:service=LocalTxDS,name=hsqldbDS does not
implement any Service methods
13:10:42,468 INFO [LocalTxConnectionManager] Creating
13:10:42,478 INFO [LocalTxConnectionManager] Created
13:10:42,508 INFO [LocalTxConnectionManager] Starting
13:10:42,588 INFO [jdbc/oracleDS] Bound connection factory for resource adapter 'JBoss Lo
calTransaction JDBC Wrapper' to JNDI name 'java:/jdbc/oracleDS'
13:10:42,588 INFO [LocalTxConnectionManager] Started
13:10:42,588 INFO [LocalTxConnectionManager] Starting
....
MBeans waiting for other MBeans:
[ObjectName: jboss.j2ee:jndiName=meetings/TestListItem,service=EJB
state: FAILED
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data source: j
ava:/jdbc/oracleDS; - nested throwable: (javax.naming.NameNotFoundException: jdbc not boun
d), ObjectName: jboss.j2ee:jndiName=meetings/TestList,service=EJB
state: FAILED
Thanks.
Arnaud