Re: [Dev] error in running ESB sample 153

2015-06-29 Thread Indunil Upeksha Rathnayake
Hi Rukshan,
If you are using java 1.7, use the unlimited strength policy files in [1].

[1]
http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html

Thanks and Regards
-- 
Indunil Upeksha Rathnayake
Software Engineer | WSO2 Inc
Emailindu...@wso2.com
Mobile  +94713695179
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] error in running ESB sample 153

2015-06-29 Thread Hasanthi Purnima Dissanayake
Hi Rukshan,
Can you please check whether you have placed bcprov-jdk15.jar in the
correct place.  ($ESB_HOME/repository/plugins) I think this exception
should come when BouncyCastle jar is not in the classpath.

Thanks and Regards,

Hasanthi Dissanayake

Software Engineer | WSO2

E: hasan...@wso2.com nirosh...@wso2.com
M :0718407133| http://wso2.com http://wso2.com/

On Mon, Jun 29, 2015 at 8:03 PM, Indunil Upeksha Rathnayake 
indu...@wso2.com wrote:

 Hi Rukshan,
 If you are using java 1.7, use the unlimited strength policy files in [1].

 [1]
 http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html

 Thanks and Regards
 --
 Indunil Upeksha Rathnayake
 Software Engineer | WSO2 Inc
 Emailindu...@wso2.com
 Mobile  +94713695179

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


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


Re: [Dev] error in running ESB sample 153

2015-05-25 Thread Rajith Roshan
Hi Rukshan,

You ca use the jce version 7 [1]. It worked fine for me.

[1]
http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html

Thanks
Rajith

Rajith Roshan
Software Engineer, WSO2 Inc.
Mobile: +94-72-642-8350 %2B94-71-554-8430
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] error in running ESB sample 153

2015-05-22 Thread Chathura Priyankara
Hi Rukshan,

I also faced the same issue when I'm trying to run the sample 153 with java
1.7,
but with java 1.6 it worked properly.

Thanks!
Chathura.

On Thu, May 21, 2015 at 12:26 PM, Thusitha Thilina Dayaratne 
thusit...@wso2.com wrote:

 Hi Rukshan,

 What is the Java version that you are using?
 You can refer to following mail thread  [Dev] Exception when running the
 ESB Sample 153

 Thanks

 On Thu, May 21, 2015 at 12:22 PM, Rukshan Premathunga ruks...@wso2.com
 wrote:

 hi,

 i'm getting an error when i run the ESB sample 153 client
 I copy the bcprov-jdk15.jar and install the unlimited strength policy
 files from
 http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
 .

 But still i get the error as follow.


 [2015-05-21 12:16:47,273] DEBUG - OutMediator Start : Out mediator
 [2015-05-21 12:16:47,273] DEBUG - OutMediator Current message is a
 request - skipping child mediators
 [2015-05-21 12:16:47,273] DEBUG - OutMediator End : Out mediator
 [2015-05-21 12:16:47,273] DEBUG - SequenceMediator End : Sequence main
 [2015-05-21 12:16:47,828] ERROR - AxisEngine InvalidSecurity
 org.apache.axis2.AxisFault: InvalidSecurity
 at
 org.apache.rampart.handler.PostDispatchVerificationHandler.invoke(PostDispatchVerificationHandler.java:164)
 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
 at
 org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
 at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:745)
 [2015-05-21 12:16:47,830] ERROR - ClientWorker Fault processing response
 message through Axis2
 org.apache.axis2.AxisFault: InvalidSecurity
 at
 org.apache.rampart.handler.PostDispatchVerificationHandler.invoke(PostDispatchVerificationHandler.java:164)
 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
 at
 org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
 at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:745)
 [2015-05-21 12:17:47,037]  WARN - SourceHandler Connection time out after
 request is read: http-incoming-1
 [2015-05-21 12:19:01,997]  WARN - TimeoutHandler Expiring message ID :
 urn:uuid:d6a5ec0c-62e3-4022-b53a-2fd41dd34362; dropping message after
 global timeout of : 120 seconds


 --
 Rukshan Chathuranga.
 Software Engineer.
 WSO2, Inc.

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




 --
 Thusitha Dayaratne
 Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 Mobile  +94712756809
 Blog  alokayasoya.blogspot.com
 Abouthttp://about.me/thusithathilina


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




