HI Kyunghoon
This is a bit strange because the error message complains about the
absence of a specific class that is generally found in the JRE.
java.lang.NoClassDefFoundError: java/sql/DatabaseMetaData
By any chance, are you using a custom JRE in your DevTest Environment ?
--
regards
Sankar Natarajan
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
Original Message:
Sent: 3/24/2025 1:04:00 AM
From: kyunghoon ahn
Subject: RE: Issue with InsightAgent.jar – "Error opening zip file or JAR manifest missing"
After changing to LisaAgent2.jar, the previous error did not occur.
However, the following error appeared.
I tried it on both Tomcat and Enterprise Dashboard, but the error occurred on both.
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
java.lang.NoClassDefFoundError: java/sql/DatabaseMetaData
at com.itko.lisa.remote.vse.jdbc.VSEJDBCManager.<clinit>(VSEJDBCManager.java:71)
at com.itko.lisa.remote.vse.VSEDispatcher.<clinit>(VSEDispatcher.java:81)
at com.itko.lisa.remote.plumbing.JMSAgentClient.initClient(JMSAgentClient.java:172)
at com.itko.lisa.remote.plumbing.JMSAgentClient.<clinit>(JMSAgentClient.java:148)
at com.itko.lisa.remote.Agent.start(Agent.java:653)
at com.itko.lisa.remote.Agent2Transformer.transform(Agent2.java:509)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
Thank you for your support.
Best regards,
kyunghoon.
Original Message:
Sent: Mar 21, 2025 03:20 AM
From: Sankar Natarajan
Subject: Issue with InsightAgent.jar – "Error opening zip file or JAR manifest missing"
Hi Kyunghoon
The InsightAgent.jar indeed has the manifest file. It is possible the
InsightAgent.jar is corrupted. Please try to copy the InsightAgent.jar file
from another environment. Alternatively, you could make use of the
LisaAgent2.jar file. Please refer to the attached document that explains
the different types of agent JAR files.
Besides, please confirm the version that you are using.
regards
Sankar Natarajan
Service Virtualization Engineering Team.
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
Original Message:
Sent: 3/21/2025 2:58:00 AM
From: kyunghoon ahn
Subject: Issue with InsightAgent.jar – "Error opening zip file or JAR manifest missing"
Hello,
I am facing an issue while configuring InsightAgent.jar with Tomcat.
I added the following line to catalina.bat
in the Tomcat bin
directory:
set JAVA_OPTS=%JAVA_OPTS% -javaagent:C:\tmp\InsightAgent.jar=name=broker,url=tcp://localhost:2009
However, when I start the Tomcat server, I get the following error:
2025-03-21 15:13:19 Apache Commons Daemon procrun stderr initialized.
Error opening zip file or JAR manifest missing : C:\tmp\InsightAgent.jar
I copied InsightAgent.jar
from C:\Program Files\CA\DevTest\agent
Could you please help me resolve this problem?
Thank you for your support.
Best regards,
kyunghoon.