old tomcat behavior?

2002-10-18 Thread Mark Goking


is this an old tomcat behavior?

if im logged in and my last page is page1.jsp and my session times out so im 
redirected to /login.jsp.

problem is after logging in, it redirects me back to page1.jsp. i dont want it to be 
this way. is there a way to manually set the page to go to should be index.jsp?

this sucks up when you have frames and u timed out. when u login instead of being 
showin with frames it will only show the page of the frame where u last did some 
events on it (clicking, etc)

mark

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.401 / Virus Database: 226 - Release Date: 10/9/2002
 

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




tomcat's web xml

2002-10-22 Thread Mark Goking

in your web.xml suppose your login page is login.jsp

so when you go to a url, it shows u the login page before you are able to access the 
page that you wish to access

how can you set it in the configuration such that when the webserver shows you the 
login page, it simulates a redirection so that you can get
the value of request.getHeader(referer)

problem is, that value is always null. unless i do a response.sendRedirect() to a 
certain page, and it shows the login page

mark

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.404 / Virus Database: 228 - Release Date: 10/15/2002
 

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




how to set timeout in jboss/tomcat

2002-11-05 Thread Mark Goking


hi call, im using jboss/tomcat combo

where can you set the timeout of the session? what file?

i tried placing it in web.xml but it somehow disrupts the code of my jsp page. i had 
to take it out. i figure it may be somewhere in the conf/ directory ? but im guessing 
this will be effective for all webapps under where conf/ is found

mark


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 10/31/2002
 

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




where and how to set session time out to 1 hr?

2002-11-07 Thread Mark Goking


where and how to set session time out to 1 hr?

im using jboss-tomcat combo

mark

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 10/31/2002
 

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: Session and IP

2002-08-14 Thread Mark Goking

im using tomcat 4.04

and this is my code for using the jdbc realm in the server.xml

Realm  className=org.apache.catalina.realm.JDBCRealm debug=99
 driverName=oracle.jdbc.driver.OracleDriver
   connectionURL=jdbc:oracle:thin:@dev10:1521:dev10
connectionName=custcare
 connectionPassword=custcare
  userTable=custcare.users userNameCol=username userCredCol=password
  userRoleTable=custcare.groups roleNameCol=groupid /
--


however once i log in it always gives a null pointer exception and i cant trace the 
source of the error coz it goes directly to the error page itself.

im not sure but my doubt is that this will only work with 4.03 or maybe less. it wont 
work with the 4.04 version

now i also tried the 4.04 sample code

Realm  className=org.apache.catalina.realm.JDBCRealm debug=99
 driverName=oracle.jdbc.driver.OracleDriver
  
connectionURL=jdbc:oracle:thin:dev10:1521:ORCL?user=custcare;password=custcare
  userTable=users userNameCol=username userCredCol=password
  userRoleTable=groups roleNameCol=groupid /

this gives me a different error. invalid call argument. anyone help me with this? 
would be appreciated. thanks

-- mark

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




JDCB realm problem

2002-08-14 Thread Mark Goking





im using tomcat 4.04

and this is my code for using the jdbc realm in the server.xml

Realm  className=org.apache.catalina.realm.JDBCRealm debug=99
 driverName=oracle.jdbc.driver.OracleDriver
   connectionURL=jdbc:oracle:thin:@dev10:1521:dev10
connectionName=custcare
 connectionPassword=custcare
  userTable=custcare.users userNameCol=username userCredCol=password
  userRoleTable=custcare.groups roleNameCol=groupid /
--


however once i log in it always gives a null pointer exception and i cant trace the 
source of the error coz it goes directly to the error page itself.

im not sure but my doubt is that this will only work with 4.03 or maybe less. it wont 
work with the 4.04 version

now i also tried the 4.04 sample code

Realm  className=org.apache.catalina.realm.JDBCRealm debug=99
 driverName=oracle.jdbc.driver.OracleDriver
  
connectionURL=jdbc:oracle:thin:dev10:1521:ORCL?user=custcare;password=custcare
  userTable=users userNameCol=username userCredCol=password
  userRoleTable=groups roleNameCol=groupid /

this gives me a different error. invalid call argument. anyone help me with this? 
would be appreciated. thanks

-- mark

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




tomcat doesnt have a target=_top option

2002-08-14 Thread Mark Goking



i think ive read this problem before but i havent found any replies that offered a 
solution. or i may have missed it

i remember someone saying using the deprecated base target=_top ?

coz it wouldnt look nice if your login page is below the frame where the user did his 
interacting on the page. the login page should be on top as a whole page

anyone got nice suggestions, your tips are appreciated

