Hi,

What servicemix version you're using?
Freeman
On 2011-1-19, at 上午12:26, razib wrote:


Hi servicemix users,
I was running ServiceMix Bridge Example. When I run the client.html and on
the box the following code (http://localhost:8192/bridge/)
<?xml version="1.0" encoding="UTF-8"?>
<e:Envelope xmlns:e="http://schemas.xmlsoap.org/soap/envelope/";>
 <e:Body>
   <ping>
     <pingRequest>
       <message xmlns="http://soap";>hel lo</message>
     </pingRequest>
   </ping>
 </e:Body>
</e:Envelope>

When I clicked on "send" , I get the following error message

STATUS: 500
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>Error 500 class path resource [bridge.xslt] cannot be opened because
it does not exist</title>
</head>
<body><h2>HTTP ERROR 500</h2>
<p>Problem accessing /bridge/. Reason:
<pre> class path resource [bridge.xslt] cannot be opened because it does not exist</pre></p><h3>Caused by:</ h3><pre>java.io.FileNotFoundException: class path resource [bridge.xslt] cannot be opened because it does not exist
        at
org .springframework .core.io.ClassPathResource.getInputStream(ClassPathResource.java:143)
        at
org.apache.servicemix.saxon.SaxonEndpoint.parse(SaxonEndpoint.java: 293)
        at
org .apache .servicemix.saxon.XsltEndpoint.createXsltSource(XsltEndpoint.java:148)
        at
org .apache .servicemix.saxon.XsltEndpoint.getXsltSource(XsltEndpoint.java:135)
        at
org .apache .servicemix.saxon.XsltEndpoint.createTemplates(XsltEndpoint.java:165)
        at
org .apache.servicemix.saxon.XsltEndpoint.getTemplates(XsltEndpoint.java: 156)
        at
org .apache .servicemix.saxon.XsltEndpoint.createTransformer(XsltEndpoint.java: 188) at org.apache.servicemix.saxon.XsltEndpoint.transform(XsltEndpoint.java: 99)
        at
org .apache .servicemix.saxon.SaxonEndpoint.processInOut(SaxonEndpoint.java:237)
        at
org .apache .servicemix .common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:111)
        at
org .apache .servicemix .common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:627)
        at
org .apache .servicemix .common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java: 581)
        at
org .apache .servicemix .common .AsyncBaseLifeCycle.processExchangeInTx(AsyncBaseLifeCycle.java:478)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle $2.run(AsyncBaseLifeCycle.java:347)
        at
java .util .concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at
java.util.concurrent.ThreadPoolExecutor $Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)
</pre>
<hr /><small>Powered by Jetty://</small>


Does someone have any idea what is causing the problem?
--
View this message in context: 
http://servicemix.396122.n5.nabble.com/ServiceMix-Bridge-Example-bridge-xslt-FileNotFoundException-tp3346420p3346420.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


--
Freeman Fang

------------------------

FuseSource: http://fusesource.com
blog: http://freemanfang.blogspot.com
twitter: http://twitter.com/freemanfang
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org

Reply via email to