It turns out that I found the solution for the problem myself. The classpath problem is caused by the manifest file used to produce the holiday example jar file. The manifest file contains a list of jar files, some of which do not exist in the source code package (e.g., commons-logging-1.1.jar was referred to, but commons-logging-1.0.4.jar is actually used).
----- Original Message ---- From: Wenbing Zhao <[EMAIL PROTECTED]> To: [email protected] Sent: Thursday, February 7, 2008 1:08:35 AM Subject: Difficulty running the holiday example for WS-BA in Kandula 1 Hi, When I tried to run the holiday example for WS-BA in Kandual1, I go the following class-not-found error. It appears to be classpath problem rather than a problem specific to this example. The class being complaint is org.apache.commons.logging.LogFactory I'm pretty sure the commons-logging-1.0.4.jar is in the classpath. I have no idea why java still complain about it after I clicked either the "atomic outcome" or "mixed outcome" button. The traces are shown below: Build sequence for target(s) `run' is [run] Complete build sequence is [run, init, wsdl2java, clean, compile, dist, ] run: [java] Executing '/software/jdk1.5.0_07/jre/bin/java' with arguments: [java] '-classpath' [java] '/home/wenbing/wsbaft/wsba/target/kandula-0.2-SNAPSHOT.jar:/home/wenbing/wsbaft/wsba/target/lib/addressing-SNAPSHOT.jar:/home/wenbin g/wsbaft/wsba/target/lib/axis-1.4.jar:/home/wenbing/wsbaft/wsba/target/lib/axis-ant-1.4.jar:/home/wenbing/wsbaft/wsba/target/lib/axis-jaxrpc-1.4 .jar:/home/wenbing/wsbaft/wsba/target/lib/axis-saaj-1.4.jar:/home/wenbing/wsbaft/wsba/target/lib/commons-discovery-0.2.jar:/home/wenbing/wsbaft/ wsba/target/lib/commons-logging-1.0.4.jar:/home/wenbing/wsbaft/wsba/target/lib/commons-logging-1.1.jar:/home/wenbing/wsbaft/wsba/target/lib/comm ons-logging-adapters-1.1.jar:/home/wenbing/wsbaft/wsba/target/lib/commons-logging-api-1.1.jar:/home/wenbing/wsbaft/wsba/target/lib/commons-loggi ng-api.jar:/home/wenbing/wsbaft/wsba/target/lib/commons-logging.jar:/home/wenbing/wsbaft/wsba/target/lib/geronimo-j2ee-1.1.jar:/home/wenbing/wsb aft/wsba/target/lib/geronimo-spec-j2ee-1.4-rc4.jar:/home/wenbing/wsbaft/wsba/target/lib/geronimo-transaction-1.1.jar:/home/wenbing/wsbaft/wsba/t arget/lib/junit-3.8.1.jar:/home/wenbing/wsbaft/wsba/target/lib/wsdl4j-1.5.3.jar' [java] '-jar' [java] '/home/wenbing/wsbaft/wsba/src/samples/holiday/build/ba-demo-holiday.jar' [java] [java] The ' characters around the executable and arguments are [java] not part of the command. [java] "1" was chosen. [java] java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory [java] at org.apache.axis.components.logger.LogFactory.class$(LogFactory.java:45) [java] at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41) [java] at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33) [java] at org.apache.axis.description.TypeDesc.<clinit>(TypeDesc.java:61) [java] at org.apache.axis.message.addressing.EndpointReferenceType.<clinit>(EndpointReferenceType.java:335) [java] at org.apache.kandula.coordinator.CoordinationService.getEndpointReference(CoordinationService.java:182) [java] at org.apache.kandula.coordinator.CoordinationService.getActivationCoordinatorService(CoordinationService.java:99) [java] at org.apache.kandula.coordinator.ba.initiator.AbstractCoordinatorIProxy.createCoordinationContext(AbstractCoordinatorIProxy.jav a:135) [java] at org.apache.kandula.coordinator.ba.initiator.MixedCoordinatorIProxy.createNewContext_WithWSBAI(MixedCoordinatorIProxy.java:192 ) [java] at org.apache.kandula.demo.ba.holiday.client.RenterClient.<init>(RenterClient.java:75) [java] at org.apache.kandula.demo.ba.holiday.client.RenterClient.main(RenterClient.java:95) Thanks, Wenbing ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