mark

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: tomcat doesnt have a target=_top option

2002-08-14 Thread Mark Goking


John Naldoza, Jacob

yo, ill check out the base solution.

thanks man

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




where can i download request taglib

2002-08-15 Thread Mark Goking


anyone know the link to download the request taglib ?

this is the main page that i went to but i couldnt find a download link within this 
page

http://jakarta.apache.org/taglibs/doc/request-doc/request-1.0/index.html#javadocs

mark

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Illegal target of jump or branch

2002-08-16 Thread Mark Goking



hi all, what do you think of this problem

Illegal target of jump or branch

i dont know what's wrong with this because my other codes are working fine and there's 
a portion of my code that is the cause of this error. what baffles me is that if i 
take this out, it works fine. but my the other parts of my code which look the same 
(except for the variable names) work fine even if i do not take it out.

what do you think is the problem?

mark

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




hi all

2002-08-16 Thread Mark Goking

hi this is my error, and im using jakarta standard tag libs

System Replied: 
javax.servlet.ServletException: (class: org/apache/jsp/caselist$jsp, method: 
_jspService signature: 
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) 
Illegal target of jump or branch

any idea what this is?

it's real weird. i dont have any explanation for this one. i have a first | next | 
previous | last  links.. and it seems that the error surfaces whenever i put in 
another c:choose

juzt plain weird..

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: hi all

2002-08-16 Thread Mark Goking





capr1ce yyou are right. ur url stated that

The spec of the JVM states in ý 4.10:
* The amount of code per non-native, non-abstract method is limited to 65536 bytes 

Given that JSPs are compiled into java class methods,
the length of a single JSP page is limited


my compiled jsp page reached 79kb hehe whew.. taglibs sure are pretty expensive
darn.. thanks again.. i was stuck for four hours trying to figure out this one


