axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-1587) java UnsupportedOperationException when deploying multiple services in the same wsdl/.aar
Date Thu, 02 Nov 2006 17:39:17 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-1587?page=comments#action_12446663 ] 
            
Davanum Srinivas commented on AXIS2-1587:
-----------------------------------------

I fixed one liner problem in svn revision 470438. We pick up only one service from a wsdl,
so, please split SimpleServices.wsdl into 2 wsdl's one for Service1 and one for Service2 for
now, till we fix this.

thanks,
dims

> java UnsupportedOperationException when deploying multiple services in the same wsdl/.aar
> -----------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1587
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1587
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.1
>         Environment: Axis2 RC2
> Tomcat 5.5.17
>            Reporter: Gul Onural
>            Priority: Blocker
>         Attachments: ServiceGroupDeployProblem.zip
>
>
> I have a wsdl file containing multiple services. When I deploy the .aar file to Tomcat,
I am getting following
> exception. The attachemnt (ServiceGroupDeployProblem.zip) can be used to reproduce the
problem.
> Gul 
> 2006-11-02 11:38:25,352 ERROR org.apache.axis2.deployment.DeploymentEngine - Inv
> alid service  SimpleServices.aar due to In valid acess; nested exception is:
>         java.lang.UnsupportedOperationException: In valid acess
> org.apache.axis2.deployment.DeploymentException: In valid acess; nested exceptio
> n is:
>         java.lang.UnsupportedOperationException: In valid acess
>         at org.apache.axis2.deployment.repository.util.ArchiveReader.processServ
> iceGroup(ArchiveReader.java:124)
>         at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngin
> e.java:528)
>         at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoL
> ist.java:196)
>         at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListe
> ner.java:227)
>         at org.apache.axis2.deployment.RepositoryListener.checkServices(Reposito
> ryListener.java:174)
>         at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentE
> ngine.java:88)
>         at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(War
> BasedAxisConfigurator.java:252)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
> ionContext(ConfigurationContextFactory.java:72)
>         at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisSer
> vlet.java:373)
>         at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:317
> )
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
> java:1105)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:93
> 2)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
> t.java:3917)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 201)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:759)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
> 9)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
> a:904)
>         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
> ava:867)
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474
> )
>         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
> :310)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
> eSupport.java:119)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442
> )
>         at org.apache.catalina.core.StandardService.start(StandardService.java:4
> 50)
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:709
> )
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> Caused by: java.lang.UnsupportedOperationException: In valid acess
>         at org.apache.axis2.description.InOnlyAxisOperation.getMessage(InOnlyAxi
> sOperation.java:98)
>         at org.apache.axis2.deployment.ServiceBuilder.processOperations(ServiceB
> uilder.java:567)
>         at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBui
> lder.java:257)
>         at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(
> ServiceGroupBuilder.java:96)
>         at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServic
> eGroup(ArchiveReader.java:84)
>         at org.apache.axis2.deployment.repository.util.ArchiveReader.processServ
> iceGroup(ArchiveReader.java:118)
>         ... 35 more
> 2006-11-02 11:38:25,633 INFO  org.apache.axis2.deployment.DeploymentEngine - Dep
> loying Web service  version.aar
> Nov 2, 2006 11:38:26 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Nov 2, 2006 11:38:26 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Nov 2, 2006 11:38:26 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/60  config=null
> Nov 2, 2006 11:38:26 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Nov 2, 2006 11:38:26 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 4588 ms

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message