05-25-04 09:30 PM
The WebSphere Test Environment 5.0 in WSAD may have PTF applied. I
think there were some changes in Web Services in WAS 5.0.2. I would
check WAS and see the same level of PTF has been applied or not.
HTH
Felix
chardebolle wrote:
> Hello,
> I am new to web service and to websphere.
> I developped a little "hello world" web service with WSAD 5.1. When I test
it in WSAD it works perfectly (I tried several tutorials before, and all of
them work in WSAD).
>
> But when I try to deploy it on WAS 5.0 I have the following error :
>
> SRVE0020E: [Erreur servlet]-[com_helloworld_HelloWorld]: Le chargement du
servlet a échoué: java.lang.ClassCastException: com.helloworld.HelloWorld at com.ibm
.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:2
24) at com.
ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppS
ervletManager.java:453) at com.ibm.ws.webcontainer.webapp.WebApp.loadServlet
Manager(WebApp.java:1233) at com.ibm.ws.webcontainer.webapp.WebApp.init(WebA
pp.java:273) at com.ibm.ws.
webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:317) at com.ibm.ws.webcon
tainer.srt.WebGroup.init(WebGroup.java:194) at com.ibm.ws.webcontainer.WebCo
ntainer.addWebApplication(WebContainer.java:950) at com.ibm.ws.runtime.compo
nent.WebContainerImpl.insta
ll(WebContainerImpl.java:133) at com.ibm.ws.runtime.component.WebContainerIm
pl.start(WebContainerImpl.java:360) at com.ibm.ws.runtimecomponent.Applicati
onMgrImpl.start(ApplicationMgrImpl.java:401) at com.ibmws.runtime.compon
ent.DeployedApplicationImpl. fireDeployedObjectStart(DeployedApplicat
ionImpl.
java:743) at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedM
oduleImpl.java:337) at com.ibm.ws.runtime.component.DeployedApplicationImpl.
start(DeployedApplicationIm
pl.java:531) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplica
tion(ApplicationMgrImpl.java:254) at com.ibm.ws.runtime.component.Applicatio
nMgrImpl.start(ApplicationMgrImpl.java:232) at com.ibm.ws.runtime.component.
ContainerImpl.startComponen
ts(ContainerImpl.java:343) at com.ibm.ws.runtime.component.ContainerImplstar
t(ContainerImpl.java:234) at com.ibm.ws.runtime.component.ApplicationServerI
mpl.start(ApplicationServerImpl.java:117) at com.ibm.ws.runtime.component.Co
ntainerImpl.startComponents
(ContainerImpl.java:343) at com.ibm.ws.runtime.component.ContainerImpl.start
(ContainerImpl.java:234) at com.ibm.ws.runtime.component.ServerImpl.start(Se
rverImpl.java:182) at com.ibm.ws.runtime.WsServer.start(WsServer.java:135
) at com.ibm.ws.runtime.WsServer.main(WsServer.java:232) at java.lang.reflect.Method.invoke(
Native Method) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
>
> Does anyone have an explanation for me ?
> I really need help : I tried many things but nothing works ...
> Thanks a lot !
>
> Cécile Hardebolle
[ Post a follow-up to this message ]
|