Re: Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-01 Thread dvosbu...@aol.com
Thanks everyone for your suggestions so far. I will fix the case of my xml and post back with the results. Good point about the user name and password Neven. Even though it is a test db I wish I could remove that from my post on here. Thanks, David Neven Cvetkovic wro

RE: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-01 Thread saumil shah
Hello there, I recently deployed one of the COTS products SAP Business Objects. When the product was deployed , everything seemed to run fine but yesterday we started experiencing "Service is unavailable" error , upon enabling DEBUG logs in Tomcat , we saw the error below with memory leak messa

Re: Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-01 Thread Neven Cvetkovic
Excellent point Mark. David, you have to decide how your database connections are managed: a) Tomcat-managed datasource (your current setup) - datasource is defined in Tomcat server.xml/context.xml and gets registered in JNDI (e.g. java:comp/env/jdbc/smswebdb) - datasource is referenced in hibern

Re: Populating JNDI entirely in Java code

2013-04-01 Thread Benson Margulies
After an hour or so of debugging, I've reached the conclusion that this is more trouble that it is worth to me. The problem is that the naming resources are setup in the middle of the START process. So, there's no very good way to arrange for some code to run after the JNDI structure is in place,

Re: Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-01 Thread Konstantin Kolinko
2013/4/2 : > > Hello, > > I have been tasked with moving an application from a JBoss application server > to Tomcat 7. The application is using hibernate to establish a connection > pool as I understand it. I've got Tomcat running under the standard ports and > have deployed the application. Th

Re: Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-01 Thread Mark Eggers
On 4/1/2013 3:15 PM, dvosbu...@aol.com wrote: Hello, I have been tasked with moving an application from a JBoss application server to Tomcat 7. The application is using hibernate to establish a connection pool as I understand it. I've got Tomcat running under the standard ports and have depl

Re: Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-01 Thread Neven Cvetkovic
Hey David, I would suggest you create a sample application that will test the drivers, and if the connection is OK, with no application deployed. If you are not a developer, ask your developers on team to help you write a sample application. It can be as simple as a single JSP page. After you get

Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-01 Thread dvosbury1
Hello, I have been tasked with moving an application from a JBoss application server to Tomcat 7. The application is using hibernate to establish a connection pool as I understand it. I've got Tomcat running under the standard ports and have deployed the application. The SQL Server .jar file i

Re: Analyzing Connection Pool Errors/Leaks

2013-04-01 Thread Daniel Mikusa
On Apr 1, 2013, at 4:18 PM, David Landis wrote: > Thanks for the response, see my comments inline below. > > > On Mon, Apr 1, 2013 at 3:49 PM, Daniel Mikusa wrote: > >> On Apr 1, 2013, at 3:31 PM, David Landis wrote: >> >>> Hi guys, >>> >>> When running a performance test on my system it sta

Re: Java 7 support on Tomcat 5.5

2013-04-01 Thread Nick Williams
On Apr 1, 2013, at 3:44 PM, Satheesh Babu wrote: > Good Evening! > > We're running our production applications in Tomcat 5.5/JRE 1.5, and there is > a need for us to migrate our applications to Java 7(JRE 1.7). There is no > information available either on java or on Apace Tomcat site regradin

Re: how to monitor the traffic through the connector

2013-04-01 Thread Leon Rosenberg
On Mon, Apr 1, 2013 at 9:52 PM, Jeffrey Janner wrote: > > -Original Message- > > From: Daniel Mikusa [mailto:dmik...@vmware.com] > > Sent: Monday, April 01, 2013 1:09 PM > > To: Tomcat Users List > > Subject: Re: how to monitor the traffic through the connector > > > > On Apr 1, 2013, at 1

Re: Analyzing Connection Pool Errors/Leaks

2013-04-01 Thread David Landis
Thanks for the response, see my comments inline below. On Mon, Apr 1, 2013 at 3:49 PM, Daniel Mikusa wrote: > On Apr 1, 2013, at 3:31 PM, David Landis wrote: > > > Hi guys, > > > > When running a performance test on my system it starts fine, but after a > > while I start getting errors in my ap

RE: how to monitor the traffic through the connector

2013-04-01 Thread Jeffrey Janner
> -Original Message- > From: Daniel Mikusa [mailto:dmik...@vmware.com] > Sent: Monday, April 01, 2013 1:09 PM > To: Tomcat Users List > Subject: Re: how to monitor the traffic through the connector > > On Apr 1, 2013, at 1:40 PM, a wrote: > > > Hi, > > > > Thank you for reply. > > The ser

Re: Analyzing Connection Pool Errors/Leaks

