Web Service problem with WAS 5.0
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Application Server > Web Service problem with WAS 5.0




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Web Service problem with WAS 5.0  
chardebolle


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-04 09:30 PM

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 chargeme
nt du s=
ervlet a =E9chou=E9: java.lang.ClassCastException: com.helloworld.HelloWorl=
d at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebApp=
ServletManager.java:224) at com.ibm.ws.webcontainer.webapp.WebAppServletMan=
ager. loadAutoLoadServlets(WebAppServletManage
r.java:453) at com.ibm.ws.webc=
ontainer.webapp.WebApp.loadServletManager(WebApp.java:1233) at com.ibm.ws.w=
ebcontainer.webapp.WebApp.init(WebApp.java:273) at com.ibm.ws.webcontainer.=
srt.WebGroup.loadWebApp(WebGroup.java:317) at com.ibm.ws.webcontainer.srt.W=
ebGroup.init(WebGroup.java:194) at com.ibm.ws.webcontainer.WebContainer.add=
WebApplication(WebContainer.java:950) at com.ibm.ws.runtime.component.WebCo=
ntainerImpl.install(WebContainerImpl.java:133) at com.ibm.ws.runtime.compon=
ent.WebContainerImpl.start(WebContainerImpl.java:360) at com.ibm.ws.runtime=
component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:401) at com.ibm=
ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(Deplo=
yedApplicationImpl.java:743) at com.ibm.ws.runtime.component.DeployedModule=
Impl.start(DeployedModuleImpl.java:337) at com.ibm.ws.runtime.component.Dep=
loyedApplicationImpl.start(DeployedApplicationImpl.java:531) at com.ibm.ws.=
runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.ja=
va:254) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(Applicatio=
nMgrImpl.java:232) at com.ibm.ws.runtime.component.ContainerImpl.startCompo=
nents(ContainerImpl.java:343) at com.ibm.ws.runtime.component.ContainerImpl=
start(ContainerImpl.java:234) at com.ibm.ws.runtime.component.ApplicationS=
erverImpl.start(ApplicationServerImpl.java:117) at com.ibm.ws.runtime.compo=
nent.ContainerImpl.startComponents(ContainerImpl.java:343) at com.ibm.ws.ru=
ntime.component.ContainerImpl.start(ContainerImpl.java:234) at com.ibm.ws.r=
untime.component.ServerImpl.start(ServerImpl.java:182) at com.ibm.ws.runtim=
e.WsServer.start(WsServer.java:135) at com.ibm.ws.runtime.WsServer.main(WsS=
erver.java:232) at java.lang.reflect.Method.invoke(Native Method) at com.ib=
m.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)=20

Does anyone have an explanation for me ?
I really need help : I tried many things but nothing works ...
Thanks a lot !

C=E9cile Hardebolle





[ Post a follow-up to this message ]



    Re: Web Service problem with WAS 5.0  
Felix Wong


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:23 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register