HELLO, 

Now it looks ok.But another err occuries.
When I typed the command.
C:\axis\samples\stock>java -cp %AXISCLASSPATH%
org.apache.axis.client.AdminClien
t -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd

 I got the warning messages as the following

log4j:WARN No appenders could be found for logger
(org.apache.axis.i18n.ProjectR
esourceBundle).
log4j:WARN Please initialize the log4j system properly.
Processing file deploy.wsdd
<Admin>Done processing</Admin>


CLASSPATH=
.;C:\jakarta-tomcat-5.0.25\common\lib\servlet-api.jar;c:\jakarta-tomcat-5.0.25\common\lib\jsp-api.jar;c:\jakarta-tomcat-5.0.25\common\lib\commons-el.jar;C:\Program
Files\Jade\lib\http.jar;C:\Program Files\Jade\lib\iiop.jar;C:\Program
Files\Jade\lib\jade.jar;C:\Program Files\Jade\lib\jadeTools.jar;C:\Program
Files\Jade\lib\Base64.jar;%AXISCLASSPATH%

AXISCLASSPATH=
%AXIS_LIB%\axis.jar;%AXIS_LIB%\commons-discovery-0.2.jar;%AXIS_LIB%\commons-logging-1.0.4.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\saaj.jar;%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\wsdl4j-1.5.1.jar;%AXIS_LIB%\log4j.properties;%AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\xercesImpl.jar

Thanks for your help.

Upul Godage wrote:
> 
> Hi,
> 
> Not enough information.  Copy the full command line you gave and the stack
> trace you get.
> Also %AXISCLASSPATH% contents at that moment.
> 
> Upul
> 
> On 10/4/07, zhshqzyc <[EMAIL PROTECTED]> wrote:
>>
>>
>> Still wrong.
>>
>> C:\axis\samples\stock>echo %AXISCLASSPATH%
>> c:\AXIS\lib\axis.jar;c:\AXIS\lib\common-discovery-0.2.jar
>> ;c:\AXIS\lib\commons-lo
>> gging-1.0.4.jar
>> ;c:\AXIS\lib\jaxrpc.jar;c:\AXIS\lib\saaj.jar;c:\AXIS\lib\log4j-1.
>> 2.8.jar;c:\AXIS\lib\xml-apis.jar
>> ;c:\AXIS\lib\xercesImpl.jar;c:\AXIS\lib\axis-ant
>> .jar;c:\AXIS\lib\wsdl4j-1.5.1.jar
>>
>>
>>
>>
>> Upul Godage wrote:
>> >
>> > Hi,
>> >
>> > You are missing package apache.
>> >
>> > java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient
>> >
>> > If you still get the class not found error for AdminClient.  Check
>> whether
>> > AXISCLASSPATH has all axis/lib jars. e.g. echo %AXISCLASSPATH%
>> >
>> > Upul
>> >
>> > On 10/3/07, zhshqzyc <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> What is wrong when I run the admin client.
>> >> [CODE]
>> >>
>> >> C:\Documents and Settings\Owner>cd c:\axis\samples\stock
>> >>
>> >> C:\axis\samples\stock>java -cp %AXISCLASSPATH%
>> >> org.axis.client.AdminClient
>> >> -lhtt
>> >> p://localhost:8080/axis/services/AdminService deploy.wsdd
>> >> Exception in thread "main" java.lang.NoClassDefFoundError:
>> >> org/axis/client/Admin
>> >> Client
>> >>
>> >> C:\axis\samples\stock>
>> >> [/CODE]
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/AXISCLASSPATH-tf4558968.html#a13016858
>> >> Sent from the Axis - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/AXISCLASSPATH-tf4558968.html#a13040481
>> Sent from the Axis - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/AXISCLASSPATH-tf4558968.html#a13057576
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to