You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by somya singhal <28...@gmail.com> on 2012/06/18 15:12:28 UTC
Issue regarding net connection after editing settings.xml file
Hello
The problem i am facing is that i have edited the settings.xml file under
the path ..\apache-maven-3.0.4\conf and still i could not connect to the
internet.I have redirected my apache karaf to use maven sttings.xml file
for connection to internet.I have edited the settings.xml file by changing
the tag proxy settings specifying my host and port id.Still i can not
connect to the internet.Can anyone please sort out the reason for this?
Somya Singhal
Btech(3rd year)
IIT ROORKEE
Re: Issue regarding net connection after editing settings.xml file
Posted by somya singhal <28...@gmail.com>.
You can find both the files in the attachment.
On Mon, Jun 18, 2012 at 7:19 PM, Jean-Baptiste Onofr� <jb...@nanthrax.net>wrote:
> Could you share your settings.xml and org.ops4j.pax.url.mvn.cfg
> configuration files ?
>
> Thanks,
> Regards
> JB
>
>
> On 06/18/2012 03:45 PM, somya singhal wrote:
>
>> So,what is the alternative for this ? Should i use some other version of
>> apche karaf or try my hands on some other software as i have a project
>> on deploying a service in osgi container mixed with hadoop service.
>>
>> On Mon, Jun 18, 2012 at 7:06 PM, Jean-Baptiste Onofr� <jb@nanthrax.net
>> <ma...@nanthrax.net>> wrote:
>>
>> If your proxy is identified, we have issues (in Karaf 2.2.x)
>> supporting proxies.
>>
>> Regards
>> JB
>>
>>
>> On 06/18/2012 03:34 PM, somya singhal wrote:
>>
>> Yes ,i use proxy for connection to net.
>>
>> On Mon, Jun 18, 2012 at 6:44 PM, Jean-Baptiste Onofr�
>> <jb@nanthrax.net <ma...@nanthrax.net>
>> <mailto:jb@nanthrax.net <ma...@nanthrax.net>>> wrote:
>>
>> Hi Somya,
>>
>> do you use a proxy ?
>>
>> Regards
>> JB
>>
>>
>> On 06/18/2012 03:12 PM, somya singhal wrote:
>>
>> Hello
>>
>>
>> The problem i am facing is that i have edited the
>> settings.xml file
>> under the path ..\apache-maven-3.0.4\conf and still i
>> could not
>> connect
>> to the internet.I have redirected my apache karaf to use
>> maven
>> sttings.xml file for connection to internet.I have
>> edited the
>> settings.xml file by changing the tag proxy settings
>> specifying
>> my host
>> and port id.Still i can not connect to the internet.Can
>> anyone
>> please
>> sort out the reason for this?
>>
>>
>> Somya Singhal
>> Btech(3rd year)
>> IIT ROORKEE
>>
>>
>> --
>> Jean-Baptiste Onofr�
>> jbonofre@apache.org <ma...@apache.org>
>> <mailto:jbonofre@apache.org <ma...@apache.org>>
>>
>>
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>>
>>
>> --
>> Jean-Baptiste Onofr�
>> jbonofre@apache.org <ma...@apache.org>
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>>
>>
> --
> Jean-Baptiste Onofr�
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
Re: Issue regarding net connection after editing settings.xml file
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Could you share your settings.xml and org.ops4j.pax.url.mvn.cfg
configuration files ?
Thanks,
Regards
JB
On 06/18/2012 03:45 PM, somya singhal wrote:
> So,what is the alternative for this ? Should i use some other version of
> apche karaf or try my hands on some other software as i have a project
> on deploying a service in osgi container mixed with hadoop service.
>
> On Mon, Jun 18, 2012 at 7:06 PM, Jean-Baptiste Onofré <jb@nanthrax.net
> <ma...@nanthrax.net>> wrote:
>
> If your proxy is identified, we have issues (in Karaf 2.2.x)
> supporting proxies.
>
> Regards
> JB
>
>
> On 06/18/2012 03:34 PM, somya singhal wrote:
>
> Yes ,i use proxy for connection to net.
>
> On Mon, Jun 18, 2012 at 6:44 PM, Jean-Baptiste Onofré
> <jb@nanthrax.net <ma...@nanthrax.net>
> <mailto:jb@nanthrax.net <ma...@nanthrax.net>>> wrote:
>
> Hi Somya,
>
> do you use a proxy ?
>
> Regards
> JB
>
>
> On 06/18/2012 03:12 PM, somya singhal wrote:
>
> Hello
>
>
> The problem i am facing is that i have edited the
> settings.xml file
> under the path ..\apache-maven-3.0.4\conf and still i
> could not
> connect
> to the internet.I have redirected my apache karaf to use
> maven
> sttings.xml file for connection to internet.I have
> edited the
> settings.xml file by changing the tag proxy settings
> specifying
> my host
> and port id.Still i can not connect to the internet.Can
> anyone
> please
> sort out the reason for this?
>
>
> Somya Singhal
> Btech(3rd year)
> IIT ROORKEE
>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org <ma...@apache.org>
> <mailto:jbonofre@apache.org <ma...@apache.org>>
>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org <ma...@apache.org>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Issue regarding net connection after editing settings.xml file
Posted by somya singhal <28...@gmail.com>.
So,what is the alternative for this ? Should i use some other version of
apche karaf or try my hands on some other software as i have a project on
deploying a service in osgi container mixed with hadoop service.
On Mon, Jun 18, 2012 at 7:06 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:
> If your proxy is identified, we have issues (in Karaf 2.2.x) supporting
> proxies.
>
> Regards
> JB
>
>
> On 06/18/2012 03:34 PM, somya singhal wrote:
>
>> Yes ,i use proxy for connection to net.
>>
>> On Mon, Jun 18, 2012 at 6:44 PM, Jean-Baptiste Onofré <jb@nanthrax.net
>> <ma...@nanthrax.net>> wrote:
>>
>> Hi Somya,
>>
>> do you use a proxy ?
>>
>> Regards
>> JB
>>
>>
>> On 06/18/2012 03:12 PM, somya singhal wrote:
>>
>> Hello
>>
>>
>> The problem i am facing is that i have edited the settings.xml file
>> under the path ..\apache-maven-3.0.4\conf and still i could not
>> connect
>> to the internet.I have redirected my apache karaf to use maven
>> sttings.xml file for connection to internet.I have edited the
>> settings.xml file by changing the tag proxy settings specifying
>> my host
>> and port id.Still i can not connect to the internet.Can anyone
>> please
>> sort out the reason for this?
>>
>>
>> Somya Singhal
>> Btech(3rd year)
>> IIT ROORKEE
>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org <ma...@apache.org>
>>
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
Re: Issue regarding net connection after editing settings.xml file
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
If your proxy is identified, we have issues (in Karaf 2.2.x) supporting
proxies.
Regards
JB
On 06/18/2012 03:34 PM, somya singhal wrote:
> Yes ,i use proxy for connection to net.
>
> On Mon, Jun 18, 2012 at 6:44 PM, Jean-Baptiste Onofré <jb@nanthrax.net
> <ma...@nanthrax.net>> wrote:
>
> Hi Somya,
>
> do you use a proxy ?
>
> Regards
> JB
>
>
> On 06/18/2012 03:12 PM, somya singhal wrote:
>
> Hello
>
>
> The problem i am facing is that i have edited the settings.xml file
> under the path ..\apache-maven-3.0.4\conf and still i could not
> connect
> to the internet.I have redirected my apache karaf to use maven
> sttings.xml file for connection to internet.I have edited the
> settings.xml file by changing the tag proxy settings specifying
> my host
> and port id.Still i can not connect to the internet.Can anyone
> please
> sort out the reason for this?
>
>
> Somya Singhal
> Btech(3rd year)
> IIT ROORKEE
>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org <ma...@apache.org>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Issue regarding net connection after editing settings.xml file
Posted by somya singhal <28...@gmail.com>.
Yes ,i use proxy for connection to net.
On Mon, Jun 18, 2012 at 6:44 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:
> Hi Somya,
>
> do you use a proxy ?
>
> Regards
> JB
>
>
> On 06/18/2012 03:12 PM, somya singhal wrote:
>
>> Hello
>>
>>
>> The problem i am facing is that i have edited the settings.xml file
>> under the path ..\apache-maven-3.0.4\conf and still i could not connect
>> to the internet.I have redirected my apache karaf to use maven
>> sttings.xml file for connection to internet.I have edited the
>> settings.xml file by changing the tag proxy settings specifying my host
>> and port id.Still i can not connect to the internet.Can anyone please
>> sort out the reason for this?
>>
>>
>> Somya Singhal
>> Btech(3rd year)
>> IIT ROORKEE
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
Re: Issue regarding net connection after editing settings.xml file
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Somya,
do you use a proxy ?
Regards
JB
On 06/18/2012 03:12 PM, somya singhal wrote:
> Hello
>
>
> The problem i am facing is that i have edited the settings.xml file
> under the path ..\apache-maven-3.0.4\conf and still i could not connect
> to the internet.I have redirected my apache karaf to use maven
> sttings.xml file for connection to internet.I have edited the
> settings.xml file by changing the tag proxy settings specifying my host
> and port id.Still i can not connect to the internet.Can anyone please
> sort out the reason for this?
>
>
> Somya Singhal
> Btech(3rd year)
> IIT ROORKEE
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Issue regarding net connection after editing settings.xml file
Posted by Rajbir Saini <ra...@yahoo.com>.
From screen shot, it looks you are trying to deploy your bundle to
Maven Central and it is throwing authentication error. I am not Maven
expert but I think to deploy your bundles to repository, you will need
to configure that in your settings.xml file.
Try using "mvn install" goal to install the bundle to your local repository.
Thanks,
Raj
On Wednesday 20 June 2012 11:02 AM, somya singhal wrote:
> Again i am facing the problem to internet connection using proxy.I
> have attached the screenshot of the error which i got on deploying a
> bundle.
>
> On Mon, Jun 18, 2012 at 9:19 PM, Jean-Baptiste Onofré <jb@nanthrax.net
> <ma...@nanthrax.net>> wrote:
>
> No problem, we are here to share ;)
>
> Regards
> JB
>
>
> On 06/18/2012 05:47 PM, Rajbir Saini wrote:
>
> Thanks JB. I did not know this.
>
> Regards,
>
> Raj
>
> On Monday 18 June 2012 08:22 PM, Jean-Baptiste Onofré wrote:
>
> Hi Raj,
>
> it's not exact:
>
> - Karaf uses Pax URL which leverage Maven. It's able to use a
> settings.xml.
> - all URL (for instance, contained in
> org.apache.karaf.features.cfg
> file) are resolved by Pax URL.
> - org.ops4j.pax.url.mvn.cfg defines the default
> repositories set
>
> So, configuration like proxy could be defined in
> org.ops4J.pax.url.mvn.cfg and in settings.xml.
>
> Regards
> JB
>
> On 06/18/2012 04:46 PM, Rajbir Saini wrote:
>
> Somya,
>
> I do not think you need to change any thing to connect
> Karaf to
> Internet. Default settings should be good enough.
> Moreover, I do not
> think Karaf has any thing to do with the settings.xml
> in the Maven conf
> folder. As far as I know Karaf maven setttings are in
> {karaf.home}/etc/org.apache.karaf.features.cfg and
> {karaf.home}/etc/org.ops4j.pax.url.mvn.cfg
>
> Thanks,
>
> Raj
>
>
> On Monday 18 June 2012 06:42 PM, somya singhal wrote:
>
> Hello
>
>
> The problem i am facing is that i have edited the
> settings.xml file
> under the path ..\apache-maven-3.0.4\conf and
> still i could not
> connect to the internet.I have redirected my
> apache karaf to use maven
> sttings.xml file for connection to internet.I have
> edited the
> settings.xml file by changing the tag proxy
> settings specifying my
> host and port id.Still i can not connect to the
> internet.Can anyone
> please sort out the reason for this?
>
>
> Somya Singhal
> Btech(3rd year)
> IIT ROORKEE
>
>
>
>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org <ma...@apache.org>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
Re: Issue regarding net connection after editing settings.xml file
Posted by somya singhal <28...@gmail.com>.
Again i am facing the problem to internet connection using proxy.I have
attached the screenshot of the error which i got on deploying a bundle.
On Mon, Jun 18, 2012 at 9:19 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:
> No problem, we are here to share ;)
>
> Regards
> JB
>
>
> On 06/18/2012 05:47 PM, Rajbir Saini wrote:
>
>> Thanks JB. I did not know this.
>>
>> Regards,
>>
>> Raj
>>
>> On Monday 18 June 2012 08:22 PM, Jean-Baptiste Onofré wrote:
>>
>>> Hi Raj,
>>>
>>> it's not exact:
>>>
>>> - Karaf uses Pax URL which leverage Maven. It's able to use a
>>> settings.xml.
>>> - all URL (for instance, contained in org.apache.karaf.features.cfg
>>> file) are resolved by Pax URL.
>>> - org.ops4j.pax.url.mvn.cfg defines the default repositories set
>>>
>>> So, configuration like proxy could be defined in
>>> org.ops4J.pax.url.mvn.cfg and in settings.xml.
>>>
>>> Regards
>>> JB
>>>
>>> On 06/18/2012 04:46 PM, Rajbir Saini wrote:
>>>
>>>> Somya,
>>>>
>>>> I do not think you need to change any thing to connect Karaf to
>>>> Internet. Default settings should be good enough. Moreover, I do not
>>>> think Karaf has any thing to do with the settings.xml in the Maven conf
>>>> folder. As far as I know Karaf maven setttings are in
>>>> {karaf.home}/etc/org.apache.**karaf.features.cfg and
>>>> {karaf.home}/etc/org.ops4j.**pax.url.mvn.cfg
>>>>
>>>> Thanks,
>>>>
>>>> Raj
>>>>
>>>>
>>>> On Monday 18 June 2012 06:42 PM, somya singhal wrote:
>>>>
>>>>> Hello
>>>>>
>>>>>
>>>>> The problem i am facing is that i have edited the settings.xml file
>>>>> under the path ..\apache-maven-3.0.4\conf and still i could not
>>>>> connect to the internet.I have redirected my apache karaf to use maven
>>>>> sttings.xml file for connection to internet.I have edited the
>>>>> settings.xml file by changing the tag proxy settings specifying my
>>>>> host and port id.Still i can not connect to the internet.Can anyone
>>>>> please sort out the reason for this?
>>>>>
>>>>>
>>>>> Somya Singhal
>>>>> Btech(3rd year)
>>>>> IIT ROORKEE
>>>>>
>>>>
>>>>
>>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
Re: Issue regarding net connection after editing settings.xml file
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
No problem, we are here to share ;)
Regards
JB
On 06/18/2012 05:47 PM, Rajbir Saini wrote:
> Thanks JB. I did not know this.
>
> Regards,
>
> Raj
>
> On Monday 18 June 2012 08:22 PM, Jean-Baptiste Onofré wrote:
>> Hi Raj,
>>
>> it's not exact:
>>
>> - Karaf uses Pax URL which leverage Maven. It's able to use a
>> settings.xml.
>> - all URL (for instance, contained in org.apache.karaf.features.cfg
>> file) are resolved by Pax URL.
>> - org.ops4j.pax.url.mvn.cfg defines the default repositories set
>>
>> So, configuration like proxy could be defined in
>> org.ops4J.pax.url.mvn.cfg and in settings.xml.
>>
>> Regards
>> JB
>>
>> On 06/18/2012 04:46 PM, Rajbir Saini wrote:
>>> Somya,
>>>
>>> I do not think you need to change any thing to connect Karaf to
>>> Internet. Default settings should be good enough. Moreover, I do not
>>> think Karaf has any thing to do with the settings.xml in the Maven conf
>>> folder. As far as I know Karaf maven setttings are in
>>> {karaf.home}/etc/org.apache.karaf.features.cfg and
>>> {karaf.home}/etc/org.ops4j.pax.url.mvn.cfg
>>>
>>> Thanks,
>>>
>>> Raj
>>>
>>>
>>> On Monday 18 June 2012 06:42 PM, somya singhal wrote:
>>>> Hello
>>>>
>>>>
>>>> The problem i am facing is that i have edited the settings.xml file
>>>> under the path ..\apache-maven-3.0.4\conf and still i could not
>>>> connect to the internet.I have redirected my apache karaf to use maven
>>>> sttings.xml file for connection to internet.I have edited the
>>>> settings.xml file by changing the tag proxy settings specifying my
>>>> host and port id.Still i can not connect to the internet.Can anyone
>>>> please sort out the reason for this?
>>>>
>>>>
>>>> Somya Singhal
>>>> Btech(3rd year)
>>>> IIT ROORKEE
>>>
>>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Issue regarding net connection after editing settings.xml file
Posted by Rajbir Saini <ra...@yahoo.com>.
Thanks JB. I did not know this.
Regards,
Raj
On Monday 18 June 2012 08:22 PM, Jean-Baptiste Onofré wrote:
> Hi Raj,
>
> it's not exact:
>
> - Karaf uses Pax URL which leverage Maven. It's able to use a
> settings.xml.
> - all URL (for instance, contained in org.apache.karaf.features.cfg
> file) are resolved by Pax URL.
> - org.ops4j.pax.url.mvn.cfg defines the default repositories set
>
> So, configuration like proxy could be defined in
> org.ops4J.pax.url.mvn.cfg and in settings.xml.
>
> Regards
> JB
>
> On 06/18/2012 04:46 PM, Rajbir Saini wrote:
>> Somya,
>>
>> I do not think you need to change any thing to connect Karaf to
>> Internet. Default settings should be good enough. Moreover, I do not
>> think Karaf has any thing to do with the settings.xml in the Maven conf
>> folder. As far as I know Karaf maven setttings are in
>> {karaf.home}/etc/org.apache.karaf.features.cfg and
>> {karaf.home}/etc/org.ops4j.pax.url.mvn.cfg
>>
>> Thanks,
>>
>> Raj
>>
>>
>> On Monday 18 June 2012 06:42 PM, somya singhal wrote:
>>> Hello
>>>
>>>
>>> The problem i am facing is that i have edited the settings.xml file
>>> under the path ..\apache-maven-3.0.4\conf and still i could not
>>> connect to the internet.I have redirected my apache karaf to use maven
>>> sttings.xml file for connection to internet.I have edited the
>>> settings.xml file by changing the tag proxy settings specifying my
>>> host and port id.Still i can not connect to the internet.Can anyone
>>> please sort out the reason for this?
>>>
>>>
>>> Somya Singhal
>>> Btech(3rd year)
>>> IIT ROORKEE
>>
>
Re: Issue regarding net connection after editing settings.xml file
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Raj,
it's not exact:
- Karaf uses Pax URL which leverage Maven. It's able to use a settings.xml.
- all URL (for instance, contained in org.apache.karaf.features.cfg
file) are resolved by Pax URL.
- org.ops4j.pax.url.mvn.cfg defines the default repositories set
So, configuration like proxy could be defined in
org.ops4J.pax.url.mvn.cfg and in settings.xml.
Regards
JB
On 06/18/2012 04:46 PM, Rajbir Saini wrote:
> Somya,
>
> I do not think you need to change any thing to connect Karaf to
> Internet. Default settings should be good enough. Moreover, I do not
> think Karaf has any thing to do with the settings.xml in the Maven conf
> folder. As far as I know Karaf maven setttings are in
> {karaf.home}/etc/org.apache.karaf.features.cfg and
> {karaf.home}/etc/org.ops4j.pax.url.mvn.cfg
>
> Thanks,
>
> Raj
>
>
> On Monday 18 June 2012 06:42 PM, somya singhal wrote:
>> Hello
>>
>>
>> The problem i am facing is that i have edited the settings.xml file
>> under the path ..\apache-maven-3.0.4\conf and still i could not
>> connect to the internet.I have redirected my apache karaf to use maven
>> sttings.xml file for connection to internet.I have edited the
>> settings.xml file by changing the tag proxy settings specifying my
>> host and port id.Still i can not connect to the internet.Can anyone
>> please sort out the reason for this?
>>
>>
>> Somya Singhal
>> Btech(3rd year)
>> IIT ROORKEE
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Issue regarding net connection after editing settings.xml file
Posted by Rajbir Saini <ra...@yahoo.com>.
Somya,
I do not think you need to change any thing to connect Karaf to
Internet. Default settings should be good enough. Moreover, I do not
think Karaf has any thing to do with the settings.xml in the Maven conf
folder. As far as I know Karaf maven setttings are in
{karaf.home}/etc/org.apache.karaf.features.cfg and
{karaf.home}/etc/org.ops4j.pax.url.mvn.cfg
Thanks,
Raj
On Monday 18 June 2012 06:42 PM, somya singhal wrote:
> Hello
>
>
> The problem i am facing is that i have edited the settings.xml file
> under the path ..\apache-maven-3.0.4\conf and still i could not
> connect to the internet.I have redirected my apache karaf to use maven
> sttings.xml file for connection to internet.I have edited the
> settings.xml file by changing the tag proxy settings specifying my
> host and port id.Still i can not connect to the internet.Can anyone
> please sort out the reason for this?
>
>
> Somya Singhal
> Btech(3rd year)
> IIT ROORKEE