Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while adding agent to IBM WebSphere 8.5.5.16 #199

Open
khramov86 opened this issue Sep 17, 2023 · 0 comments
Open

Error while adding agent to IBM WebSphere 8.5.5.16 #199

khramov86 opened this issue Sep 17, 2023 · 0 comments

Comments

@khramov86
Copy link

Hi,

Obtaining error while trying to use Zorka with application in WAS:

2023-09-17 18:06:14 ERROR ZorkaBshAgent Error executing script servers/was.bsh [com.jitlogic.zorka.deps.bsh.EvalError: Error: : at Line: 18 : in file: servers/was.bsh : zorka .require ( "jvm.bsh" , "ejb.bsh" , "http.bsh" , "jms.bsh" , "apache/cxf.bsh" ) 
]
com.jitlogic.zorka.deps.bsh.EvalError: Error: : at Line: 18 : in file: servers/was.bsh : zorka .require ( "jvm.bsh" , "ejb.bsh" , "http.bsh" , "jms.bsh" , "apache/cxf.bsh" ) 

	at com.jitlogic.zorka.deps.bsh.Interpreter.eval(Interpreter.java:691)
	at com.jitlogic.zorka.core.ZorkaBshAgent.loadScript(ZorkaBshAgent.java:182)
	at com.jitlogic.zorka.core.ZorkaBshAgent.require(ZorkaBshAgent.java:210)
	at com.jitlogic.zorka.core.ZorkaBshAgent.probe(ZorkaBshAgent.java:241)
	at com.jitlogic.zorka.core.spy.SpyClassTransformer.doTransform(SpyClassTransformer.java:313)
	at com.jitlogic.zorka.core.spy.SpyClassTransformer.transform(SpyClassTransformer.java:292)
	at sun.instrument.TransformerManager.transform(TransformerManager.java:200)
	at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:450)
	at java.lang.ClassLoader.defineClassImpl(Native Method)
	at java.lang.ClassLoader.defineClassInternal(ClassLoader.java:391)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:360)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:481)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassName(ClasspathManager.java:460)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:447)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:865)
	at java.lang.ClassLoader.defineClassImpl(Native Method)
	at java.lang.ClassLoader.defineClassInternal(ClassLoader.java:391)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:360)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:481)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassName(ClasspathManager.java:460)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:447)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:865)
	at com.ibm.ws.sib.api.jms.impl.JmsSessionImpl.instantiateConsumer(JmsSessionImpl.java:1468)
	at com.ibm.ws.sib.api.jms.impl.JmsSessionImpl.createConsumer(JmsSessionImpl.java:951)
	at com.ibm.ws.sib.api.jms.impl.JmsSessionImpl.createConsumer(JmsSessionImpl.java:888)
	at psdi.iface.jms.JMSConsumer.createClient(JMSConsumer.java:248)
	at psdi.iface.jms.JMSConsumer.<init>(JMSConsumer.java:158)
	at psdi.iface.jms.JMSConsumer.<init>(JMSConsumer.java:129)
	at psdi.iface.jms.JMSConsumer.<init>(JMSConsumer.java:92)
	at psdi.iface.jms.JMSQueueConsumer.<init>(JMSQueueConsumer.java:46)
	at psdi.iface.jms.JMSQueueCronTask.createConsumer(JMSQueueCronTask.java:242)
	at psdi.iface.jms.JMSQueueCronTask.cacheResources(JMSQueueCronTask.java:179)
	at psdi.iface.jms.JMSQueueCronTask.refreshSettings(JMSQueueCronTask.java:221)
	at psdi.iface.jms.JMSQueueCronTask.cronAction(JMSQueueCronTask.java:258)
	at psdi.server.CronTaskManager.callCronMethod(CronTaskManager.java:2471)
	at psdi.server.CronTaskManager.access$1100(CronTaskManager.java:104)
	at psdi.server.CronTaskManager$CronThread.run(CronTaskManager.java:3362)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:522)
	at java.util.concurrent.FutureTask.run(FutureTask.java:277)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:191)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.lang.Thread.run(Thread.java:818)
Caused by: com.jitlogic.zorka.deps.bsh.ParseException: Parse error at line 210, column 12.  Encountered: (
	at com.jitlogic.zorka.deps.bsh.Parser.generateParseException(Parser.java:5998)
	at com.jitlogic.zorka.deps.bsh.Parser.jj_consume_token(Parser.java:5946)
	at com.jitlogic.zorka.deps.bsh.Parser.Statement(Parser.java:2708)
	at com.jitlogic.zorka.deps.bsh.Parser.BlockStatement(Parser.java:2814)
	at com.jitlogic.zorka.deps.bsh.Parser.Block(Parser.java:2778)
	at com.jitlogic.zorka.deps.bsh.Parser.MethodDeclaration(Parser.java:411)
	at com.jitlogic.zorka.deps.bsh.Parser.BlockStatement(Parser.java:2809)
	at com.jitlogic.zorka.deps.bsh.Parser.Line(Parser.java:202)
	at com.jitlogic.zorka.deps.bsh.Interpreter.Line(Interpreter.java:1012)
	at com.jitlogic.zorka.deps.bsh.Interpreter.eval(Interpreter.java:649)
	... 61 more


Can you help with this, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant