[Dev] Oracle Advance queuing and ESB 5.0

2017-01-05 Thread Panagiotis Konstantinidis
Hello,

I am trying to read some messages from an Oracle Advanced Queue using ESB 5.0. 
I followed this tutorial: 
http://malantech.blogspot.gr/2016/08/oracle-aq-with-wso2-esb-481-490.html and 
it seems to be working fine. However it bothers me that I have to install a 
separate LDAP server, just to get the Oracle context and directory info from 
the database. Does WSO ESB 5.0 have an integrated LDAP server that I can use to 
get context information for the Oracle JMS provider? If yes, is there any more 
information about it?

Thank you

Panos Konstantinidis
Consultant
*Cognity
42 Kifissias Av.
151 25 Marousi, Athens, Greece
Tel:   +30-210-6194400
Fax:  +30-210-6194019
Email: pkonstantini...@cognity.gr

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


Re: [Dev] How to increase the maximum thread timeout.

2016-11-17 Thread Panagiotis Konstantinidis
Hello Lakshani,

thank you for the confirmation.

Regards

Panos Konstantinidis
Consultant
*Cognity
42 Kifissias Av.
151 25 Marousi, Athens, Greece
Tel:   +30-210-6194400
Fax:  +30-210-6194019
Email: pkonstantini...@cognity.gr<mailto:mlaourd...@cognity.gr>

From: Lakshani Gamage [mailto:laksh...@wso2.com]
Sent: Thursday, November 17, 2016 9:38 AM
To: Panagiotis Konstantinidis
Cc: dev@wso2.org; Niranjan Karunanandham; Kishanthan Thangarajah
Subject: Re: [Dev] How to increase the maximum thread timeout.

Hi Panon,
Sorry, It should be seconds accordning to this[1]

[1] 
https://svn.wso2.org/repos/wso2/trunk/carbon/core/org.wso2.carbon.tomcat.ext/src/main/java/org/wso2/carbon/tomcat/ext/valves/CarbonStuckThreadDetectionValve.java
Regards,
Lakshani


On Thu, Nov 17, 2016 at 12:43 PM, Panagiotis Konstantinidis 
<pkonstantini...@cognity.gr<mailto:pkonstantini...@cognity.gr>> wrote:
Hello Lakshani

>  I said minutes not seconds.
yes, sorry, my mistake, so the value in the Valve element in tomcat’s 
configuration file is in minutes, not in seconds. Can you confirm? I am asking 
you since the default value is



which, according to you, means 600 minutes (10 hours). But the transactions was 
failing after about 10’ from the start of the request, which would seem is just 
about right since 600’’ is 10’.

Can you confirm that it is indeed minutes and not seconds?

Regards

Panos Konstantinidis
Consultant
*Cognity
42 Kifissias Av.
151 25 Marousi, Athens, Greece
Tel:   +30-210-6194400<tel:%2B30-210-6194400>
Fax:  +30-210-6194019<tel:%2B30-210-6194019>
Email: pkonstantini...@cognity.gr<mailto:mlaourd...@cognity.gr>

From: Lakshani Gamage [mailto:laksh...@wso2.com<mailto:laksh...@wso2.com>]
Sent: Wednesday, November 16, 2016 6:32 PM
To: Panagiotis Konstantinidis
Cc: dev@wso2.org<mailto:dev@wso2.org>; Niranjan Karunanandham; Kishanthan 
Thangarajah

Subject: Re: [Dev] How to increase the maximum thread timeout.

Hi Panos,

On Wed, Nov 16, 2016 at 9:44 PM, Panagiotis Konstantinidis 
<pkonstantini...@cognity.gr<mailto:pkonstantini...@cognity.gr>> wrote:
Hello Lakshani,

thank you for your suggestion, I have already tried it before I read your 
message and it worked. The key was to change the threshold value in the 
catalina-server.xml instead.

Just a couple of questions if you may.


1)  What is the meaning of the MaxThreadExecutionTime if we need to change 
Tomcat’s configuration file?
I don't have a clear idea  of the MaxThreadExecutionTime. I'll cc a member of 
Kernal team.

2)  Is the threshold in minutes or in seconds (you said seconds, this is 
why I am asking).
 I said minutes not seconds.
Thanks,
Lakshani

Regards

Panos

From: Lakshani Gamage [mailto:laksh...@wso2.com<mailto:laksh...@wso2.com>]
Sent: Wednesday, November 16, 2016 5:33 PM
To: Panagiotis Konstantinidis
Cc: dev@wso2.org<mailto:dev@wso2.org>
Subject: Re: [Dev] How to increase the maximum thread timeout.

Hi Panos,

Can you please try changing threshold value of  in /repository/conf/tomcat/catalina-server.xml 
accordingly to your task completance time. Threshold is in minutes.
Regards,
Lakshani.

On Wed, Nov 16, 2016 at 8:38 PM, Panagiotis Konstantinidis 
<pkonstantini...@cognity.gr<mailto:pkonstantini...@cognity.gr>> wrote:
Hello,

we are using WSO2 AS Server 5.3. We have a long running task in the database 
which takes more than 20 minutes to complete. During this time the server 
throws a ThreadDeath exception (since it detects a stuck thread) and is killing 
the thread that deals with the database.

How can I increase the maximum thread timeout? I have tried to modify the 
carbon.xml and change the


600

to 1800 (half an hour) but it seems that this makes no difference whatsoever to 
the thread timeout. The server keeps killing the thread before this timeout is 
reached.

Is there any other flag I can use? I would appreciate any help on this issue.

Regards

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



--
Lakshani Gamage
Software Engineer, WSO2

Mobile : +94 71 5478184<tel:%2B94%20%280%29%20773%20451194>
Blog : http://lakshanigamage.blogspot.com/



--
Lakshani Gamage
Software Engineer, WSO2

Mobile : +94 71 5478184<tel:%2B94%20%280%29%20773%20451194>
Blog : http://lakshanigamage.blogspot.com/



--
Lakshani Gamage
Software Engineer, WSO2

Mobile : +94 71 5478184<tel:%2B94%20%280%29%20773%20451194>
Blog : http://lakshanigamage.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to increase the maximum thread timeout.

2016-11-16 Thread Panagiotis Konstantinidis
Hello Lakshani

>  I said minutes not seconds.
yes, sorry, my mistake, so the value in the Valve element in tomcat’s 
configuration file is in minutes, not in seconds. Can you confirm? I am asking 
you since the default value is



which, according to you, means 600 minutes (10 hours). But the transactions was 
failing after about 10’ from the start of the request, which would seem is just 
about right since 600’’ is 10’.

Can you confirm that it is indeed minutes and not seconds?

Regards

Panos Konstantinidis
Consultant
*Cognity
42 Kifissias Av.
151 25 Marousi, Athens, Greece
Tel:   +30-210-6194400
Fax:  +30-210-6194019
Email: pkonstantini...@cognity.gr<mailto:mlaourd...@cognity.gr>

From: Lakshani Gamage [mailto:laksh...@wso2.com]
Sent: Wednesday, November 16, 2016 6:32 PM
To: Panagiotis Konstantinidis
Cc: dev@wso2.org; Niranjan Karunanandham; Kishanthan Thangarajah
Subject: Re: [Dev] How to increase the maximum thread timeout.

Hi Panos,

On Wed, Nov 16, 2016 at 9:44 PM, Panagiotis Konstantinidis 
<pkonstantini...@cognity.gr<mailto:pkonstantini...@cognity.gr>> wrote:
Hello Lakshani,

thank you for your suggestion, I have already tried it before I read your 
message and it worked. The key was to change the threshold value in the 
catalina-server.xml instead.

Just a couple of questions if you may.


1)  What is the meaning of the MaxThreadExecutionTime if we need to change 
Tomcat’s configuration file?
I don't have a clear idea  of the MaxThreadExecutionTime. I'll cc a member of 
Kernal team.

2)  Is the threshold in minutes or in seconds (you said seconds, this is 
why I am asking).
 I said minutes not seconds.
Thanks,
Lakshani

Regards

Panos

From: Lakshani Gamage [mailto:laksh...@wso2.com<mailto:laksh...@wso2.com>]
Sent: Wednesday, November 16, 2016 5:33 PM
To: Panagiotis Konstantinidis
Cc: dev@wso2.org<mailto:dev@wso2.org>
Subject: Re: [Dev] How to increase the maximum thread timeout.

Hi Panos,

Can you please try changing threshold value of  in /repository/conf/tomcat/catalina-server.xml 
accordingly to your task completance time. Threshold is in minutes.
Regards,
Lakshani.

On Wed, Nov 16, 2016 at 8:38 PM, Panagiotis Konstantinidis 
<pkonstantini...@cognity.gr<mailto:pkonstantini...@cognity.gr>> wrote:
Hello,

we are using WSO2 AS Server 5.3. We have a long running task in the database 
which takes more than 20 minutes to complete. During this time the server 
throws a ThreadDeath exception (since it detects a stuck thread) and is killing 
the thread that deals with the database.

How can I increase the maximum thread timeout? I have tried to modify the 
carbon.xml and change the


600

to 1800 (half an hour) but it seems that this makes no difference whatsoever to 
the thread timeout. The server keeps killing the thread before this timeout is 
reached.

Is there any other flag I can use? I would appreciate any help on this issue.

Regards

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



--
Lakshani Gamage
Software Engineer, WSO2

Mobile : +94 71 5478184<tel:%2B94%20%280%29%20773%20451194>
Blog : http://lakshanigamage.blogspot.com/



--
Lakshani Gamage
Software Engineer, WSO2

Mobile : +94 71 5478184<tel:%2B94%20%280%29%20773%20451194>
Blog : http://lakshanigamage.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to increase the maximum thread timeout.

2016-11-16 Thread Panagiotis Konstantinidis
Hello Lakshani,

thank you for your suggestion, I have already tried it before I read your 
message and it worked. The key was to change the threshold value in the 
catalina-server.xml instead.

Just a couple of questions if you may.


1)  What is the meaning of the MaxThreadExecutionTime if we need to change 
Tomcat’s configuration file?

2)  Is the threshold in minutes or in seconds (you said seconds, this is 
why I am asking).

Regards

Panos

From: Lakshani Gamage [mailto:laksh...@wso2.com]
Sent: Wednesday, November 16, 2016 5:33 PM
To: Panagiotis Konstantinidis
Cc: dev@wso2.org
Subject: Re: [Dev] How to increase the maximum thread timeout.

Hi Panos,

Can you please try changing threshold value of  in /repository/conf/tomcat/catalina-server.xml 
accordingly to your task completance time. Threshold is in minutes.
Regards,
Lakshani.

On Wed, Nov 16, 2016 at 8:38 PM, Panagiotis Konstantinidis 
<pkonstantini...@cognity.gr<mailto:pkonstantini...@cognity.gr>> wrote:
Hello,

we are using WSO2 AS Server 5.3. We have a long running task in the database 
which takes more than 20 minutes to complete. During this time the server 
throws a ThreadDeath exception (since it detects a stuck thread) and is killing 
the thread that deals with the database.

How can I increase the maximum thread timeout? I have tried to modify the 
carbon.xml and change the


600

to 1800 (half an hour) but it seems that this makes no difference whatsoever to 
the thread timeout. The server keeps killing the thread before this timeout is 
reached.

Is there any other flag I can use? I would appreciate any help on this issue.

Regards

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



--
Lakshani Gamage
Software Engineer, WSO2

Mobile : +94 71 5478184<tel:%2B94%20%280%29%20773%20451194>
Blog : http://lakshanigamage.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to increase the maximum thread timeout.

2016-11-16 Thread Panagiotis Konstantinidis
Hello, 

we are using WSO2 AS Server 5.3. We have a long running task in the database 
which takes more than 20 minutes to complete. During this time the server 
throws a ThreadDeath exception (since it detects a stuck thread) and is killing 
the thread that deals with the database. 

How can I increase the maximum thread timeout? I have tried to modify the 
carbon.xml and change the 


600

to 1800 (half an hour) but it seems that this makes no difference whatsoever to 
the thread timeout. The server keeps killing the thread before this timeout is 
reached.

Is there any other flag I can use? I would appreciate any help on this issue.

Regards

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


[Dev] ESB + AS consolidation - server does not manage web app's session

2016-10-26 Thread Panagiotis Konstantinidis
Hello,

I have WSO2 ESB server 4.9 installed and I am trying to deploy a web 
application (.war file). Via the "Features" link (carbon 
console->Configure->Features) I have installed the following

Webapp Application Deployer   (version 4.5.3)
Webapp Application Management (version 4.5.3)
Webapp Management (version 4.5.3)

from repository http://product-dist.wso2.com/p2/carbon/releases/wilkes/

I can now deploy my web-app on the ESB server and I can access the login 
screen. I can log in and see the home page, however any subsequent click on any 
link brings me back to the login screen, which I need to log in again in order 
to view it. It seems to me that the server does not manage the session of the 
web application properly. The very same web app works fine on WSO2 AS (5.3.0).

After that I tried to install on ESB all the features that were installed on 
AS, to no avail (still getting the same problem).

Is there something I am missing? Do I need to install any other feature on ESB? 
Is there a tutorial/link on how to consolidate ESB and AS?

Regards

Panos Konstantinidis
Consultant
*Cognity
42 Kifissias Av.
151 25 Marousi, Athens, Greece
Tel:   +30-210-6194400
Fax:  +30-210-6194019
Email: pkonstantini...@cognity.gr

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