Hello,
There is a default directory location property in the Shark.conf file that allows you to specify where your jar files containing your custom toolhandler classes can be placed.
for example I use this property on a Jboss deployment to include custom tool agents.
ToolAgentPluginDir=/tmp/taplugins
Hope this helps
Andy
On Mon, Jul 6, 2009 at 4:15 PM, Vojtech Huser
<huser.vojtech@...> wrote:
Where should we place JAR files that contain custom Java tool agent
classes? We have Shark running through JBoss, however when we try to
execute a process that references an external Java class, we get the
exception (see below).
We have tried placing our JAR file into sharkejb-jboss.ear, and have
tried placing it in some of the JBoss lib folders as well, but nothing
has worked yet. Does adding a new JAR file require a restart of
JBoss, or would it pick up the file right away?
(all this works when we run in POJO mode and we know where to deploy in POJO.)
Thank you in advance for any advice,
Vojtech and Luke
java.lang.ClassNotFoundException: No ClassLoaders found for:
edu.mfldclin.birc.RetroGuide.SharkWrapper.initializePatientV2
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.enhydra.shark.toolagent.JavaClassToolAgent.invokeApplication(JavaClassToolAgent.java:55)
at org.enhydra.shark.toolagent.DefaultToolAgent.invokeApplication(DefaultToolAgent.java:163)
--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
You receive this message as a subscriber of the
shark@... mailing list.
To unsubscribe: mailto:
shark-unsubscribe@...
For general help: mailto:
sympa@...?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws