camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: Camel Cxf example. Jetty Server starting while JBoss already Running
Date Fri, 17 Sep 2010 06:20:15 GMT
On 9/17/10 5:27 AM, Indu wrote:
>
> Hi Team,
>
>   I have a simple Camel CXF example running, which is based from the Camel In
> Action examples provided.
>
>   I am able to build and run successfully. But here is the problem I am
> coming across.
>
>   I am building the war and then deploying in the JBoss AS which is running
> at localhost:8080. But meanwhile even Jetty server is strating up and
> creating the Bind problems and causing :
>
> HTTP ERROR: 404
>
> Problem accessing /camel-cxf/index.jsp. Reason:
>
>      NOT_FOUND
>
> Powered by Jetty://
>
>
> Now except for my wsdl, nothing comes up.
>
> For example:
> I get the following one fine.
> http://localhost:8080/camel-cxf/web-services/order?wsdl
>
> But when I try to access all the reaming pages like;
> http://localhost:8080/camel-cxf/index.jsp
> http://localhost:8080/
>
> I get the following error.
> HTTP ERROR:
> Problem accessing /camel-cxf/index.jsp. Reason:
>
>      NOT_FOUND
>
> Powered by Jetty://
>
>
> My question:
> How do I avoid Jetty to start the server along with the webservice, when my
> Jboss is already running?
>

>
> I was thinking the import statement is causing the jetty to run, when when I
> take it off, I am getting errors.
>
>   <import resource="classpath:META-INF/cxf/cxf-extension-http-jetty.xml"/>
>
>
You need to take a look the user guide of CXF servlet transport.
[1]http://cxf.apache.org/docs/servlet-transport.html

Then you can do the same thing on the camel-cxf endpoint.

Willem
>
>


Mime
View raw message