geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Could not load java type
Date Sat, 03 Jun 2006 02:04:31 GMT
The only time I've seen errors like this is when the class that can't  
be loaded isn't actually in the application.  IIRC this has happened  
to me from packaging changes where the class just gets left out, and  
from capitalization errors in jaxrpc mapping files where one hard to  
spot character was a different case from the actual class name.  If  
these aren't the problem I'm pretty much out of ideas unless you  
could supply the artifact to try to deploy.

Hope this helps,
david jencks

On Jun 2, 2006, at 5:36 PM, Clough, Ray C PWR wrote:

> Today, all the web services I've rebuilt fail to deploy with the  
> following error message:
>
>  'Could not load java type
> com.allthisisthat.apothegm.service.ApothegmServiceIf_putApothegm_Respo 
> nseStruct'
>
> These services all built and deployed before.  I believe that I'm  
> doing everything the same.  I use the 'wscompile' tool to build the  
> WSDL from the interface.  I build the service with Ant.  The WS is  
> extremely simple, passing a String at most.  I am mystified.  Any  
> suggestions?  You've probably seen this a thousand times before,  
> but it is new to me.  I get the following exception trace:
>
>
> org.apache.geronimo.common.DeploymentException: Could not load java  
> type
>         at  
> org.apache.geronimo.axis.builder.HeavyweightTypeInfoBuilder.buildTypeI 
> nfo(HeavyweightTypeInfoBuilder.java:147)
>
>         at  
> org.apache.geronimo.axis.builder.AxisServiceBuilder.createServiceDesc( 
> AxisServiceBuilder.java:144)
>         at  
> org.apache.geronimo.axis.builder.AxisServiceBuilder.createServiceInfo( 
> AxisServiceBuilder.java:73)
>         at  
> org.apache.geronimo.axis.builder.AxisBuilder.configurePOJO 
> (AxisBuilder.java:111)
>         at org.apache.geronimo.axis.builder.AxisBuilder$ 
> $FastClassByCGLIB$$16a52a9a.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at  
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke 
> (FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
> (GBeanOperation.java:118)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
> (GBeanInstance.java:800)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke 
> (RawInvoker.java:57)
>         at  
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke 
> (RawOperationInvoker.java:36)
>         at  
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept 
> (ProxyMethodInterceptor.java:96)
>         at org.apache.geronimo.j2ee.deployment.WebServiceBuilder$ 
> $EnhancerByCGLIB$$6b353e8.configurePOJO(<generated>)
>         at  
> org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.configurePOJ 
> O(TomcatModuleBuilder.java:934)
>         at  
> org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans 
> (TomcatModuleBuilder.java:508)
>         at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder 
> $$FastClassByCGLIB$$6f85ec2c.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at  
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke 
> (FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
> (GBeanOperation.java:118)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
> (GBeanInstance.java:800)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke 
> (RawInvoker.java:57)
>         at  
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke 
> (RawOperationInvoker.java:36)
>         at  
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept 
> (ProxyMethodInterceptor.java:96)
>         at org.apache.geronimo.j2ee.deployment.ModuleBuilder$ 
> $EnhancerByCGLIB$$a2044c5.addGBeans(<generated>)
>         at  
> org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans 
> (SwitchingModuleBuilder.java:160)
>         at  
> org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder$ 
> $FastClassByCGLIB$$d0c31844.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at  
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke 
> (FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
> (GBeanOperation.java:118)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
> (GBeanInstance.java:800)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke 
> (RawInvoker.java:57)
>         at  
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke 
> (RawOperationInvoker.java:36)
>         at  
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept 
> (ProxyMethodInterceptor.java:96)
>         at org.apache.geronimo.j2ee.deployment.ModuleBuilder$ 
> $EnhancerByCGLIB$$a2044c5.addGBeans(<generated>)
>         at  
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguratio 
> n(EARConfigBuilder.java:402)
>         at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$ 
> $FastClassByCGLIB$$38e56ec6.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at  
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke 
> (FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
> (GBeanOperation.java:118)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
> (GBeanInstance.java:800)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke 
> (RawInvoker.java:57)
>         at  
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke 
> (RawOperationInvoker.java:36)
>         at  
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept 
> (ProxyMethodInterceptor.java:96)
>         at org.apache.geronimo.deployment.ConfigurationBuilder$ 
> $EnhancerByCGLIB$$160d4d37.buildConfiguration(<generated>)
>
>         at org.apache.geronimo.deployment.Deployer.deploy 
> (Deployer.java:269)
>         at org.apache.geronimo.deployment.Deployer.deploy 
> (Deployer.java:102)
>         at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB 
> $$734a235d.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at  
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke 
> (FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
> (GBeanOperation.java:118)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
> (GBeanInstance.java:835)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke 
> (BasicKernel.java:178)
>         at  
> org.apache.geronimo.console.configmanager.DeploymentPortlet.processAct 
> ion(DeploymentPortlet.java:112)
>         at org.apache.pluto.core.PortletServlet.dispatch 
> (PortletServlet.java:229)
>         at org.apache.pluto.core.PortletServlet.doPost 
> (PortletServlet.java:163)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java: 
> 615)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java: 
> 688)
>         at org.apache.pluto.core.PortletServlet.service 
> (PortletServlet.java:153)
>         at  
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter 
> (ApplicationFilterChain.java:252)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter 
> (ApplicationFilterChain.java:173)
>         at org.apache.catalina.core.ApplicationDispatcher.invoke 
> (ApplicationDispatcher.java:672)
>         at org.apache.catalina.core.ApplicationDispatcher.doInclude 
> (ApplicationDispatcher.java:574)
>         at org.apache.catalina.core.ApplicationDispatcher.include 
> (ApplicationDispatcher.java:499)
>         at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke 
> (PortletInvokerImpl.java:120)
>         at org.apache.pluto.invoker.impl.PortletInvokerImpl.action 
> (PortletInvokerImpl.java:68)
>         at  
> org.apache.pluto.PortletContainerImpl.processPortletAction 
> (PortletContainerImpl.java:164)
>         at  
> org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processPo 
> rtletAction(PortletContainerWrapperImpl.java:82)
>
>         at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227)
>         at org.apache.pluto.portalImpl.Servlet.doPost(Servlet.java: 
> 267)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java: 
> 615)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java: 
> 688)
>         at  
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter 
> (ApplicationFilterChain.java:252)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter 
> (ApplicationFilterChain.java:173)
>         at org.apache.catalina.core.StandardWrapperValve.invoke 
> (StandardWrapperValve.java:213)
>         at org.apache.catalina.core.StandardContextValve.invoke 
> (StandardContextValve.java:178)
>         at  
> org.apache.catalina.authenticator.AuthenticatorBase.invoke 
> (AuthenticatorBase.java:482)
>         at org.apache.geronimo.tomcat.GeronimoStandardContext 
> $SystemMethodValve.invoke(GeronimoStandardContext.java:272)
>
>         at  
> org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke 
> (DefaultSubjectValve.java:46)
>         at  
> org.apache.geronimo.tomcat.valve.PolicyContextValve.invoke 
> (PolicyContextValve.java:50)
>         at  
> org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke 
> (TransactionContextValve.java:53)
>         at  
> org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke 
> (ComponentContextValve.java:47)
>         at  
> org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke 
> (InstanceContextValve.java:60)
>         at org.apache.catalina.core.StandardHostValve.invoke 
> (StandardHostValve.java:126)
>         at org.apache.catalina.valves.ErrorReportValve.invoke 
> (ErrorReportValve.java:105)
>         at org.apache.catalina.core.StandardEngineValve.invoke 
> (StandardEngineValve.java:107)
>         at org.apache.catalina.valves.AccessLogValve.invoke 
> (AccessLogValve.java:526)
>         at org.apache.catalina.connector.CoyoteAdapter.service 
> (CoyoteAdapter.java:148)
>         at org.apache.coyote.http11.Http11Processor.process 
> (Http11Processor.java:856)
>         at org.apache.coyote.http11.Http11Protocol 
> $Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
>         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket 
> (PoolTcpEndpoint.java:527)
>         at  
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt 
> (LeaderFollowerWorkerThread.java:80)
>         at org.apache.tomcat.util.threads.ThreadPool 
> $ControlRunnable.run(ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.ClassNotFoundException:  
> com.allthisisthat.apothegm.service.ApothegmServiceIf_putApothegm_Respo 
> nseStruct
>
>         at org.apache.geronimo.kernel.ClassLoading.loadClass 
> (ClassLoading.java:203)
>         at  
> org.apache.geronimo.axis.builder.HeavyweightTypeInfoBuilder.buildTypeI 
> nfo(HeavyweightTypeInfoBuilder.java:145)
>
>         ... 92 more
>
> Thanks,
> Ray Clough
>
>


Mime
View raw message