axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilson, Allen" <Allen.Wil...@marcresearch.com>
Subject RE: AdminClient
Date Wed, 29 Oct 2003 18:36:42 GMT
No I was doing the stock example...and I have it working now....

Allen

-----Original Message-----
From: Mees [mailto:horizons_nt@yahoo.com] 
Sent: Wednesday, October 29, 2003 10:04 AM
To: axis-user@ws.apache.org
Subject: RE: AdminClient


if you are trying to run example 1 then it's going to
be connection refused...

there's something wrong with the link that the example
uses...

it has bugged me for a day, that stupid example...

--- "Wilson, Allen" <Allen.Wilson@marcresearch.com>
wrote:
> 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:steve@student.usyd.edu.au] 
> Sent: Tuesday, October 28, 2003 7:15 PM
> To: axis-user@ws.apache.org
> 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:mikeklein@sbcglobal.net]
> Sent: Tuesday, 
> >> October 28, 2003 2:58 PM
> >> To: axis-user@ws.apache.org
> >> 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 $#@cked 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:mikeklein@sbcglobal.net] Sent: Tuesday, 
> >>> October 28, 2003 2:01 PM
> >>> To: axis-user@ws.apache.org
> >>> 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: Sabyasachi.Gupta@us.hsbc.Com
> >>>>  
> >>>>     
> >>>
> >>> [mailto:Sabyasachi.Gupta@us.hsbc.Com]
> >>>
> >>>
> >>>   
> >>>
> >>>> Sent: Tuesday, October 28, 2003 1:26 PM
> >>>> To: axis-user@ws.apache.org
> >>>> 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" <Allen.Wilson@marcresearch.com>
> on 28 Oct 2003
> 14:16
> >>>>
> >>>> Please respond to axis-user@ws.apache.org
> >>>>
> >>>>
> >>>>
> >>>> To:    <axis-user@ws.apache.org>
> >>>> Subject:    RE: AdminClient
> >>>>
> >>>>
> >>>> Do you have to be in the directory of the wsdd
> of can you fully
> >>>>     
> >>
> >> qualify
> >>  
> >>
> >>>> the path
> >>>>
> >>>> -----Original Message-----
> >>>> From: Sabyasachi.Gupta@us.hsbc.Com
> >>>>  
> >>>>     
> >>>
> >>> [mailto:Sabyasachi.Gupta@us.hsbc.Com]
> >>>
> >>>
> >>>   
> >>>
> >>>> Sent: Monday, October 27, 2003 5:17 PM
> >>>> To: axis-user@ws.apache.org
> >>>> 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" <Allen.Wilson@marcresearch.com>
> on 27 Oct 2003
> 17:41
> >>>>
> >>>> Please respond to axis-user@ws.apache.org
> >>>>
> >>>>
> >>>>
> >>>> To:    <axis-user@ws.apache.org>
> >>>> 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:horizons_nt@yahoo.com]
> >>>> Sent: Monday, October 27, 2003 4:22 PM
> >>>> To: axis-user@ws.apache.org
> >>>> 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"
> <Allen.Wilson@marcresearch.com>
> >>>> 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.
> 
> 


__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

Mime
View raw message