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
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:
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
...
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
...
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)
...
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
, 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
'
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
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
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
.
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
, 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
-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
in the DirectoryIndex statement of Apache. Also check
your JkMount statements. Apache needs to forward all jsps to Tomcat.
RS
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
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
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
...
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
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
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]
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?
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
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,
...
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
...
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
..
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:
Nishant Awasthi
Corporate Systems Development
Progressive Insurance
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
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
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
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
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
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
33 matches
Mail list logo