Re: Please Suggest Me

2002-01-11 Thread Galbayar
check TOMCAT_HOME/doc/index.html - Original Message - From: Designing Department [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 11, 2002 16:13 Subject: Please Suggest Me Hello All, Please check

Re: Experience with multiple Apache's hitting one Tomcat?

2002-01-11 Thread Nikola Milutinovic
I've configured two apaches (1.322) on two different boxes to send requests to one tomcat. Everything seems to be working fine. I didn't find this mentioned in any of the documentation or user lists / FAQs, and I was wondering if anyone had any experience with this. Is this a bad idea?

newbie question about stored procedures

2002-01-11 Thread Magnus Jansson
How do I call stored procedures I think I have to use the CallableStatement but how do I use it? I've done this so far. Is this right and how do I execute the statement? How do I check if it is a error? how do I start a new transaction and commit/rollback it afterwards MyStatement =

Re: Problems using same port for several services (even with different IP / hostname)

2002-01-11 Thread chris brown
Jeff, It's set to the default -- 8005. As I'm running under Windows 2000, there aren't any restrictions with port 80. Thanks, Chris - Original Message - From: PELOQUIN,JEFFREY (Non-HP-Boise,ex1) [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, January 10,

Re: Problems using same port for several services (even with different IP / hostname)

2002-01-11 Thread chris brown
I've tried both the hostname and the IP address. All other services (IIS, Inktomi) bind correctly to the other addresses/hostnames that were assigned. -Chris - Original Message - From: PELOQUIN,JEFFREY (Non-HP-Boise,ex1) [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent:

Re: Problems using same port for several services (even with different IP / hostname)

2002-01-11 Thread chris brown
In my original posting, I included the following snippet from server XML: Connector className=org.apache.catalina.connector.http.HttpConnector address=x.x.x.x port=80 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=443 acceptCount=10 debug=0 connectionTimeout=6/ The

Production considerations.

2002-01-11 Thread Roger Varley
Hi I am running Tomcat 3.2.3 and IIS on a NT4.0 server. Everything is working with a straight out of the box implementation. Other than removing the example and admin contexts what other things should I be looking at before moving the server into a live environment. I'm happy that IIS is as

RE: Auto starting Tomcat during boot?

2002-01-11 Thread Justin Rowles
I've just installed Tomcat 4.0.1 on my Red Hat 7.2 Linux box. Everything works fine but Tomcat won't auto start after a reboot. I added a symbolic link to the Catalina.sh file in my rc3.d level. ln -s /usr/local/bin/tomcat/bin/Catalina.sh S99tomcat If you have a look at the startup

RE: tomcat startup script (AW: Auto starting Tomcat during boot?)

2002-01-11 Thread Justin Rowles
I was wondering why you can't just add a symbolic link in the rc3.d point to Catalina.sh, startup.sh or shutdown.sh. I tried linking those files but it still doesn't work after I restarted the server? Possibly because Catalina.sh then gets a parameter of start? I dunno though, only

Directory browsing

2002-01-11 Thread Carsten Karkola
Is there a possibility to avoid directory browsing in my webapp dirs beside defining wlecome-files. Thanks, Carsten == == ==Dipl.-Ing. Carsten Karkola == ==TU Dresden - Fak.Bauingenieurwesen - FRZ == == Tel.: +49 351 463 33659 ==

Re[2]: URGENT! PLEASE..

2002-01-11 Thread Catalin
...and I worry about your english... Probably you don't belong to the native people... That's all right, I understand this! 10x for your tip!! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Protected Area

2002-01-11 Thread Herzig, David
Dear Tomcat Users I tried to define a protected area, so I can only access my web application with a username and password. The Tomcat example /jsp/protected/security is working wothout problems, but not with my application. I added the following lines to the web.xml file, but it's not

/servlet path from Apache to Tomcat

2002-01-11 Thread Chris Faulkner
HI I'm using Tomcat 4.0.1 and Apache (with mod_webapp). When on AJP12 with Tomcat, I was able to place some servlets in my ROOT context. Then, by using the directive JkMount /servlet ajp12, I was able to call servlets below http://host/servlet/ Now, with Tomcat 4.0.1 for example, I can put

Re: Experience with multiple Apache's hitting one Tomcat?

2002-01-11 Thread Jean-Luc BEAUDET
Nikola Milutinovic a écrit : I've configured two apaches (1.322) on two different boxes to send requests to one tomcat. Everything seems to be working fine. I didn't find this mentioned in any of the documentation or user lists / FAQs, and I was wondering if anyone had any experience

SOLUTION: Different results between TC3/TC4 with HTC (DHTML behavior) files and IE

2002-01-11 Thread chris brown
Got it working, thanks to a bit of hard work and the advice on this list... In $TOMCAT_HOME/conf/web.xml, add the following mime-mapping: mime-mapping extensionhtc/extension mime-typetext/plain/mime-type /mime-mapping Don't forget to restart tomcat afterwards obviously! -Chris

Question about Logging and Virtual Host

2002-01-11 Thread Renato
Hi all, I have an environment with multiple contexts and users. I'm running Tomcat 3.3-dev. Currently all log information from the servlets, exceptions, etc, is centralized in one log file. If it possible to create a log file per context ? ( maybe the logsetter under the Host tag ? Thanks

THANK YOU GOD!!!

2002-01-11 Thread louie miranda
YES!, hm.. I FINALLY RUN IT Apache + tomcat4.0-bin/ WebApp - Connector! =) hehe, SunOS 5.8 - sparc ty, louie... -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Change the default error message