-Original Message-
From: Capr1ce [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 6:37 PM
To: Tomcat Users List
Subject: Re: hi all



I found this. It seems to explain what the problem is... Dont know if it's 
much help though
http://forum.java.sun.com/thread.jsp?forum=54thread=171841


At 06:45 PM 16/08/2002 +0800, you wrote:
hi this is my error, and im using jakarta standard tag libs

System Replied:
javax.servlet.ServletException: (class: org/apache/jsp/caselist$jsp, 
method: _jspService signature: 
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) 
Illegal target of jump or branch

any idea what this is?

it's real weird. i dont have any explanation for this one. i have a first 
| next | previous | last  links.. and it seems that the error surfaces 
whenever i put in another c:choose

juzt plain weird..

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




unsubscribing to this mailing list

2003-01-06 Thread Mark Goking

why cant tomcat mailing list manually remove users? ive been trying to remove myself 
from the mailing list for four darn months yet it still cant?!?

im hoping that som admin here can manually remove me because there is no other way

mark

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.437 / Virus Database: 245 - Release Date: 1/6/2003
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: unsubscribing to this mailing list

2003-01-06 Thread Mark Goking

yes.
when i first joined this mailing list, i had no problem at all. i was even able to 
unsubscribe directly. but when i subscribed for the 2nd time, i had problems. it took 
me about 2 days to subscribe again. i didnt have any idea why it acted that way. 
within those 2 days i emailed the admin to manually add me and he said no because my 
email uses exchange server and the mailing list has problems dealing with email 
addresses that uses the ms exchange server. still, after 2 days i was able to 
subscribe myself here. the problem now is unsubscribing.

since i couldnt unsubscribe myself, i dont think it's impossible for the admin to 
manually remove me from the mailing list. unsubscribing is as simple as 1 2 3 but the 
process just doesnt work for me anymore.

mark

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 9:23 AM
To: 'Tomcat Users List '
Subject: RE: unsubscribing to this mailing list


 
Are you sure you are using the correct from address?  I was able to
unsubscribe and resubscribe myself twice in the past 6 weeks when going on
vacation.

FYI, the mail header I get says your address is @asia.bigfoot.com.  Is
that what you are using?

John

-Original Message-
From: Mark Goking
To: Tomcat Users List
Sent: 1/6/03 8:13 PM
Subject: unsubscribing to this mailing list


why cant tomcat mailing list manually remove users? ive been trying to
remove myself from the mailing list for four darn months yet it still
cant?!?

im hoping that som admin here can manually remove me because there is no
other way

mark

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.437 / Virus Database: 245 - Release Date: 1/6/2003
 

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.437 / Virus Database: 245 - Release Date: 1/6/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.437 / Virus Database: 245 - Release Date: 1/6/2003
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




How to autologin in j_security_check

2005-08-16 Thread Mark Goking
Hi

Havent found any close links in google so my last resort would be here..

Has anyone tried autologin using j_security_check?

This is the scenario. I wish to pop open a window with the login page.
However I want to autologin the account opening the window. I used
response.sendRedirect('https://pcname/bla/login.jsp?username=bookpasswo
rd=book');

However the result is https://pcname/bla/j_security_check . It doesn't
seem to go to index.

If I load the popped up window with the url https://pcname/bla/ and then
load the url with
https://pcname/bla/login.jsp?username=bookpassword=book in the address
bar, it will autologin when that page is loaded.

Anyone got ideas on any workaround for this? thanks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Passing parameter upon login using j_security_check

2005-08-21 Thread Mark Goking


Is it possible to pass a parameter upon login using j_security_check and
passing that parameter to index.jsp?

thanks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Passing parameter upon login using j_security_check

2005-08-21 Thread Mark Goking


Hi wade, yeah I read in some post that only j_username and j_password
gets passed in the form. Nothing else..

Even auto-login is not possible by passing the username and password as
http parameters.. I had to at least go to the login page, and then
executing the same url with the username/password will make the
autologin work. But, on the opening of the browser and executing that
url, wont work.

By the way, have you made this work using your own filter? If you don't
mind, a sample? thanks



-Original Message-
From: Wade Chandler [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 21, 2005 9:20 PM
To: Tomcat Users List
Subject: Re: Passing parameter upon login using j_security_check


--- Mark Goking [EMAIL PROTECTED] wrote:

 
 
 Is it possible to pass a parameter upon login using
 j_security_check and
 passing that parameter to index.jsp?
 
 thanks
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 

I don't think anything gets forwarded when the post is
handed off.  I tried printing all variables once and
nothing.  I was asking about this before.  You can
create your own filter and do the same thing however. 
Should be straight forward.  Then you can even
customize your security mechanism.  Just set a session
variable and if it is not set then you know to bounce
back to the security, otherwise allow the http call to
go through.

Wade

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Anyone familiar where SavedRequest class can be found?

2005-08-21 Thread Mark Goking


Anyone know which jar file this belongs?
I found this article, and this could be the solution to retaining
request parameters after logging in

http://sourceforge.net/tracker/?group_id=59484atid=491164func=detaila
id=766413

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Java 1.4.2_08 and up breaks Jstl

2005-08-22 Thread Mark Goking


As what allistair mentioned, please check if the object person is null,
if it's not, then test if person.language is null.



-Original Message-
From: Christoph Kutzinski [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 22, 2005 5:27 PM
To: Tomcat Users List
Subject: Re: Java 1.4.2_08 and up breaks Jstl


Hi Martyn,

I have 2 suggestions.

I) I suspect that the 2 dots in the value *might* be the problem.
I.e. have you tried this: c:out value=${person.language} /

II) You are using Jakarta Taglibs JSTL. Have you upgraded this to the 
latest stable version? This could be an incompability between an older 
JSTL implementation and newer JDKs.

I don't know if Jakarta Taglibs has dependencies on other libraries.
If it has, you should upgrade them as well.
I'm especially thinking about Commons Beanutils. This looks like it 
*could* be a beanutils problem.


Christoph


Martyn Hiemstra wrote:
 Hi All
 
 First of all my jsp file looks like this
 
 Contents Jsp File:
 %@ page language=java %
 %@ page contentType=text/html; charset=UTF-8 %
 %@ taglib uri=http://java.sun.com/jstl/fmt; prefix=fmt %
 %@ taglib uri=http://java.sun.com/jstl/core; prefix=c %
 
 c:out value=${person.language.localeName} /
 
 The error occures on the line with the person.language.localeName. 
 Person is a object in the session. The code prints the locale name the

 person has chosen.
 
 System
 Debian Sarge
 
 Tomcat:
 Tomcat 5.0.27 (I have also tried 5.0.28)
 
 Java
 I have Java j2sdk 1.4.2_05 installed under /opt/j2sdk1.4.2_05. I have 
 created a sym link from /opt/java to /opt/j2sdk1.4.2_05.
 I have JAVA_HOME point to /opt/java.
 
 
 This runs perfectly. I then install j2sdk 1.4.2_08 under /opt and then

 have /opt/java point to /opt/j2sdk1.4.2_08.
 
 I stop tomcat. Wait and check to see that no occurance is running in
the 
 memory anymore. I then start up tomcat. When calling the same jsp file

 that worked with the previous version of Java I get this error in the 
 catalina.out:
 2005-08-11 11:37:06 StandardWrapperValve[jsp]: Servlet.service() for 
 servlet jsp threw exception
 javax.servlet.jsp.JspException: An error occurred while evaluating 
 custom action attribute value with value 
 ${person.language.localeName}: Unable to find a value for language

 in object of class com.jatse.api.User using operator . (null)
at 

org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:
146) 
 
at 

org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:
166) 
 
