Please ignore my previous message about deploying axis into a
stand-alone Tomcat server case. I just tried and found the deployment is
OK.

However, I still have problems with deploying axis into an embedded
Tomcat server. In this case, I got almost nothing if I set the
log4j.catatory.org.apache.axis=INFO. And I got tons of log if I set the
log level to DEBUG. In this case, Axis couldn't find a class, but I
don't know exactly which class is missing since the log is really
confusing. ( more tha 15000 lines) here are some lines which I think is
relevant to the problem

typeQName:
{http://provision.dgw.cisco.com/types}removeApplicationSysDataResponseTy
pe
javaType:   null
inHeader:   false
outHeader:  false
@91a4fb<total parameters:4
org.apache.axis.i18n.resource::handleGetObject(toAxisFault00)
Mapping Exception to AxisFault
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.axis.providers.java.MsgProvider.processMessage(MsgProvider.ja
va:126)
        at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:319
)
        at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
Then a few more lines of the stack
Then interesting part :
Caused by: java.lang.NoClassDefFoundError: org/apache/axis/AxisFault
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1255)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1189)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:219)
        at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:176)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
        at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
        at
org.apache.axis.deployment.wsdd.WSDDTypeMapping.getLanguageSpecificType(
WSDDTypeMapping.java:183)
        at
org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDServic
e.java:534)
        at
org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:245
)
        at
org.apache.axis.deployment.wsdd.WSDDService.<init>(WSDDService.java:225)
        at
org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.jav
a:208)
        at
org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:78
)
        at org.apache.axis.utils.Admin.processWSDD(Admin.java:110)
        at org.apache.axis.utils.Admin.process(Admin.java:157)
        at org.apache.axis.utils.Admin.AdminService(Admin.java:64)

I am sure there is axis.jar in axis/WEB-INF/lib/, and it has
org.apache.axis.AxisFault.class

I am really confused by the log now.

Could anyone help?

Thanks,

Feng
  

-----Original Message-----
From: Feng Xie (fxie) 
Sent: Saturday, July 23, 2005 11:22 PM
To: [email protected]
Subject: RE: Urgent : exception during deployment ( Axis 1_2RC3)

I believe this problem has something to do with Axis's classloading .

I just found even if I put the axis into standalone Tomcat server, I
mean the directory would be like
$CATALINA_HOME/webapps/axis/WEB-INF/myapp.jar ,  the axis log says "
java.lang.ClassNotFoundException:
com.mycom.myapp.provision.types.MyAppDataExceptionType" . However, I am
sure there is such class in myapp.jar. 

Am I missing anything about axis classloading ? 

Thanks,
Feng

-----Original Message-----
From: Feng Xie (fxie)
Sent: Saturday, July 23, 2005 7:03 PM
To: [email protected]
Subject: Urgent : exception during deployment ( Axis 1_2RC3)

 
I am looking for help on a problem with deploying wsdd.

Here is the command and exception I got :
bash-2.05b$ java org.apache.axis.client.AdminClient deploy.wsdd

Processing file deploy.wsdd
Exception: AxisFault
 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.lang.reflect.InvocationTargetException
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}hostname:tracy.mycompany.com



The axis is happy before I tried this deployment command( found all core
libs). 

I tried the same command against another stand-alone Tomcat server,
which host the Axis engine, it went smoothly without any problme. So I
suspect something missing with the Tomcat server running on
tracy.mycompany.com.

Thanks in advance,
Feng

Reply via email to