I installed Axis with tomcat,I created a small web service and created deployement file when I tried to execute it I got the following:
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.
C:\Program Files\Java\jdk1.5.0_16\bin>java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient %AXIS_HOME%\WEB-INF\lib\deploy.wsdd - Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled. Processing file C:\TOMCAT50-JWSDP\TOMCAT50-JWSDP\WEBAPPS\AXIS\WEB-INF\lib\deploy.wsdd Exception: C:\TOMCAT50-JWSDP\TOMCAT50-JWSDP\WEBAPPS\AXIS\WEB-INF\lib\deploy.wsdd (The system cannot find the file specified)
C:\Program Files\Java\jdk1.5.0_16\bin>
CAN YOU HELP ME SOLVING THE PROBLEM? [ August 02, 2008: Message edited by: Bear Bibeault ]
Originally posted by feda alshahwan: CAN YOU HELP ME SOLVING THE PROBLEM?
Please read this for information regarding posting in all uppercase. I have adjusted the title topic for you. [ August 02, 2008: Message edited by: Bear Bibeault ]
Looks like you need activation.jar and mail.jar. [ August 03, 2008: Message edited by: Bear Bibeault ]
feda alshahwan
Ranch Hand
Joined: Jul 26, 2008
Posts: 170
posted
0
After I deployed the service and access the server I got the following error:
And now... Some Services AXIS error Sorry, something seems to have gone wrong... here are the details:
Fault - Could not find class for the service named: C:\tomcat50-jwsdp\tomcat50-jwsdp\webapps\axis\WEB-INF\classes\SilverService Hint: you may need to copy your class files/tree into the right location (which depends on the servlet system you are using).; nested exception is: java.lang.ClassNotFoundException: C:\tomcat50-jwsdp\tomcat50-jwsdp\webapps\axis\WEB-INF\classes\SilverService AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultString: Could not find class for the service named: C:\tomcat50-jwsdp\tomcat50-jwsdp\webapps\axis\WEB-INF\classes\SilverService Hint: you may need to copy your class files/tree into the right location (which depends on the servlet system you are using).; nested exception is: java.lang.ClassNotFoundException: C:\tomcat50-jwsdp\tomcat50-jwsdp\webapps\axis\WEB-INF\classes\SilverService faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:moon-
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35253
7
posted
0
What's the value of the ServiceClass attribute in the service.xml file?
Is there a file C:\tomcat50-jwsdp\tomcat50-jwsdp\webapps\axis\WEB-INF\classes\SilverService.class? If so, is the class in a package? [ August 04, 2008: Message edited by: Ulf Dittmer ]
That's why I don't recommend using an IDE for developing WS - they hide too many of the details that you really need to understand in order to successfully develop and deploy WS.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.