-- 
Chathura Priyankara
Software Engineer | WSO2 Inc.
Mobile : +94718795340
Blog : www.codeoncloud.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] error in running ESB sample 153

2015-05-21 Thread Rukshan Premathunga
hi,

i'm getting an error when i run the ESB sample 153 client
I copy the bcprov-jdk15.jar and install the unlimited strength policy files
from
http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
.

But still i get the error as follow.


[2015-05-21 12:16:47,273] DEBUG - OutMediator Start : Out mediator
[2015-05-21 12:16:47,273] DEBUG - OutMediator Current message is a request
- skipping child mediators
[2015-05-21 12:16:47,273] DEBUG - OutMediator End : Out mediator
[2015-05-21 12:16:47,273] DEBUG - SequenceMediator End : Sequence main
[2015-05-21 12:16:47,828] ERROR - AxisEngine InvalidSecurity
org.apache.axis2.AxisFault: InvalidSecurity
at
org.apache.rampart.handler.PostDispatchVerificationHandler.invoke(PostDispatchVerificationHandler.java:164)
at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
at
org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
[2015-05-21 12:16:47,830] ERROR - ClientWorker Fault processing response
message through Axis2
org.apache.axis2.AxisFault: InvalidSecurity
at
org.apache.rampart.handler.PostDispatchVerificationHandler.invoke(PostDispatchVerificationHandler.java:164)
at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
at
org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
[2015-05-21 12:17:47,037]  WARN - SourceHandler Connection time out after
request is read: http-incoming-1
[2015-05-21 12:19:01,997]  WARN - TimeoutHandler Expiring message ID :
urn:uuid:d6a5ec0c-62e3-4022-b53a-2fd41dd34362; dropping message after
global timeout of : 120 seconds


-- 
Rukshan Chathuranga.
Software Engineer.
WSO2, Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] error in running ESB sample 153

2015-05-21 Thread Thusitha Thilina Dayaratne
Hi Rukshan,

What is the Java version that you are using?
You can refer to following mail thread  [Dev] Exception when running the
ESB Sample 153

Thanks

On Thu, May 21, 2015 at 12:22 PM, Rukshan Premathunga ruks...@wso2.com
wrote:

 hi,

 i'm getting an error when i run the ESB sample 153 client
 I copy the bcprov-jdk15.jar and install the unlimited strength policy
 files from
 http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
 .

 But still i get the error as follow.


 [2015-05-21 12:16:47,273] DEBUG - OutMediator Start : Out mediator
 [2015-05-21 12:16:47,273] DEBUG - OutMediator Current message is a request
 - skipping child mediators
 [2015-05-21 12:16:47,273] DEBUG - OutMediator End : Out mediator
 [2015-05-21 12:16:47,273] DEBUG - SequenceMediator End : Sequence main
 [2015-05-21 12:16:47,828] ERROR - AxisEngine InvalidSecurity
 org.apache.axis2.AxisFault: InvalidSecurity
 at
 org.apache.rampart.handler.PostDispatchVerificationHandler.invoke(PostDispatchVerificationHandler.java:164)
 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
 at
 org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
 at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:745)
 [2015-05-21 12:16:47,830] ERROR - ClientWorker Fault processing response
 message through Axis2
 org.apache.axis2.AxisFault: InvalidSecurity
 at
 org.apache.rampart.handler.PostDispatchVerificationHandler.invoke(PostDispatchVerificationHandler.java:164)
 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
 at
 org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
 at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:745)
 [2015-05-21 12:17:47,037]  WARN - SourceHandler Connection time out after
 request is read: http-incoming-1
 [2015-05-21 12:19:01,997]  WARN - TimeoutHandler Expiring message ID :
 urn:uuid:d6a5ec0c-62e3-4022-b53a-2fd41dd34362; dropping message after
 global timeout of : 120 seconds


 --
 Rukshan Chathuranga.
 Software Engineer.
 WSO2, Inc.

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




-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev