Re: How to get the configured HTTP and HTTPS port numbers in server.xml from Java code at runtime

2014-08-18 Thread André Warnier
Cassian Raja Thomas wrote: In our project, we have implemented SOAP webservices using Apache CXF framework. Clients used to request the server for some command execution. The request consists of host, port and the protocol used for connection. If the client uses a HTTPS configured port number and

How to get the configured HTTP and HTTPS port numbers in server.xml from Java code at runtime

2014-08-18 Thread Cassian Raja Thomas
In our project, we have implemented SOAP webservices using Apache CXF framework. Clients used to request the server for some command execution. The request consists of host, port and the protocol used for connection. If the client uses a HTTPS configured port number and specify the protocol as HTTP

Re: java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-18 Thread Yogesh Rao
How about tracing the http request and response for the call made? Tip : adding a proxy wud help here to log the entire request. Regards, -Yogesh On Monday, August 18, 2014, John Smith wrote: > On Fri, Aug 8, 2014 at 9:10 AM, John Smith > wrote: > > > On Thu, Aug 7, 2014 at 5:28 PM, Filip Han

FW: Question on Tomcat JDBC Connection Pool

2014-08-18 Thread Wes Clark
One of the primary conditions for which we want to mark the connection for death is when a rollback fails with an exception. An example of this kind of error is a network error. We do this with: PooledConnection pooledConnection = conn.unwrap(PooledConnection.class); pooledConnecti

Re: java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-18 Thread John Smith
On Fri, Aug 8, 2014 at 9:10 AM, John Smith wrote: > On Thu, Aug 7, 2014 at 5:28 PM, Filip Hanik wrote: > >> if you could capture the XML that you are trying to write, we can put it >> into a test case and reproduce. >> >> Filip >> > > I'll try that -- I should be able to catch the IllegalArgumen

Re: OutOfMemory:PermGen with Tomcat App Server

2014-08-18 Thread Mark Thomas
On 18/08/2014 07:55, Thakkilapati, Nagaraja wrote: > Hi, > > We have a web application (XCP) which internally uses our java library > implementaiton-dfc.jar (the dfc.jar contains API's to access our Documentum > functionality). This java library internally uses timer threads which > performs th

Re: OutOfMemory:PermGen with Tomcat App Server

2014-08-18 Thread Sapna Kumari
my bad, correct way to set JAVA_OPTS is *set JAVA_OPTS=-Xms512M -Xmx1024M* On Mon, Aug 18, 2014 at 12:48 AM, Sapna Kumari wrote: > Try giving options while creating JVM > > set JAVA_OPTS="-Xms512M -Xmx1024M" > > > On Sun, Aug 17, 2014 at 11:55 PM, Thakkilapati, Nagaraja < > nagaraja.thakkilap.

Re: OutOfMemory:PermGen with Tomcat App Server

2014-08-18 Thread Sapna Kumari
Try giving options while creating JVM set JAVA_OPTS="-Xms512M -Xmx1024M" On Sun, Aug 17, 2014 at 11:55 PM, Thakkilapati, Nagaraja < nagaraja.thakkilap...@emc.com> wrote: > Hi, > > We have a web application (XCP) which internally uses our java library > implementaiton-dfc.jar (the dfc.jar contai

Re: New User Help

2014-08-18 Thread Ognjen Blagojevic
Colin, On 18.8.2014 4:42, Colin Kincaid Williams wrote: I have then deployed the application war file using the manager. The application is supposed to take json POST requests, related to a path on the host filesystem such as /opt/app/app_data/datafile . The POST requests work on the old glassfi