You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Omar Atia <om...@its.ws> on 2011/11/12 02:00:42 UTC
RE: Error while deploying Camel routers on ServiceMix...
Dears,,,
I just have question , why servicemix is asking for more dependencies than the one in the local repository which I can use mvn camel:run and it runs successfully .
2nd I need to know how to add local repository successfully under etc/org.ops4j.pax.url.mvn.cfg , how to write the paths for settings.xml and local rep on windows machine.
I'm using JDK 1.6 , I have removed the code that call the below package.
C:\pcrf\Servicemix\apache-servicemix-4.4.1-fuse-01-06\bin>java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing)
3rd , I'm getting a lot of missing packages shall I install one by one , I'm really going crazy.
Appreciate your feedback,,
Thanks,
Omar Atia
-----Original Message-----
From: Jean-Baptiste Onofré [mailto:jb@nanthrax.net]
Sent: Saturday, November 12, 2011 12:53 AM
To: users@camel.apache.org:
Subject: Re: Error while deploying Camel on ServiceMix...
Hi Omar,
could you check the JDK that you use (sure to use JDK 1.6 ? not OpenJDK
or Java 7 ?) ?
Thanks
Regards
JB
On 11/11/2011 10:03 PM, Omar Atia wrote:
> Dears,
>
> While deploying camel application as bundle on servicemix , I got the following :
>
> karaf@root> osgi:install -s mvn:org.apache.camel/Fuse-router/2.8.0
> Error executing command: Unresolved constraint in bundle Fuse-router [243]: Unable to resolve 243.0: missing requirement [243.0] package; (package=com.sun.net.ssl.internal.ssl)
>
> I have added com.sun.net.ssl.internal.ssl in jre.proporties in etc/ jre.properties as follows in servicemix4.4.1:
>
> com.sun.org.apache.xerces.internal.xni, \
> com.sun.jndi.ldap, \
> com.sun.net.ssl.internal.ssl, \
> javax.accessibility, \
>
> and it didn't work I already have JDK 1.6 installed in the system !
>
> Hope someone can help me !?
>
> Thanks,
> Omar Atia
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com