Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 92603

Summary: Support deployment of Axis Web services with JDK 1.5
Product: [WebTools] WTP Webservices Reporter: Seng Phung Lu <sengpl>
Component: jst.wsAssignee: Kathy Chan <kathy>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P1 CC: cybermac912, Gary.Mohr
Version: 0.7   
Target Milestone: 1.0 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Seng Phung Lu CLA 2005-04-25 12:08:59 EDT
I get the following message when running a bottom up Web service creation 
scenario with Axis 1.1 and Tomcat 5.0 using the Sun JDK_1.5.


IWAB0489E Error when deploying Web service to Axis runtime
  java.lang.NullPointerException

--- Nested Exception ---
java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:396)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAX
ParserImpl.java:395)
        at org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
tionContextImpl.java:246)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
        at org.apache.axis.client.Call.invoke(Call.java:2553)
        at org.apache.axis.client.Call.invoke(Call.java:1672)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:355)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:334)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:341)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:292)
        at org.apache.axis.tools.ant.axis.AdminClientTask.execute(AdminClientTas
k.java:308)
        at org.eclipse.jst.ws.internal.axis.consumption.core.command.AxisDeployC
ommand.executeAntTask(AxisDeployCommand.java:111)

Here is the java full version:  java full version "1.5.0_01-b08"

From the stack trace, it appears that Sun's Xerces is not compatible with Axis 
1.1.  The workaround would be to use JDK 1.4.x. (I'm running with "1.4.2".)
Comment 1 Chris Brealey CLA 2005-04-25 12:16:50 EDT
Seng,
Axis 1.1's incompatibility with JDK 1.5 is not an issue Eclipse WTP can solve 
directly. We will clarify on various WTP web pages that JDK 1.5 should be 
avoided by users of the Eclipse WTP (M3 and M4) Web services platform. We'll 
pursue support for Axis 1.x (ie. 1.2?) on JDK 1.5 in WTP M5 as an enhancement 
to this current limitation.

Changing severity to "enhancement", priority to "P1", and updating the summary. 
Let me know if you disagree with these changes.
Comment 2 Seng Phung Lu CLA 2005-04-27 15:34:48 EDT
*** Bug 89121 has been marked as a duplicate of this bug. ***
Comment 3 Kathy Chan CLA 2005-05-09 15:40:35 EDT
*** Bug 88349 has been marked as a duplicate of this bug. ***
Comment 4 Kathy Chan CLA 2005-06-12 11:01:27 EDT
The error with deploying to Axis using JDK 1.5 does not exist in Axis 1.2.  
I've tested deploying to Axis 1.2 using Tomcat 5.5 and it works fine.

Please refer to defect 98340 for when the support for Axis 1.2 is checked in.



*** This bug has been marked as a duplicate of 98340 ***
Comment 5 Seng Phung Lu CLA 2005-07-28 17:07:35 EDT
Verified with WTP RC5.  Working with Axis(1.2) and both Tomcat v5.0 and Tomcat 
v5.5.
Comment 6 Seng Phung Lu CLA 2005-07-28 17:07:48 EDT
Done, thanks.