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 guess I had my old server def set to "use tomcat installation" when it
was working and somehow changed it for some reason, which would explain
why it started failing. But it is pretty clear now that Eclipse didn't
replicate everything required to use the metadata. Any idea what might
be missing? I guess I might need to move this discussion over to
Eclipse now.
Thanks for the suggestions.
Jerry
On 2/9/2019 11:23 AM, Jerry Malcolm wrote:
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
replicated that's possibly not. What config file paths, etc I'm
looking for? I looked at the Tomcat logs in the Eclipse console. No
mention of JDBC other than the exception. Is there a bit more detail
on what to look for?
Thanks.
Jerry
On 2/9/2019 11:08 AM, John Dale wrote:
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 that will surprise you.
On 2/9/19, Arjuna Bandara <arjunab...@gmail.com> wrote:
Jerry,
Are you running Maven project?
Could you send error msg?
Regards,
Arjuna
On Sat, 9 Feb 2019 9:46 pm Jerry Malcolm, <techst...@malcolms.com>
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 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 datasource jdbc/abcxyz it fails
saying jdbc can't be found. I figure I'm doing something wrong in the
config. But I've tried clearing out eclipse and starting over many
times.
Suggestions?
Thx.
Jerry
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org