Re: [Carbon-dev] Problem with classpath in Eclipse

2012-02-22 Thread Jorge Infante Osorio
Hi Leslier.

The problem it´s not inside eclipse. Eclipse is just for develop time. The
problem is inside BPS, you need to check if this jar is include in the
distribution, Denis say yes, so it could be a problem in BPS. Can you send
me the deploy artifact o your process?

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
nombre de Leslier López Nicot
Enviado el: miércoles, 22 de febrero de 2012 9:42
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] Problem with classpath in Eclipse

 

I change the classpath from this



To this



But still it didn’t work. The error is

java.lang.NoClassDefFoundError: org/apache/ws/security/WSPasswordCallback

at org.wso2.bps.samples.util.PWCBHandler.handle(PWCBHandler.java:17)



El 22/02/2012 12:50:AM, Harshana Martin escribió: 

 

On Tue, Feb 21, 2012 at 9:37 PM, Denis Weerasiri  wrote:

 

On Wed, Feb 22, 2012 at 11:02 AM, Harshana Martin  wrote:

Hi Leslier, 

 

Adding WSS4J jars in to Eclipse classpath does not make it available in the
BPS since we do not ship those jars with Bpel files. You need to place the
WSS4J jar in your BPS servers' repository/components/lib folder.

@Harshana, WSS4J jar is already available at repository/components/plugins.
So the problem is not properly setting the classpath from eclipse?

 

@Denis,

 

Setting classpaths in Eclipse is only for the availability of the class at
the development time inside Eclipse. It has nothing to do with the runtime
availability of the class since we don't ship any jars in deployable Bpel
archives. So it cannot be the issue.

 

For some reason, Bpel engine cannot locate the class in the classpath. May
be doing an OSGi debug (packages command) would help?

 

Thanks and Regards,

Harshana

 

Hope this helps!

 

Thanks and Regards,

Harshana

On Tue, Feb 21, 2012 at 1:55 PM, Leslier López Nicot  wrote:

Hi all.

I’m trying to deploy an external class into bps. This class uses the library
wss4j that is in the bps, in eclipse I add the library from the “WSO2
Classpath Libraries” but when I deploy the jar into bps, it gives me the
error Class Not Found and refers to the class that is in the library wss4j.
I check the classpath from the jar and it look like this:



 

 <http://www.antiterroristas.cu/> ¡Error! Nombre de archivo no especificado.

 

 

___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev





 

-- 
Harshana Martin  

Software Engineer

WSO2 Inc.

Web:http://wso2.com

  http://wso2.org

 

Mobile: +94 716062650  

Blog: http://harshana05.blogspot.com

Profile: https://www.google.com/profiles/harshana05

Twitter: http://twitter.com/harshana05

 


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev





 

-- 
Thanks,
Denis
--
Denis Weerasiri
Software Engineer 

Integration Technologies Team, WSO2 Inc.;  <http://wso2.com/>
http://wso2.com,
email: denis <http://goog_277208233/>  [AT] wso2.com <http://wso2.com/>  

phone: +94117639629  

site:  <https://sites.google.com/site/ddweerasiri/>
https://sites.google.com/site/ddweerasiri/

blog:  <http://ddweerasiri.blogspot.com/> http://ddweerasiri.blogspot.com
twitter:  <http://twitter.com/ddweerasiri> http://twitter.com/ddweerasiri
linked-in:  <http://lk.linkedin.com/in/ddweerasiri>
http://lk.linkedin.com/in/ddweerasiri



___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev





 

-- 
Harshana Martin  

Software Engineer

WSO2 Inc.

Web:http://wso2.com

  http://wso2.org

 

Mobile: +94 716062650

Blog: http://harshana05.blogspot.com

Profile: https://www.google.com/profiles/harshana05

Twitter: http://twitter.com/harshana05







___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

 

 <http://www.antiterroristas.cu/> Descripción: Imagen quitada por el
remitente.



 <http://www.antiterroristas.cu/> Descripción: Imagen quitada por el
remitente.

 

 




Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

<>___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Problem with classpath in Eclipse

2012-02-22 Thread Leslier López Nicot

I change the classpath from this

path="ECLIPSE_WORKSPACE/.metadata/.plugins/org.wso2.carbonstudio.eclipse.libraries/lib/wss4j-1.5.10.wso2v2.jar"/>


To this

path="carbon.home.folder/repository/components/plugins/wss4j-1.5.11.wso2v2.jar"/>


But still it didn't work. The error is

java.lang.NoClassDefFoundError: org/apache/ws/security/WSPasswordCallback

at org.wso2.bps.samples.util.PWCBHandler.handle(PWCBHandler.java:17)



El 22/02/2012 12:50:AM, Harshana Martin escribió:



