Re: How do I get user credential in Tomcat

2005-08-01 Thread Jo
Previous mails on 'j-security_check & sessions' could give you a useful information. Since you're looking at Basic authentication, try to extract the credential from the authorization header. Jo.- - Original Message - From: "Ikonne, Ike" <[EMAIL PROTECTED

Re: JAASRealm and Subject

2005-07-18 Thread Jo
Is casting request.getUserPrincipal() to your custome-made Principal gonna help get what you want ? Jojada.- - Original Message - From: "ohaya" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, July 19, 2005 9:46 AM Subject: Re: JAASRealm and Subject > Rogerio, > > Try taking

Re: security constraints in tomcat 4.1.30

2005-06-05 Thread Jo
protected images and stylesheet, Tomcat has to redirect the request back to the login page again. rgds, Jo.- - Original Message - From: "Angela Stempfel" <[EMAIL PROTECTED]> To: Sent: Friday, June 03, 2005 4:53 PM Subject: security constraints in tomcat 4.1.30 > Hel

How to get user's password from tomcat

2005-06-02 Thread Jo
Hi all, Once Tomcat has authenticated a login, we can get the the authenticated user's name from the request's getRemoteUser() or getUserPrincipal() methods. Is there a way to get the user's password when the authentication type is form-based or single-sign-on ? T

Re: File writing using servlet

2004-06-02 Thread Teja Jo
Hi, Thanks for ur reply.I want to do following - 1/ write a bmp file to the filesystem on the Tomcat host Could u tell what is to be done for it? Regards, Teja jo. QM <[EMAIL PROTECTED]> wrote: On Mon, May 31, 2004 at 07:32:35AM -0700, Teja Jo wrote: : Please tell me how to write

File writing using servlet

2004-05-31 Thread Teja Jo
Hello everyone, Please tell me how to write a .bmp file on the tomcat server of a servlet using the same servlet. Regards, Teja jo. - Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger

Getting image files from applet

2004-03-09 Thread Teja Jo
Hi, Could anyone suggest how to get image files in same directory on server into the applet Regards, Teja Jo. - Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster.

Applet class files' location

2004-01-30 Thread Teja Jo
Hello everyone , There r some jsp files in the root directory of the web application.They display some applets.If the applet class files are placed in a package structure inside WEB-INF/classes - then I get a "ClassNotFoundException" for the applet.The applet files have to be compulsorily kept

File Access Denied

2004-01-30 Thread Teja Jo
Hello everyone, I have a file in 1 of the directories - from where 1 of the files in the same directory is reading it - the directory being inside webapp/testApp directory.I get the exception - file access denied permission to read .Could u tell me a way to get rid of this exception to read th

EOFException in Applet-Servlet communication

2004-01-09 Thread Teja Jo
Hello everyone, I am writing 2 serializable objects to servlet - after the url connection is setup .The same code is working at number of other places.But at one place it is throwing a EOFException.Could u tell me a way to remove this exception? Regards, Teja. --

Tomcat 4.1.29 not starting

2003-12-31 Thread Teja Jo
Hello , My tomcat suddenly ends with the following exception : Dec 31, 2003 1:39:05 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 Dec 31, 2003 1:39:06 PM org.apache.commons.digester.Digester en

Tomcat suddenly not strating up

2003-12-31 Thread Teja Jo
Hello, My tomcat 4.1.29 was running fine till noon.Then suddenly it started throwing following error- The system cannot find the file -Djava.endorsed.dirs=. and is not running at present. Please help. Teja. - Do you Yahoo!? New Yahoo! Photos - easier upload

Browser control thru servlet

2003-12-30 Thread Teja Jo
Hello everyone, Can anyone tell me how the back and forward button of browser be controlled - as disabled for example or specifying the url it should go to - thru the requests made to servlet? Thanks and regards, Tejashri. - Do you Yahoo!? New Yahoo! Photos - eas

Servlets not executed

2003-12-29 Thread Teja Jo
Hello everyone, My servlets are not getting executed - though I have deployed them in the webapps directory.It is giving the following exception : java.net.ConnectException Connection refused : connect. Please help. Regards, Teja. - Do you Yahoo!? New Yahoo! P

RE: Further details - RequestDispatcher in servlet is not working

2003-12-18 Thread Teja Jo
Hello, It is the doGet method of servlet - what will it return after the forward call- its return type is void.Here after the forward call when I had given a log message - that message got logged (the RequestDispatcher object got is not null was proved since I printed that object address) - bu

RE: Reading from an xml file from servlet supporting class

