Getting java.nio.BufferOverflowException in Tomcat 7.0.25

2013-01-23 Thread Himanshu Modi
Hi All, I am using Liferay 6.1 EE portal in which Tomcat 7.0.25 is bundled. Operating system environment is Unix. There is apache web server at front which takes the request from end user and forwards to above Liferay portal through Ajp connector. I am getting * java.nio.BufferOverflowException*

Re: Trying to install tomcat 7.0.35 but after installation it shows me as Apache Tomcat 7.0.2

2013-01-23 Thread chris derham
Kiran I want to run it as service.I installed this by running service bat file from cmd prompt.once installation was success full.I checked local host:8080.over there I see version 7.0.2 . in a cmd prompt run netstat -ano. The output will list all processes and the TCP port they have open.

Re: Loading a DeSerialized Class to WebabbClassLoader Question

2013-01-23 Thread Peter Lavin
Solution and root of problem: My application was using ObjectInputStream (OIS) to convert a serialized instance of an object. OIS uses a different class loader, one which does not have visibility of the classes loaded in the WebappClassLoader. This was giving a ClassNotFoundException. Then

Re: WELCOME to users@tomcat.apache.org

2013-01-23 Thread pid
On 23 Jan 2013, at 02:52, DHARMENDRA SETHI sethi.dharmen...@gmail.com wrote: Hi I just installed Eclipse (Version: Juno Service Release 1 Build id: 20120920-0800) and want to know the how to make Tomcat node show up in window - preferences. I know I am missing the plugin but am not sure which

Re: AW: Tomcat 7: ClassNotFoundEception for security provider during startup

2013-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hanno, On 1/22/13 2:12 PM, Hanno Scharwächter wrote: Hanno, On 1/21/13 12:49 PM, Hanno Scharwächter wrote: the Bootstrap-ClassLoader. I checked the server-conf by starting both Tomcat versions with exactly the same server configuration

Re: Fw: Tomcat 5.0.28 jdbc error Name jdbc is not bound in this Context on WindowsXP.

2013-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Steve, On 1/22/13 11:59 PM, sry...@jsrsys.com wrote: I thought you had hit the nail on the head of 5.0 vs. 5.5, but when I recoded the short form into the long form I still get the same error. I am ready to install a new Tomcat. Is there any

Re: Loading a DeSerialized Class to WebabbClassLoader Question

2013-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peter, On 1/22/13 2:16 PM, Peter Lavin wrote: I've spent some time on this today and have found (at least I think so) that my problem in deserializing an instance of an object is related to the ClassLoader that the class ObjectInputStream uses.

Re: Loading a DeSerialized Class to WebabbClassLoader Question

2013-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peterm,, On 1/23/13 9:29 AM, Peter Lavin wrote: My application was using ObjectInputStream (OIS) to convert a serialized instance of an object. OIS uses a different class loader, one which does not have visibility of the classes loaded in the

Re: Trying to install tomcat 7.0.35 but after installation it shows me as Apache Tomcat 7.0.2

2013-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 1/23/13 4:32 AM, chris derham wrote: If you really want to run 7.0.35 instead of 7.0.2, then remove the service for 7.0.2, and then install the 7.0.35 service. To uninstall the service, go to cmd prompt and from CATALINA_HOME\bin run

The APR based Apache Tomcat Native library was not found

2013-01-23 Thread Andrew Winter
I have been having problems getting comet to work and decided to try the APR connector. So I installed APR from the RPM, version apr-1.3.9-3.el6_1.2.i686. I followed instructions that I found locally and online and compiled up the tomcat-native-1.1.23. It installed in the /usr/local/apr/lib

Re: Trying to install tomcat 7.0.35 but after installation it shows me as Apache Tomcat 7.0.2

