axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samir shaikh <aquasa...@yahoo.com>
Subject Re: spring with aop problem
Date Sun, 17 Feb 2008 00:45:45 GMT
Upendra,

I'm having the same problem also and have filed a bug
with the Axis team on this.

The way you can get around at the moment is by
declaring a ServiceClass in the services.xml. 

I've not been able to get the proxy-d bean loaded but
the error goes away.

Sorry, not complete solution I know of yet.

Samir

--- Upendra Moturi <upendra.m@securegrid.net> wrote:

> Hi all,
> 
> when i am configuring spring and axis2 with aop iam
> getting the following
> error.
> 
> org.apache.axis2.deployment.DeploymentException: The
> following error
> occurred during schema generation: Unable to load
> bytecode for class $Proxy0
>     at
>
org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(
> ServiceGroupBuilder.java:106)
>     at
>
org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(
> ArchiveReader.java:103)
>     at
>
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup
> (ArchiveReader.java:172)
>     at
> org.apache.axis2.deployment.ServiceDeployer.deploy(
> ServiceDeployer.java:78)
>     at
>
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy
> (DeploymentFileData.java:137)
>     at
>
org.apache.axis2.deployment.DeploymentEngine.doDeploy(
> DeploymentEngine.java:571)
>     at
>
org.apache.axis2.deployment.repository.util.WSInfoList.update(
> WSInfoList.java:141)
>     at
>
org.apache.axis2.deployment.RepositoryListener.update(
> RepositoryListener.java:318)
>     at
>
org.apache.axis2.deployment.RepositoryListener.checkServices(
> RepositoryListener.java:220)
>     at
>
org.apache.axis2.deployment.DeploymentEngine.loadServices(
> DeploymentEngine.java:118)
>     at
>
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(
> WarBasedAxisConfigurator.java:272)
>     at
>
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
> (ConfigurationContextFactory.java:78)
>     at
>
org.apache.axis2.transport.http.AxisServlet.initConfigContext(
> AxisServlet.java:500)
>     at
>
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java
> :420)
>     at
>
org.apache.catalina.core.StandardWrapper.loadServlet(
> StandardWrapper.java:1091)
>     at
>
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java
> :925)
>     at
>
org.apache.catalina.core.StandardContext.loadOnStartup(
> StandardContext.java:3857)
>     at
>
org.apache.catalina.core.StandardContext.start(StandardContext.java
> :4118)
>     at
>
org.apache.catalina.core.ContainerBase.addChildInternal(
> ContainerBase.java:759)
>     at
>
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
> :739)
>     at
>
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>     at
>
org.apache.catalina.startup.HostConfig.deployDirectory(
> HostConfig.java:894)
>     at
>
org.apache.catalina.startup.HostConfig.deployDirectories(
> HostConfig.java:857)
>     at
>
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
> :475)
>     at
>
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
>     at
>
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
> :311)
>     at
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> LifecycleSupport.java:119)
>     at
>
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
>     at
>
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>     at
>
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
>     at
>
org.apache.catalina.core.StandardEngine.start(StandardEngine.java
> :442)
>     at
>
org.apache.catalina.core.StandardService.start(StandardService.java
> :450)
>     at
>
org.apache.catalina.core.StandardServer.start(StandardServer.java
> :683)
>     at
>
org.apache.catalina.startup.Catalina.start(Catalina.java:537)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
>     at
> java.lang.reflect.Method.invoke(Method.java:585)
>     at
>
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
>     at
>
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
> 
> 
> I am able to run the application without aop defined
> in
> applicationcontext.xml
> 
> Please say me what i am missing
> 
> Thanks in advance
> 
> 
> Thanks and regards,
> Upendra
> 



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message