On Tue, Feb 21, 2012 at 9:37 PM, Denis Weerasiri > wrote:




On Wed, Feb 22, 2012 at 11:02 AM, Harshana Martin
mailto:harsh...@wso2.com>> wrote:

Hi Leslier,

Adding WSS4J jars in to Eclipse classpath does not make it
available in the BPS since we do not ship those jars with Bpel
files. You need to place the WSS4J jar in your BPS servers'
repository/components/lib folder.

@Harshana, WSS4J jar is already available
at repository/components/plugins. So the problem is not properly
setting the classpath from eclipse?


@Denis,

Setting classpaths in Eclipse is only for the availability of the 
class at the development time inside Eclipse. It has nothing to do 
with the runtime availability of the class since we don't ship any 
jars in deployable Bpel archives. So it cannot be the issue.


For some reason, Bpel engine cannot locate the class in the classpath. 
May be doing an OSGi debug (packages command) would help?


Thanks and Regards,
Harshana


Hope this helps!

Thanks and Regards,
Harshana

On Tue, Feb 21, 2012 at 1:55 PM, Leslier López Nicot
mailto:lni...@uci.cu>> wrote:

Hi all.

I'm trying to deploy an external class into bps. This
class uses the library wss4j that is in the bps, in
eclipse I add the library from the "WSO2 Classpath
Libraries" but when I deploy the jar into bps, it gives me
the error Class Not Found and refers to the class that is
in the library wss4j. I check the classpath from the jar
and it look like this:







___
Carbon-dev mailing list
Carbon-dev@wso2.org 
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Harshana Martin

Software Engineer
WSO2 Inc.
Web:http://wso2.com
http://wso2.org

Mobile: +94 716062650 
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
Twitter: http://twitter.com/harshana05


___
Carbon-dev mailing list
Carbon-dev@wso2.org 
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Thanks,

Denis
--
*Denis Weerasiri*
Software Engineer
Integration Technologies Team, WSO2 Inc.; http://wso2.com
,
/email: denis //[AT] wso2.com
/
/phone: +94117639629 
/
/site: //https://sites.google.com/site/ddweerasiri//
/blog: //http://ddweerasiri.blogspot.com/
/
twitter: //http://twitter.com/ddweerasiri//
linked-in: //http://lk.linkedin.com/in/ddweerasiri/


___
Carbon-dev mailing list
Carbon-dev@wso2.org 
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




--
Harshana Martin
Software Engineer
WSO2 Inc.
Web:http://wso2.com
http://wso2.org

Mobile: +94 716062650
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
Twitter: http://twitter.com/harshana05



___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev





Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Problem with classpath in Eclipse

2012-02-21 Thread Harshana Martin
On Tue, Feb 21, 2012 at 9:37 PM, Denis Weerasiri  wrote:

>
>
> On Wed, Feb 22, 2012 at 11:02 AM, Harshana Martin wrote:
>
>> Hi Leslier,
>>
>> Adding WSS4J jars in to Eclipse classpath does not make it available in
>> the BPS since we do not ship those jars with Bpel files. You need to place
>> the WSS4J jar in your BPS servers' repository/components/lib folder.
>>
> @Harshana, WSS4J jar is already available
> at repository/components/plugins. So the problem is not properly setting
> the classpath from eclipse?
>

@Denis,

Setting classpaths in Eclipse is only for the availability of the class at
the development time inside Eclipse. It has nothing to do with the runtime
availability of the class since we don't ship any jars in deployable Bpel
archives. So it cannot be the issue.

For some reason, Bpel engine cannot locate the class in the classpath. May
be doing an OSGi debug (packages command) would help?

Thanks and Regards,
Harshana

>
>> Hope this helps!
>>
>> Thanks and Regards,
>> Harshana
>>
>> On Tue, Feb 21, 2012 at 1:55 PM, Leslier López Nicot wrote:
>>
>>>  Hi all.
>>>
>>> I’m trying to deploy an external class into bps. This class uses the
>>> library wss4j that is in the bps, in eclipse I add the library from the
>>> “WSO2 Classpath Libraries” but when I deploy the jar into bps, it gives me
>>> the error Class Not Found and refers to the class that is in the library
>>> wss4j. I check the classpath from the jar and it look like this:
>>>
>>> >> path="ECLIPSE_WORKSPACE/.metadata/.plugins/org.wso2.carbonstudio.eclipse.libraries/lib/wss4j-1.5.10.wso2v2.jar"/>
>>> 
>>>
>>>   
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Harshana Martin
>> Software Engineer
>> WSO2 Inc.
>> Web:http://wso2.com
>>   http://wso2.org
>>
>> Mobile: +94 716062650
>> Blog: http://harshana05.blogspot.com
>> Profile: https://www.google.com/profiles/harshana05
>> Twitter: http://twitter.com/harshana05
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Thanks,
> Denis
> --
> *Denis Weerasiri*
> Software Engineer
> Integration Technologies Team, WSO2 Inc.; http://wso2.com,
> *email: denis ** [AT] wso2.com *
> *phone: +94117639629
> *
> *site: 
> **https://sites.google.com/site/ddweerasiri/*
> *blog: **http://ddweerasiri.blogspot.com*
> *
> twitter: **http://twitter.com/ddweerasiri*
> *
> linked-in: 
> **http://lk.linkedin.com/in/ddweerasiri*
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Harshana Martin
Software Engineer
WSO2 Inc.
Web:http://wso2.com
  http://wso2.org

