Re: Eclipse/Tomcat/jdbc

2019-02-09 Thread John Dale
Bravo! Good work. John On 2/9/19, Jerry Malcolm wrote: > John, > > Update I went into the eclipse server definition and changed "Use > Workspace Metadata" to "Use Tomcat Installation" and it finally works. > This validates your assumption that some config item was not being > replicated.

Re: Eclipse/Tomcat/jdbc

2019-02-09 Thread John Dale
It's been awhile since I used eclipse, so forgive my lack of specificity. I did run into this problem several times, though, when I was using eclipse I'm sure of it. Are you setting up a database connection pool? You can define these either in server.xml or in a separate context file. I

Re: Eclipse/Tomcat/jdbc

2019-02-09 Thread Jerry Malcolm
John, Update I went into the eclipse server definition and changed "Use Workspace Metadata" to "Use Tomcat Installation" and it finally works.  This validates your assumption that some config item was not being replicated.  But I still would like to know what it is that's missing.  I

Re: Eclipse/Tomcat/jdbc

2019-02-09 Thread Jerry Malcolm
John, Specifically what "jdbc configuration" am I looking for?  I see all the replicated config files in the eclipse workspace plus the metadata folder, etc.  But I don't really define 'jdbc' explicitly in native tomcat (At least I don't think I do).  So I'm not sure what should be

Re: Eclipse/Tomcat/jdbc

2019-02-09 Thread Jerry Malcolm
Arjuna, It's not maven.  It's a simple WAR file project.  Actually several virtual hosts with several WAR files per host.  I don't build in Eclipse.  I simply reference the source tree.  Everything is deployed in Tomcat and running fine standalone. I decided to start from scratch and

Re: Eclipse/Tomcat/jdbc

2019-02-09 Thread John Dale
Eclipse creates its own set of deployment metadata .. likely your jdbc configuration is not being replicated there. In the tomcat logs, you can usually find some file paths that give a clue as to the deployment information being used .. in eclipse, I would guess they are machine generated paths

Re: Eclipse/Tomcat/jdbc

2019-02-09 Thread Arjuna Bandara
Jerry, Are you running Maven project? Could you send error msg? Regards, Arjuna On Sat, 9 Feb 2019 9:46 pm Jerry Malcolm, wrote: > Any idea what could cause 'jdbc' to not be found when running eclipse, > but it is found when running outside eclipse? > > I have a fully functional Tomcat 9.0

Eclipse/Tomcat/jdbc

2019-02-09 Thread Jerry Malcolm
Any idea what could cause 'jdbc' to not be found when running eclipse, but it is found when running outside eclipse? I have a fully functional Tomcat 9.0 running fine with Windows services.  But when I define a Tomcat 9.0 server in Eclipse and start it up, the first time I need to access a