• 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
Re: java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502)


  • Subject: Re: java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502)
  • From: "Mr. Pierre Frisch" <email@hidden>
  • Date: Tue, 6 Nov 2007 08:05:53 -0800

Mike,

If you link against the /Library/WebObjects/lib you can have both version on the machine. All axis classes are in JavaXML as well as all the external jars WO 5.4 depends on. So if you just define another library in eclipse you can build against one or the other... This is the benefit of framework jars, now to be reliable I would advise you to copy those jars in xxx.woa/Contents/Extensions (single bundle woa) or you could easily be confused between your various configurations.

Pierre
--
Pierre Frisch
email@hidden


On Nov 5, 2007, at 16:54, Mike Schrag wrote:

I ran into this exact exception when I ran one of our apps in development on Leopard. Incidentally, is there some funky classpath- related reason why axis is always shipped in /Library/WebObjects/ Extensions? This seems wrong to me -- other than some oddity of classloading, it seems like it should be a proper Axis framework. Anyway, aside from that, I can appreciate why just moving to 5.4 is really not an option for many people. It's a .0 release that's only been out for a few days with lots of changes that still have to be qualified. However, like Pierre said, 5.4 uses Axis 1.4 and WO 5.4 is the default WO on Leopard, so what you're seeing is an API incompatibility between 1.1 and 1.4. The axis.jar in /Library/ WebObjects/Extensions is Axis 1.4. The fix for this is to copy axis.jar (which is 1.1) from a Tiger install and replace (read: backup and replace) axis.jar in your /Library/WebObjects/ Extensions. This obviously means (much like switching out your 5.4 frameworks for 5.3 frameworks) that you will not be able to use 5.4 in this configuration, but if you are just wanting to run 5.3 on Leopard, this should be fine.

On Nov 5, 2007, at 6:53 PM, Mr. Pierre Frisch wrote:

Move to 5.4. WO 5.3.x uses Axis 1.1. There are significant changes in the Axis 1.1 to Axis 1.4 APIs and I am quite sure this will not work. WO 5.4 was build with Axis 1.4 and we fixed quite a few bugs.

Which flavor of Web Services are you running? RPC/Document? SOAP?

Pierre
--
Pierre Frisch
email@hidden


On Nov 5, 2007, at 13:53, Kieran Kelleher wrote:

Guys, Ian is using WO 5.3.3/Java 1.5 on Tiger for dev and deploy. In that light .... can anyone give him some pointers?

On Nov 5, 2007, at 3:44 PM, Mr. Pierre Frisch wrote:

What is missing? I have deployed Web Services on WO 5.4 without problems.

Thanks

Pierre
--
Pierre Frisch
email@hidden

On Nov 5, 2007, at 11:05, Anjo Krank wrote:

FYI, the jars in JavaXML in 5.4 are pretty broken. I had an inner class missing that was referenced from it's outer class in the same jar...

