axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Daniels <gdani...@macromedia.com>
Subject RE: HELP!!!! Axis cannot deploy or undeploy anymore
Date Mon, 13 May 2002 18:26:47 GMT
 
Hi Scott:
 
Here's my guess - try going into the server-config.wsdd in your axis WEB-INF directory and
taking a look at that.  The problem is that your beanmapping is apparently using a bad (or
nonexistent) prefix for the type='' attribute.  For instance, this won't work:
 
<beanMapping type="org.apache.axis.foo"...>
 
but this will:
 
<beanMapping type="java:org.apache.axis.foo"...> (assuming java: is mapped correctly)
 
We did it like this because the WSDD format was designed to be useful for more than just Java.
 
You could remove the beanMapping in the server-config.wsdd, or just fix the prefix mapping.
 
As for the exception, a bad typemapping certainly shouldn't be causing deployment to fail
in general.  I'll take a look at the code and see if I can fix this issue - could you open
a bugzilla bug for this?
 
Thanks,
--Glen

-----Original Message-----
From: Newman, Scott [mailto:snewman@ufsonline.com]
Sent: Monday, May 13, 2002 11:14 AM
To: 'axis-user@xml.apache.org'
Subject: HELP!!!! Axis cannot deploy or undeploy anymore



Hi All

 

Running into very very strange behavior here with axis beta 2.  I was trying to deploy a service
that returned a CachedRowSet, and that was when I started to run into this:

 

  faultString: org.apache.axis.deployment.wsdd.WSDDException: java.lang.ClassNotFoundException:
Found

 languageSpecificType namespace '', expected 'http://xml.apache.org/axis/wsdd/providers/java'

 

I thought it was because I would have to make a custom serializer for the cachedrowset, which
I didn't feel like doing, so I said to heck with it, and I'll just change it back.  After
taking the <beanMapping> tag back out, I tried to re-deploy the service, and low and
behold, the same thing.  

 

I am now unable to deploy or undeploy any services at all.  I have replaced all the axis jars
and started and restarted tomcat and I just keep getting this error.  Even re-started the
computer multiple times to no avail.

 

(using winxp, tomcat 4.0.4-b2 with axis beta 2)

 

Here is my wsdd:

 

<deployment xmlns="http://xml.apache.org/axis/wsdd/"

            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

            <service name="DatabaseService" provider="java:RPC">

                        <parameter name="className" value="Database"/>

                        <parameter name="allowedMethods" value="*"/>

            </service>

</deployment>

 

And here is the stack trace:

 

- Processing file C:\Apache\ApacheTomcat4.0\webapps\axis\WEB-INF\MFactFunctions\UnDeploy.wsdd

- AxisFault: AxisFault

 faultCode: http://xml.apache.org/axis/:Server.userException

 faultString: org.apache.axis.deployment.wsdd.WSDDException: java.lang.ClassNotFoundException:
Found

 languageSpecificType namespace '', expected 'http://xml.apache.org/axis/wsdd/providers/java'

 faultActor: null

 faultDetail:

        stackTrace: org.apache.axis.deployment.wsdd.WSDDException: java.lang.ClassNotFoundException:

 Found languageSpecificType namespace '', expected 'http://xml.apache.org/axis/wsdd/providers/java'

        at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(Unknown Source)

        at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(Unknown Source)

        at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(Unknown Source)

        at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(Unknown Source)

        at org.apache.axis.deployment.wsdd.WSDDDeployment.getService(Unknown Source)

        at org.apache.axis.configuration.FileProvider.getService(Unknown Source)

        at org.apache.axis.AxisEngine.getService(Unknown Source)

        at org.apache.axis.MessageContext.setTargetService(Unknown Source)

        at org.apache.axis.handlers.http.URLMapper.invoke(Unknown Source)

        at org.apache.axis.strategies.InvocationStrategy.visit(Unknown Source)

        at org.apache.axis.SimpleChain.doVisiting(Unknown Source)

        at org.apache.axis.SimpleChain.invoke(Unknown Source)

        at org.apache.axis.server.AxisServer.invoke(Unknown Source)

        at org.apache.axis.transport.http.AxisServlet.doPost(Unknown Source)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j

ava:247)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

 

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)

        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)

        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

        at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)

        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)

        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)

        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)

        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)

        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

        at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1017)

        at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1115)

        at java.lang.Thread.run(Thread.java:484)

 

I can't figure it out.  I really do not want to re-install tomcat, again.

 

Newman

 


Mime
View raw message