Mobile: +94 716062650
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
Twitter: http://twitter.com/harshana05
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Problem with classpath in Eclipse

2012-02-21 Thread Denis Weerasiri
On Wed, Feb 22, 2012 at 11:02 AM, Harshana Martin  wrote:

> Hi Leslier,
>
> Adding WSS4J jars in to Eclipse classpath does not make it available in
> the BPS since we do not ship those jars with Bpel files. You need to place
> the WSS4J jar in your BPS servers' repository/components/lib folder.
>
@Harshana, WSS4J jar is already available at repository/components/plugins.
So the problem is not properly setting the classpath from eclipse?

>
> Hope this helps!
>
> Thanks and Regards,
> Harshana
>
> On Tue, Feb 21, 2012 at 1:55 PM, Leslier López Nicot wrote:
>
>>  Hi all.
>>
>> I’m trying to deploy an external class into bps. This class uses the
>> library wss4j that is in the bps, in eclipse I add the library from the
>> “WSO2 Classpath Libraries” but when I deploy the jar into bps, it gives me
>> the error Class Not Found and refers to the class that is in the library
>> wss4j. I check the classpath from the jar and it look like this:
>>
>> > path="ECLIPSE_WORKSPACE/.metadata/.plugins/org.wso2.carbonstudio.eclipse.libraries/lib/wss4j-1.5.10.wso2v2.jar"/>
>> 
>>
>>   
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Harshana Martin
> Software Engineer
> WSO2 Inc.
> Web:http://wso2.com
>   http://wso2.org
>
> Mobile: +94 716062650
> Blog: http://harshana05.blogspot.com
> Profile: https://www.google.com/profiles/harshana05
> Twitter: http://twitter.com/harshana05
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks,
Denis
--
*Denis Weerasiri*
Software Engineer
Integration Technologies Team, WSO2 Inc.; http://wso2.com,
*email: denis ** [AT] wso2.com *
*phone: +94117639629
*
*site: 
**https://sites.google.com/site/ddweerasiri/*
*blog: **http://ddweerasiri.blogspot.com* 
*
twitter: **http://twitter.com/ddweerasiri* *
linked-in: 
**http://lk.linkedin.com/in/ddweerasiri*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Problem with classpath in Eclipse

2012-02-21 Thread Harshana Martin
Hi Leslier,

Adding WSS4J jars in to Eclipse classpath does not make it available in the
BPS since we do not ship those jars with Bpel files. You need to place the
WSS4J jar in your BPS servers' repository/components/lib folder.

Hope this helps!

Thanks and Regards,
Harshana

On Tue, Feb 21, 2012 at 1:55 PM, Leslier López Nicot  wrote:

>  Hi all.
>
> I’m trying to deploy an external class into bps. This class uses the
> library wss4j that is in the bps, in eclipse I add the library from the
> “WSO2 Classpath Libraries” but when I deploy the jar into bps, it gives me
> the error Class Not Found and refers to the class that is in the library
> wss4j. I check the classpath from the jar and it look like this:
>
>  path="ECLIPSE_WORKSPACE/.metadata/.plugins/org.wso2.carbonstudio.eclipse.libraries/lib/wss4j-1.5.10.wso2v2.jar"/>
> 
>
>   
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Harshana Martin
Software Engineer
WSO2 Inc.
Web:http://wso2.com
  http://wso2.org

Mobile: +94 716062650
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
Twitter: http://twitter.com/harshana05
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Problem with classpath in Eclipse

2012-02-21 Thread Leslier López Nicot

Hi all.

I'm trying to deploy an external class into bps. This class uses the 
library wss4j that is in the bps, in eclipse I add the library from the 
"WSO2 Classpath Libraries" but when I deploy the jar into bps, it gives 
me the error Class Not Found and refers to the class that is in the 
library wss4j. I check the classpath from the jar and it look like this:


path="ECLIPSE_WORKSPACE/.metadata/.plugins/org.wso2.carbonstudio.eclipse.libraries/lib/wss4j-1.5.10.wso2v2.jar"/>





Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev