newbie: Realm

2002-12-06 Thread Manavendra Gupta
Hi, Like all web applications, I need to provide some kind of session maintenance. Would the concept of a Realm help in this? 1. Is this the correct application/use of a realm? 2. Is a realm akin to a SSO/LDAP server, where the user's roles and mapping to actions is stored? 3. How extensible is

(apparent) tomcat configuration problem

2002-12-06 Thread Manavendra Gupta
Hi, tomcat 4.1 starts succesfully, but on shutdown gives the following error: Uing CATALINA_TMPDIR: /usr/local/tomcat/temp Using JAVA_HOME: /usr/local/jdk PARSE error at line 1 column -1 of /usr/local/tomcat/conf/server.xml org.xml.sax.SAXParseException: Document root element is missing.

Re: newbee , accents

2002-12-06 Thread Luc Santeramo
try to add -Dfile.encoding=iso-8859-1 to your CATALINA_OPTS env i'm not sure about this one but it has solved some problem with french accents on my server. just try and you'll see Luc At 14:43 05/12/2002 -0500, you wrote: Servlet Specification 2.3 'The default encoding of a response

JSP compile Error. Tomcat 4.0.4

2002-12-06 Thread Varghese, Sony
Hi, My web application works with Tomcat3.3 but not with 4.0.2. I have jdkv1.2.2 installed. Please could you tell me how to resolve this problem?? The error is as shown below. Do reply. Thanks Sony . -- Apache Tomcat/4.0.4-b2 - HTTP Status 500 -

RE: SEO and servlets

2002-12-06 Thread neal
Craig, Thanks for the reponse. I know what you're saying that you wouldn't want to submit most web app pages, presuming that most of it is form data ... but in this case I have a bit of content that was placed into dynamic pages because (a) There is a common naivgation framework that is

A dead cat

2002-12-06 Thread Simon Kelly
Hi, I am currently using tomcat as a standalone server to test some webapps that I am creating. I have some experiance with web servers but little or no experiance with tomcat. And I have a couple of major problems. 1) The cat is dead but won't go away! I have installed tomcat twice now, the

DataSource problem.

2002-12-06 Thread Manavendra Gupta
Hi, I am trying to obtain a connection from a DataSource in a test class and get the following error: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

RE: static url routing

2002-12-06 Thread RXZ JLo
--- Noel J. Bergman [EMAIL PROTECTED] wrote: my html files have long names like a_b_c_d_xyz213_e_f_g.html, a_b_c_d_pqr983_e_f_g.html is it possible to have urls like http://localhost:8080/myapp/html/xyz213 point to the first file above? You can use either a Filter, or mod_rewrite

RE: DataSource problem.

2002-12-06 Thread Manavendra Gupta
Tried the same with a simplistic jsp page: %@ page import=java.sql.*, javax.sql.*, javax.naming.* % HTML BODY % out.println(hello); Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); DataSource ds = (DataSource) envCtx.lookup(jdbc/rtidb); Connection

Re: tomcat + eclipse

2002-12-06 Thread Cédric Viaud
The answer is YESSS : http://www.sysdeo.com/eclipse/tomcatPlugin.html And it works fine. HTH, Cédric - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 04, 2002 11:27 AM Subject: tomcat + eclipse Hi I'm using Eclipse as my IDE

Re: static url routing

2002-12-06 Thread Mike W-M
I assume you've looked through all the elements available to you in web.xml. (I can't think of any that might help, but I'm no authority!) One (reasonably simple) solution would be to write yourself a servlet that performs the mapping for you. Assuming the root of the path remains constant for

AutoDeploy war file

2002-12-06 Thread David Rayroud
Hi, First excuse for my poor English. I will configure Tomcat4 for it deploy automatic *.war file but I wan't restart the application. I declare the application like this : Context className=org.apache.catalina.core.StandardContext cachingAllowed=true

RE: JSP compile Error. Tomcat 4.0.4

2002-12-06 Thread Laxmikanth M.S.
u have to add the Context in Server.xml file. r u in Digital bangalore Regards Laxmikanth M S Off* : 91-80-6610330 extn 1256 Res* : 91-80-5267150 http://www.sonata-software.com Coming together is the beginning, staying together is progress and working together is Success What lies behind

