[Routing] PluginLifecycleException during TurnRestrictedMultiTargetDijkstraRouter.route method execution
Marcus at Wolschon.biz
Tue Oct 5 07:41:33 BST 2010
JPF uses it's own class-loaders.
There are known issues with Servlets
that you can look up at the JPF-forum
Oleg Demchenko wrote:
> Hi Markus and all.
> I'm running this method from java web app under TomCat.
> Sources of libosm, osmnavigation and ts are downloaded from SVN,
> modified and recompiled with my application.
> I've did a series of corrections to make method more "stable" with a
> different country speed restrictions, illegal way width, height, length,
> maximal speed tags permanently
> occurred within OSM database used.
> It works pretty fine with a short distance, but server CPU/RAM is not
> good enough to find path for 150 Kms and more. It takes several minutes.
> For my last soap call I get the following exception under TomCat:
> /SEVERE: org/java/plugin/PluginLifecycleException
> java.lang.NoClassDefFoundError: org/java/plugin/PluginLifecycleException
> / at java.lang.Thread.run(Unknown Source)/
> /Caused by: java.lang.ClassNotFoundException:
> It happened after 180 seconds of request execution. In previous Markus
> answers I've found reason could be jpf*.jar is missed in CP. But,
> jpf.jar with PluginLifeCycle classes is in my Libosm project.
> How to make MotorCar plugin object LifeCycle time longer? For example 5
> Didn't find any parameters within jpf.jar resources.
> All the best
> Oleg Demchenko
> Routing mailing list
> Routing at openstreetmap.org
More information about the Routing