ERROR [org.jgroups.protocols.UDP] failed sending message to null (0 bytes) java.net.NoRouteToHostException: No route to host: Datagram send failed
by samk@twinix.com
See Thread at: http://www.techienuggets.com/Detail?tx=44138 Posted on behalf of a User
I'm repeatedly getting the following error in my server log. Running JBoss 4.2.1.GA The server is still running and handling requests but my server log is being pounded with this error message. Any clues?
2008-07-13 12:01:10,005 ERROR [org.jgroups.protocols.UDP] failed sending message to null (0 bytes)
java.net.NoRouteToHostException: No route to host: Datagram send failed
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:612)
at org.jgroups.protocols.UDP._send(UDP.java:316)
at org.jgroups.protocols.UDP.sendToAllMembers(UDP.java:286)
at org.jgroups.protocols.TP.doSend(TP.java:937)
at org.jgroups.protocols.TP.send(TP.java:926)
at org.jgroups.protocols.TP.down(TP.java:712)
at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:499)
at org.jgroups.stack.Protocol.passDown(Protocol.java:533)
at org.jgroups.protocols.Discovery.down(Discovery.java:333)
at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:499)
at org.jgroups.stack.Protocol.passDown(Protocol.java:533)
at org.jgroups.protocols.MERGE2.down(MERGE2.java:207)
at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:499)
at org.jgroups.stack.Protocol.passDown(Protocol.java:533)
at org.jgroups.protocols.FD_SOCK.down(FD_SOCK.java:408)
at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:499)
at org.jgroups.stack.Protocol.passDown(Protocol.java:533)
at org.jgroups.protocols.FD.down(FD.java:339)
at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:499)
at org.jgroups.stack.Protocol.passDown(Protocol.java:533)
at org.jgroups.stack.Protocol.down(Protocol.java:559)
at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:499)
at org.jgroups.stack.Protocol.passDown(Protocol.java:533)
at org.jgroups.protocols.pbcast.NAKACK.send(NAKACK.java:622)
at org.jgroups.protocols.pbcast.NAKACK.down(NAKACK.java:409)
at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:499)
at org.jgroups.stack.Protocol.passDown(Protocol.java:533)
at org.jgroups.protocols.UNICAST.down(UNICAST.java:391)
at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:499)
at org.jgroups.stack.Protocol.passDown(Protocol.java:533)
at org.jgroups.protocols.pbcast.STABLE.sendStableMessage(STABLE.java:581)
at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:246)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.UNICAST.up(UNICAST.java:259)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.pbcast.NAKACK.down(NAKACK.java:423)
at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:499)
at org.jgroups.stack.Protocol.passDown(Protocol.java:533)
at org.jgroups.protocols.UNICAST.down(UNICAST.java:391)
at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:499)
at org.jgroups.stack.Protocol.passDown(Protocol.java:533)
at org.jgroups.protocols.pbcast.STABLE$StableTask.run(STABLE.java:783)
at org.jgroups.util.TimeScheduler$TaskWrapper.run(TimeScheduler.java:204)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
17 years, 11 months
[EJB 3.0] - Using quartz from EJB 3.0
by henk53
Hi,
I would like to use Quartz from within EJB 3.0 to programmatically create and schedule new jobs. I've already asked a similar question in the JCA forum, since there exists a Quartz RA. However this seems to be only suitable as a replacement for quartz' jobs.xml file.
What I actually need is a handle to the quartz scheduler, so my session beans are able to create jobs depending on the outcome of some business method. Basically, what I hope to find is something like the method used for obtaining an EJB3 TimerService, but instead of the EJB3 TimerService I would like to get the Quartz scheduler.
The EJB3 TimerService can be obtained via a Resource annotation, e.g.:
| public @Stateless class SomeBean {
|
| @Resource javax.ejb.TimerService timerService;
| }
|
Does something like this exist for quartz? If not, what would be the recommended way for scheduling quartz jobs from within EJB3 beans?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164107#4164107
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164107
17 years, 11 months
[JBoss jBPM] - Re: Bug in jpdl 3.2.3 not finding default.jbpm.cfg.xml (not
by kukeltje
uhmm... btw your testcase is a great example of how to write one but.... you should always post a full stacktrace... in my situation I got:
| org.jbpm.JbpmException: couldn't parse jbpm configuration from resource 'jbpm.cfg.xml'
| at org.jbpm.JbpmConfiguration.getInstance(JbpmConfiguration.java:292)
| at org.jbpm.JbpmConfiguration.getInstance(JbpmConfiguration.java:257)
| at org.jbpm.JbpmConfiguration$Configs.getObjectFactory(JbpmConfiguration.java:425)
| at org.jbpm.JbpmConfiguration$Configs.getObject(JbpmConfiguration.java:437)
| at org.jbpm.JbpmConfiguration$Configs.getString(JbpmConfiguration.java:441)
| at org.jbpm.graph.def.ProcessDefinition.createNewProcessDefinition(ProcessDefinition.java:97)
| at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:138)
| at org.jbpm.graph.def.ProcessDefinition.parseXmlString(ProcessDefinition.java:150)
| at ScriptExpressionTest.testExpression(ScriptExpressionTest.java:34)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at junit.framework.TestCase.runTest(TestCase.java:154)
| at junit.framework.TestCase.runBare(TestCase.java:127)
| at junit.framework.TestResult$1.protect(TestResult.java:106)
| at junit.framework.TestResult.runProtected(TestResult.java:124)
| at junit.framework.TestResult.run(TestResult.java:109)
| at junit.framework.TestCase.run(TestCase.java:118)
| at junit.framework.TestSuite.runTest(TestSuite.java:208)
| at junit.framework.TestSuite.run(TestSuite.java:203)
| at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
| at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
| Caused by: org.jbpm.JbpmException: jbpm configuration resource 'jbpm.cfg.xml' is not available
| at org.jbpm.JbpmConfiguration.getInstance(JbpmConfiguration.java:286)
| ... 26 more
|
which in the end clearly states: org.jbpm.JbpmException: jbpm configuration resource 'jbpm.cfg.xml' is not available
Adding one to my classpath (the default one from the config dir in the distribution) fixes the error....
I get the same error with your test if I remove the script tag at all, so it is just an issue of not finding a jbpm.cfg.xml anywhere. That should not be a problem since it should use the default.jbpm.cfg.xml from the jar. It clearly doesn't. So it is a regression in that area I think
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164101#4164101
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164101
17 years, 11 months