| Summary: | ClassNotFoundException when running ASF automation services without OSGi/ICU. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Paul Slauenwhite <paulslau> | ||||
| Component: | TPTP | Assignee: | Paul Slauenwhite <paulslau> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P1 | CC: | dkhodges, dmorris, jkubasta, mddunn, newboya1988 | ||||
| Version: | unspecified | Flags: | dmorris:
review+
|
||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Paul Slauenwhite
Work-around: Add the following dependencies to the Java/ANT classpath before running: -<Eclipse installation direcotry>\eclipse\plugins\org.eclipse.osgi_<version>.jar -<Eclipse installation directory>\eclipse\plugins\com.ibm.icu_<version>.jar Add new tests under defect #228804 to cover the verify/execute/interrogate/publish test services for Ant, shell, Java clients: /org.eclipse.hyades.test.core.services.tests/manual/Test.Execution.Services.testsuite Hours worked to create and test the patch. Duwayne, please review the enclosed patch. Created attachment 97683 [details]
Patch.
Reviewed patch. One comment, the following file should have the copyright date corrected to 2008: org.eclipse.hyades.automation.client.adapters.java.AutomationClientAdapter.java DuWayne (In reply to comment #5) > Reviewed patch. One comment, the following file should have the copyright date > corrected to 2008: > > org.eclipse.hyades.automation.client.adapters.java.AutomationClientAdapter.java > > DuWayne > Thanks Duwayne for the review. The copyright date on org.eclipse.hyades.automation.client.adapters.java.AutomationClientAdapter.java is already correct at 2008. PMC approval requested for this defect to be included in I7. PMC approved. Patch checked into CVS (HEAD). When I tried to verify this bug, I got a different failure. This failure occurred with the IAC and the stand alone agent controller (the RC1A version).
It seems that I do not have the ability to reopen this defect, but this needs to be fixed. I can not perform any command line execution commands.
Here is the latest error:
D:\Program Files\IBM\IBMIMShared\plugins\com.ibm.rational.test.lt.cmdlineexecute_7.2.0.v200804151250>call cmdline.bat -configfile test.cfg -schedule googleschedule
-results myresults -overwrite true 1>>testoutput.txt
java.lang.UnsatisfiedLinkError: hcclco (Not found in java.library.path)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:993)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:962)
at java.lang.System.loadLibrary(System.java:465)
at org.eclipse.hyades.internal.execution.remote.RemoteComponentSkeleton.<clinit>(RemoteComponentSkeleton.java:139)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
at org.eclipse.hyades.logging.core.LoggingAgent.<init>(LoggingAgent.java:118)
at org.eclipse.hyades.logging.core.LoggingAgent.<init>(LoggingAgent.java:93)
at org.eclipse.hyades.logging.java.LoggingAgentHandler.publish(LoggingAgentHandler.java:280)
at java.util.logging.Logger.log(Unknown Source)
at com.ibm.etools.common.logging.listeners.CommonLoggingListener$1.run(CommonLoggingListener.java:107)
Upon further investigation, the schedule did complete, and this error no longer showed up. I understand there is already a defect open for the conditions I noted, so no further action is needed on this defect. I must resubmit this defect since I found an error when trying to verify this bug.
The problem I see now is this:
<install_dir>\plugins\com.ibm.rational.test.lt.cmdlineexecute_7.2.0.v200804151250>call cmdline.bat -configfile test.cfg -schedule googleschedule -results twouser -users 2 1>>testoutput.txt
java.lang.UnsatisfiedLinkError: hcclco (Not found in java.library.path)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:993)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:962)
at java.lang.System.loadLibrary(System.java:465)
at org.eclipse.hyades.internal.execution.remote.RemoteComponentSkeleton.<clinit>(RemoteComponentSkeleton.java:139)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
at org.eclipse.hyades.logging.core.LoggingAgent.<init>(LoggingAgent.java:118)
at org.eclipse.hyades.logging.core.LoggingAgent.<init>(LoggingAgent.java:93)
at org.eclipse.hyades.logging.java.LoggingAgentHandler.publish(LoggingAgentHandler.java:280)
at java.util.logging.Logger.log(Unknown Source)
at com.ibm.etools.common.logging.listeners.CommonLoggingListener$1.run(CommonLoggingListener.java:107)
The error you see is a separate defect filed by Kevin and currently assigned to Johnathan. https://bugs.eclipse.org/bugs/show_bug.cgi?id=233039 This defect should not have been re-opened, since we no longer see the error that was the subject of this defect. Confirmed with the originator that this defect has been fixed. Verified in TPTP-4.5.0RC3-200806031051. Closing. |