Hi,
I have asked a question of the camel be used in osgi.The information is
camel-osgi.jar/camel-spring-osgi.jar not detected in classpath.I was used
camel-2.3 then.But now i use camel-2.4,the problem also occur.
List my runtime environment:
IDE:Eclipse 3.5.2
Osgi framework:1.3.0
Spring framework:3.0.2
Camel framework:2.4( 2.3 at one time )
Apache another components
my Operation:
1.Create a bundle use Eclipse( Standard osgi )
2.Import Plugin( Spring, apache another components )
3.create a dir in the project, named 'lib'
4.copy camel-core-2.4.jar, camel-spring-2.4.jar, camel-ognl-2.4.jar and
ognl-osgi.jar to 'lib'
5.In 'MANIFEST.MF', import those jars to ClassPath.
6.Set another resources
7.Run osgi
8.Check console information, discover the information
'camel-osgi.jar/camel-spring-osgi.jar not detected in classpath'
9.Discover some Exceptions, for example
'org.apache.camel.impl.DefaultPackageScanClassResolver - Cannot read
entries in url:
bundleresource://6.fwk25724761:8/org/apache/camel/component/file/
java.io.FileNotFoundException: \org\apache\camel\component\file (The system
cannot find the path specified)'
What is the cause of the problem?How can solve it?I have asked the question
three times.
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-used-in-osgi-tp3234118p3234118.html
Sent from the Camel - Users mailing list archive at Nabble.com.