I've created JIRA 2187. It looks like it's the 

ConfigurationContextFactory.createConfigurationContextFromFileSystem(
null, null);

call wich causes the problem. I've tried to download the official 1.1.1
release, but a class is missing. Any idea?


Thanks,
Michele


SEVERE: org.apache.axis2.engine.RequestURIOperationDispatcher; nested
exception is:
        java.lang.ClassNotFoundException:
org.apache.axis2.engine.RequestURIOperationDispatcher
org.apache.axis2.deployment.DeploymentException:
org.apache.axis2.engine.RequestURIOperationDispatcher; nested exception
is:
        java.lang.ClassNotFoundException:
org.apache.axis2.engine.RequestURIOperationDispatcher
        at
org.apache.axis2.deployment.util.Utils.loadHandler(Utils.java:92)
        at
org.apache.axis2.deployment.AxisConfigBuilder.processPhaseList(AxisConfigBuilder.java:264)
        at
org.apache.axis2.deployment.AxisConfigBuilder.processPhaseOrders(AxisConfigBuilder.java:292)
        at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:107)
        at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:690)
        at
org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(WarBasedAxisConfigurator.java:129)
        at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:392)
        at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:331)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
        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.deployWAR(HostConfig.java:809)
        at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
        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(LifecycleSupport.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:450)
        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(DelegatingMethodAccessorImpl.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.ClassNotFoundException:
org.apache.axis2.engine.RequestURIOperationDispatcher
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:164)
        at org.apache.axis2.util.Loader.loadClass(Loader.java:158)
        at org.apache.axis2.util.Loader.loadClass(Loader.java:130)
        at
org.apache.axis2.deployment.util.Utils.loadHandler(Utils.java:87)
        ... 33 more



