-
1. Re: Delaying queue creation until hsql is ready
adrian.brock Jun 30, 2003 2:41 PM (in response to speakmon)The real problem is that hsqldb shouldn't
return from its start() method until it listening
for connections.
Somebody has added a workaround for jboss3.2
On the jdbc2 persistence manager, you can change
the attribute
"ConnectionRetryAttempts"
which will keep trying with a wait of 1.5 secs between.
Regards,
Adrian -
2. Re: Delaying queue creation until hsql is ready
speakmon Jun 30, 2003 5:21 PM (in response to speakmon)That solved it, thanks!
-
3. Re: Delaying queue creation until hsql is ready
rudivankeirsbilck Aug 30, 2004 7:01 AM (in response to speakmon)Ok, read about that in the docs but the docs do no say how to specify the value. I have used: <depends optional-attribute-name="ConnectionRetryAttempts">10< /depends> (added a space here for display purposes) but then I get a failure message that says the 10 in an invalid object name:
Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@d9f9eb02 { url=file:/Lab/jboss/server/default/deploy/jms/mysql-jdbc2-service.xml }
deployer: org.jboss.deployment.SARDeployer@7f1228
status: Deployment FAILED reason: Invalid ObjectName: 10; javax.management.MalformedObjectNameException: missing domain
state: FAILED
watch: file:/Lab/jboss/server/default/deploy/jms/mysql-jdbc2-service.xml
lastDeployed: 1093859928441
lastModified: 1093859928000
mbeans:
Can anybody tell me how to specify the value please.
Many thanks,
Rudi. -
4. Re: Delaying queue creation until hsql is ready
genman Aug 30, 2004 5:30 PM (in response to speakmon)
For JMX write:
10
Use the depends only for ObjectName strings (MBeans).