no module named xyz, when using custom jars in lib
I am getting "no module named xyz", when trying to use my custom jar in lib.
When I look at the ngrinder startup logs, I see grinder.jvm.classpath contains my fully qualified jar file in it's path, /home/admin/.ngrinder/script/admin/lib/xyz.jar.
I also verified that the jar file are located in that same location, and verified permissions are fine.
It seems this issue is common, yet I cannot find anyone who has posted a solution which works for me.
I've had this same issue with both the pre-compiled ngrinder-controller-3.4.1.war and my compiled version from source.
I am getting "no module named xyz", when trying to use my custom jar in lib.
When I look at the ngrinder startup logs, I see grinder.jvm.classpath contains my fully qualified jar file in it's path, /home/admin/.ngrinder/script/admin/lib/xyz.jar.
I also verified that the jar file are located in that same location, and verified permissions are fine.
It seems this issue is common, yet I cannot find anyone who has posted a solution which works for me.
I've had this same issue with both the pre-compiled ngrinder-controller-3.4.1.war and my compiled version from source.
Does anyone have any suggestions?
If you reply to this email, your message will be added to the discussion below:
Re: no module named xyz, when using custom jars in lib
the script is below:
# A simple example using the MQ plugin that sends a mq message
# and gets a response
#
#
from net.grinder.script.Grinder import grinder
from net.grinder.script import Test
from com.ibm.mq import *
from org.rextency.mq import MQMsg
from org.rextency.mq import MQConnector