2003-12-18 Thread Teja Jo
apira Millennium ChemInformatics >-Original Message- >From: Teja Jo [mailto:[EMAIL PROTECTED] >Sent: Tuesday, December 16, 2003 11:18 PM >To: [EMAIL PROTECTED] >Subject: Reading from an xml file from servlet supporting class > >Hi, > >A class used by my servlet in the web appl

Re: RequestDispatcher in servlet is not working

2003-12-17 Thread Teja Jo
y Paul - Original Message - From: "Teja Jo" To: Sent: Thursday, December 18, 2003 9:27 AM Subject: RequestDispatcher in servlet is not working > Hello everyone, > > My servlet after processing something from the HttpServletRequest received by it - is supposed to

Further details - RequestDispatcher in servlet is not working

2003-12-17 Thread Teja Jo
Hello everyone, wrt the need for actual code - I am sending this code which is executed by doGet method of my servlet : String temp = request.getParameter("abc"); if( temp.equals("xyz")) { //do some processing ... } //uptil this point it gets executed properly strAd

RequestDispatcher in servlet is not working

2003-12-17 Thread Teja Jo
Hello everyone, My servlet after processing something from the HttpServletRequest received by it - is supposed to forward the request using RequestDispatcher - but it is not doing so.(Only when directly forwarded without doing any initial processing with the request - it gets forwarded).Pleas

Please help - FileNotFoundException

2003-12-17 Thread Teja Jo
Hello everyone, I am parsing a xml file using FileInputStream a file from a servlet.The file is in the same directory as the servlet.Yet it is giving me a "FileNotFoundException".Can anyone tell me some solution for this. Regards, Tejashri. - Do you Yahoo!? F

Reading from an xml file from servlet supporting class

2003-12-16 Thread Teja Jo
Hi, A class used by my servlet in the web application is using a xml file .These 3 files are in the same folder inside webapps//WEB-INF/classes/ in tomcat - yet the servlet-supporting class cannot read the xml file .Where to place the xml file so that it can be read? Regards, Teja. --

Re: No valid command found (Please ban this guy)

2003-07-11 Thread jo outen
Can someone please ban this guy from the list. !!! --- [EMAIL PROTECTED] wrote: > Your message does not contain a valid command for > this mail server > to process. No action has been taken. > > Message-ID: > <[EMAIL PROTECTED]> > From : [EMAIL PROTECTED] > Date : Sat, 12 Jul 2003 09:20

Re: tomcat dying on solaris

2003-03-21 Thread jo outen
Much simpler change the catalina.sh to run as ksh instead of sh. The sh shell is not handling the job correctly. --- Carsten Heidmann <[EMAIL PROTECTED]> wrote: > Hi, > At 21.03.2003 12:16 +, you wrote: > >My tomcat process if dying suddenly on Solaris > system. I am using tomcat > >4.1.12 o

Re: Play the key "ctr + c" in any directions, the server(Tomcat 4.x) will be shutdow

2003-03-11 Thread jo outen
I had the same issue with shut downs. What shell is the login using that you initially logged in with. The default login shell of sh does not allow the catalinal.sh to run correctly. I had to run the catalina.sh from a ksh logged in user. Or try switching the catalina.sh to #!/usr/bin/ksh. --- d

bug in tomcat 4.1.18 catalina.sh on solaris 8?

2003-03-05 Thread jo outen
After much pain found out that the tomcat deamon will die when the parent shell is using sh. In bried user tomcat has /bin/sh for a login shell and executes catalina.sh or startup.sh from shell prompt . The j2se daemon runs fine and is owned by parent process 1 until the tomcat user logs out and

HELP: error Cannot open connection warpConnection

2003-03-03 Thread jo outen
Running tomcat 4.1.18 with apache 1.3.27 and mod_webapp on Solaris 8 SPARC The application runs fine for 2 to 3 three hours and then this error message occurs and tomcat dies. If tomcat is restarted then it works fine. Can anyone point to what is causing this error message or where I can find mor

servlets help:

2002-04-24 Thread jo outen
I am using mod_jk in tomcat 3.3a I am trying to JkMount servlets from a specified directory. The servlets work when I JkMount the root war in webapps. JkMount /rootofwar/* ajp13. What I am having trouble with is that the servlet code is several levels deep in WEB-INF and when I JkMount the exp

login.do not found

2002-04-12 Thread jo outen
I am trying to deploy an a JSP WAR. When I try to login to the connection I am getting a login.do not found. Can anyone help me to figure out what this is? __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -

help redirecting requests to mod_jk

2002-04-08 Thread jo outen
I am trying to setup apache to answer all incoming requests and redirect JSP/WAR requests to Jakarata. Does mod_jk need to have a listener for HTTP or HTTPS requests? Or can HTTP and HTTPS be answered by apache and have apache redirect the requests to tomcat?

test ignore this!

2002-04-08 Thread jo outen
test __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe: For additional commands: Troubles with the list:

New User with mod_jk

2002-04-08 Thread jo outen
Does tomcat mod_jk have to be listening on the HTTP or HTTPS port or can Apache redirect incoming jsp/war requests to mod_jk. I was lead to believe that Apache can redirect the requests if so can someone point me to the howto info. Thanks - Do You Yahoo!?