2013-01-23 Thread Kiran Badi
My bad, I removed 7.0.2 instance by using service.bat uninstall from cmd prompt and now I am not able to install updated one. getting the below message.Do I need to set environment variables, I dont remember setting it earlier for any of version I had installed. Microsoft Windows [Version

Re: Trying to install tomcat 7.0.35 but after installation it shows me as Apache Tomcat 7.0.2

2013-01-23 Thread Kiran Badi
Resolved and I am good now.Updated to 7.0.35. Thanks Chris On Wed, Jan 23, 2013 at 3:54 PM, Kiran Badi ki...@poonam.org wrote: My bad, I removed 7.0.2 instance by using service.bat uninstall from cmd prompt and now I am not able to install updated one. getting the below message.Do I need to

Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-23 Thread Hermes Flying
Hi, So is there an explanation for this? All I am interested is make sure that after a limit, clients attempted to connect are stopped based on my configuration on maxThreads and accept count. But I can not figure out how this works. From: Hermes Flying

RE: Different webapp paths on different hosts

2013-01-23 Thread Jeffrey Janner
-Original Message- From: bxqdev [mailto:bxq...@themailbay.com] Sent: Tuesday, January 22, 2013 11:09 PM To: Tomcat Users List Subject: Re: Different webapp paths on different hosts i need to map a custom paths, like /path1 and /path2, (not root / path), of the same webapp to a

Problems trying to disable log rotation within Tomcat 6

2013-01-23 Thread Alan Worstell
Hello, I'm using Tomcat 6.0.24-2ubuntu1.10 on Ubuntu 10.04.4 and I am trying to disable datestamping and rotation of log files within Tomcat so I can use logrotate for everything. I have added these lines to /etc/tomcat6/logging.properties: 1catalina.org.apache.juli.FileHandler.rotatable =

Re: Problems trying to disable log rotation within Tomcat 6

2013-01-23 Thread Konstantin Kolinko
2013/1/24 Alan Worstell aworst...@a-1networks.com: Hello, I'm using Tomcat 6.0.24-2ubuntu1.10 on Ubuntu 10.04.4 and I am trying to disable datestamping and rotation of log files within Tomcat so I can use logrotate for everything. I have added these lines to /etc/tomcat6/logging.properties:

JAAS Module Tomcat 7 (Bundling and JNDI Datasource access)

2013-01-23 Thread Justin Rosenberg
I'm running into issues accessing a JNDI datasource in a JAAS module. Can I bundle a JAAS module in my war file? When I try to do this by defining the Realm in the context.xml of the web application I get a java.lang.ClassNotFoundException. The documentation specifies I must put the module

Re: The APR based Apache Tomcat Native library was not found

2013-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Andrew, On 1/23/13 3:00 PM, Andrew Winter wrote: I have been having problems getting comet to work and decided to try the APR connector. So I installed APR from the RPM, version apr-1.3.9-3.el6_1.2.i686. I followed instructions that I found

Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hermes, On 1/23/13 5:25 PM, Hermes Flying wrote: So is there an explanation for this? All I am interested is make sure that after a limit, clients attempted to connect are stopped based on my configuration on maxThreads and accept count. But I

Re: Problems trying to disable log rotation within Tomcat 6

2013-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alan, On 1/23/13 7:33 PM, Alan Worstell wrote: Hello, I'm using Tomcat 6.0.24-2ubuntu1.10 on Ubuntu 10.04.4 and I am trying to disable datestamping and rotation of log files within Tomcat so I can use logrotate for everything. I have added these

Re: Different webapp paths on different hosts

2013-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 BBQ, On 1/23/13 12:09 AM, bxqdev wrote: i need to map a custom paths, like /path1 and /path2, (not root / path), of the same webapp to a custom domains. as i said i need this mapping: ${samewebapp}/path1 is mapped to http://path1.com/

Re: The APR based Apache Tomcat Native library was not found

2013-01-23 Thread Andrew Winter
Sorry I forgot the versions of things I am using. Tomcat 6.0.36 Red Hat Enterprise Linux Server release 6.2 (Santiago) Java 7u11 (32 bit) I think I found the problem, though. I have to run a 32 bit jvm because a COBOL odbc driver we have to use only comes in a 32 bit version. But the Red Hat box

Re: Different webapp paths on different hosts

2013-01-23 Thread Casper Wandahl Schmidt
See inline Med venlig hilsen/Kind regards Casper W. Schmidt Den 24-01-2013 02:32, Christopher Schultz skrev: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 BBQ, On 1/23/13 12:09 AM, bxqdev wrote: i need to map a custom paths, like /path1 and /path2, (not root / path), of the same webapp to