----- Original Message -----
Sent: Wednesday, May 02, 2001 10:37
PM
Subject: Re: [JBoss-user] tomcat
JDBCRealm breaks on redeploy
I have set debug="99", and still don't get any
useful information traced. The snippet in my server.xml file
is:
<RequestInterceptor
className="org.apache.tomcat.request.JDBCRealm"
debug="99"
driverName="org.postgresql.Driver"
connectionURL="jdbc:postgresql://some.server.com/mydb"
connectionName="scott"
connectionPassword="tiger"
userTable="person"
userNameCol="email"
userCredCol="password"
userRoleTable="userrole"
roleNameCol="rolename" />
(Names changed to protect the
innocent). I am using a view in postgres, versus an actual table, but I
don't think that should effect this at all.
The only place I see new things being logged is
in the jasper.log, where I get:
2001-05-02 08:30:27 - JspEngine -->
/loginerror.jsp.deployed
2001-05-02 08:30:27
- ServletPath:
/loginerror.jsp.deployed
2001-05-02 08:30:27
- PathInfo:
null
2001-05-02 08:30:27
- RealPath:
/root/jboss221/JBoss-2.2.1_Tomcat-3.2.1/jboss/tmp/deploy/Default/demo.war/web1006/loginerror.jsp.deployed
2001-05-02
08:30:27 - RequestURI:
/demo/loginerror.jsp.deployed
2001-05-02 08:30:27
- QueryString: null
2001-05-02
08:30:27 - Request Params:
2001-05-02 08:30:27 -
Classpath according to the Servlet Engine is:
/root/jboss221/JBoss-2.2.1_Tomcat-3.2.1/jboss/tmp/deploy/Default/demo.war/web1006/WEB-INF/classes:/root/jboss221/JBoss-2.2.1_Tomcat-3.2.1/jboss/tmp/deploy/Default/demo.war/web1006/WEB-INF/lib/postgresql.jar:/root/jboss221/JBoss-2.2.1_Tomcat-3.2.1/jboss/tmp/deploy/Default/demo.war/web1006/WEB-INF/lib/criteria.jar:/root/jboss221/JBoss-2.2.1_Tomcat-3.2.1/jboss/tmp/deploy/Default/demo.war/web1006/WEB-INF/lib/fmtaglib.jar:/root/jboss221/JBoss-2.2.1_Tomcat-3.2.1/jboss/tmp/deploy/Default/demo.war/web1006/WEB-INF/lib/isthmus-web.jar:/root/jboss221/JBoss-2.2.1_Tomcat-3.2.1/jboss/tmp/deploy/Default/demo.war/web1006/WEB-INF/lib/ejb1_1.jar:/root/jboss221/JBoss-2.2.1_Tomcat-3.2.1/jboss/tmp/deploy/Default/demo.war/web1006/WEB-INF/lib/lucene.jar:/root/jboss221/JBoss-2.2.1_Tomcat-3.2.1/jboss/tmp/deploy/Default/demo.war/web1006/WEB-INF/lib/cos.jar:/root/jboss221/JBoss-2.2.1_Tomcat-3.2.1/jboss/tmp/deploy/Default/demo.war/web1006/WEB-INF/lib/jdring.jar:/root/jboss221/JBoss-2.2.1_Tomcat-3.2.1/jboss/tmp/deploy/Default/demo.war/web1006/WEB-INF/lib/isthmus-tools.jar
(I rename the jsps to .deployed as part of a
controller servlet scheme)
Also, I have tried reloading many times to no
avail. Thanks in advance for any advice,
Scott
>set debug="99" in the JDBC Inteceptor, and
you should see what's going on.
>The same thing happens to me... after
redeploying, I have to hit login 3
>times, then everything is back to
normal.
>
>--
Dewayne