You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by su...@imasstelecom.com on 2002/12/23 22:23:07 UTC

access denied

hi all,

i tried this code.. the below mentioned error is coming !!!! pl help
------------
javax.naming.Context ctx = new javax.naming.InitialContext();
if(ctx == null )
System.out.println("Context is null");
else {
javax.sql.DataSource ds1 = (javax.sql.DataSource)ctx.lookup
("java:comp/env/TestDB");

if (ds1 != null) {
java.sql.Connection conn = ds1.getConnection();
---------------------

org.apache.jasper.JasperException: java.sql.SQLException: Invalid
authorization specification: Access denied for user:
'javauser@localhost.localdomain' (Using password: YES)
           at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)

           at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)


T I A

best regards
sunil


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>