| Summary: | Error when deploying Web service to Axis runtime on SLES 9.0 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Webservices | Reporter: | Rupam Kuehner <rsinha> | ||||||
| Component: | jst.ws | Assignee: | Kathy Chan <kathy> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | critical | ||||||||
| Priority: | P3 | ||||||||
| Version: | 0.7 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 2000 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 20602 [details]
Modified axis.jar to allow remote administration
Attaching axis.jar which has been modified to allow remote administration
We'll be moving to Axis 1.2 in M5. Once we have a stable integration build where the Web service sceanrios are running with Axis 1.2, we should try this again to see if this is still an issue. Kathy, just a commit & test exercise. Thanks. Patch applied and released in v20050610_1400. Changed Version field given new release numbering. Reopening since the problem occures with Axis 1.2 Created attachment 25267 [details]
Modifed Axis 1.2's axis.jar to allow remote administration
copy into the org.apache.axis/lib folder
patch 1 of 1
We are not able to deploy ANY Web service to Axis 1.2.1 runtime on SLES (Suse Linux Enterprise Server) 9.0. It works for RHEL (Red Hat Enterprise Linux) 3.0 and on the Windows platform. The error was due to Axis code does not recognize the IP v7 format of "0:0:0:0:0:0:0:1" as being localhost's address (equivalent to 127.0.0.1 in IP v6). Remote administraton is not permitted by default (as defined in the template server-config.wsdd shipped in axis.jar), so the "unauthorized" error appears when trying to deploy Web services to Axis. The workaround is to modify server-config.wsdd in axis.jar in the org.apache.axis plugin (containing Axis 1.2.1 JARs) to enable remote administration. This is done by setting the value of the "enableRemoteAdmin" attribute to "true". The same workaround was done in order to have the Web services wizard support the Axis 1.0 and Axis 1.1 runtime. I agree with this work around, but has a bug been open on the axis bug system? Would they agree with this as a work-around? So, just please document the axis bugzila number here. Thanks much. Apache Axis bug opened: http://issues.apache.org/jira/browse/AXIS-2147. This fix was committed and released earlier this week. Verified on RC5 Closing. |
Platform: SLES 9.0 Scenario: Bottom-up or top-down Web service creation on Axis Symptom: Clicking Next on page 4 of the wizard results in an error dialog with the following ... IWAB0489E Error when deploying Web service to Axis runtime Details: IWAB0489E Error when deploying Web service to Axis runtime axis-admin failed with {http://xml.apache.org/axis/}HTTP (401)Unauthorized Tomcat's console has the following: May 2, 2005 12:59:34 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.30 May 2, 2005 12:59:39 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8080 May 2, 2005 12:59:39 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 May 2, 2005 12:59:39 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/37 config=null - Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 - Rejected remote access from host /0:0:0:0:0:0:0:1 Explanation: We've seen a similar problem in Axis 1.0, where the Axis code does not recognize the IP v7 format of "0:0:0:0:0:0:0:1" as being localhost's address (equivalent to 127.0.0.1 in IP v6). Remote administraton is not permitted by default so the "unauthorized" error appears. Possible workaround: Modify server-config.wsdd in axis.jar to enable remote administration. This is done by setting the value of the "enableRemoteAdmin" attribute to "true".