You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does activemq-all contain orge.apache? If not then there is your problem. If the classpath does not contain all the required Jars it can't possibly work.
I have problem with usage of jpype.imports on my linux docker environment. I am trying to load activemq client jar file using below code:
When I am using non root user account I receive:
ModuleNotFoundError: No module named 'org.apache'
but when I use root account than everything is fine and I receive java class object:
ActiveMQTextMessage {commandId = 0, responseRequired = false, messageId = null, originalDestination = null, originalTransactionId = null, producerId = null, destination = null, transactionId = null, expiration = 0, timestamp = 0, arrival = 0, brokerInTime = 0, brokerOutTime = 0, correlationId = null, replyTo = null, persistent = false, type = null, priority = 0, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = null, marshalledProperties = null, dataStructure = null, redeliveryCounter = 0, size = 0, properties = null, readOnlyProperties = false, readOnlyBody = false, droppable = false, jmsXGroupFirstForConsumer = false, text = null}
When I use non-root user account I am still able to load class using jpype.JClass like below:
Could You help me , am I missing something ?
The text was updated successfully, but these errors were encountered: