repackage of WOSecurityManager WO 5.4.3 causes Eclipse launch exception
-----------------------------------------------------------------------
Key: WOL-963
URL: http://issues.objectstyle.org/jira/browse/WOL-963
Project: WOProject/WOLips
Issue Type: Bug
Environment: WO 5.4.3
Reporter: Ray Kiddy
From the mailing list, there is a workaround to this. See below.
From: J. Philip Porschke [mailto:philip.porschk..-f.com]
Sent: 27 January 2009 08:54
To: woproject-de..bjectstyle.org
Subject: WOSecurityHandler not found
--------------------
Updating my Project to 5.4.3 throws the following error:
org.apache.axis.ConfigurationException: java.lang.ClassNotFoundException: com.webobjects.webservice.support._private.WOSecurityHandler
Does anyone know if this Class has been moved or removed ?
- Philip
--------------------
This class has been moved to a new package - com.webobjects.services.support...
You are only seeing this bug because of another problem; the fully qualified name of this class is specified correctly inside a configuration plist file in one of the core frameworks, but if the resource manager can't load the plist, it falls back to a hard-coded version instead - it is this hard-coded version that has not been updated.
When I raised this in Apple's bug tracker, the response was that they were already aware of the problem, and the fix should be in the next WebObjects version.
In the mean time, my deployed application still works correctly - just not from within Eclipse.
- Bill
--------------------
After putting a file called server.wsdd with the contents below in the Resource folder of the deployed application the webservices worked again.
- Philip
<?xml version="1.0" encoding="UTF-8"?>
<deployment
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<globalConfiguration>
<parameter name="sendMultiRefs" value="true"/>
<parameter name="sendXsiTypes" value="true"/>
<parameter name="sendXMLDeclaration" value="true"/>
<requestFlow>
<handler type="java:com.webobjects.webservices.support._private.WOSecurityHandler"/>
<handler type="java:com.webobjects.appserver._private.WOServerSessionHandler"/>
</requestFlow>
<responseFlow>
<handler type="java:com.webobjects.appserver._private.WOServerSessionHandler"/>
<handler type="java:com.webobjects.webservices.support._private.WOSecurityHandler"/>
</responseFlow>
</globalConfiguration>
<handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/>
<handler name="HTTPActionHandler" type="java:org.apache.axis.handlers.http.HTTPActionHandler"/>
<handler name="RPCDispatcher" type="java:org.apache.axis.providers.java.RPCProvider"/>
<handler name="MsgDispatcher" type="java:org.apache.axis.providers.java.MsgProvider"/>
<transport name="http">
<requestFlow>
<handler type="HTTPActionHandler"/>
<handler type="URLMapper"/>
</requestFlow>
</transport>
</deployment>
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
This archive was generated by hypermail 2.0.0 : Tue Jan 27 2009 - 13:26:16 EST