Help in running the Server Agent for the jmeter plugin Perfmon metrics

798 views
Skip to first unread message

cjjosep...@gmail.com

unread,
Mar 26, 2015, 10:11:07 AM3/26/15
to jmeter-...@googlegroups.com

Steps followed

1.Installed Java in the Unix/Linux server
2.Created the class path for Java
3.Verified whether Java is successfully installed by typing Java 
4.Placed the Server Agent zip file in a folder and unzipped it
3.Tried running the startAgent.sh and face the below error

$ ./startAgent.sh
ERROR: java.lang.NoClassDefFoundError: org.apache.jorphan.logging.LoggingManager

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/jorphan/logging/LoggingManager

        at kg.apc.perfmon.AgentTool.<clinit>(AgentTool.java:17)

Any help would be much appreciated to overcome the above error and start the agent


Andrey Pokhilko

unread,
Mar 26, 2015, 12:51:06 PM3/26/15
to jmeter-...@googlegroups.com, cjjosep...@gmail.com
is there jorphan.jar near it?

--
Andrey

четверг, 26 марта 2015 г., 17:11:07 UTC+3 пользователь cjjosep...@gmail.com написал:

cjjosep...@gmail.com

unread,
Mar 26, 2015, 1:20:04 PM3/26/15
to jmeter-...@googlegroups.com, cjjosep...@gmail.com
Hi Andrey...

Yes Jorphan.jar is present in the lib location.. Actually i tried running it in windows and it works like a gem .. But with respect to AIX/LINUX server am facing this issue.

I badly require help to resolve this issue

Andrey Pokhilko

unread,
Mar 27, 2015, 8:41:56 AM3/27/15
to jmeter-...@googlegroups.com, cjjosep...@gmail.com
It might be caused by Java version, or incompatible Java platform used... I have no other ideas, 'cause it works on other platforms. 

--
Andrey

четверг, 26 марта 2015 г., 20:20:04 UTC+3 пользователь cjjosep...@gmail.com написал:

cjjosep...@gmail.com

unread,
Mar 29, 2015, 9:33:04 AM3/29/15
to jmeter-...@googlegroups.com, cjjosep...@gmail.com
Hi Friends 

Found a way to successfully start the Server Agent.. Sounds silly but this had made my head go mad. Steps which made me to start the server agent successfully 

1.Download the Zip file and ensure that its extension doesnt change to rar format in the machine you download 
2. copy the entire zip file into the targeting server and check the file size as well(whether the same size is been copied or not) 
3. Using the unzip unix command unzip the file and start the ./startAgent.sh 
4.Bingo it worked with a port established for the same 

Issues faced 
1.Since my local windows machine had winrar and by default it has been used for opening any zip or archive file, the zip file downloaded automatically changed to .rar format 
2.So when i try to copy and unzip it in the unix box , the zip file had errors extracting the file and i had to manually copy the error jar files and this created a mess in starting the server agent

Andrey Pokhilko

unread,
Mar 29, 2015, 2:12:29 PM3/29/15
to jmeter-...@googlegroups.com, cjjosep...@gmail.com
You made a heroic work by investigating this :) Very interesting story of how various may be problems...

--
Andrey

воскресенье, 29 марта 2015 г., 16:33:04 UTC+3 пользователь cjjosep...@gmail.com написал:

cjjosep...@gmail.com

unread,
Mar 31, 2015, 3:34:56 AM3/31/15
to jmeter-...@googlegroups.com, cjjosep...@gmail.com

Thanks Audrey. People may come across these things as well...
Reply all
Reply to author
Forward
0 new messages