You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by ra...@jpmchase.com on 2005/08/12 14:33:02 UTC

Re: AW: Deploying AddressBook example

Hello,

Here is what I found ..  when I tried to deploy the deploy.wsdd  from 
C:\Tomcat\webapps\axis\WEB-INF\classes\samples\addr\AddressFetcher2

I am getting some WSDDNonFatalException...  saying      class not found 
exception for  AddressFetcher2.Phone.   So AddressBook service is not 
getting deployed.


I do have Phone.class  inside 

C:\Tomcat\webapps\axis\WEB-INF\classes\samples\addr\AddressFetcher2

Please  let me know how to address this issue.


Your help is highly appreciated.

Raj 





Krenzke Thomas <Kr...@sekas.de>
08/12/2005 07:52 AM
Please respond to axis-user

 
        To:     "'axis-user@ws.apache.org'" <ax...@ws.apache.org>
        cc: 
        Subject:        AW: Deploying AddressBook example


Hi,
 
I have similar problems (using Tomcat 5.0.28 and axis 1.2.1). Sometimes it 
seems that a Tomcat-restart is not enough, when a new service / or new 
service version has been created and deployed.
 
I found out, that in some cases (do not ask why or when it is necessary) I 
have to shutdown the Tomcat server and manually delete the things stored 
under %TOMCAT_ROOT%\work.
After restarting Tomcat the new service is found and can be accessed...
 
Hope this helps...
  Thomas Krenzke 

SEKAS GmbH 
Baierbrunner Str. 23 
D-81379 München 
Fon: +49 (0) 89 74 81 340 
Fax: +49 (0) 89 74 81 34 99 
URL: http://www.sekas.de 

Der Inhalt dieses E-Mails ist ausschließlich für den bezeichneten 
Adressaten bestimmt. Jede Form der Kenntnisnahme, Veröffentlichung, 
Vervielfältigung oder  Weitergabe des Inhalts dieses E-Mails durch 
unberechtigte Dritte ist unzulässig. Wir bitten Sie, sich mit dem Absender 
des E-Mails in Verbindung zu setzen, falls Sie nicht der Adressat dieses 
E-Mails sind und das Material von Ihrem Computer zu löschen. 
This e-mail and any attachments are confidential and intended solely for 
the addressee. The perusal, publication, copying or dissemination of the 
contents of this e-mail by unauthorised third parties is prohibited. If 
you 
are not the intended recipient of this e-mail, please delete it and 
immediately notify the sender. 
Besuchen Sie uns auf der PRODUCTRONICA 2005  (München 15. - 18. November 
2005) -  Halle A5, Stand A5.419 

-----Ursprüngliche Nachricht-----
Von: raj.x.arunmugan@jpmchase.com [mailto:raj.x.arunmugan@jpmchase.com]
Gesendet: Freitag, 12. August 2005 13:50
An: axis-user@ws.apache.org
Betreff: Deploying AddressBook example 


Hello, 

I tried to deploy the AddressBook webservice that comes with Axis.   


Here are the steps that I followed... 

1.  from axis-bin-1_2_1.zip   I copied the axis  folder under webapps into 
my Tomcat/webapps  folder 

 After keeping the required jar files.. I rebooted Tomcat and made sure 
that AXIS is running fine. 
I tested example1 and 3 and they seems to work fine. 

2. from axis-bin-1_2_1.zip  I extracted  the samples/addr   and then  I 
ran the following command 

 java org.apache.axis.wsdl.WSDL2Java --server-side --skeletonDeploy true 
AddressBook.wsdl 

this created   AddressFetcher2  folder  and this folder had 

1. Address.java 
2.AddressBook.java 
3.AddressBookService.java 
4.AddressBookServiceLocator.java 
5.AddressBookSOAPBindingImpl.java 
6.AddressBookSOAPBindingSkeleton.java 
7.AddressBookSOAPBindingStub.java 
8.Phone.java 
9.StateType.java 
10.deploy.wsdd 
11. undeploy.wsdd 

then  I complied all the above java classes .. copied the  AddressFetcher2 
 folder into   
C:\Tomcat\webapps\axis\WEB-INF\classes\samples\addr\ 

then from  AddressFetcher2  folder  I ran  the following command 
 java org.apache.axis.client.AdminClient deploy.wsdd 

it ended saying 

<Admin>Done processing</Admin> 
I restarted Tomcat and tried to see if  the AddressBook service is 
deployed correctly... 

http://localhost:8080/axis/services 

shows me only the service that were deployed earlier .I don't see the new 
service in the list .. I really don't know where to look for deployment 
error/log file. 

Please let me know what went wrong here. 

Your help is highly appreciated! 

Raj 




###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft 
Exchange.
For more information, connect to http://www.F-Secure.com/