tomcat doesn´t show latin characters when i start the system

2002-12-06 Thread Dionisio Ruiz de Zarate
When i start my linux tomcat doesn'y show latin characters (ó, á, í ...) if i restart the tomcat service (rctomcat restart) the tomcat shows me well all characters. Can anybody says me how can i solve this great, for me, problem? i am using one SuSE 8.1 linux machine, jdk 1.4.1 and tomcat 4.1.12

RE: Configure IIS + Tomcat 4.1.12

2002-12-06 Thread Warner Godfrey
Luca, I have finally got IIS 5.0 working with Tomcat 4.1.12 using JK2! It was not an easy task mind you, it seems that v2.0.2 of the isapi_redirector is completely broken. I tried for about three days, but could not get v2.0.2 of the ISAPI Filter to successfully load. Try v2.0.1 instead, the

RE: tomcat doesn´t show latin characters when i start the system

2002-12-06 Thread Jean-Francois Mach
Sounds like an environment problem. You might want to check the LANG environment variable. Usually when you start the program manually, LANG is set in your shell, but not when you start it from cron or when your server boots up (I had a similar problem and setting LANG solved the problem). Try to

OK to run tomcat as nobody?

2002-12-06 Thread Sanjaya Singharage
This is a follow up to the post why run romcat as root (I meant to say why run tomcat as nobody). After reading all the replies. My solution would be to run apache as root on port 80 and then run tomcat behind the scenes using a connector and running a user other than root. What I want to know is

Re: Benchmark results for 4.1.12 vs 4.1.16

2002-12-06 Thread Remy Maucherat
Peter Lin wrote: today I took the day off, but tomorrow I plan on running more benchmarks. I ran into one weird behavior when I ran the same jmeter test with 10 threads for 5K iterations. Half way through tomcat stopped accepting connections, but was fine. If I wait two minutes, it continue to

Where to put JSP files?

2002-12-06 Thread Peter Lee
Where should I put my jsp files? I usually put them above the /web-inf folder, but this would allow clients to see the directory listing. Should I use a redirect mapping to protect them from being viewed? In which file should I do it? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL

Re: tomcat doesn´t show latin characters when i start the system

