Re: Set up postgresql on tomcat7

2016-08-17 Thread tomcat
With apologies for top-posting, I believe that this is now getting a bit confusing, in terms of Java and Tomcat versions, and in terms of where you want to run this on. I suggest that you start by looking at which highest version of Java you can install on your target machine, and then look at

Re: Set up postgresql on tomcat7

2016-08-17 Thread tomcat
On 17.08.2016 16:15, Andrew Davis wrote: Its a redhat .. i don't think tomcat 7 or later will run on this. Why shouldn't it ? As long as there is a java for it, Tomcat will run on it. Check out : http://tomcat.apache.org/whichversion.html But there is a contraduction then between the subject o

Re: Set up postgresql on tomcat7

2016-08-17 Thread Andrew Davis
Sorry, I got confused from yesterday and continued the question on my second machine without realizing . I have two machines. The one I started the question with is: Machine number 1. Ubuntu 14.04, Tomcat7 as my web server, I have postgreSQl 9.3 installed as my dbServer. java version 1.8.9_91 M

Re: Set up postgresql on tomcat7

2016-08-17 Thread Mark Eggers
Replies at the end: Andrew: On 8/17/2016 7:15 AM, Andrew Davis wrote: > Its a redhat .. i don't think tomcat 7 or later will run on this. > > On Aug 17, 2016 9:14 AM, "André Warnier (tomcat)" > wrote: > >> On 17.08.2016 16:06, Andrew Davis wrote: >> >>> Thanks for the prompt.. >>> >>> I hav

Re: Set up postgresql on tomcat7

2016-08-17 Thread Jason D. Burkert
On 2016-08-17 5:32 AM, Andrew Davis wrote: Thanks. I can now deploy my servlets and they work ok, but.. I had hoped to just deploy one copy of the postgres jar to my server and then be able to consume it inside multiple applications, instead of having multiple copies of the jar in multiple apps

Re: Set up postgresql on tomcat7

2016-08-17 Thread Andrew Davis
Thanks.. sorry bout the top-post. Andy On Wed, Aug 17, 2016 at 10:31 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Andrew Davis [mailto:drsockmon...@gmail.com] > > Subject: Re: Set up postgresql on tomcat7 > > > Its a redhat .. i don't

RE: Set up postgresql on tomcat7

2016-08-17 Thread Caldarale, Charles R
> From: Andrew Davis [mailto:drsockmon...@gmail.com] > Subject: Re: Set up postgresql on tomcat7 > Its a redhat .. i don't think tomcat 7 or later will run on this. Stop top posting; read the rules here: http://tomcat.apache.org/lists.html#tomcat-users The distributor of your OS

Re: Set up postgresql on tomcat7

2016-08-17 Thread Andrew Davis
Its a redhat .. i don't think tomcat 7 or later will run on this. On Aug 17, 2016 9:14 AM, "André Warnier (tomcat)" wrote: > On 17.08.2016 16:06, Andrew Davis wrote: > >> Thanks for the prompt.. >> >> I have been looking at the doc s and have my .jar file for postgres in the >> lib folder. >> >

Re: Set up postgresql on tomcat7

2016-08-17 Thread tomcat
On 17.08.2016 16:06, Andrew Davis wrote: Thanks for the prompt.. I have been looking at the doc s and have my .jar file for postgres in the lib folder. I do not understand where the https://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html If your version is Tomcat 7, then

Re: Set up postgresql on tomcat7

2016-08-17 Thread Andrew Davis
Thanks for the prompt.. I have been looking at the doc s and have my .jar file for postgres in the lib folder. I do not understand where the https://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html This author has not had success here... This doesn't inspire confidence her

Re: Set up postgresql on tomcat7

2016-08-17 Thread tomcat
On 17.08.2016 11:32, Andrew Davis wrote: Thanks. I can now deploy my servlets and they work ok, but.. I had hoped to just deploy one copy of the postgres jar to my server and then be able to consume it inside multiple applications, instead of having multiple copies of the jar in multiple apps.

Re: Set up postgresql on tomcat7

2016-08-17 Thread Andrew Davis
Thanks. I can now deploy my servlets and they work ok, but.. I had hoped to just deploy one copy of the postgres jar to my server and then be able to consume it inside multiple applications, instead of having multiple copies of the jar in multiple apps. I've been through the JNDI portion of the

Re: Set up postgresql on tomcat7

2016-08-17 Thread tomcat
Andrew, this list strips most kinds of attachments, so nobody saw your screenshots or whatever was in them. You need to copy/paste that text right into your message to the list (amd make sure that you send your message as "plain text", not HTML, otherwise it will be unreadable. On 17.08.2016 0

Re: Set up postgresql on tomcat7

2016-08-16 Thread Andrew Davis
Well, This has not turned out how I wanted it to . I have 'a solution' but it isnt what I wanted to do. I went back and re added the .jar file to the 'WEB-INF' folder and then deployed a new WAR file. Now things work just 'fine' BUT I suspect that this is not what a real coder would do and suspe

Re: Set up postgresql on tomcat7

2016-08-16 Thread Andrew Davis
I found the following in my logs.. from command line in Putty... cd /var/lib/tomcat7 tail -f logs/catalina.out [image: Inline image 1] I do have the jar file located in the following location on the machine.. /usr/share/tomcat7/lib https://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howt

Re: Set up postgresql on tomcat7

2016-08-16 Thread Jason D. Burkert
On 2016-08-16 2:44 PM, Andrew Davis wrote: Hello, Im working on getting java servlets to run on my instance of Ububtu with tomcat7. I write my applications in Eclipse.. when i run my apps localhost i see everything just fine. When i export my WAR files i check the includ source files. I deploy

Re: Set up postgresql on tomcat7

2016-08-16 Thread George Sexton
The best place to start would be to look at tomcat's logs for exceptions or errors. On 8/16/2016 12:44 PM, Andrew Davis wrote: Hello, Im working on getting java servlets to run on my instance of Ububtu with tomcat7. I write my applications in Eclipse.. when i run my apps localhost i see every