tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Turner <r...@gvtc.com>
Subject Re: dsn config issues
Date Tue, 06 Feb 2018 21:11:30 GMT
Sorry, I don’t understand the question.  I’m a noob at tomcat.  I assume the jar file should
load since it’s in the same location as all of the other jar files.

> On Feb 6, 2018, at 2:57 PM, M. Manna <manmedia@gmail.com> wrote:
> 
> How r u bootstrapping the application? As installed service or invoking
> main() usimg bootstrap.jar?
> 
> Also, I would try loading the jar from -classpath location. Typically, it
> should be placed into WEB-INF/lib folder. But may be you want to try
> loading it from classpath and see how it goes.
> 
> Regards,
> 
> 
> 
> 
> On 6 Feb 2018 8:46 pm, "Rob Turner" <robt@gvtc.com> wrote:
> 
> Yes.  CATAKINA_HOME = /usr/tomcat8.  I don’t see any errors during
> startup.  The only message I see that looks unusual is:
> 'org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned
> for TLDs yet contained no TLDs.'
> 
>> On Feb 6, 2018, at 1:27 PM, Christopher Schultz <
> chris@christopherschultz.net> wrote:
>> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>> 
>> Rob,
>> 
>> On 2/6/18 1:28 PM, Rob Turner wrote:
>>> My jdbc jar file is located in /usr/tomcat8/lib.
>> 
>> Is CATALINA_HOME == /usr/tomcat8?
>> 
>>> I see the same error in my log files as on my web page.  Our
>>> application traps the errors and displays them on the page.  I
>>> tried to remove the error trapping mechanism and now receive the
>>> following when accessing a page containing database access:
>>> 
>>> org.apache.jasper.JasperException: An exception occurred processing
>>> JSP page /fbc/../common/client_configuration.inc at line 286
>>> 
>>> 283:  throws NoSuchMethodException, InstantiationException, 284:
>>> IllegalAccessException, java.lang.reflect.InvocationTargetException
>>> { 285: return (Exception) e.getClass().getConstructor(new
>>> Class[]{(new String()).getClass()}) 286: .newInstance(new
>>> String[]{additionalMessage + ". " + e.getMessage()}); 287: } 288:
>>> 289:
>>> 
>>> 
>>> Stacktrace:
>>> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServ
>> letWrapper.java:588)
>>> 
>>> 
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
>> va:466)
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:38
>> 5)
>>> 
>>> 
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>>> 
>>> 
>> root cause
>>> 
>>> javax.servlet.ServletException: javax.naming.NameNotFoundException:
>>> Invalid or unavailable DSN in Fort Bend County. Opening database
>>> connection. Name [jdbc/test] is not bound in this Context. Unable
>>> to find [jdbc].
>> 
>> 
>> Any errors during startup? Usually, Tomcat would attempt to connect to
>> the database in order to pool at least one connection.
>> 
>> - -chris
>> -----BEGIN PGP SIGNATURE-----
>> Comment: GPGTools - http://gpgtools.org
>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>> 
>> iQJRBAEBCAA7FiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlp6AaQdHGNocmlzQGNo
>> cmlzdG9waGVyc2NodWx0ei5uZXQACgkQHPApP6U8pFh6MA/+P5LR+JTSKQGBkTyb
>> o6haKEV5wpQm1JZiZmlkFniTgi1OBebPnAbXVlBeYjZYrEf8Fn7KgFyKWYxdodI3
>> RH+6AJAfHob8A6hn2DsOcP6c2tOx4Xrz9BYpt235OQlmWiSfwDvBvhq/Ao+8z8s1
>> cCerzeWVzdiiHppv01/tGcbHgEuJPzh++yN6b6guOFM9U4WDPrdifTyKYhyLqOfV
>> fXU00KG6m3t8qyTEBfmMVJao4DXmI02uiwNZebRoWlvJaWrJfdnoj3TY5nI45ptm
>> 4BM0Z7PvAWsmAvZTjA/yNFtyhMHDZejmcpAKHyObJUUgYMKDjR4BJ0rQ7TWE2uXd
>> Xf9Df6znWHDiC2mnhQqy1APiNif8BgGdlW8NbrbN8acvFRIlUdKEO0b+Nhl22lkN
>> xnqJ/1WwogPRI8YVcpXR+3eIESRNDX/sxbY5rraoTJVK53V4OqBAByv0+ZCRVaVI
>> g0TOu9fsS1m47TVTFzHGOQBW6UGmQUdWe9rDn7l0FM/4Q3dlBmW0S7WqOsAKlQOf
>> iB0YwNAQRhPdgnMGk4eYGhxByay2LsCdLvBy18Vj5zp9H7/G5iTYUR/111cxDR69
>> swH+LtOQ1VDzuesRX+YxpBNUAp82pO2t/TeYqDAs+VuYjpjkcSkWXE/M2lSfOhlj
>> kSVnzxNc7aY7VBrXiLR1KXl8VZQ=
>> =7qS/
>> -----END PGP SIGNATURE-----
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message