On Thu, 2007-02-15 at 12:21 +0530, Deepal Jayasinghe wrote:
> Hi  Michele ;
> 
> Pls create a JIRA and attach both client and service code.
> 
> Thanks
> Deepal
> 
> >Hi all,
> >
> >after updating to the last nightly build (my previous version was quite
> >outdated) I've found out this error:
> >
> >     [java] ERROR Repository:initRepository Unable to send the set of
> >services to the router: HTTP Transport error: '400' - 'Bad Request';
> >nested exception is:
> >     [java]     org.apache.axis2.AxisFault: HTTP Transport error: '400'
> >- 'Bad Request'; nested exception is:
> >     [java]     org.apache.axis2.AxisFault: HTTP Transport error: '400'
> >- 'Bad Request'; nested exception is:
> >     [java]     org.apache.axis2.AxisFault: HTTP Transport error: '400'
> >- 'Bad Request'
> >     [java] ERROR: Unable to send the set of services to the router:
> >HTTP Transport error: '400' - 'Bad Request'; nested exception is:
> >     [java]     org.apache.axis2.AxisFault: HTTP Transport error: '400'
> >- 'Bad Request'; nested exception is:
> >     [java]     org.apache.axis2.AxisFault: HTTP Transport error: '400'
> >- 'Bad Request'; nested exception is:
> >     [java]     org.apache.axis2.AxisFault: HTTP Transport error: '400'
> >- 'Bad Request'
> >     [java] ERROR Repository:initRepository org.apache.axis2.AxisFault:
> >HTTP Transport error: '400' - 'Bad Request'; nested exception is:
> >     [java]     org.apache.axis2.AxisFault: HTTP Transport error: '400'
> >- 'Bad Request'; nested exception is:
> >     [java]     org.apache.axis2.AxisFault: HTTP Transport error: '400'
> >- 'Bad Request'; nested exception is:
> >     [java]     org.apache.axis2.AxisFault: HTTP Transport error: '400'
> >- 'Bad Request'
> >     [java]     at
> >org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:219)
> >     [java]     at
> >org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:526)
> >     [java]     at
> >org.apache.axis2.description.OutOnlyAxisOperationClient.execute(OutOnlyAxisOperation.java:250)
> >     [java]     at
> >ncl.qosp.codestore.SOAPHelper.sendAddedServiceMsg(SOAPHelper.java:125)
> >     [java]     at
> >ncl.qosp.codestore.Repository.initRepository(Repository.java:92)
> >     [java]     at
> >ncl.qosp.codestore.socket.CodestoreServer.run(CodestoreServer.java:296)
> >     [java]     at java.lang.Thread.run(Thread.java:595)
> >     [java] Caused by: org.apache.axis2.AxisFault: HTTP Transport error:
> >'400' - 'Bad Request'; nested exception is:
> >     [java]     org.apache.axis2.AxisFault: HTTP Transport error: '400'
> >- 'Bad Request'
> >     [java]     at
> >org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:321)
> >     [java]     at
> >org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:196)
> >     [java]     ... 6 more
> >     [java] Caused by: org.apache.axis2.AxisFault: HTTP Transport error:
> >'400' - 'Bad Request'
> >     [java]     at
> >org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:130)
> >     [java]     at
> >org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:311)
> >     [java]     ... 7 more
> >     [java]
> >     [java] ERROR: org.apache.axis2.AxisFault: HTTP Transport error:
> >'400' - 'Bad Request'; nested exception is:
> >     [java]     org.apache.axis2.AxisFault: HTTP Transport error: '400'
> >- 'Bad Request'; nested exception is:
> >     [java]     org.apache.axis2.AxisFault: HTTP Transport error: '400'
> >- 'Bad Request'; nested exception is:
> >     [java]     org.apache.axis2.AxisFault: HTTP Transport error: '400'
> >- 'Bad Request'
> >     [java]     at
> >org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:219)
> >     [java]     at
> >org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:526)
> >     [java]     at
> >org.apache.axis2.description.OutOnlyAxisOperationClient.execute(OutOnlyAxisOperation.java:250)
> >     [java]     at
> >ncl.qosp.codestore.SOAPHelper.sendAddedServiceMsg(SOAPHelper.java:125)
> >     [java]     at
> >ncl.qosp.codestore.Repository.initRepository(Repository.java:92)
> >     [java]     at
> >ncl.qosp.codestore.socket.CodestoreServer.run(CodestoreServer.java:296)
> >     [java]     at java.lang.Thread.run(Thread.java:595)
> >     [java] Caused by: org.apache.axis2.AxisFault: HTTP Transport error:
> >'400' - 'Bad Request'; nested exception is:
> >     [java]     org.apache.axis2.AxisFault: HTTP Transport error: '400'
> >- 'Bad Request'
> >     [java]     at
> >org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:321)
> >     [java]     at
> >org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:196)
> >     [java]     ... 6 more
> >     [java] Caused by: org.apache.axis2.AxisFault: HTTP Transport error:
> >'400' - 'Bad Request'
> >     [java]     at
> >org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:130)
> >     [java]     at
> >org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:311)
> >     [java]     ... 7 more
> >
> >
> >The error happens on the OperationClient.execute(true) call. The used
> >code is:
> >Options options = new Options();
> >             options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
> >             
> >ServiceClient sender = new ServiceClient();
> >EndpointReference managerEPR = 
> >     new EndpointReference(System.getProperty("qosp.manager.epr"));
> >     
> >             
> >OperationClient mepClient =
> >sender.createClient(ServiceClient.ANON_OUT_ONLY_OP); 
> >mepClient.setOptions(options);
> >     
> >SOAPEnvelope env = createEnvelope(addedServices);
> >     
> >MessageContext ctx = new MessageContext();
> >ctx.setEnvelope(env);                
> >ctx.setWSAAction(ActionConstants.ADD_SERVICE_ACTION);
> >ctx.setTo(managerEPR);                       
> >             
> >mepClient.addMessageContext(ctx);
> >mepClient.execute(true);
> >mepClient.complete(ctx);
> >
> >
> >
> >
> >createEnvelope() does the following:
> >
> >private static final SOAPEnvelope createEnvelope(final Set<String>
> >addedServices) {
> >     SOAPEnvelope env = factory.createSOAPEnvelope();
> >     SOAPHeader header = factory.createSOAPHeader();
> >     SOAPHeaderBlock block = factory.createSOAPHeaderBlock(
> >     SOAPHeaderConstants.ELEM_QOSP_HEADER_BLOCK, omNs);
> >     OMElement type = factory.createOMElement(
> >     SOAPHeaderConstants.ELEM_MESSAGE_TYPE, omNs);
> >     type.setText(MessageType.NEW_SERVICE.value());
> >             
> >     block.addChild(type);
> >     header.addChild(block);
> >             
> >     SOAPBody body = factory.createSOAPBody();
> >     OMElement method =      
> > factory.createOMElement(SOAPConstants.ADD_SERVICE,
> >omNs);
> >             
> >     // Adds all services specified as method argument
> >     for (Iterator<String> i = addedServices.iterator(); i.hasNext(); ) {
> >             OMElement value1 = factory.createOMElement("name", omNs);
> >             value1.addChild(factory.createOMText(i.next()));
> >             method.addChild(value1);
> >     }               
> >             
> >     body.addChild(method);
> >             
> >     env.addChild(header);
> >     env.addChild(body);
> >             
> >     return env;
> >}    //-- createEnvelope()
> >
> >
> >Everything used to work fine and I didn't make any change to this code.
> >Any idea?
> >
> >
> >Thanks,
> >Michele
> >             
> >
> >
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >  
> >
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to