I basically downloaded xerces and copied the missing class file over into the jar. Your problem might be similar. (Or it's a classpath problem and you have stale crap floating around in / Lib/WO/Ext or whereever).

Cheers, Anjo

Am 05.11.2007 um 19:45 schrieb Ian Coleman:

I am working in osx, eclispe3.2, and have included axis1.4 jars, but i can't figure out this error. I am trying to access a webservice at a https url but i do not think this is the problem. Any help would be great. thanks

2007-11-05 11:22:48,069 DEBUG i18n.ProjectResourceBundle getBundle - getBundle(org.apache.axis,org.apache.axis.i18n,resource,null,...)
2007-11-05 11:22:48,083 DEBUG i18n.ProjectResourceBundle loadBundle - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis.resource, locale en_US
2007-11-05 11:22:48,084 DEBUG i18n.ProjectResourceBundle getBundle - Created org.apache.axis.i18n.resource, linked to parent null
2007-11-05 11:22:48,085 DEBUG i18n.ProjectResourceBundle getBundle - getBundle (org.apache.axis,org.apache.axis.utils,resource,null,...)
2007-11-05 11:22:48,088 DEBUG i18n.ProjectResourceBundle loadBundle - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis.utils.resource, locale en_US
2007-11-05 11:22:48,088 DEBUG i18n.ProjectResourceBundle loadBundle - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis.resource, locale en_US
2007-11-05 11:22:48,088 DEBUG i18n.ProjectResourceBundle getBundle - Root package not found, cross link to org.apache.axis.i18n.resource
2007-11-05 11:22:48,089 DEBUG i18n.ProjectResourceBundle getBundle - Root package not found, cross link to org.apache.axis.i18n.resource
2007-11-05 11:22:48,089 DEBUG i18n.ProjectResourceBundle handleGetObject - org.apache.axis.i18n.resource::handleGetObject(engineFactory)
2007-11-05 11:22:48,089 DEBUG configuration.EngineConfigurationFactoryFinder run - Got EngineFactory: org.apache.axis.configuration.EngineConfigurationFactoryDefault
2007-11-05 11:22:48,095 DEBUG axis.AxisEngine init - Enter: AxisEngine::init
2007-11-05 11:22:48,286 DEBUG i18n.ProjectResourceBundle handleGetObject - org.apache.axis.i18n.resource::handleGetObject(attachEnabled)
2007-11-05 11:22:48,286 DEBUG utils.JavaUtils isAttachmentSupported - Attachment support is enabled? true
2007-11-05 11:22:48,312 DEBUG ser.JAFDataHandlerDeserializerFactory <init> - Enter/Exit: JAFDataHandlerDeserializerFactory(class java.lang.String, {http://xml.apache.org/xml-soap}PlainText)
2007-11-05 11:22:48,314 DEBUG i18n.ProjectResourceBundle handleGetObject - org.apache.axis.i18n.resource::handleGetObject(oddDigits00)
2007-11-05 11:22:48,315 DEBUG i18n.ProjectResourceBundle handleGetObject - org.apache.axis.i18n.resource::handleGetObject(badChars01)
2007-11-05 11:22:48,382 DEBUG ser.JAFDataHandlerDeserializerFactory <init> - Enter/Exit: JAFDataHandlerDeserializerFactory(class java.awt.Image, {http://xml.apache.org/xml-soap}Image)
2007-11-05 11:22:48,384 DEBUG ser.JAFDataHandlerDeserializerFactory <init> - Enter/Exit: JAFDataHandlerDeserializerFactory(class javax.mail.internet.MimeMultipart, {http://xml.apache.org/xml-soap }Multipart)
2007-11-05 11:22:48,386 DEBUG ser.JAFDataHandlerDeserializerFactory <init> - Enter/Exit: JAFDataHandlerDeserializerFactory(interface javax.xml.transform.Source, {http://xml.apache.org/xml- soap}Source)
2007-11-05 11:22:48,389 DEBUG ser.JAFDataHandlerDeserializerFactory <init> - Enter/Exit: JAFDataHandlerDeserializerFactory(class org.apache.axis.attachments.OctetStream, {http://xml.apache.org/xml-soap }octet-stream)
2007-11-05 11:22:48,389 DEBUG ser.JAFDataHandlerDeserializerFactory <init> - Enter/Exit: JAFDataHandlerDeserializerFactory()
2007-11-05 11:22:48,444 DEBUG axis.AxisEngine init - Exit: AxisEngine::init
2007-11-05 11:22:49,187 DEBUG axis.AxisEngine init - Enter: AxisEngine::init
2007-11-05 11:22:49,195 WARN NSLog appendln - <er.extensions.ERXDirectActionRequestHandler>: Exception while handling action named "extlogin" on action class "null" :com.webobjects.foundation.NSForwardException [java.lang.AbstractMethodError] null
[2007-11-05 11:22:49 EST] <unknown-5nt9NwfZRZjcX8bfPn9qew- WorkerThread0> com.webobjects.foundation.NSForwardException for java.lang.AbstractMethodError
at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java: 502)
at com .webobjects .webservices .support.WOXMLProvider.doConfigureEngine(WOXMLProvider.java:94)
at com .webobjects .webservices .support.WOXMLProvider.configureEngine(WOXMLProvider.java:108)
at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
at org.apache.axis.client.AxisClient.<init>(AxisClient.java:52)
at com .webobjects .webservices.client.WOWebService.axisService(WOWebService.java: 193)
at com .webobjects .webservices .client.WOWebService.createCallForOperation(WOWebService.java: 235)
at com .webobjects .webservices .client.WOWebServiceClient.invoke(WOWebServiceClient.java:482)


-----
Ian Coleman




_______________________________________________ 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

_______________________________________________ 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

_______________________________________________ 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


_______________________________________________ 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


_______________________________________________
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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502) (From: Ian Coleman <email@hidden>)
 >Re: java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502) (From: Anjo Krank <email@hidden>)
 >Re: java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502) (From: "Mr. Pierre Frisch" <email@hidden>)
 >Re: java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502) (From: Kieran Kelleher <email@hidden>)
 >Re: java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502) (From: "Mr. Pierre Frisch" <email@hidden>)
 >Re: java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502) (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: WebObjects 5.4 is out.
  • Next by Date: Re: Slogan
  • Previous by thread: Re: java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502)
  • Next by thread: Re: java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502)
  • Index(es):
    • Date
    • Thread