Re: AW: How can I get the location of the webapps-directory?

2002-04-23 Thread Erwin Ambrosch
Look at the method getRealPath() of class ServletContext. Erwin Am Dienstag, 23. April 2002 13:41 schrieben Sie: Hi, with getServletContext() I get only the name of my running web-application; with getServerInfo() I get Apache Tomcat/4.0.3. But I don't get any directory name... Frank

Re: Simple Question (I hope...)

2002-04-08 Thread Erwin Ambrosch
I think your docBase should be webapps/test Context path=/test docBase=test  debug=0 reloadable=true / Erwin Am Freitag, 5. April 2002 18:29 schrieben Sie: Hi there, I'm new to Tomcat and to this list, so apologies if this question has already been asked (I've checked the

Config. question about TC 3.3.1

2002-03-28 Thread Erwin Ambrosch
Hi, is it possible to have one TC 3.3.1 installation but running more than one TC 3.3.1 Server instance starting and stopping them independently. Thanks for any comment. Erwin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the

Re: Config. question about TC 3.3.1

2002-03-28 Thread Erwin Ambrosch
arguments are treated as property definitions. Cheers, Larry -Original Message- From: Erwin Ambrosch [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 6:31 AM To: [EMAIL PROTECTED] Subject: Config. question about TC 3.3.1 Hi, is it possible to have one TC 3.3.1

Re: many java processes

2002-03-21 Thread Erwin Ambrosch
When I do a ps and Tomcat is running I get a different pid for each Java (Process?). pstree also says that there are some java (Processes?) are running. Can you say me how I can determine whetere all the Java (Prosesses) are belonging to the same process. Are you sure to not missinterpreting

Re: Tomcat vs CPU

2002-03-07 Thread Erwin Ambrosch
Do you starting non daemon threads in your web applications (Servlets)? As long as non daemon Java threads are running you will have Java processes in your memory. Erwin Am Donnerstag, 7. M(B?(Brz 2002 07:05 schrieben Sie: Does anybody clue me in thsi situation? Plus,in below situation

Directory browsing

2002-02-22 Thread Erwin Ambrosch
Hi, can one say me how I can switch of directory browsing for TC 3.3a. If I send a request http://host/context I get the directory structure of the context (docBase) as the response. Thanks in advance Erwin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

Different Contextes One Instance?

2002-01-10 Thread Erwin Ambrosch
Hi All! TC 3.3 has a class loader architecture which allowes to load classes with respect to the container, to all web applics and to a specific web applic. The question I have is the following. I have developed some components which are inteded to be used by all of our web applics. One of

Re: Different Contextes One Instance?

2002-01-10 Thread Erwin Ambrosch
Thank's for the answer Larry. Larry Isaacs wrote: There would be a single instance, but all threading and concurency issues would be up to you to handle. Cheers, Larry -Original Message- From: Erwin Ambrosch [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 4:41 AM

Starting TC from inittab

2001-12-13 Thread Erwin Ambrosch
Hi! The TC3.3 doc. writes about starting TC from inittab. This is OK and works, but now TC runs as root. Is there a possibility to start TC from inittab under a user other than root. Tanks Erwin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED]

Re: Unable to start tomcat 4

2001-12-10 Thread Erwin Ambrosch
Hi! I have also problems to start TC 4.0.1. But I even get a segmetatin fault. Starting service Tomcat-Standalone Apache Tomcat/4.0.1 SIGSEGV 11* segmentation violation stackpointer=0xbfffeb64 This Problem occurs on a machine with the following environment: IBMJava2-1.3-9 Red Hat

Re: AW: AW: AW: TC 3.3 jsessionid

2001-12-06 Thread Erwin Ambrosch
Thanks Ralph, it works. Ralph Einfeldt wrote: Try to change the action to: form method=POST action=%= response.encodeURL(j_security_check) % -Ursprüngliche Nachricht- Von: Erwin Ambrosch [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 3. Dezember 2001 22:35 An: Tomcat Users List

Re: AW: TC 3.3 jsessionid

2001-12-03 Thread Erwin Ambrosch
=22ym1bzx71?act=bgetinde x -Ursprüngliche Nachricht- Von: Erwin Ambrosch [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 3. Dezember 2001 17:35 An: Tomcat Mailinglist Betreff: TC 3.3 jsessionid Hi, TC 3.3 appends the jsessionid after an ; to the URL, thus I get the jsessionid

Re: AW: AW: TC 3.3 jsessionid

2001-12-03 Thread Erwin Ambrosch
colspan=2nbsp;/td/tr tr th colspan=2input type=submit value=Anmelden name=j_security_check/th /tr /table /center /form /body /html Thanks Erwin Ralph Einfeldt wrote: What does your form look like ? -Ursprüngliche Nachricht- Von: Erwin Ambrosch [mailto:[EMAIL

Dispatching

2001-11-27 Thread Erwin Ambrosch
Hi, I'm using TC 3.2.3. Is there a possibility to forward a request to a different context, similar to the RequestDispatcher.forward(...) method for the same context. Thank's for any comment. Erwin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

Form/Basic Authentication

2001-11-26 Thread Erwin Ambrosch
Hi, I have the following behaviour using Tomcat 3.2.3 on RH Linux 7.1. If I use either FORM based or BASIC authentication, for the very first login I get the login form/dialog two times. 1. First time after accessing the protected area as defined in web.xml for the very first time. 2. Second

Re: url relative to directory path?

2001-11-26 Thread Erwin Ambrosch
Take a look at the servlet-mapping tag of the web.xml file. With this tag you can specify how to access yopur servlet. servlet-mapping servlet-nameservletname/servlet-name url-pattern/servletname/url-pattern /servlet-mapping Erwin Antoni Unkovich wrote: Hello from downunder (New

BASIC / FORM Authetntication

2001-11-22 Thread Erwin Ambrosch
Hi, I've the following behaviour using Tomcat 3.2.3. I use the Authentication/Authorisation functionality implemented by the Tomcat Servlet Engine. If I start from scratch, and I request the secure area as defined in web.xml, I get the login form (FORM based) or the login dialog (BASIC).

Re: Can't happen - classname is null, who added this ?

2001-11-02 Thread Erwin Ambrosch
, interception or interference. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- Mit freundlichen Grüssen Erwin Ambrosch == e-business for e-people === DI(FH