2013-04-01 Thread Daniel Mikusa
On Apr 1, 2013, at 3:31 PM, David Landis wrote: > Hi guys, > > When running a performance test on my system it starts fine, but after a > while I start getting errors in my application log such as (see the bottom > for full stack trace): > > 2013-03-29 16:38:54,778 ERROR > [org.hibernate.engine.

Re: Tomcat and Windpws authentication

2013-04-01 Thread Konstantin Kolinko
2013/4/1 André Warnier : > Hi list. > > I have (re-)gone through the Tomcat 7 on-line documentation regarding > Windows Domain authentication (variously designated in different places with > acronyms such as WIA, SPNEGO, AD Authentication, with some additional > sub-levels of NTLM (v1 and v2) and K

Analyzing Connection Pool Errors/Leaks

2013-04-01 Thread David Landis
Hi guys, When running a performance test on my system it starts fine, but after a while I start getting errors in my application log such as (see the bottom for full stack trace): 2013-03-29 16:38:54,778 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] - [SimpleAsyncTaskExecutor-12842] -

Re: Populating JNDI entirely in Java code

2013-04-01 Thread Konstantin Kolinko
2013/4/1 Benson Margulies : > When embedding Tomcat, I'd like to create some objects purely from code -- > I don't want to bother to express them as XML -- and then pick them up > inside webapps. Now, calling enableNaming() on Tomcat sets up a bunch of > environment, but does not actually create a

Re: Tomcat Valve Custom args

2013-04-01 Thread Konstantin Kolinko
2013/4/1 André Warnier : > Christopher Schultz wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Karthik, >> >> On 4/1/13 8:28 AM, N.s.Karthik wrote: >>> >>> Reason : I have created a Customized valve as a separate jar used >>> for AAA interception of my APPS , Since I cannot c

Re: how to monitor the traffic through the connector

2013-04-01 Thread Daniel Mikusa
On Apr 1, 2013, at 1:40 PM, a wrote: > Hi, > > Thank you for reply. > The servlet of the web application does not response to the request after > running serveral months. The problem can be solved by restarting the tomcat. > I want to troubleshoot by monitoring the number of avaliable threads o

Re: how to monitor the traffic through the connector

2013-04-01 Thread a
Hi, Thank you for reply. The servlet of the web application does not response to the request after running serveral months. The problem can be solved by restarting the tomcat. I want to troubleshoot by monitoring the number of avaliable threads or occupied threads. Thank you "Daniel Mikusa"

Populating JNDI entirely in Java code

2013-04-01 Thread Benson Margulies
When embedding Tomcat, I'd like to create some objects purely from code -- I don't want to bother to express them as XML -- and then pick them up inside webapps. Now, calling enableNaming() on Tomcat sets up a bunch of environment, but does not actually create and JNDI objects. If I call enableNam

Tomcat and Windpws authentication

2013-04-01 Thread André Warnier
Hi list. I have (re-)gone through the Tomcat 7 on-line documentation regarding Windows Domain authentication (variously designated in different places with acronyms such as WIA, SPNEGO, AD Authentication, with some additional sub-levels of NTLM (v1 and v2) and Kerberos), without finding ever a

Re: Tomcat Valve Custom args

2013-04-01 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Karthik, On 4/1/13 8:28 AM, N.s.Karthik wrote: Reason : I have created a Customized valve as a separate jar used for AAA interception of my APPS , Since I cannot configure each and every application hosted on the Tomca

Re: Tomcat Valve Custom args

2013-04-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Karthik, On 4/1/13 8:28 AM, N.s.Karthik wrote: > Reason : I have created a Customized valve as a separate jar used > for AAA interception of my APPS , Since I cannot configure each and > every application hosted on the Tomcat with filters and henc

Re: Tomcat Valve Custom args

2013-04-01 Thread Michael-O
Am 2013-04-01 14:28, schrieb N.s.Karthik: Hi Thx for the reply I know that Valves are invisible to the app.. Reason : I have created a Customized valve as a separate jar used for AAA interception of my APPS , Since I cannot configure each and every application hosted on the Tomcat with fi

Re: Tomcat Valve Custom args

2013-04-01 Thread N.s.Karthik
Hi Thx for the reply I know that Valves are invisible to the app.. Reason : I have created a Customized valve as a separate jar used for AAA interception of my APPS , Since I cannot configure each and every application hosted on the Tomcat with filters and hence created a Valve to apply

Re: Setting up tomcat to run on port 443 on ubuntu system

2013-04-01 Thread Shyam Yadav
Hi Michael-O, Ognjen Sorry for replying so late. Actually I was doing it with unprivileged user. I haven't tried running tomcat with root user, cause i have been assigned a different task. Thanks you very much. really appreciate your help. Thanks & regards, Shyam Yadav On Mon, Apr 1, 2013 at 3

Re: Tomcat Valve Custom args

2013-04-01 Thread Michael-O
Am 2013-04-01 08:25, schrieb N.s.Karthik: Hi Spec: JDK1.6 Tomcat 6.0.26 O/s nix Suse I have build a Customized Valve and have done the required settings in context.xml for specific APP and have them returned variables System.println on console ( Catalina.out) Question : 1) How to get the

Re: Setting up tomcat to run on port 443 on ubuntu system

2013-04-01 Thread Michael-O
Am 2013-03-31 23:52, schrieb Ognjen Blagojevic: Shyam, On 29.3.2013 14:54, Shyam Yadav wrote: I did all the setting you have mentioned for Unix Daemon for Tomcat, but still i am getting the same problem. i.e. Permission Denied. When you run your jsvc-based Tomcat startup script, you MUST do

ecj 4.2.2

2013-04-01 Thread Ralph Schaer
Just a quick note. I saw on the changelog that Tomcat 7.0.40 is using ecj 4.2.2. So I created a bundle for this ecj version (like I did for 4.2.1), uploaded it to Sonatype and only a few hours later it got approved. Ecj 4.2.2 is now already in