Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 60461 invoked from network); 22 Feb 2006 10:46:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Feb 2006 10:46:15 -0000 Received: (qmail 72593 invoked by uid 500); 22 Feb 2006 10:45:54 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 72576 invoked by uid 500); 22 Feb 2006 10:45:53 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 72565 invoked by uid 99); 22 Feb 2006 10:45:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2006 02:45:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.78.199.23] (HELO smtp3.home.se) (212.78.199.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2006 02:45:53 -0800 Received: from johan.h.andersson@home.se [212.209.194.26] by smtp.home.se with NetMail ModWeb Module; Wed, 22 Feb 2006 11:36:39 +0100 Subject: [axis2] Problem with Websphere 6 and Axis2 security module From: "Johan Andersson" To: axis-user@ws.apache.org Date: Wed, 22 Feb 2006 11:36:39 +0100 X-Mailer: NetMail ModWeb Module X-Sender: johan.h.andersson@home.se MIME-Version: 1.0 Message-ID: <1140604599.9362a3c0johan.h.andersson@home.se> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, I have some issues when trying to run Axis2 version 0.94 in Websphere 6 wit= h the security module engaged. Please note that the services do not actually perform any encryption/signin= g etc, the module is only engaged in the axis2.xml. Problem no 1: ------------- In Websphere 6 on WinXP. 1) Deploy one of the sample services included in the 0.94 release, I used M= yService.aar. 2) Execute the service through a call from the client. It works as expected returning a response. Now trying to stop the Websphere windows service it fails with:=20 "Could not stop the IBM WebSphere Application Server V6 - XXX service on Lo= cal Computer. The service did not return an error. ..." To restart websphere I have to kill the process. This has been verified on two different Websphere 6 installations. If I do not execute any webservice calls the server can be restarted in a c= ontrolled fashion. Problem no 2: ------------- The reason I am restarting the entire Websphere server in the first place i= s that trying to restart the actual Axis2 webapp is failing for some=20 reason, after executing a webservice call. The webapp restarts but is then broken and give me errors each time I send = a web service request to the server. [2006-02-22 11:23:16:710 CET] 0000004a ServletWrappe E SRVE0100E: Did not= realize init() exception thrown by servlet AxisServlet:=20 java.lang.ExceptionInInitializerError =09at java.lang.Class.forName1(Native Method) =09at java.lang.Class.forName(Class.java:180) =09at org.apache.xml.security.Init.init(Unknown Source) =09at org.apache.ws.security.WSSConfig.(WSSConfig.java:72) <> Caused by: java.lang.RuntimeException: Unable to create nullNodejava.lang.N= ullPointerException =09at org.apache.xml.security.c14n.implementations.CanonicalizerBase.(Unknown Source) =09... 39 more If I disengaged the security module (remove the entry from axis2.xml) the w= ebapp in Websphere can be restarted and will function properly. Problem no 3: ------------- The reason I have to restart the webapp is that hotupdate is not working pr= operly (I believe there is a Jira for this already). In effect this means I have to force-kill my Websphere process each time I = deploy/update a webservice which is not very nice. Best Regards, Johan Andersson