JNDI context read only ??.

2003-10-08 Thread Michael Remijan
Hi, I want to put an object into the JNDI context, but I get an exception that says the context is read only. Is there a way to make it writable? Context ctx = (Context) new InitialContext().lookup(java:comp/env); ctx = ctx.createSubcontext(glqso); ctx.bind(ResourceManager, _rm); thanks, Mike

Where does system.out go?

2003-10-08 Thread Michael Remijan
Hello, In a JSP page i'm doing some testing. I have System.out.println() statements in there temporarily. Anyone know where they go? I checked the Context's logger that they are not there. Mike - To unsubscribe, e-mail:

RE: HTTP 404 on j_security_check

2002-09-11 Thread Michael Remijan
All, My solution was to bypass it all together. I wanted to use that realm in order to enable single sign on for multiple webapps. After a week of struggling with problems exactly like you described, I finally gave up. After thinking for a few minutes I guessed (correctly) that single sign

RE: The requested resource (/login/j_security_check) is not available

2002-08-28 Thread Michael Remijan
... this is one, of many frustrations that I found while experiementing with singleSignOn, realms, and defining secured areas in the webapp. The main crux of the problem is that when you submit to /j_security_check there is no way to also specify where tomcat should re-direct to. This works

RE: JDBCRealm + Form Based Auth. How do I tell it were to go if loginis ok?

2002-08-28 Thread Michael Remijan
... As of right now you can't! tomcat relies on where the user was trying to go in order to figure out where to redirect to after the form is submitted. Example: 1) try to get to /secure_html/prices.html 2) tomcat intercepts, displays login page, and remember where user was trying to go. 3)

how to delete a cookie?????

2002-08-27 Thread Michael Remijan
... I'm testing the use of cookies by basically setting up a jsp page in two different contexts and flipping back and forth between them. I've tried to delete the cookie by calling setMaxAge() with -1, 0, and 1 but i've not been able to been able to successfully delete the cookie, i.e when i

RE: how to delete a cookie?????

2002-08-27 Thread Michael Remijan
, Michael Remijan wrote: ... I'm testing the use of cookies by basically setting up a jsp page in two different contexts and flipping back and forth between them. I've tried to delete the cookie by calling setMaxAge() with -1, 0, and 1 but i've not been able to been able to successfully delete

JDBCRealm - difference between no user/password and SQLException

2002-08-26 Thread Michael Remijan
' Subject: RE: specify the url after j_security_check login The user is directed to the login when they request a secure resource. If they complete the login process successfully then they ar forwarded to the page that they asked for previously. Hamish -Original Message- From: Michael

RE: Apache 2 and Tomcat 4

2002-08-12 Thread Michael Remijan
for an easy way to deploy applications under 4.1.x. using Ant. Good luck rls Michael Remijan [EMAIL PROTECTED] 08/11/2002 02:57 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Apache 2 and Tomcat 4 Robert, Yes

automatically serve index.jsp

2002-08-12 Thread Michael Remijan
hi all, I'm currently working on Apache 2.0.39 - tomcat-4.1.8 with mod_jk2 and jdk1.4.0_01. I've posted previously about apache giving a directory listing instead of returning index.jsp. The only way I've been able to get around this problem is editing the workers2.properties file to

RE: automatically serve index.jsp

2002-08-12 Thread Michael Remijan
. Steve Michael Remijan wrote: hi all, I'm currently working on Apache 2.0.39 - tomcat-4.1.8 with mod_jk2 and jdk1.4.0_01. I've posted previously about apache giving a directory listing instead of returning index.jsp. The only way I've been able to get around this problem is editing

RE: automatically serve index.jsp

2002-08-12 Thread Michael Remijan
, not sure as obvious in 2.0. Steve Michael Remijan wrote: hi all, I'm currently working on Apache 2.0.39 - tomcat-4.1.8 with mod_jk2 and jdk1.4.0_01. I've posted previously about apache giving a directory listing instead of returning index.jsp. The only way I've been able to get around

RE: automatically serve index.jsp

