You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Jack Jack <sm...@yahoo.com> on 2008/08/15 21:31:30 UTC

ServiceMix-3.2.2 - class cast exception for JBIDestination

Hi 
I am posting the below message again for the help on this issue.
I am getting the class cast exception after configuring CXF-BC component using light weight mode in servicemix.xml with location uri
 
 please help
 
Thanks
Rao


--- On Tue, 8/12/08, Jack Jack <sm...@yahoo.com> wrote:

From: Jack Jack <sm...@yahoo.com>
Subject: ServiceMix-3.2.2 - not able to access serviceMix web console after deploying cxf-bc consumer
To: "Users ServiceMix" <us...@servicemix.apache.org>
Date: Tuesday, August 12, 2008, 2:12 PM






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: 404NOT_FOUND
RequestURI=/apache-servicemix-web-3.2.2
Powered by jetty://
 
 
 
 
Thanks
Babu