2002-12-06 Thread Dionisio Ruiz de Zarate
can you say me how and in which file can i make it? thanks for your answer - Original Message - From: Jean-Francois Mach [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 06, 2002 12:19 PM Subject: RE: tomcat doesn´t show latin characters when i start the

Re: Where to put JSP files?

2002-12-06 Thread Carl Trusiak
To prevent users from seeing any directory add the entry welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list To your web.xml and in every directory, place a copy of index.jsp. It can just be a redirect to your home page. --- Peter Lee [EMAIL

Security role name warning

2002-12-06 Thread Peter Lee
I got the following warning. what does it really mean? WARNING: Security role name specialrole used in an auth-constraint without being defined in a security- role -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: OK to run tomcat as nobody?

2002-12-06 Thread Cees van de Griend
On Friday 06 December 2002 05:27, Sanjaya Singharage wrote: This is a follow up to the post why run romcat as root (I meant to say why run tomcat as nobody). After reading all the replies. My solution would be to run apache as root on port 80 and then run tomcat behind the scenes using a

RE: OK to run tomcat as nobody?

2002-12-06 Thread Ralph Einfeldt
I prefer to use a didicated user (like tomcat) to give him the just the rights that are needed to run tomcat and the application. If there is more than one application using the user nobody this user starts to get to much rights in mosts cases. Explanation: To run an application under a

Memory limit for tomcat 4.0.2 with jdk1.4.0_01 under Linux

2002-12-06 Thread Dick, Christof
Hi, sorry for asking again a memory problem but I can't find the one and only answer in the archive. I'm using tomcat 4.0.2 with jdk1.4.0_01 on a redhat linix. In the tomcat configuration I set the JAVA_OPTS -Xms***m -Xmx***m. In the server.xml I left only the http connector with only 1 min- and

Problems with configuration of SSL in the 4.1.12 for Windows

2002-12-06 Thread Fabiano Sousa
I am having problems with configuration of SSL in the jakarta-tomcat-4.1.12!! I am using the j2sdk-1_4_0_01-windows-i586 and j2sdkee-1_3_1-win.. Sorry, I am using the Windows Professional 2000 and Netscape 7.0 =P I read the SSL Configuration HOW-TO, but when I type https://localhost:8443; I saw

Re: tomcat + eclipse

2002-12-06 Thread Cristiano Silva
And debugging JSP... do you know it works? Em Sex 06 Dez 2002 08:18, Cédric Viaud escreveu: The answer is YESSS : http://www.sysdeo.com/eclipse/tomcatPlugin.html And it works fine. HTH, Cédric - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]

RE: tomcat doesn´t show latin characters when i start the system

2002-12-06 Thread Jean-Francois Mach
It depends how you start tomcat when you boot the system. Usually it is a script in : /etc/rc.d/init.d or /etc/init.d Just add export LANG=XXX at the beginning of the script, where XXX is the value of LANG in your shell; If you stop/start it from a crontab on a regular basis (daily or weekly,

Where to place static content? Tomcat/Apache

2002-12-06 Thread Andreas Hucks
Hi, I am just starting with the Tomcat/Apache combo, so this is a rather basic question: With larger projects, is it better to place the static content with the webapp (being able to distribute it inside the .war) or to map just the servlets to Tomcat and have the rest served by Apache (better

Re: DBCP question

2002-12-06 Thread Veniamin Fichin
Roberts, Eric wrote: Try this way instead - it works for me! Thanks, I'll try it. I just thought that I cat use Oracle dbcp implementation only, without BasicDataSourceFactory Tomcat alternative. Server.xml: Resource description=Oracle database resource for esljsp project

RE: Where to put JSP files?

2002-12-06 Thread Aleksandr Shneyderman
-Original Message- From: Lindomar [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 6:59 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Where to put JSP files? You can put in: webapps |_your app - yoiu can put here (1) |_you can create a new

Tomacat and apache web server

2002-12-06 Thread Tushar Kulkarni
How to configure tomcat and apache web server? Please help! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Tomacat and apache web server

2002-12-06 Thread Aleksandr Shneyderman
read this http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html -Original Message- From: Tushar Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 7:57 AM To: Tomcat Users List Subject: Tomacat and apache web server How to configure tomcat and

RE: Tomacat and apache web server

2002-12-06 Thread David Rayroud
Hi, Tell me your version of Tomcat and Apache and I will help you David Rayroud -Message d'origine- De : Tushar Kulkarni [mailto:[EMAIL PROTECTED]] Envoyé : mercredi, 5. décembre 2001 13:57 À : Tomcat Users List Objet : Tomacat and apache web server How to configure tomcat and apache

Re: Tomacat and apache web server

2002-12-06 Thread Tushar Kulkarni
I am using tomcat 4.1.12 Thanks - Original Message - From: David Rayroud [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 06, 2002 12:58 PM Subject: RE: Tomacat and apache web server Hi, Tell me your version of Tomcat and Apache and I will help you

RE: SEO and servlets

2002-12-06 Thread Cox, Charlie
I do a silimar thing where all my content is in a database as XML, so that the users can update their content when *they* need to(not when I get around to it). Then the html is created using xsl when requested. The way that I set this up is that I map a directory to each servlet (or sometimes

User Authentication question

2002-12-06 Thread Aleksandr Shneyderman
Here my scenario: We have two applications runing on the same server (App A and App B) What we'd like to do is to allow one login prompt but two different role initializations. In other words suppose the user browses the web site and comes upon a page that she needs to authenticate herself

Tomcat, SOAP and SSH

2002-12-06 Thread Christian Suter
Hi everybody I've got two servers: one for the frontend (Internet) and one backend. The Communication between them is implemented as SAOP-webservice. Now,I wan't to have the Communication through an SSH-tunnel. The tunnel is ok, but the communication doesn't work fine. I've taken openssh on port

Re: Can't start tomcat

2002-12-06 Thread Aleks Kleyn
I get a lot of respond, but I still not find answer, However there is other interesting problem. When I debug jsp in Forte for Java they are able to start Tomcat (even without env vars) and I can try my jsp. How they manage this. Aleks Kleyn http://www.geocities.com/aleks_kleyn - Original

Tomcat 4 and IIS please HELP

2002-12-06 Thread Renato Romano
Hi, I'm trying to set up tomcat 4 with IIS. I already made this whith Tomcat 3, and following the doc how-to for tomcat 4 had the following problems: Tomcat 4.0.1: integration for IIS works fine for unprotected resources, but the browser hangs if I ask for a protected resource; speaking directly

mod_jk vulnerability and Tomcat 3.3

2002-12-06 Thread Jason Bruce
In reference to the recent vulnerability disclosure in mod_jk 1.2: http://online.securityfocus.com/archive/1/302169/2002-12-02/2002-12-08/0 Only Tomcat 4.X is mentioned as an affected system; however, reading the description of the flaw makes me believe that it shouldn't matter what the tomcat

RE: Why run tomcat as root

2002-12-06 Thread Turner, John
Exactly. John -Original Message- From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 2:17 AM To: Tomcat Users List Subject: RE: Why run tomcat as root Personally, one of my goals is to go the other way and stick tomcat into a chroot jail, so that

RE: Why run tomcat as root

2002-12-06 Thread Turner, John
You're wrong. There is no such requirement in UNIX for the most dangerous stuff to be handled at the highest priv level. No requirement at all. A smart sys-admin 1) doesn't run any service on any port, privileged or not, unless it's absolutely needed. Yes, lots of services are configured

RE: Can't start tomcat

2002-12-06 Thread Turner, John
From the file RUNNING.txt included with Tomcat and available on the jakarta.apache.org site as well: 2) An out of environment space error when running the batch files in Win9X/ME-based operating systems. Right-click on the STARTUP.BAT and SHUTDOWN.BAT files. Click on Properties then

RE: Tomacat and apache web server

2002-12-06 Thread Turner, John
How about an operating system? Please search the archives. Read the documentation. Search Google for HOWTOs. This topic comes up A LOT, and unless you're going to provide more information in your posts, and make it easy for people to help you, you aren't going to get much help. You can also

RE: OK to run tomcat as nobody?

2002-12-06 Thread Turner, John
'nobody' would be a bad choice. You'd be better off creating a user called tomcat or something similar and running tomcat as that user. John -Original Message- From: Sanjaya Singharage [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 11:28 PM To: [EMAIL PROTECTED]

RE: Where to place static content? Tomcat/Apache

2002-12-06 Thread Turner, John
This comes up a lot, and the answer, unfortunately, is do what works for you in your situation. Slower is relative, best is relative. Test your app with an estimated load using Tomcat stand-alone, if that works for you, you should be good to go. Using Apache can be a complex task, and it may

Re: tomcat doesn´t show latin characters when i start the system

2002-12-06 Thread Dionisio Ruiz de Zarate
ok thanks that is the solution: export LANG=es_ES@euro in the tomcat start script. Thanks - Original Message - From: Jean-Francois Mach [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 06, 2002 1:30 PM Subject: RE: tomcat doesn´t show latin characters when

RE: Restrict access to JSP's/URL's

2002-12-06 Thread Turner, John
Didn't you say that all of your auth information is in a database? Why would you need to write an XML file? John -Original Message- From: Steve Vanspall [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 7:39 PM To: Tomcat Users List Subject: RE: Restrict access to

RE: Mutliuser setup

2002-12-06 Thread Turner, John
Agreed. :) We're OK with 10-15 clients and 2GB RAM per server for now. John -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 9:55 PM To: Tomcat Users List Subject: RE: Mutliuser setup On Thu, 5 Dec 2002, Turner,

RE: (apparent) tomcat configuration problem

2002-12-06 Thread Shapira, Yoav
Hi, Maybe if you posted your servlet.xml, someone could help. But it seems like a very strange error. What JDK are you using? Yoav Shapira Millennium ChemInformatics -Original Message- From: Manavendra Gupta [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 3:12 AM To: Tomcat

Re: Mutliuser setup

2002-12-06 Thread Martin Klebermaß
Well its less the problem with running to much tomcats so that there are not enough ports, you just need some more type of port handling to give away the ports in an automatic way. And beside this, matter of wasting ports, i find a port that listens for a string which is never be used is a

RE: A dead cat

2002-12-06 Thread Shapira, Yoav
Howdy, It is difficult to help specifically, but here are a couple of general notes that may be relevant: 1. Tomcat won't die (actually, the JVM won't die) if you've created any non-daemon threads in your application. If you create such threads, either set them as daemons or ensure their proper

RE: Benchmark results for 4.1.12 vs 4.1.16

2002-12-06 Thread Shapira, Yoav
Hi Peter, Just wanted to say thank you for running these benchmarks. They're useful and insightful. Yoav Shapira Millennium ChemInformatics -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 8:00 PM To: Tomcat Users List Subject: Re:

RE: A dead cat

2002-12-06 Thread Felipe Schnack
how I set a thread as a daemon? On Fri, 2002-12-06 at 12:06, Shapira, Yoav wrote: Howdy, It is difficult to help specifically, but here are a couple of general notes that may be relevant: 1. Tomcat won't die (actually, the JVM won't die) if you've created any non-daemon threads in your

RE: Memory limit for tomcat 4.0.2 with jdk1.4.0_01 under Linux

2002-12-06 Thread Shapira, Yoav
Hi, sorry for asking again a memory problem but I can't find the one and only answer in the archive. That's because there isn't a one and only answer in the archive. What you're asking depends greatly on the precise OS version and hardware configuration you're using (as well as JDK version of

re: Session Persistence retrieving old session data

2002-12-06 Thread Paul Tomsic
Have you tried explicitly removing the search criteria attribute from the session? Look into javax.servlet.http.HttpSession.removeAttribute, or removeValue --- I am using Tomcat 4.0.3 on Solaris with JDK 1.4. I have been using the Persistence Store to save

Re: [OT] Re: Java method equal to perl crypt()?

2002-12-06 Thread Reinhard Moosauer
Hi, this program may show you how to use perl's function from inside java: === Test.java: import java.io.*; public class Test { public static void main(String args[]) { String crypt_cmdary[] = { /usr/bin/perl, -e, print

tld locations??? must be directly in WEB-INF

2002-12-06 Thread Hanasaki JiJi
Am I reading the below error correctly? .tld must be in the WEB-INF dir and not in any subdir of WEB-INF? I have put the struts tld's in /WEB-INF/struts/ and specified to find them there in web.xml == 2002-12-05 23:33:41 ContextConfig[/j2eetemplate] Exception processing

RE: [OT] Re: Java method equal to perl crypt()?

2002-12-06 Thread Ralph Einfeldt
Under linux/unix a little 'performace bost' can be gained by using the cryptpw command directly instead of using the pearl function. BTW: Unless it's the main task of the application, performances isn't the most important thing. To justify the additional effort to implement that as jni, the

RE: tld locations??? must be directly in WEB-INF

2002-12-06 Thread Aleksandr Shneyderman
make sure that taglib-location/WEB-INF/struts.tld/taglib-location the /WEB-INF/ is important for some reason. it was working in 4.0.4 but gives a problem in 4.1.12 -Original Message- From: Hanasaki JiJi [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 9:46 AM To: [EMAIL

[4.1.12] How to Implement Custom JNDI Tree?

2002-12-06 Thread Gavin, Rick
Hi All, I have implemented a JNDI tree for my sites configuration options since the built in tomcat context can not be modified at runtime( unless something changed ). Can anyone tell me what the best way to implement the use of it. Currently I have a static Settings class that has a DirContext

RE: how many linux processes should tomcat create???

2002-12-06 Thread Brandon Cruz
Craig, I know that actually, just mistyped. I had talked to you about this earlier, but should it be creating that many threads? The issue is that there seems to be a manager thread that monitors all of these and with that many threads running, the manager starts taking up a large amount of CPU

RE: Java method equal to perl crypt()?

2002-12-06 Thread Ralph Einfeldt
Here's a pure Java implementation: http://locutus.kingwoodcable.com/jfd/crypt.html and there too: http://manticore.2y.net/Java/examples/ Havn't tried any of them, we call the cryptpw command from java. -Original Message- From: Galbayar Dorjgotov [mailto:[EMAIL PROTECTED]] Sent:

Re: tld locations??? must be directly in WEB-INF

2002-12-06 Thread Hanasaki JiJi
specifically where/inwhat file does your suggestion go? It should only impact where struts tld's are found, not all tlds Aleksandr Shneyderman wrote: make sure that taglib-location/WEB-INF/struts.tld/taglib-location the /WEB-INF/ is important for some reason. it was working in 4.0.4 but gives

Adding Jar files in Tomcat 4.1.12

2002-12-06 Thread Laxmikanth M.S.
Hi , In tomcat3.3.1 I added my JDBC Driver files classpath in tomcat.sh simillarly where I have to add it in Tomcat4.1.12 thanks in advance for replies and answers Laxmikanth * Disclaimer: The information in this e-mail and any

Two Questions Tomcat 4.1.12 Win2000

2002-12-06 Thread Scott Purcell
Running Tomcat 4.1.12 on Win2000. Problem 1) I created a site under webapps in which only servlets will run. I created a web-xml file: (see Below): All works good. Question: When I hit the URL http://localhost/site I see a directory listing. I do not want this. I thought the welcome-file-list

RE: DataSource problem.

2002-12-06 Thread Manavendra Gupta
I haven't been able to solve this yet... but was wondering if tomcat logs somewhere that the Resource Manager added a new resource (a DataSource)? Thanks, Manav. -Original Message- From: Manavendra Gupta [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 3:46 PM To: Tomcat Users

Re: Two Questions Tomcat 4.1.12 Win2000

2002-12-06 Thread David Brown
Scott Purcell writes: Running Tomcat 4.1.12 on Win2000. Problem 1) I created a site under webapps in which only servlets will run. I created a web-xml file: (see Below): All works good. Question: When I hit the URL http://localhost/site I see a directory listing. I do not want this. I thought

Thread dump

2002-12-06 Thread Manavendra Gupta
I have tomcat 4.1 running on Linux. How do i see the thread dump? The startup.sh on linux just starts it in the background, while i could use startup.bat on windows and get the thread dump. thanks, manav. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: Thread dump

2002-12-06 Thread rsequeira
kill -3 pid RS Manavendra Gupta To: Tomcat

RE: Thread dump

2002-12-06 Thread Manavendra Gupta
Beg your pardon? would that not actually kill the process, rather than displaying the thread dump? And what if one wants to see the thread dump right from the moment tomcat starts up? Thanks, manav. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday,

RE: Adding Jar files in Tomcat 4.1.12

2002-12-06 Thread David Rayroud
Hi, You must put your *.jar file in this directory if you want that all application can access to this drivers : $TOMCAT_HOME/common/lib Bye David Rayroud -Message d'origine- De : Laxmikanth M.S. [mailto:[EMAIL PROTECTED]] Envoyé : vendredi, 6. décembre 2002 16:28 À : Tomcat Users List

Re: Adding Jar files in Tomcat 4.1.12

2002-12-06 Thread Mubaraka Arif
For the Tomcat version 4.0.3-3 on Linux (Debian) I the JDBC Driver files in : TOMCAT_HOME/common/lib I have successfully used the postgresql and Informix JDBC driver keeping their respective jars in the above path. Mubaraka Arif Data Management Software Developer Administrative Technology

RE: Thread dump

2002-12-06 Thread rsequeira
You could use Thread.enumerate(Thread [] ) and then do a Thread.dumpStack() on each thread in your code. I can't provide any definite answers on how to get a thread dump right from the moment Tomcat starts, but I suppose you could modify Tomcat code (call the about the methods in your code) to do

RE: Why run tomcat as root

2002-12-06 Thread Vy Ho
Very good point, but what if the administrator him/herself grand this access to this particular user? Linux and Unix is all about flexibility right? Yes, kernel would be to be changed. But I thought I already have that, and if it's not, then it's worth a change, versus thousands and thousands

RE: Why run tomcat as root

2002-12-06 Thread Turner, John
There is already a process and there are several tools for delegating superuser access to a non-superuser account in specific circumstances, and protecting against misuse of same. Research things like the sudo tool, chroot jails, etc. Makes much more sense to me than hacking around in the

Re: Thread dump

2002-12-06 Thread Denis Haskin
Run it under a JPDA debugger and use something like - Xrunjdwp:transport=dt_shmem,server=y,suspend=y so that the JVM stops and waits for debugger commands right away. Then you could get to the right point in your code, and with any decent debugger look at the thread dump without needing to send

bypassing memory realms

2002-12-06 Thread J Doe
Background: Consider two webapps: foo and bar. When a user of foo performs a certain action, foo shares files with bar by calling actions on each other via HTTP. We are being asked to put a memory realm on foo and bar so that users must login. The problem is that now the above system-level

Re: Benchmark results for 4.1.12 vs 4.1.16

2002-12-06 Thread Peter Lin
I've done a fair amount of jsp and servlet development since 99 when JSP .9 spec wasn't implemented in most servlet containers. I doubt I can provide insight into improving reliability that tomcat developers haven't already thought of. Most of the projects I've worked on the last three

Tomcat went unconcious :-)

2002-12-06 Thread Vy Ho
When a dog sneeze and the cat got knocked down. The following case show that simple things could knock error out of tomcat (note that the cat does not die). Imagine authentication usin gmemory or database. 2 users 1 role for each. When you login with a valid user name/pass, but wrong role for

Re: tld locations??? must be directly in WEB-INF - relates to Tomcatxml parser bug

2002-12-06 Thread Hanasaki JiJi
Attached is the xdoclet web.xml file that produces the below error. The below references indicate that there may be a bug in the tomcat xml parser that is exposed by the generated web.xml. The struts tld files are copied directly form those in a working sample from the jakarta struts download.

RE: Why run tomcat as root

2002-12-06 Thread Vy Ho
Thank you for your comment. However, I think you gave a good practical work around for now, when the kernel is not there yet. But that also means many developers still have to search for a solution. I think kernel developers should think about this issues, and also similar issues, and come up

Re: Tomacat and apache web server

2002-12-06 Thread Tushar Kulkarni
I am giving the exact information this time, I have installed apache2 and tomcat 4.1.12 on windows 2000. I have mod_jk file as well Now I want to configure apache and tomcat. I tied reading documentation file. I am totally new so please help. I will appreciate. Thanks - Original Message -

RE: Thread dump

2002-12-06 Thread Manavendra Gupta
Thanks. I'm gonna try jpda - i have just started exploring it. i was interested to see the thread dump from the point tomcat's main() starts, to get a hang of the sequence of the class loaders/resource managers/security realms, etc starting up. thanks, manav. -Original Message- From:

RE: tld locations??? must be directly in WEB-INF - relates to Tomcat xml parser bug

2002-12-06 Thread Aleksandr Shneyderman
First of all take all of your struts tlds and put them directly into WEB-INF directory your dir structure will be WEB-INF\ struts-bean.tld struts-html.tld struts-logic.tld struts-nested.tld struts-tiles.tld now fix your web.xml as folows - taglib

RE: Why run tomcat as root

2002-12-06 Thread Turner, John
Well, we are going around in circles. You're not understanding that the developers HAVE thought about this issue, and have thought about it for years (more than 40 years). It's not a mistake. Not only have they thought about it, they've had ample opportunity to start over and implement the

RE: Tomcat went unconcious :-)

2002-12-06 Thread Bodycombe, Andrew
This could be an issue with your browser. Maybe the page has been cached? Andy -Original Message- From: Vy Ho To: Tomcat Users List Sent: 06/12/2002 16:46 Subject: Tomcat went unconcious :-) When a dog sneeze and the cat got knocked down. The following case show that simple things

RE: Problem with http OPTIONS using mod_jk for IIS

2002-12-06 Thread Tim Moore
I have been able to track down the problem, but I don't know whether it's been solved yet in the JK 1.x code. The problem has to do with the way the ISAPI filter registers itself with IIS. An ISAPI filter can specify the events within IIS that it responds to. The Tomcat filter specifes that

Re: Tomcat went unconcious :-)

2002-12-06 Thread Praveen Wicliff
That is difficult to believe. But in either case, I think its more to do with the page cache in the browser (assuming your programming is right :-)try to delete temp. internet files and try again. Praveen Wicliff - Original Message - From: Vy Ho [EMAIL PROTECTED] To: Tomcat Users

Re: bypassing memory realms

2002-12-06 Thread David Brown
J Doe writes: Background: Consider two webapps: foo and bar. When a user of foo performs a certain action, foo shares files with bar by calling actions on each other via HTTP. We are being asked to put a memory realm on foo and bar so that users must login. The problem is that now the above

How to upgrade form 4.1.12 to 4.1.16beta?

2002-12-06 Thread Brandon Cruz
What is the easiest way to upgrade from tomcat 4.1.12 to 4.1.16 beta? Can I just move my server.xml, shared libraries, and webapps over to the new directory? Better yet, can I just copy some of the new jar files into the original tomcat directory? Brandon -- To unsubscribe, e-mail:

RE: Tomcat, SOAP and SSH

2002-12-06 Thread Noel J. Bergman
I've got two servers: one for the frontend (Internet) and one backend. The Communication between them is implemented as SAOP-webservice. Now,I wan't to have the Communication through an SSH-tunnel. ssh -2 -N -T -q -L 8080:$remote-name:8080 $remote-name -- To unsubscribe, e-mail:

RE: Tomcat went unconcious :-)

