axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kristian meier <Kristian.Me...@jentro.com>
Subject Re: classpath problem after upgrading to beta 2
Date Fri, 03 May 2002 08:53:48 GMT
yesterday I solved a similar problem, see

http://xml.apache.org/axis/faq.html#faq5

I used beta2, I never had beta1

best wishes Kristian



Hui Deng wrote:
> 
> I struggled on this for long hours, I quit and look
> for help here.
> After upgrading to beta2 (beta1 runs perfectly),  when
> I run any service like this one (or any ones working
> on beta 1):
> java samples.stock.GetQuote
> -lhttp://localhost:8080/axis/servlet/AxisServlet
> -uuser1 -wpass1 XXX
> 
> I got error: Exception in thread "main"
> java.lang.NoClassDefFoundError: javax/xml/rpc/encodin
> g/XMLType
> It seems quite simple, but I spent 2+ hrs on it..
> clean up classpath, make sure the setenv.bat get all
> required jars...
> 
> The weird thing, I can get Tomcat, AxisServlet up
> running, http://localhost:8080/axis/MyService.jws
> http://localhost:8080/axis/servlet/AxisServlet all
> work. Also the AdminClient for deploying service
> works.
> 
> My %CLASSPATH%
> D:\Apache Tomcat 4.0\webapps\axis\WEB-INF\classes>echo
> %CLASSPATH%
> d:\Apache Tomcat
> 4.0\webapps\axis\WEB-INF\lib\jaxrpc.jar;d:\Apache
> Tomcat 4.0\we
> bapps\axis\WEB-INF\lib\axis.jar;d:\Apache Tomcat
> 4.0\webapps\axis\WEB-INF\lib\co
> mmons-logging.jar;d:\Apache Tomcat
> 4.0\webapps\axis\WEB-INF\lib\wsdl4j.jar;d:\Ap
> ache Tomcat
> 4.0\webapps\axis\WEB-INF\lib\jaxrpc.jar;d:\Apache
> Tomcat 4.0\webapps
> \axis\WEB-INF\lib\xalan.jar;d:\Apache Tomcat
> 4.0\webapps\axis\WEB-INF\lib\xerces
> .jar;d:\Apache Tomcat
> 4.0\webapps\axis\WEB-INF\lib\tt-bytecode.jar;d:\Apache
> Tom
> cat
> 4.0\webapps\axis\WEB-INF\lib\log4j-core.jar;d:\Apache
> Tomcat 4.0\webapps\axi
> s\WEB-INF\lib\wsdl4j.jar;d:\Mobility\lib\BouncyCastle.jar;d:\Mobility\lib\jnet.j
> ar;d:\Mobility\lib\jcert.jar;d:\Mobility\lib\jsse.jar;d:\Mobility\lib\Mobility.j
> ar;d:\Mobility\lib\parser.jar;d:\Apache Tomcat
> 4.0\webapps\axis\WEB-INF\classes\
> 
> Any thoughts?
> 
> Thanks in advanced.
> 
> -Hui
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com

-- 
-------------------------------------------------------------
 Jentro AG
 Kristian Meier, Software Development
-------------------------------------------------------------
 Peter-Henlein-Strasse 28, 85540 Haar/Munich, Germany
 Tel. +49 89 462 385 0     mailto:Kristian.Meier@jentro.com
 Fax  +49 89 462 385 29    http://www.jentro.com
-------------------------------------------------------------

Mime
View raw message