Re: Web Services Assistant
Re: Web Services Assistant
- Subject: Re: Web Services Assistant
- From: Steve Sharman <email@hidden>
- Date: Tue, 11 Nov 2003 09:24:28 +0000
Mankit,
Thanks for the advice - that seems to have solved the problem.
For others on the list - I copied the file servlet.jar from
/Developer/Java/JEE/jakarta-servletapi-4/lib/servlet.jar into
/Library/Java/Extensions, and testing now works in the Web Services
Assistant. I found a number of instances of servlet.jar on my machine,
and this seemed like the most logical choice.
Best regards,
-- Steve
On 10 Nov 2003, at 19:02, Mankit Sze wrote:
The issue with java.lang.NoClassDefFoundError should be resolved by
installing servlet.jar in /Library/Java/Extensions.
Mankit
On Nov 10, 2003, at 4:08 AM, Steve Sharman wrote:
Having upgraded to Panther and the Xcode tools over the weekend, I'm
suffering because some of the functionality in the Web Services
Assistant seems to have stopped working - specifically although I can
define new services and operations, which are then being incorporated
into the user.d2wmodel file, I can't test these operations.
When I click the "Test" button, nothing happens, but looking at the
Console log, the error below seems to be being raised. Is this perhaps
something that isn't being included in the CLASSPATH that can be
easily
fixed, or is there a bigger issue that I need to raise with Apple? If
anyone has any experience of this problem and knows how to overcome it
- I'd be most grateful!
Best regards,
-- Steve
Error follows:
apple.awt.EventQueueExceptionHandler Caught Throwable :
com.webobjects.foundation.NSForwardException for
java.lang.NoClassDefFoundError: javax/servlet/ServletContext
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
at java.lang.Class.getMethod0(Class.java:1746)
at java.lang.Class.getDeclaredMethod(Class.java:1233)
at
org.apache.commons.discovery.tools.ClassUtils.findPublicStaticMethod(C
la
ssUtils.java:112)
at
org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFact
or
y(EngineConfigurationFactoryFinder.java:214)
at
org.apache.axis.configuration.EngineConfigurationFactoryFinder.access$
30
0(EngineConfigurationFactoryFinder.java:92)
at
org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(E
ng
ineConfigurationFactoryFinder.java:179)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFact
or
y(EngineConfigurationFactoryFinder.java:148)
at
org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFact
or
y(EngineConfigurationFactoryFinder.java:204)
at org.apache.axis.client.Service.<init>(Service.java:111)
at
org.apache.axis.client.ServiceFactory.createService(ServiceFactory.jav
a:
239)
at
com.webobjects.webservices.client.WOWebService.axisService(WOWebServic
e.
java:185)
at
com.webobjects.webservices.client.WOWebService._setCacheWSDL(WOWebServ
ic
e.java:210)
at
com.webobjects.d2wsassistant.D2WSATester.test(D2WSATester.java:443)
at
com.webobjects.d2wsassistant.D2WSADocument$1.performTask(D2WSADocument
.j
ava:617)
at
com.webobjects.eogeneration.EOControllerFactory.performTaskWithControl
le
r(EOControllerFactory.java:348)
at
com.webobjects.d2wsassistant.D2WSADocument.testOperation(D2WSADocument
.j
ava:615)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
av
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
or
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.webobjects.foundation.NSSelector.invoke(NSSelector.java:354)
at
com.webobjects.foundation.NSSelector._safeInvokeSelector(NSSelector.ja
va
:108)
at
com.webobjects.eoapplication._EOInvocationUtilities.invokeInstanceMeth
od
WithoutParametersOnObjectIfImplemented(_EOInvocationUtilities.java:
141)
at
com.webobjects.eoapplication.EOAction$_ControllerHierarchy.actionPerfo
rm
ed(EOAction.java:1955)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:
1797)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstrac
tB
utton.java:1850)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.
ja
va:419)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonLi
st
ener.java:247)
at java.awt.Component.processMouseEvent(Component.java:5093)
at java.awt.Component.processEvent(Component.java:4890)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3598)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3439)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1585)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThr
ea
d.java:230)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.
java:183)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.