2002-12-06 Thread Vy Ho
I think it has something to do with both. When close the browser, and try again, it works on the later problem (logging in with valid users after an invalid login). However, the first problem, where logging in with an invalid role but valid user/pass still there. That is the web should not

Configurion tomcat

2002-12-06 Thread Fabricio B. Teixeira
I want to install TomCat in my computer but i don´t know if it requires a hard configuration time. Could you please tell me the dificulties in configurin tomcat. Fabricio ___ Busca Yahoo! O melhor lugar para encontrar tudo o que

Re: bypassing memory realms

2002-12-06 Thread Andreas Probst
Hi Mike, try http://name:pass@www. How do you know the password? Andreas On 6 Dec 2002 at 8:33, J Doe wrote: Background: Consider two webapps: foo and bar. When a user of foo performs a certain action, foo shares files with bar by calling actions on each other via HTTP. We are

Re: How do you select to call doPost or doGet method?

2002-12-06 Thread Garrett Smith
What did you forward from? If you're forwarding from a doPost method, the servlet you're forwarding to will call doPost. Same principal applies to a RequestDispatcher forwarding from a doGet method. ServletA doPost -forward - ServletB doPost The HttpServletRequest has

Re: Where to put JSP files?

2002-12-06 Thread micael
Thanks. I have always put the webpages under WEB-INF to avoid directory views. This is a realistic option. At 03:45 AM 12/6/2002 -0800, you wrote: To prevent users from seeing any directory add the entry welcome-file-list welcome-fileindex.jsp/welcome-file

RE: Configurion tomcat

2002-12-06 Thread Turner, John
1. Download and install JDK 2. Download Tomcat binary install package 3. Uncompress Tomcat binary install package 4. set environment variable named JAVA_HOME to location of JDK 5. set environment variable named CATALINA_HOME to location of Tomcat installation 6. In CATALINA_HOME/bin, execute

RE: Tomcat went unconcious :-)

2002-12-06 Thread Bodycombe, Andrew
I think this is a matter of interpretation. You have successfully logged, using a valid user name and password so you do not see the login failure page. You are then trying to access a resource to which you have no access so are presented with a 403 Forbidden page. Personally, I see no problem

  1   2   >