2002-08-12 Thread Michael Remijan
-Original Message- From: Michael Remijan [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 11:02 AM To: Tomcat Users List Subject: RE: automatically serve index.jsp ... having this snippet workers2.properties also works - workers2.properties (snippet

RE: automatically serve index.jsp

2002-08-12 Thread Michael Remijan
in the DirectoryIndex statement of Apache. Also check your JkMount statements. Apache needs to forward all jsps to Tomcat. RS Michael Remijan

RE: Apache 2 and Tomcat 4

2002-08-11 Thread Michael Remijan
and Tomcat do their respective jobs, static for Apache, and jsp for Tomcat. Michael Remijan [EMAIL PROTECTED] 08/05/2002 12:52 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Apache 2 and Tomcat 4 Robert, I

RE: NOW DESPERATE: Package not found

2002-08-11 Thread Michael Remijan
I had problems similar to this using jdk1.4.x with older versions of tomcat. what versions are you using? mike/ -Original Message- From: Josh [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 11, 2002 10:04 PM To: [EMAIL PROTECTED] Subject: NOW DESPERATE: Package not found Ok, I

RE: ClassNotFound

2002-08-11 Thread Michael Remijan
There were earlier posts about this I think. I believe the db2 drivers are not 100% java. Which means there are *.dll or *.so files or something else which contains native code that the java classes of the db2 drivers use. You need to make sure those *.dll or *.so files are available via

RE: Forcing authentication

2002-08-11 Thread Michael Remijan
... It really depends on how you have done the coding of the classes and what kind of framework (struts?, other?) you used for the webapp. The idea is simple though. when the form is submitted, you need to have a method that: 1) queries a datastore for username/password 2) does something if

RE: Oracle 8.1.7 JDBC classes

2002-08-02 Thread Michael Remijan
users, This may sound stupid but did the classname of the driver change? like in the previous version it was com.oracle.sql.Driver and in the new version it's COM.oracle.sql.OracleDriver? I highly doubt it but it's another idea. mike/ -Original Message- From: Ralph Einfeldt

apache + tomcat 4.1.7

2002-08-02 Thread Michael Remijan
I've seen tons of posts about apache2 and tomcat 4.0.x. what about tomcat 4.1.7? will the same techniques apply? mike/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

webapp startup problem w Tomcat4.1.7

2002-08-02 Thread Michael Remijan
users, I've started developing with tomcat-4.1.7 with jdk1.4.1b14 on windows2000. i'm deployed in this directory: C:\apps\Tomcat\jakarta-tomcat-4.1.7\webapps\diary. Tomcat outputs to it's log file the following error when trying to deploy a webapp. Anyone have an idea about this one?

RE: Classpath Woes...

2002-07-31 Thread Michael Remijan
Hi, Another great example of why I strongly advocate *against* the use if ide's!! Mike -Original Message- From: Ben Boule [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 5:06 PM To: '[EMAIL PROTECTED]' Subject: Classpath Woes... Hi, I was wondering if anyone could help me

RE: putting custom code in front of Struts Main Servlet

2002-07-31 Thread Michael Remijan
What I did is extend the org.apache.struts.action.ActionServlet override the init() method and then in WEB-INF/web.xml use the name of your class for the servlet-class.../servlet-class entry. Mike -Original Message- From: Chris Ruegger [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

share session between webapps

2002-07-31 Thread Michael Remijan
... Is there technique to share a session, or objects within the session between web applications? What I want to do is login or register at a site and if the user moves to a different webapp, I want to be able to determine, by looking for an object in the user's session, that they are

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Michael Remijan
... Here's a thought. are the drivers for DB2 100% java native. I'm remembering a problem a colleage of mind had using the the jdbc drivers for a database named Progress. It turns out they were not 100% java and relied on calls to native libraries. If you're running on windows it'll be a

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Michael Remijan
.. I'm going to bet it's because of Program Files try putting it in a directory without spaces or use progra~1 in place of Program Files mike/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 9:35 AM To: Tomcat Users List Subject:

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Michael Remijan
Nishant Awasthi Corporate Systems Development Progressive Insurance Michael Remijan

RE: AW: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Michael Remijan
the dll needs to be part of the PATH environment variable (refer to that website below) so *prepend* %SQLLIB%\lib to PATH and see what happens. mike/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 11:05 AM To: Tomcat Users List

simple example of using SingleSignOn

2002-07-31 Thread Michael Remijan
users, Would it be possible for someone to post an example of the use of the SingleSignOn valve, Valve className=org.apache.catalina.authenticator.SingleSignOn debug=0/ including the example webapp and the files: $TOMCAT_HOME/conf/server.xml $TOMCAT_HOME/conf/web.xml thanks mike/ -- To

RE: Native OS authentication using single sign on ...

2002-07-30 Thread Michael Remijan
I've been following these posts closely because I want to do basically the same thing as well. My stupid question is what happens after you submit the form?? What I would like to do is create an Object and put it in the users session. However, if the user goes click on a link that takes

RE: $20 bucks to the 1st person who actually solves my problem!!!

2000-12-08 Thread Michael Remijan
David, This might be worth a shot. in the page you want reloaded, try adding in this head META HTTP-EQUIV = "Pragma" CONTENT="no-cache" /head this meta tag forces no cache of the page so it is suppose to be refreshed from the server everytime. Let me know if this help. Mike -Original

servlet or page target _top in IE

2000-12-08 Thread Michael Remijan
Hi, Ok, in Navigator I can use META HTTP-EQUIV="Window-target" CONTENT="_top" and have a servlet call a page and have that page not be in a frame. As usual, Navigator and IE don't agree. IE ignores this META tag so the page still appears in the frame. I also tried

servlet or page target _top in IE

2000-12-07 Thread Michael Remijan
Hi, Ok, in Navigator I can use META HTTP-EQUIV="Window-target" CONTENT="_top" and have a servlet call a page and have that page not be in a frame. As usual, Navigator and IE don't agree. IE ignores this META tag so the page still appears in the frame. I also tried