at 

org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager.eval
uate(ExpressionEvaluatorManager.java:112) 
 
at 

org.apache.taglibs.standard.tag.el.fmt.SetLocaleTag.evaluateExpressions(
SetLocaleTag.java:141) 
 
at 

org.apache.taglibs.standard.tag.el.fmt.SetLocaleTag.doStartTag(SetLocale
Tag.java:101) 
 
at 

org.apache.jsp.index_jsp._jspx_meth_fmt_setLocale_0(index_jsp.java:146)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:100)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:324) 
 
at 

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237) 
 
at 

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157) 
 
at
com.jatse.website.filters.PersonFilter.doFilter(PersonFilter.java:42)
at 

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186) 
 
at 

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157) 
 
at 

com.jatse.website.filters.SetCharacterEncodingFilter.doFilter(SetCharact
erEncodingFilter.java:128) 
 
at 

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186) 
 
at 

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157) 
 
at 

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214) 
 
at 

org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104) 
 
at 

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at 

org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198) 
 
at 

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152) 
 
at 

org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104) 
 
at 

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at 


Securityfilter for authentication

2005-08-23 Thread Mark Goking

Has anyone here used securityfilter for authetntication? The samples
doesn't have any database realm example. If anyone got this working
using db for authetnication pls let me know, I would like to ask some
questions

thanks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Securityfilter for authentication

2005-08-23 Thread Mark Goking


I have the security filter .jar in my /lib directory but not the /lib
directory of the webapp. But the server's /lib.


-Original Message-
From: Andrew Stepanenko [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 23, 2005 8:21 PM
To: Mark Goking
Subject: Re: Securityfilter for authentication


Hello Mark,

says jdbcrealm[null]

I remember I also had this error but don't remember exactly a 
workaround. Checkout that you have a security filter .jar file in your 
WEB-INF/lib directory
and also inspect tomcat log files.

Regards,
Andrew.

Mark Goking wrote:

Hi this is my realm. I followed your catalina realm but when I login,
it
says jdbcrealm[null]

Is this org.apache.catalina.realm.JDBCRealm by default? Or doess my
class have to be the calssname of the oracle driver?


   !-- start with a Catalina realm adapter to wrap the Catalina realm 
defined below --
realm 
className=org.securityfilter.realm.catalina.CatalinaRealmAdapter /

realm className=org.apache.catalina.realm.JDBCRealm
 realm-param name=driverName
value=oracle.jdbc.driver.OracleDriver/
 realm-param name=debug value=0/
 realm-param name=connectionURL
value=jdbc:oracle:oci8:@bill /
realm-param name=connectionName
value=cstest /
realm-param name=connectionPassword
value=cstest /
 realm-param name=userTable value=users/
 realm-param name=userNameCol value=username/
 realm-param name=userCredCol value=password/
 realm-param name=userRoleTable value=user_roles/
 realm-param name=roleNameCol value=groupid/
 /realm

  



-- 
Andrew Stepanenko,
Software engineer,
Ukrainian-Dutch Faculty of Economics and Management
Ternopil State Economic University
Shevchenko Street 9, Office 24-25
Ternopil, 46000 UKRAINE
Tel: +38 (0352) 43 52 41
fax: +38 (0352) 43 52 45
Web: http://unf.tane.edu.ua


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Using securityfilter in jboss/tomcat

2005-08-23 Thread Mark Goking


Hi,

Ive successfully used securityfilter with jboss/tomcat. But the problem
is, securityfilter has a securityfilter-config.xml and within this is
required a realm tag for db authentication.

If I don't use securityfilter, I can just add this line
realm-namemark-login/realm-name (which is configured in the
server/cs/conf/login-config.xml) within the login-config tag

Any idea how to go about making mark-login work within
sceurityfilter-config.xml ? Rather than having to make a realm tag?

thanks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Passing parameter upon login using j_security_check

2005-08-24 Thread Mark Goking


There was someone who posted 2 yrs ago about a fix for this. But it
involved modifying the source code of SavedRequest.class in the
catalina.jar

Here is the url of that post

http://sourceforge.net/tracker/?group_id=59484atid=491164func=detaila
id=766413

I went to tomcat site but I couldn't find any source code for the files
of catalina.jar

If anyone finds the url, pls post it here, thanks..

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]