Hide Forgot
Affects: Documentation (Ref Guide, User Guide, etc.), Release Notes Date of First Response: 2010-01-04 07:36:03 project_key: SOA After run of quickstarts, the error appears in jboss-as log. 2010-01-04 12:51:00,772 INFO [STDOUT] (pool-71-thread-1) [ERROR] com.sun.tools.javac.Main is not available in the classpath, requires Suns JDK version 5.0 or latter. 2010-01-04 12:51:00,772 INFO [STDOUT] (pool-71-thread-1) unknown location 2010-01-04 12:51:00,772 INFO [STDOUT] (pool-71-thread-1) compilation failed, errors should have been reported 2010-01-04 12:51:00,772 INFO [STDOUT] (pool-71-thread-1) Failed to invoke WsImport 2010-01-04 12:51:00,772 INFO [STDOUT] (pool-71-thread-1) java.lang.IllegalStateException: WsImport invocation failed. Try the verbose switch for more information Part of log is attached.
Attachment: Added: stacktrace.log
Wise requires the Sun JDK to import the WSDL and compile the proxies.
So shouldn't it be mentioned in readme files of these quickstarts?
If it cannot be fixed within wise then we should add something, yes.
Affects: Added: [Documentation (Ref Guide, User Guide, etc.), Release Notes]
Candidate for SOA 5.1.0
Investigation shows that this error message appears if the server is running using the openjdk *jre* rather than the *jdk*. If the jdk version is used then tools.jar will be included in the java.class.path, as seen in boot.log java.class.path: /home/kevin/soa/ER5/jboss-soa-p-5/jboss-as/bin/run.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/lib/tools.jar This requirement is no different from executing wise with the Sun JDK.
All four quickstarts execute when using the JDK rather than the JRE.
Reassigning to Jiri to verify and reject
Verified and working.
Rejecting the issue, wise quickstarts work when using the JDK.