Hi ,
I am using tomcat-5.5, serviceMix3.2.2 version and working on
servicemix-cxf-bc. In servicemix.xml CXF-BC consumer was configured with
locationURI.
I defined the cxf-bc and cxf-se components in the srevicemix.xml
At fisrt I specified mistakenly the wrong locationURI where no service is
running as below
locationURI=http://circuitdev:8080/circuit/services/circuitSearch
And I got the below exeception. Realized that locationURI is wrong, set the URI
as below and restarted the tomcat.
locationURI=http://localhost:8080/apache-servicemix-web-3.2.2/services/circuitSearch
Tomcat is running on 8080 port. After restart the following are the facts
1) Not able to access Tomcat console using http://localhost:8080
2) Not able to access servicemix-web console
http://localhost:8080/apache-servicemix-web-3.2.2
3) Able to view the WSDL file using the link
http://localhost:8080/apache-servicemix-web-3.2.2/services/circuitSearch?wsdl
4) And also found the same exception as shown below on system console
5) Tested the web service and it is working fine.
Stack from system console is as below
SEVERE: EXCEPTION
java.lang.ClassCastException: org.apache.cxf.transport.jbi.JBIDestination
at
org.apache.servicemix.cxfbc.ListServiceHandler.handle(ListServiceHandler.java:80)
at org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:324)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
Aug 12, 2008 8:58:34 AM sun.reflect.NativeMethodAccessorImpl invoke0
Can you please help on why I am not able to access the ServiceMix-web console?
When tried I am getting the below on the screen
HTTP ERROR: 404
NOT_FOUND
RequestURI=/apache-servicemix-web-3.2.2
Powered by jetty://
Thanks
Babu