2002-01-11 Thread Héctor Garcia Peris
Hello all, This is the first time I write to this page, and I send a salutation to all people. Well, this is my question. I have installed jakarta tomcat 3.2.2 in a linux machine. All works fine but I want change one thing and I don't know how can I make it. When occurs some error in a

Configure Tomcat 4.0.1 for execute JSP

2002-01-11 Thread Rodolfo_Garcia_Esteban
Hi, I have a problem to configure Tomcat 4.0.1 to execute JSP. Everytime I try to execute a JSP, including the examples, I obtain the same error. java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)

RE: Production considerations.

2002-01-11 Thread Randy Layman
The only other things I can think of are: 1. Shutdown the Tomcat web server on 8080 (usually if you have IIS in front of Tomcat there is a reason you don't want users to be able to short circuit it) 2. Consider upgrading to 3.2.4 Randy -Original

Tomcat 4.0.1 Realm MS SQL JDBC

2002-01-11 Thread Martin Fekete
Hi, someone get to work MS SQL 2000 Server and Tomcat 4.0.1 JDBC Realm ? by default it throw's exception for me: 2002-01-11 13:29:52 JDBCRealm[/lsdv]: Exception performing authentication java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]Can't start a cloned connection while in manual

RE: getSession take too mush time.

2002-01-11 Thread Mike Curwen
Hi, This is a closely related question, so thought I'd use this thread. I'm the co-moderator of a Java Servlets forum, and a question came up recently that I have never heard of before. It seems a user has found that request.getSession() takes a very long time to return if he is using Netscape

Re: Experience with multiple Apache's hitting one Tomcat?

2002-01-11 Thread Nikola Milutinovic
I think that all people will be highly interested in such a project. BTW maybe yu had to solve, with two Apaches and one Tomcat the pb of LoadBalancing. It used to exist in Tomcat 3.x, and documented - with mod_jk -, but there is neither documentation nor FAQ... So if yu experienced

RE: Change the default error message

2002-01-11 Thread Mike Curwen
You could use a JSP error page from a servlet. Catch any ServletException errors, and do a redirect to your JSP error page. Here's short snips from one of my servlets: try { //sending email from the servlet... } catch (ServletException ex) { log(Failure to send email, ex);

Tomcat https (FreeBSD)

2002-01-11 Thread Maxim Semin
Hello! I have some troubles with accessing Tomcat 3.2.3 through https. OS : FreeBSD 4.4. JDK: linux-jdk-1.4.0b3. The troubles are: Internet Explorer 5 connection OK; Netscape 4.7 connection failed with the message The security library has encountered an imroperly formatted

RE: Change the default error message

2002-01-11 Thread Héctor Garcia Peris
At 07:16 11/01/02 -0600, you wrote: You could use a JSP error page from a servlet. Catch any ServletException errors, and do a redirect to your JSP error page. Here's short snips from one of my servlets: try { //sending email from the servlet... } catch (ServletException ex) {

Jasper !!!

2002-01-11 Thread Chris Duprat
Hi! Jasper is unable to compile because packages are not found in import!! Not found packages are in the directory : Tomcat/webapps/MyApp/WEB-INF/classes Any suggestion ? I'm using TomCat 4.0.1 standalone. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands:

AW: Performance comparison TC3.2/4.0

2002-01-11 Thread Ralph Einfeldt
Just some questions: - stand alone or with connector (which connector) - OS - Hardware - with which tool did you get this results ? - did you verify that the measured results match the experience when you visit the page ? (Background: We made the experience that some tools show numbers

AW: Performance comparison TC3.2/4.0

2002-01-11 Thread Lauer, Oliver
Hi Ralf, thanks for your response. I'll try to answer your questions but before doing so - I understand you did some measurements as well - what were your results ? Can you state that TC4.0 is slower than 3.2 ? I didn't do the measurement on my own just got the results, but I can you tell

RE: Jasper !!!

2002-01-11 Thread Randy Layman
Explicitly import non-packaged classes. -Original Message- From: Chris Duprat [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 8:26 AM To: [EMAIL PROTECTED] Subject: Jasper !!! Hi! Jasper is unable to compile because packages are not found in import!! Not found

RE: Servlet Compilation Error

2002-01-11 Thread Larry Isaacs
Due to class visibility issues you are typically asking for trouble if you put servlet.jar in the jre/lib/ext directory. It is normal to have to specify servlet.jar in the classpath for the compiler as you show for your successful compilation. Note that due to CLASSPATH problems encountered

Re: Experience with multiple Apache's hitting one Tomcat?

2002-01-11 Thread Jean-Luc BEAUDET
Nikola Milutinovic a écrit : I think that all people will be highly interested in such a project. BTW maybe yu had to solve, with two Apaches and one Tomcat the pb of LoadBalancing. It used to exist in Tomcat 3.x, and documented - with mod_jk -, but there is neither documentation nor

JNDI problem

2002-01-11 Thread Luca Biolcati
Hello, I'm a newbie wioth tomcat and JNDI, trying to use an eviroment variable with Tomcat 4.0.1 in my web app. The following exception occurs when I try to read it: javax.naming.NameNotFoundException: Name java:comp is not bound in this Context this is the code that try to read that variable

RE: Securing access to pages

2002-01-11 Thread Cox, Charlie
a filter would work great for this. I am doing the exact same thing(minus jboss) by using a filter - it can be mapped differently than your servlets/jsp so it can span as much as it needs to. Just put something into the session that the filter can check for, and if it is not there, the filter

Servlet mapping problem - catalina does not map a servlet as defined in web.xml...

2002-01-11 Thread Morten Haavaldsen
Hi! I am running the catalina and the following does not work: http://localhost:8080/jaxm-provider/digest generates an error...file not found... (the .jar file contaiming the servlet is located under /common/lib and that should be ok! )

RE: Change the default error message

2002-01-11 Thread Mike Curwen
Oh the dangers of modifying code without first testing it! I modified that from a plain 'Exception', because I thought I was being clever. Catch either the exact specific Exceptions that may be thrown (eg: NullPointer, IO) or just catch 'Exception', as I was originally doing. -Original

RE: Jasper !!!

2002-01-11 Thread Mike Curwen
Are they jar'd ? - try putting them in the classes/lib directory. Are they zip'd ? - change the extension to jar Do you have a code sample? -Original Message- From: Chris Duprat [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 7:26 AM To: [EMAIL PROTECTED] Subject: Jasper !!!

SV: Servlet mapping problem - catalina does not map a servlet as defined in web.xml...

2002-01-11 Thread Morten Haavaldsen
Correction to the question: The .jar file is located under the webapps/jaxm-provider/WEB-INF/lib/provider.jar So what the mapping refers to in the web.xml is in the same context... /Morten -Opprinnelig melding- Fra: Morten Haavaldsen Sendt: 11. januar 2002 15:09 Til: [EMAIL

RE: TomCat 3.3 and SSI

2002-01-11 Thread Larry Isaacs
I'm not aware of anyone who has done this. If you wanted to try, I would recommend borrowing code from Catalina's SsiInvokerServlet.java and merging into Tomcat 3.3's StaticInterceptor.java to make an SsiStaticInterceptor.java. Cheers, Larry -Original Message- From: Gustav Kälvesten

AW: Performance comparison TC3.2/4.0

2002-01-11 Thread Ralph Einfeldt
Sorry wasn't clear enough. Only tested Apache + JServ + gnujsp in several configurations. I'm not using tomcat. -Ursprüngliche Nachricht- Von: Lauer, Oliver [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 11. Januar 2002 14:51 An: 'Tomcat Users List' Betreff: AW: Performance

Re: getSession take too mush time.

2002-01-11 Thread Kevin McBrearty
I believe the problem has to do with the initialization of the random number generation used for generating session id's. That's why it only happens on the first request. To get around this you can force the initialization in a startup servlet. Try something like this: new

Re: Protected Area

2002-01-11 Thread Dan Kha
Hi David, Yeah, I see your url-pattern line is commented out. It should be something like this... url-pattern/jsp/security/protected/*/url-pattern Hope this helps, dan On Fri, 11 Jan 2002, Herzig, David wrote: Dear Tomcat Users I tried to define a protected area, so I can only

Re: Production considerations.

2002-01-11 Thread Roger Varley
Hi Randy The only other things I can think of are: 1. Shutdown the Tomcat web server on 8080 (usually if you have IIS in front of Tomcat there is a reason you don't want users to be able to short circuit it) I've found the following in %TOMCAT_HOME%/conf !-- Normal HTTP -- Connector

mod_webapp and Tomcat tip

2002-01-11 Thread Mark . Donoghue
Hi, This may be obvious but, it helped me. Enabling the /webapp-info context as specified in the README file for mod_webapp will tell you where it's looking for your Tomcat web apps: Add this line: WebAppInfo /webapp-info to your Apache httpd.conf file. Browsing

Re: Jasper !!!

2002-01-11 Thread Chris Duprat
classes are not jared, I would have put it in the lib directory. My classes are well packaged, following the java name hierarchy. This webapps was working well on jswdk. Hi! Jasper is unable to compile because packages are not found in import!! Not found packages are in the directory :

RE: mod_webapp and Tomcat tip

2002-01-11 Thread Brian Adams
cool tip.. did not know that. thanks, Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 9:35 AM To: [EMAIL PROTECTED] Subject: mod_webapp and Tomcat tip Hi, This may be obvious but, it helped me. Enabling the /webapp-info

getPathTranslated - Bug?

2002-01-11 Thread Steven Elliott
I have a question re: the getPathTranslated method of HttpServletRequest in Servlet 2.3 as it is implemented in TC 4.0.1. Using Tomcat 4.0.1 (win2k) Standalone, the first access to the servlet I get the path + the servlet name + extra path info. The second time I access the servlet (same url) I

Re: THANK YOU GOD!!!

2002-01-11 Thread John Chan
Hi, - Original Message - From: louie miranda [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 11, 2002 5:03 AM Subject: THANK YOU GOD!!! YES!, hm.. I FINALLY RUN IT Apache + tomcat4.0-bin/ WebApp - Connector! =) hehe, SunOS 5.8 - sparc ty,

Re: Hi

2002-01-11 Thread RSEQUEIRA
A good starrting point would visiting the URL: http://jakarta.apache.org/tomcat/index.html Check the links under Documentation. It has excellent information on developing and deploying web applications. Hope this helps. Thanks. RS Harikrishna_B [EMAIL PROTECTED] on 01/11/2002 04:35:08 AM

IIS5, Tomcat4, multiple IP addresses, same port numbers, and problems (still a bit stuck)

2002-01-11 Thread chris brown
It seems that IIS 5.0 is greedy with respect to available IP addresses. Even if you specify that it should only listen on particular IP addresses, if you specify a port with one IP address, it listens for requests on other other IP addresses with the same port number. This seems to prevent

RE: starting Jakarta-Tomcat 4.0 on Red Hat 7.2

2002-01-11 Thread Allan Kamau
Well, have you tried installing TC4 or in other words Catalina from a .gz or .zip package. It is simple you only have to extract the zip file in to a folder of your choice . Then set the environmental variables, CATALINA_HOME and JAVA_HOME, this can be done in either your /etc/profile or in

Re: Securing access to pages

2002-01-11 Thread Gerry Duhig
We had that in one application which was servlet controlled. Our second application started life as largely html pages so it was tricky to use this approach and it didn't appear to be necessary. Now I am tending towards your approach since I can't get this way to work. Thanks Gerry -

Re: Securing access to pages

2002-01-11 Thread Gerry Duhig
OK, before I change my whole approach and use a filter or loggedIn flag on al my JSP pages, can someone tell easily why this worked under 3.2 but doesn't under 4.0.1? Login.jsp looks like this: == %@ page autoFlush=false % % String name =

Re: Jasper !!!

2002-01-11 Thread Chris Duprat
in My JSP I put an directive %@ page import=org.user.* % This package is in WEB-INF/classes and Jasper can't find it - Original Message - From: Chris Duprat [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 11, 2002 2:25 PM Subject: Jasper !!! Hi! Jasper is unable to

Re: Directory browsing

2002-01-11 Thread RSEQUEIRA
Directory listings are already a default feature of Tomcat, unless you've turned them off in your $CATALINA_HOME/conf/web.xml file -- see the servlet initialization parameter named listings on the default Carsten Karkola [EMAIL PROTECTED] on 01/11/2002 03:52:20 AM Please respond to

Re: Securing access to pages

2002-01-11 Thread Craig R. McClanahan
On Fri, 11 Jan 2002, Gerry Duhig wrote: Date: Fri, 11 Jan 2002 17:00:30 - From: Gerry Duhig [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Securing access to pages OK, before I change my whole approach and use a

RE: Auto starting Tomcat during boot?

2002-01-11 Thread Nelson Yip
Hello, I did a cat boot.log: Jan 11 14:00:58 corona tomcat: Guessing CATALINA_HOME from catalina.shto/usr/local/bin/jakarta-tomcat-4.0.1/bin/.. Jan 11 14:00:59 corona tomcat: Setting CATALINA_HOME to /usr/local/bin/jakarta-tomcat-4.0.1/bin/.. Jan 11 14:00:59 corona tomcat: You must set

RE: Auto starting Tomcat during boot?

2002-01-11 Thread Martin van den Bemt
Set the java_home in the startupscript (or catalina.sh or whatever place you prefer). Mvgr, Martin -Original Message- From: Nelson Yip [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 18:49 To: 'Tomcat Users List' Subject: RE: Auto starting Tomcat during boot? Hello,

RE: Auto starting Tomcat during boot?

2002-01-11 Thread Nelson Yip
How about setting the environment in the rc.local or rc.sysinit files?? Would that work too? Thanks Nelson -Original Message- From: Martin van den Bemt [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 12:58 PM To: Tomcat Users List Subject: RE: Auto starting Tomcat during

RE: Jasper !!!

2002-01-11 Thread Emir Alikadic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -Original Message- From: Chris Duprat [mailto:[EMAIL PROTECTED]] Sent: January 11, 2002 12:11 PM To: Tomcat Users List Subject: Re: Jasper !!! in My JSP I put an directive %@ page import=org.user.* % This package is in

RE: Auto starting Tomcat during boot?

2002-01-11 Thread Martin van den Bemt
rc.local definitely not, since it is executed after the other scripts. I think the rc.sysinit can be succesfull (never tried that actually, but it is setting some variables like HOSTNAME, so..) Mvgr, Martin -Original Message- From: Nelson Yip [mailto:[EMAIL PROTECTED]] Sent: Friday,

RE: Performance comparison TC3.2/4.0

2002-01-11 Thread Larry Isaacs
I'd be curious how Tomcat 3.3 compares to Tomcat 3.2. The small amount of unofficial testing I've done with Apache's ab says it should be noticably faster. Cheers, Larry -Original Message- From: Lauer, Oliver [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 8:01 AM To:

loading jdbc driver

2002-01-11 Thread Alfar, Adam
I am using tomcat 4 and I am having problems loading the jdbc driver as follows: java.lang.ClassNotFoundException: com.informix.jdbc.IfxDriver whenever I try to load the servlet thru the web browser. However, if I run the jdbc loading through standalone java program, it loads fine and executes

Re: Auto starting Tomcat during boot?

2002-01-11 Thread Kirby Vandivort
We are possibly getting into religious issues, but you are really better off not setting the environ vars somewhere that you don't need them.. Why not just make a file like the following (what I use) and drop it into the appropriate rc directory (modifying as necessary, of course), and link to it

Re: Auto starting Tomcat during boot?

2002-01-11 Thread Craig R. McClanahan
On Fri, 11 Jan 2002, Kirby Vandivort wrote: Date: Fri, 11 Jan 2002 12:14:59 -0600 From: Kirby Vandivort [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Auto starting Tomcat during boot? We are possibly getting into

Re: loading jdbc driver

2002-01-11 Thread Praveen Potineni
Adam, Put the driver files in the WEB-INF/lib folder in webapps. Create a lib folder if it dosen't exist in WEB-INF. Hope that helps...Let us know... Praveen - Original Message - From: Alfar, Adam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 11, 2002 1:14 PM Subject:

Re: Jasper !!!

2002-01-11 Thread Chris Duprat
Emir, I've already done that. That's why I don't understand why Jasper can't find this package. I wonder if it could be a bug, in this case there would be more post. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list:

DecodeInterceptor: Charset from session ISO-8859-1

2002-01-11 Thread Rick Roberts
What does this message mean? DecodeInterceptor: Charset from session ISO-8859-1 Tomcat generates this message every time I refresh a JSP page. Is it something that I should be concerned about? Or, is it a nuisance message? If so, can I disable it? Thanks, --

Re: Securing access to pages

2002-01-11 Thread Gerry Duhig
No, I'm not trying to fake it. The original data comes from the user, and the container puts up the form (login.htm), but I post from there to login.jsp. What I am trying to do then is force my login servlet to run immediately after j_security_check. The user may have attempted access to any of

RE: DecodeInterceptor: Charset from session ISO-8859-1

2002-01-11 Thread Larry Isaacs
It's a nuisance message. You can set the debug level on DecodeInterceptor to -1 to turn it off. You can also try the Tomcat 3.3.1 Dev nightly from: http://jakarta.apache.org/builds/jakarta-tomcat/nightly-3.3/ which was updated to not output this message by default. Cheers, Larry

RE: Auto starting Tomcat during boot?

2002-01-11 Thread Nelson Yip
Thanks guys for your input. I inserted the environments into the Catalina.sh script so when it loads up the script it will load up the environments first before trying to startup the program. I think the best way is to setup an script just to load up environments such as the one you have below.

Re: loading jdbc driver

2002-01-11 Thread David Smith
Standalone jave works, but the servlet doesn't? Sounds like either the file isn't in the right place ( $CATALINA_BASE/common/lib, $CATALINA_BASE/lib, or WEB-INF/lib ) or it's named as a .zip instead of .jar. Tomcat only looks for .jar files (.zip files are ignored) in one of the above listed

Re: DecodeInterceptor: Charset from session ISO-8859-1

2002-01-11 Thread Rick Roberts
Thanks. You are correct. In server.xml, I changed: DecodeInterceptor / To the following: DecodeInterceptor Debug=-1 / I no longer get that message. Rick Larry Isaacs wrote: It's a nuisance message. You can set the debug level on DecodeInterceptor to -1 to turn it off.

RE: loading jdbc driver

2002-01-11 Thread Emir Alikadic
-Original Message- From: Alfar, Adam [mailto:[EMAIL PROTECTED]] Sent: January 11, 2002 1:14 PM To: '[EMAIL PROTECTED]' Subject: loading jdbc driver I am using tomcat 4 and I am having problems loading the jdbc driver as follows: java.lang.ClassNotFoundException:

Re: Securing access to pages

2002-01-11 Thread Craig R. McClanahan
On Fri, 11 Jan 2002, Gerry Duhig wrote: Date: Fri, 11 Jan 2002 19:12:35 - From: Gerry Duhig [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Securing access to pages No, I'm not trying to fake it. The original data

RE: loading jdbc driver

2002-01-11 Thread Alfar, Adam
Thanks Praven and ALL Tomcat users for the advice! IT WORKED!! GOOD WEEKEND EVERYBODY :-) -Original Message- From: Praveen Potineni [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 12:59 PM To: Tomcat Users List Subject: Re: loading jdbc driver Adam, Put the driver files in

RE: loading jdbc driver

2002-01-11 Thread Jolet, John
I added a symlink to it in the $CATALINA_BASE/lib directory and that did it...thanks guys! -Original Message- From: David Smith [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 1:32 PM To: Tomcat Users List Subject: Re: loading jdbc driver Standalone jave works, but the

Re: Question about Logging and Virtual Host

2002-01-11 Thread Martin v . Boehlen
Hi one, in apps-vhosts.xml (or where ever you define your hosts) try something like: !-- + Web serving virtual host + -- Host name=www.tiade-voboe.de Alias name=www / Context path= docBase=/usr/local/httpd/webapps/www

Re: No startup.sh in RPM Distribution of Tomcat 4.0.1 for Linux

2002-01-11 Thread Jonathan Eric Miller
IMHO, I don't think it's a good idea to make customizations like this. IMHO, all the distributions should contain the same files. Jon - Original Message - From: GOMEZ Henri [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, November 09, 2001 7:13 AM Subject: RE: No

RE: Question about login backdoor

2002-01-11 Thread jerry . fang
Craig, I need some help in implementation. I create two classes, one customized Valve and one customized Realm. a) I made my Valve to intercept HTTP request and call setUserPrincipal if a special token is authenticated. b) I changed server.xml to use my customized realm. My customized realm

Null pointer error when i try to access http://localhost:8080

2002-01-11 Thread Matt Sweetnam
Ok, I just installed Tomcat (Catalina) on a new NT machine which seems to start up fine.. when I go to http://localhost:8080 I get the following in the log file: [15:14:48,501,EmbeddedCatalinaServiceSX] StandardHost[localhost]: MAPPING configuration error for request URI

Sessions across contexts, is it possible?

2002-01-11 Thread Brandon Cruz
Is it possible to use session attributes across contexts in tomcat 3.2.4? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Brandon Cruz
I want to pass servletContext.getRealPath() over to another context. I don't want to have to do this with http parameters because of security reasons. Am I out of luck, or is there a way? Thanks in advance for any help! -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]]

apache mod_auth and tomcat

2002-01-11 Thread W. Wood Harter
I've searched the archives and didn't find how to use apache mod_auth for basic authorization to protect tomcat pages. My problem is that apache is on port 80 and tomcat is on 8080. If I protect a link at http://myhost:80/myapp/ with Apache's mod_auth, a smart user could just use

RE: apache mod_auth and tomcat

2002-01-11 Thread Charles N. Harvey III
You could completely disable the Standalone container in the server.xml. Leave the warp-connected apache container and remove everything in the standalone one. Then there will be no port :8080. That's just one idea though. Charlie -Original Message- From: W. Wood Harter [mailto:[EMAIL

RE: apache mod_auth and tomcat

2002-01-11 Thread Armbrust, Daniel C.
You could also put a good firewall in front of the machine, and only let port 80 in. An extra bit of security never hurts... -Original Message- From: Charles N. Harvey III [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 4:46 PM To: Tomcat Users List Subject: RE: apache

Re: Sessions across contexts, is it possible?

2002-01-11 Thread Matt Egyhazy
im not 100% sure but i dont think you can do that. at least not on 3.2.4. for questions such as this, it would be helpful if you put the version of tomcat you are using. matt - Original Message - From: Brandon Cruz [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday,

Re: Sessions across contexts, is it possible?

2002-01-11 Thread Matt Egyhazy
heh, duh, i replied to your second message, didnt see the first one, sorry. - Original Message - From: Matt Egyhazy [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 11, 2002 6:28 PM Subject: Re: Sessions across contexts, is it possible? im not 100% sure

mod_webapp build problem

2002-01-11 Thread Cavan Morris
Hey Everybody, I'm having trouble building mod_webapp.so v1.0.1 on my redhat 7.2 system. Possibly because my libtool is version 1.4 instead of 1.3something. There is a binary copy of mod_webapp v1.0 at the Jakarta site but only source for v1.0.1. Does anybody know were I can get a binary of

RE: Question about login backdoor

2002-01-11 Thread jerry . fang
Craig, A further testing shows that HTTP session was not established when my customized Valve was invoked. How could I fix it? Thanks in advance. -Jerry -Original Message- From: Fang, Jerry Sent: Friday, January 11, 2002 3:43 PM To: [EMAIL PROTECTED] Subject: RE: Question about

RE: Question about login backdoor

2002-01-11 Thread Craig R. McClanahan
On Fri, 11 Jan 2002 [EMAIL PROTECTED] wrote: Date: Fri, 11 Jan 2002 17:49:35 -0600 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Question about login backdoor Craig, A further testing shows that HTTP session was not established when my customized

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Brandon Cruz
This seems to be breaking the jsp specification. Will this really work, and will it bring headaches in the future if I switch to a different servlet container? -Original Message- From: Mario Felarca [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 5:49 PM To: Tomcat Users

RE: Sessions across contexts, is it possible?

2002-01-11 Thread jerry . fang
My valve subclasses ValveBase. I looked at the source code in AuthenticatorBase and duplicated the same code. But the HttpServletRequest.getSession(true/false) call always return null. Is it because my request is the first contact between the browser and server, that there is no cookie set

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Craig R. McClanahan
On Fri, 11 Jan 2002 [EMAIL PROTECTED] wrote: Date: Fri, 11 Jan 2002 18:17:01 -0600 From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Sessions across contexts, is it possible? My valve subclasses ValveBase. I looked at the source

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Craig R. McClanahan
On Fri, 11 Jan 2002, Brandon Cruz wrote: Date: Fri, 11 Jan 2002 18:07:00 -0600 From: Brandon Cruz [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Sessions across contexts, is it possible? This seems to be breaking the

[FAQ] jGuru FAQ Update

2002-01-11 Thread Alex Chaffee
jGuru maintains FAQs and Forums on Servlets, JSP, and Tomcat (as well as many other Java topics). Here is an automated update on recent postings to Tomcat-related FAQs. Please direct flames and feedback to [EMAIL PROTECTED] . - Alex ++ Servlets FAQ: http://www.jguru.com/faq/Servlets How do

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Chad Johnson
Hey, What if we change the scenario a little bit. Is is possible to share objects between contexts that reside in differant host blocks? getContext() does not seem to work in that scenario. -Chad Johnson On Fri, 11 Jan 2002, Craig R. McClanahan wrote: Containers are not required to let

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Craig R. McClanahan
On Fri, 11 Jan 2002, Chad Johnson wrote: Date: Fri, 11 Jan 2002 22:04:37 -0600 (CST) From: Chad Johnson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Sessions across contexts, is it possible? Hey, What if we

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Chad Johnson
Great, thanks for the insight. The persistance layer sounds most pleasing. -Chad On Fri, 11 Jan 2002, Craig R. McClanahan wrote: No, virtual hosts are considered (by the servlet API) to be totally independent. If you want to delve into container-specific behavior, classes that are

RE: having to restart tomcat for new classes -More

2002-01-11 Thread Jiger Java
Hi Craig, * Creating objects based on classes loaded from /WEB-INF/classes or /WEB-INF/lib, but passing references to them to classes that are loaded from the shared class loader (and are thus NOT reloaded by the reloading mechanism). The old objects survive the reload (because

  1   2   >