JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report JPPF-138  -  JCA client does not reconnect to the driver when discovery is disabled
Posted Apr 19, 2013 - updated Apr 19, 2013
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Closed
  • Assigned to
     lolo4j
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    J2EE
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Reproducability
    Always
  • Severity
    Normal
  • Targetted for
    icon_milestones.png JPPF 3.3.1
Issue description
When the application server is started before any JPPF driver, and driver discovery is disabled in the configuration, I get the following exception:

org.jppf.JPPFException: [driver1-1] Could not reconnect to the class server
  at org.jppf.jca.work.JcaClassServerDelegate.init(JcaClassServerDelegate.java:92)
  at org.jppf.jca.work.JcaClassServerDelegate.performConnection(JcaClassServerDelegate.java:152)
  at org.jppf.jca.work.JPPFJcaClientConnection.connect(JPPFJcaClientConnection.java:139)
  at org.jppf.jca.work.JPPFJcaClientConnection.init(JPPFJcaClientConnection.java:111)
  at org.jppf.client.ConnectionInitializer.run(ConnectionInitializer.java:58)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  at java.lang.Thread.run(Thread.java:662)


Upon starting the driver, the JCA client does not connect to it either, thus no submitted job is sent tot he driver
Steps to reproduce this issue
  • in the ra.xml use the following client config:
driver1.jppf.server.host = localhost
driver1.jppf.server.port = 11111
driver1.jppf.pool.size = 2
reconnect.max.time = 100000
jppf.remote.execution.enabled = true
jppf.discovery.enabled = false
  • build the .rar and demo .ear and deploy them in JBoss 5.1.0 (or other version)
  • start JBoss
  • ==> you get the exception



#3
Comment posted by
 lolo4j
Apr 19, 20:30
This is now fixed. Changes committed to SVN:

The issue was updated with the following change(s):
  • This issue has been closed
  • The status has been updated, from Confirmed to Closed.
  • This issue's progression has been updated to 100 percent completed.
  • The resolution has been updated, from Not determined to RESOLVED.
  • Information about the user working on this issue has been changed, from lolo4j to Not being worked on.