Bug 779375 (SOA-1765) - webservice_consumer_wise[234] quickstart samples cannot run on OpenJDK 6
Summary: webservice_consumer_wise[234] quickstart samples cannot run on OpenJDK 6
Keywords:
Status: CLOSED NOTABUG
Alias: SOA-1765
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: Documentation, JBossESB, Examples
Version: 5.0.0 ER6
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 5.1.0 GA
Assignee: Kevin Conner
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-04 12:18 UTC by Jiri Sedlacek
Modified: 2015-08-02 23:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
OpenJDK 6 64bit
Last Closed: 2010-12-13 15:42:52 UTC
Type: Bug


Attachments (Terms of Use)
stacktrace.log (5.25 KB, text/x-log)
2010-01-04 12:18 UTC, Jiri Sedlacek
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-1765 0 None None None Never

Description Jiri Sedlacek 2010-01-04 12:18:27 UTC
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.

Comment 1 Jiri Sedlacek 2010-01-04 12:18:44 UTC
Attachment: Added: stacktrace.log


Comment 2 Kevin Conner 2010-01-04 12:36:03 UTC
Wise requires the Sun JDK to import the WSDL and compile the proxies.

Comment 3 Jiri Sedlacek 2010-01-04 12:49:24 UTC
So shouldn't it be mentioned in readme files of these quickstarts?

Comment 4 Kevin Conner 2010-01-04 12:54:14 UTC
If it cannot be fixed within wise then we should add something, yes.

Comment 5 Len DiMaggio 2010-01-04 14:51:33 UTC
Affects: Added: [Documentation (Ref Guide, User Guide, etc.), Release Notes]


Comment 6 Anne-Louise Tangring 2010-09-21 19:01:33 UTC
Candidate for SOA 5.1.0

Comment 7 Kevin Conner 2010-12-13 14:10:57 UTC
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.

Comment 8 Kevin Conner 2010-12-13 14:15:53 UTC
All four quickstarts execute when using the JDK rather than the JRE.

Comment 9 Kevin Conner 2010-12-13 14:16:23 UTC
Reassigning to Jiri to verify and reject

Comment 10 Jiri Sedlacek 2010-12-13 15:17:14 UTC
Verified and working.

Comment 11 Kevin Conner 2010-12-13 15:42:52 UTC
Rejecting the issue, wise quickstarts work when using the JDK.


Note You need to log in before you can comment on or make changes to this bug.