• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WOWebServiceRegistrar.setSecurityDelegate failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOWebServiceRegistrar.setSecurityDelegate failure


  • Subject: WOWebServiceRegistrar.setSecurityDelegate failure
  • From: Jon Nolan <email@hidden>
  • Date: Tue, 22 Apr 2008 10:09:21 -0600
  • Organization: Web Dynamics - A Division of iCentris

I'm in the process of upgrading all my WebObjects projects from Xcode/Java1.4/WebObjects5.2.3 to Eclipse/WOLips/Java1.5/WebObjects5.4.1.  I've possibly bitten off way too big a bite all at once.  ;-)

I'm muddling through without too much trouble except when it comes to webservices.  I make substantive use of WOSecurityDelegate.  It is absolutely necessary in a number of places.  I just can't seem to get a delegate registered though.  Here's the code:

	org.apache.xml.security.Init.init();
	WOWebServiceRegistrar.setSecurityDelegate(new MyWOSecurityDelegateClass());

The registration fails with:

java.lang.NullPointerException
	at com.webobjects.appserver._private.WOServerSessionHandler.<clinit>(WOServerSessionHandler.java:25)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:242)
	at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
	at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353)
	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295)
	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
	at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
	at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473)
	at com.webobjects.webservices.support.WOXMLProvider.getGlobalRequest(WOXMLProvider.java:168)
	at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365)
	at com.webobjects.appserver._private.WOWebService.setSecurityDelegate(WOWebService.java:205)
	at com.webobjects.appserver.WOWebServiceRegistrar.setSecurityDelegate(WOWebServiceRegistrar.java:358)

My configuration is:

Eclipse 3.3.2 WOLips 3.3.5047
OS X 10.5.2
Java 1.5.0_13


I have standard Apple distribution jars for:

axis.jar (1.4 I think)
commons-discovery-0.2.jar
commons-logging-1.0.4.jar
jaxrpc.jar
saaj.jar
wsdl4j-1.5.1.jar
xmlsec-1.3.0.jar

What else?  Yes, the WebObjects webservices frameworks are installed.  Yes, the error is the same running within Eclipse or at the command line.

Any help is very appreciated.

--
Jon Nolan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: WOWebServiceRegistrar.setSecurityDelegate failure
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Re: Database Design - Multiple locations
  • Next by Date: Re: ERXMigrationTable.newColumn does not set default value
  • Previous by thread: Re: CLOSE_WAIT processes/ instances HANG ???
  • Next by thread: Re: WOWebServiceRegistrar.setSecurityDelegate failure
  • Index(es):
    • Date
    • Thread