Menu

#1303 Farm deployment doesn't work after restart

v3.2
closed-fixed
Clustering (72)
5
2003-06-05
2003-05-06
No

I'm using JBoss 3.2.1 on Linux (kernel 2.4.20). JDK
1.4.1_02

I have succesfully installed two JBoss instances on the
machine and have them running with our ear file in each
server's deploy directory.

The ear file contains an jar file (with 15+ ejbs) and
two war files.

Then I started using farming by:
1) Remove the ear file from deploy.
2) Restart the servers to get rid of the old deployment
directories.
3) Move the ear file to one of the servers' farm directory.

Now it works correctly until I restart one of the
servers then I get three series of errors:

1) First (opposite to when doing normal deployment) the
war can't find any of the classes packaged in the jar
file. (This might not be a bug, but at least it should
work consistently compared to doing a normal deployment)

2) Then I get following error:
2003-05-06 10:21:10,484: [DEBUG]
FarmMemberService - Watch URL for:
file:/srv/jboss/app/jboss-3.2.1/server/all/farm/TouristOnline.ear
->
file:/srv/jboss/app/jboss-3.2.1/server/all/farm/TouristOnline.ear
2003-05-06 10:21:10,485: [ERROR]
FarmMemberService - MBeanException: Exception in MBean
operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
[org.jboss.deployment.DeploymentInfo@987ba17d {
url=file:/srv/jboss/app/jboss-3.2.1/server/all/deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/
}
deployer: null
status: Starting
state: INIT_WAITING_DEPLOYER
watch:
file:/srv/jboss/app/jboss-3.2.1/server/all/deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/
lastDeployed: 1052209257007
lastModified: 1052087735000
mbeans:
...... See attachment from line 5021

3) And last the EJB's can't find the datasource no
matter if I deploy oracle-ds.xml in deploy or farm
directories. I get an error like this for each EntityBean:

2003-05-06 10:21:22,382: [ERROR]
EntityContainer - Starting failed
org.jboss.deployment.DeploymentException: Error: can't
find data source: java:/jdbc/OracleDS; - nested
throwable: (javax.naming.NameNotFoundException: jdbc
not bound)
.... See attachment from line 7476

/Christian Bjřrnbak

Discussion

  • Christian Bjørnbak

    Logged In: YES
    user_id=651367

    The submit denied the attachment trying again with extract...

    The new line numbers are line 1 and line 247.

     
  • Christian Bjørnbak

    Extract from server.log with the stacktrace of the above errors

     
  • Sacha Labourey

    Sacha Labourey - 2003-05-14
    • assigned_to: nobody --> slaboure
     
  • Sacha Labourey

    Sacha Labourey - 2003-06-05
    • status: open --> closed-fixed
     
  • Sacha Labourey

    Sacha Labourey - 2003-06-05

    Logged In: YES
    user_id=95900

    Can you check with a fresh checkout from Branch_3_2: now
    the farm-service.xml file is no more in /deploy but
    in /deploy/deploy.last which is deployed after everything.
    Consequently, all services and other required app will already
    be loaded.

     

Log in to post a comment.