That was it....like I said it was probably something stupid on my part. The client runs now but I am getting Connection refused...so I investigate that....
Thanks for the help.... Allen -----Original Message----- From: Stephen Gordon [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 7:15 PM To: [EMAIL PROTECTED] Subject: Re: AdminClient actually this happened to another guy about a week ago - same problem, leaving out the WEB-INF. guess i should have picked it up!! stephen Xavier Renard wrote: > Wilson, Allen wrote: > >> Here's the information that is in my paths: >> >> AXIS_HOME=/opt/WWW/tomcat-4.1.18/webapps/axis >> export AXIS_HOME >> >> >> AXIS_LIB=$AXIS_HOME/lib >> export AXIS_LIB >> >> > should be export AXIS_LIB=$AXIS_HOME/WEB-INF/lib in your case > > > Xavier > >> AXISCLASSPATH=/opt/WWW/tomcat-4.1.18/webapps/axis/WEB-INF/classes:$AXIS_ >> LIB/axis.jar:$AXIS_LIB/commons-discovery.jar:$AXIS_LIB/commons-logging.j >> ar:$AXIS_LIB/jaxrpc.jar:$AXIS_LIB/saaj.jar:$AXIS_LIB/log4j-1.2.8.jar:$AX >> IS_LIB/xml-apis.jar: >> $AXIS_LIB/xercesImpl.jar:/opt/WWW/tomcat-4.1.18/webapps/axis/WEB-INF/cla >> sses: >> export AXISCLASSPATH >> >> This corresponds exactly to what I have set up. About the >> monitor....when I compiled the class I shut the server down and then >> restarted it. >> >> On the libraries...I understand that I was just trying other locations >> due to me get the ClassDefNotFound error. I have been following the >> instructions as they are outlined but I am still have the problems. My >> next step was to update my java to 1.4 but I wanted to make sure that it >> could not be anything else... >> >> (thanks for the all aboard comment....that was great)... >> >> Allen >> >> -----Original Message----- >> From: Mike Klein [mailto:[EMAIL PROTECTED] Sent: Tuesday, >> October 28, 2003 2:58 PM >> To: [EMAIL PROTECTED] >> Subject: Re: AdminClient >> >> >> Bvvvvhhhhh! All aboard... >> >> You must have deployed at least once via AdminClient or ant task to >> see a server-config.wsdd. >> >> Was Tomcat running when you started the SOAPMonitor applet? >> >> Your classpath is [EMAIL PROTECTED] up. Check each entry for path validity. >> >> Axis libraries are delivered in a jar, put it in the right >> place...this isn't a classes directory...but a lib directory. I have >> nothing axis related in my common/lib or common/classes...my >> axis/WEB-INF/classes only has the samples code. >> >> Follow the install instructions to the letter...they work. >> >> >> Wilson, Allen wrote: >> >> >> >>> I guess I am just missing the boat because I yet the find the >>> server-config.wsdd file in the WEB-INF directory. I have the >>> SOAPMonitorApplet running (I used the command javac -classpath >>> WEB-INF/lib/axis.jar SOAPMonitorApplet.java) but when it starts it says >>> that the Monitor is unable to communicate with the server. >>> >>> When I try to run the AdminClient (I was in the samples/stock directory >>> and ran the command java org.apache.axis.utils.admin server >>> >> >> deploy.wdd). >> >> >>> I get the error >>> >>> Exception in thread "main" java.lang.NoClassDefFoundError: >>> org/apache/axis/utils/admin >>> >>> I have tried moving the samples directory around to were is is above, >>> >> >> on >> >> >>> and below the level of the webapps directory to no avail. I have the >>> variables of AXIS_HOME, AXIS_LIB, and AXISCLASSPATH set. I have also >>> tried using the command java -cp $AXISCLASSPATH >>> org.apache.axis.client.AdminClient >>> -lhttp://address/axis/services/AdminService deploy.wsdd and got a >>> similar error to the one above (the only difference being the path). >>> >>> I have org.apache.axis in the following place >>> /tomcat4.1.18/common/classes and >>> /tomcat-4.1.18/webapps/axis/WEB-INF/classes >>> >>> Is there something I am doing wrong.... >>> >>> Allen >>> >>> >>> -----Original Message----- >>> From: Mike Klein [mailto:[EMAIL PROTECTED] Sent: Tuesday, >>> October 28, 2003 2:01 PM >>> To: [EMAIL PROTECTED] >>> Subject: Re: AdminClient >>> >>> >>> As is mentioned in the docs, the server-config.wsdd is created as >>> soon as you do your first deployment thru AdminClient. >>> >>> Use AdminClient to deploy the SOAPMonitor and then add SOAPMonitor >>> configuration xml to global configuration of server-config.wsdd...on >>> a dev't system it seems normal to want to monitor all of soap traffic >>> iniitially and not per web service. >>> >>> Seeing that servlets generally only have the doGet and doPost >>> methods...not sure what kind of web service this will provide you. With >>> >> >> >> >> >>> JWS you're supposed to take simple classes with user-callable functions >>> >> >> >> >> >>> in them (like echoString, etc.) and deploy them...not servlets. >>> >>> >>> mike >>> >>> Wilson, Allen wrote: >>> >>> >>> >>> >>> >>>> Okay there must be something I am doing wrong then...let me provide my >>>> setup >>>> >>>> I am running Tomcat 4.1.18 w/Java 1.3.1 and I took the axis directory >>>> and placed it into my webapps directory. The axis page came up with >>>> >> >> the >> >> >>>> links to the happyaxis.jsp page and other links. When I took a servlet >>>> and change the extension to jws, it show the xml correctly. Now I am >>>> trying to see how I can create more complex services and how to hit >>>> >>>> >>> >>> them >>> >>> >>> >>> >>>> with another servlet. >>>> >>>> That lead me to trying to find the AdminClient... >>>> >>>> Is this the correct way (on by the way I have yet to find a >>>> server-config.wsdd file anywhere in the axis path). >>>> >>>> Thanks...for any help >>>> >>>> -----Original Message----- >>>> From: [EMAIL PROTECTED] >>>> >>>> >>> >>> [mailto:[EMAIL PROTECTED] >>> >>> >>> >>> >>>> Sent: Tuesday, October 28, 2003 1:26 PM >>>> To: [EMAIL PROTECTED] >>>> Subject: RE: AdminClient >>>> >>>> >>>> >>>> Either way. You need to then copy the server-config.wsdd file this >>>> generates into WEB-INF >>>> (In case you are using tomcat.) >>>> >>>> >>>> >>>> >>>> >>>> "Wilson, Allen" <[EMAIL PROTECTED]> on 28 Oct 2003 14:16 >>>> >>>> Please respond to [EMAIL PROTECTED] >>>> >>>> >>>> >>>> To: <[EMAIL PROTECTED]> >>>> Subject: RE: AdminClient >>>> >>>> >>>> Do you have to be in the directory of the wsdd of can you fully >>>> >> >> qualify >> >> >>>> the path >>>> >>>> -----Original Message----- >>>> From: [EMAIL PROTECTED] >>>> >>>> >>> >>> [mailto:[EMAIL PROTECTED] >>> >>> >>> >>> >>>> Sent: Monday, October 27, 2003 5:17 PM >>>> To: [EMAIL PROTECTED] >>>> Subject: Re: AdminClient >>>> >>>> >>>> >>>> >>>> The command is >>>> >>>> java org.apache.axis.utils.admin server yourfile.wsdd >>>> >>>> where yourfile.wsdd is your WSDD file. >>>> >>>> You need to have all the Axis jar files and xml parsers in your >>>> classpath >>>> before you execute that command. >>>> >>>> >>>> >>>> >>>> >>>> >>>> "Wilson, Allen" <[EMAIL PROTECTED]> on 27 Oct 2003 17:41 >>>> >>>> Please respond to [EMAIL PROTECTED] >>>> >>>> >>>> >>>> To: <[EMAIL PROTECTED]> >>>> Subject: AdminClient >>>> >>>> >>>> ********************************************************************** >>>> >> >> * >> >> >>>> >>>> >>> >>> * >>> >>> >>> >>> >>>> **** >>>> >>>> This message originated from the Internet. Its originator may or >>>> may not be who they claim to be and the information contained in >>>> the message and any attachments may or may not be accurate. >>>> ********************************************************************** >>>> >> >> * >> >> >>>> >>>> >>> >>> * >>> >>> >>> >>> >>>> **** >>>> >>>> >>>> I've looked there and it does not really point out anything definite. >>>> >>>> Thanks for help though..... >>>> >>>> >>>> -----Original Message----- >>>> From: Mees [mailto:[EMAIL PROTECTED] >>>> Sent: Monday, October 27, 2003 4:22 PM >>>> To: [EMAIL PROTECTED] >>>> Subject: Re: AdminClient >>>> >>>> I would try looking at this site, is a real help :D >>>> http://ws.apache.org/axis/java/install.html >>>> --- "Wilson, Allen" <[EMAIL PROTECTED]> >>>> wrote: >>>> >>>> >>>> >>>> >>>> >>>>> Hello... >>>>> >>>>> I am new to Axis and was wonder how do I start up >>>>> the Admin Client. I've >>>>> found the AdminClient class but I am not sure where >>>>> to put it so it can >>>>> be used? >>>>> >>>>> Allen >>>>> >>>>> >>>>> >>>>> >>>>> > > > > > >
This message may contain proprietary or confidential company information. Any unauthorized use or disclosure is prohibited.
