Re: username password for admin manager

2003-07-16 Thread Simon Pabst
tomcat-users.xml hast to be defined in tomcat/conf/server.xml too, look at the default server.xml of Tomcat for how to do that, and here http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html#Configuring%20Manager%20Application%20Access To set CATALINA_HOME for Tomcat on linux put

RE: [OFF-TOPIC] possible virus No Valid Command Found

2003-07-16 Thread Kris Wolff
hm, it is depend on your mail client ? Am 11 Jul 2003 um 1:37 hat Thomas, Kevin geschrieben: Yip. I can't even get them to filter. -Original Message- From: Tim Davidson [mailto:[EMAIL PROTECTED] Sent: 11 July 2003 09:22 To: [EMAIL PROTECTED] Subject: [OFF-TOPIC] possible

tomcat-WEB-INF

2003-07-16 Thread Elif Akten
I have an webapplication under /webapp/mywebapplication, I put all classes and lib files under WEB-INF directory classes and lib directory, it works fine, but if I put a new directory under mywebapplication folder it gives NoClasssDef error. what Shoul I do?

AW: Tomcat 4.1.24 + Security Manager + weird Exceptions

2003-07-16 Thread Haug Thomas
Hi Tim, thanks for the advise. The interesting part is that tomcat (process) doesn't seem to survive the re-initialization of the ServerSocket. It this a known bug? Regards, Thomas -Ursprüngliche Nachricht- Von: Tim Funk [mailto:[EMAIL PROTECTED] Gesendet am: Dienstag, 15. Juli 2003

Re: Tomcat load not distributed equally by Apache

2003-07-16 Thread David Rees
Simon Pabst wrote: We had the same problem, see this thread http://www.mail-archive.com/[EMAIL PROTECTED]/msg97638.html Unless mod_jk Developers fix this, the only possible solution seems to build and use Apache 2 with Multithreading support (i used the worker mpm, perchild should work too, see

Re: I'm officially lost with mod_jk

2003-07-16 Thread Werner van Mook
Gute Morgen Simon, I've compiled the mod_jk myself. it was easy. But I still have problems. I will so you what I have. In httpd.conf : LoadModule jk_module modules/mod_jk.so # MY OWN STUFF HERE IfModule mod_jk.so AddModule mod_jk.c JkWorkersFile /etc/httpd/conf/workers.properties JkLogFile

AW: tomcat-WEB-INF

2003-07-16 Thread Grossert Alexander EXT
When you have a java class in /webapp/mywebapplication/newDirectory you also need to define a package called mywebapplication.newDirectory in the source code of this class. When you want to use this new class in a java class one directory above you have to tell java where it is situated: new

JKJNI

2003-07-16 Thread Cui Xiaojing-a13339
Hello All, I plan to use in-process connection between Tomcat and Apache. Now Tomcat 4.1.24, Apache 2.0.46, mod_jk2 have been installed on Windows 2000, But I didnot find out from where to download jkjni.dll. Could you please give me some help. Thanks. Regards, Xiaojing

Tomcat 4.0 and 5.0

2003-07-16 Thread Varley, Roger
Hi Is there a URL that details what is going to be different between Tomcat 4.0 and 5.0. I'm looking for something more in the style of a tutorial, descriptive how it works type of thing rather than a list of features. Regards Roger

Using sendRedirect puts me into an infinite loop...

2003-07-16 Thread Mike Curwen
Sorry for posting this here, but I either have a pretty big misunderstanding of something (most likely) or I've discovered a bug I have Apache Web Server set up thusly: ~~~ VirtualHost xxx.xxx.xxx.xxx DocumentRoot /home/webhome/myapp/ ServerName

compiling connectors on Mac osX

2003-07-16 Thread Werner van Mook
Has any body tried to compile the jakarta-tomcat-connectors-jk-1.2.2 on Mac OSX? I get an error running 'ant native' from the jk directory. apache20: [echo] going into so [so] Compiling 19 out of 19 Compiling /Users/werner/Desktop/jakarta-tomcat-connectors-4.1.24-src/jk/native/

weird problem-can't copy JWS application wording

2003-07-16 Thread kitty winslet
Hey.. I had a weird minor problem, but I can't solve it. I found I can't copy the wording in my Java Web Start Application using ctrl-C and V method on my PC (only for the application, other application like notepad, word and etc.. no problem. But I can do the same thing on other PC (copy

Prevent Tomcat from displaying directory listing.

2003-07-16 Thread Philip Baruc
I'm using tomcat 4.1 with the CoyoteConnector as the http server. How do i configure tomcat so that tomcat does NOT display the contents of a directory when that directory is missing a welcome page. i.e. (index.html, index.jsp)? Are there settings in the web.xml or server.xml that i can set?

Tomcat + JBoss

2003-07-16 Thread Harsh Nagpal
On Mon, 2003-07-14 at 18:10, John Turner wrote: mod_jk http://www.google.com/search?hl=enie=UTF-8oe=UTF- 8q=solaris+apache+tomcat+connector http://jakarta.apache.org/tomcat/faq/connectors.html John On Mon, 14 Jul 2003 18:24:44 +0800, Cui Xiaojing-a13339 [EMAIL PROTECTED] wrote:

Re: AW: Tomcat 4.1.24 + Security Manager + weird Exceptions

2003-07-16 Thread Simon Pabst
We've got a similar issue, though this in on Linux and using channelUnix/JNI instead of normal tcp channelSocket. We're using Apache2/mod_jk2 (built from tomcat-connectors-1.1M1). On heavy load, there are over 3000 sockets open by one Tomcat/JVM, they don't seem to go down again too while

Need your help about In-process jk2 connection between Tomcat and Apache on Windows 2000

2003-07-16 Thread Cui Xiaojing-a13339
Hello All, I am doing in-process connection for Tomcat and Apache using jk2 on Windows 2000. The installed components are as below: Tomcat 4.1.24 Apache 2.0.46 mod_jk2-2.0.43.dll I have done following operation: 1. Install Tomcat in E:\jartomcatflex, it is correct. 2. Install Apache in

RE: Prevent Tomcat from displaying directory listing.

2003-07-16 Thread Abid Ali Teepo
Go to the conf/web.xml and set listings=false for the default servlet Abid -Original Message- From: Philip Baruc [mailto:[EMAIL PROTECTED] Sent: 16. juli 2003 00:28 To: [EMAIL PROTECTED] Subject: Prevent Tomcat from displaying directory listing. I'm using tomcat 4.1 with the

Re: Re: Tomcat load not distributed equally by Apache

2003-07-16 Thread Simon Pabst
Tomcat Users List [EMAIL PROTECTED] schrieb am 16.07.03 09:26:14: Simon Pabst wrote: We had the same problem, see this thread http://www.mail-archive.com/[EMAIL PROTECTED]/msg97638.html Unless mod_jk Developers fix this, the only possible solution seems to build and use Apache 2

RE: tomcat startup

2003-07-16 Thread Andrew Liles
You have probably already looked for java.net.SocketException: Network is down on Google and found nothing. This suggests you have a very obscure problem. Therefore you should try to establish what is unusual about your machine. The fact your machine acts as some kind of gateway, I think is the

RE: Need your help about In-process jk2 connection between Tomcat andApache on Windows 2000

2003-07-16 Thread Atreya Basu
Hi Cui, I think that you are missing the shm directive in workers2.properties and jk2.properties. Adding that directive should make everything go. _ Atreya Basu Developer, Greenfield Research Inc. e-mail: atreya (at) greenfieldresearch (dot) ca -Original

Is it possible to add header values to the request (not the respo nse)?

2003-07-16 Thread White, Joshua A (HTSC, CASD)
Hey all, My production application uses a site minder web agent. This agent places two name/value pairs into the request header, one for userName, the other for domain. In my application, I have a filter which looks for these values to make sure the user is logged in. Currently I do not have

Re: AW: Tomcat 4.1.24 + Security Manager + weird Exceptions

2003-07-16 Thread Tim Funk
How do you mean survive? The JVM core dumps (which then is a JVM vendor issue) or the JVM stays up buit sits there uselessly? -Tim Haug Thomas wrote: Hi Tim, thanks for the advise. The interesting part is that tomcat (process) doesn't seem to survive the re-initialization of the ServerSocket.

RE: Using sendRedirect puts me into an infinite loop...

2003-07-16 Thread Andy Eastham
Mike, The documentation is always your friend :-) The docs say that relative urls are interpreted relative to the CURRENT REQUEST URI, so the behaviour is as advertised: * sendRedirect public void sendRedirect(java.lang.String location) throws

Re: Is it possible to add header values to the request (not the respo nse)?

2003-07-16 Thread Tim Funk
You can do this via a Filter and HttpServletRequestWrapper, where your imlpementation of HttpServletRequestWrapper will extend the needed getHeader methods to send the additional stuff you need. -Tim White, Joshua A (HTSC, CASD) wrote: Hey all, My production application uses a site minder web

Re: Tomcat 4.0 and 5.0

2003-07-16 Thread Tim Funk
There is none that I know of. There are many differences between 4.0.X and 4.1.X. Likewise there are more diffs between 4.1.X and 5. The changelog and releasenotes in 5 should give you an idea of most differences. From a PHB marketing point of view, here are the highlighted diffs between 4.1

Re: Re: I'm officially lost with mod_jk

2003-07-16 Thread Simon Pabst
Your JK Stuff in httpd.conf looks a bit wrong to me, and the error means that workers.properties is either not found or not loaded, try this: httpd.conf: #For Apache 1.x additional modules should be normally in apache/libexec dir, not in modules as in your config (unless you got Apache 2 now?)

PERMISSIONS FOR JDBC ORACLE APPLICATION

2003-07-16 Thread Paterson, Trevor
Hi I am trying to start using the SecurityManager/catalina.policy for a servelt/jsp application that accesses an Oracle Database for read/write. Everything works fine when I set: permission java.security.AllPermission for the entire application. but if I try and limit permissions, any

pageContext

2003-07-16 Thread Dominic Parry
Hi I have an jsp that outputs an image. What do I need to set the pagecontext type to in order for the browser to understand the image? At the moment it prompts me to save the image as jspname.jsp, but If I rename the extension to jpg, it has actually downloaded the image. Thanks Dom

SSL configuration for Apache HTTP server

2003-07-16 Thread Sudhir Kumar
hello, How to configure SSL in apache HTTP server. Apache and tomcat are integrated. please help thanks and regards Sushir - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Querying container's user database

2003-07-16 Thread Christian J. Dechery - ACCENTURE
Is there a way I can query the container's user database to find out if a specifed login exists or not?? If yes, is the solution container-specific? ___ :: Christian J. Dechery :: Accenture do Brasil :: CHT - Solutions Operations :: [EMAIL PROTECTED]

Re: I'm officially lost with mod_jk

2003-07-16 Thread Werner van Mook
Aha, A typo on my side. changed IfModule mod_jk.so into IfModule mod_jk.c Now my error log file displays : [Wed Jul 16 14:43:40 2003] [notice] Apache/1.3.20 Sun Cobalt (Unix) mod_ssl/2.8.4 OpenSSL/0.9.6b PHP/4.0.3pl1 mod_jk/1.2.2 mod_auth_pam_external/0.1 FrontPage/4.0.4.3 mod_perl/1.25

RE: Is there a search engine for the mailing list archive?

2003-07-16 Thread Shapira, Yoav
http://marc.theaimsgroup.com/?l=tomcat-userr=1w=2 Yoav Shapira Millennium ChemInformatics -Original Message- From: Bongrip [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 6:54 PM To: Tomcat Users List Subject: Is there a search engine for the mailing list archive? I couild not

Using mod_jk between physcially separate servers

2003-07-16 Thread Cuneyt Uysal [RedDot]
Greetings, I apologize for this generic post. I looked through the archive, but could not find a complete answer. I have integrated Tomcat 4.1 and Apache 1.3 using mod_jk and ajp13 on the same physical server, but how can this be achieved if each component resides on *physcially separate*

Re: advise on updating some commons packages

2003-07-16 Thread Kevin HaleBoyes
--- Tim Funk [EMAIL PROTECTED] wrote: Yes thats ok. You don't need to be wary as long as you Test test test -Tim Thanks Tim. I will indeed test. I've got it all setup on my development machine and won't be committing for some time. Kevin. __ Do you

RE: Using mod_jk between physcially separate servers

2003-07-16 Thread Yiannis Mavroukakis
Check this url out, it is for mod_jk2 but you will get the general idea :) http://www.pirack.com/howto/modjk2/ Y. -Original Message- From: Cuneyt Uysal [RedDot] [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 14:01 To: [EMAIL PROTECTED] Subject: Using mod_jk between physcially separate

Re: Re: I'm officially lost with mod_jk

2003-07-16 Thread Simon Pabst
If Apache says 404 not found, your JkMount config is wrong propably, What does your JkMount stuff look like? Are the JkMount directives in global httpd.conf or just in one VirtualHost? Any errors in mod_jk.log? Tomcat Users List [EMAIL PROTECTED] schrieb am 16.07.03 14:54:06: Aha, A typo on

Still needing helping with jakarta-commons/fileupload

2003-07-16 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi guys, can anybody help me? I am trying to retrieve fields and one file from a submitted form. The question is simple: can jakarta-commons/fileupload does it? I am afraid it just can uploads files! should i use O'reilly package? Code sample would be appreciated. Thanks in advance, Euclides.

ENC: Still needing help with jakarta-commons/fileupload

2003-07-16 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi guys, can anybody help me? I am trying to retrieve fields and one file from a submitted form. The question is simple: can jakarta-commons/fileupload does it? I am afraid it just can uploads files! should i use O'reilly package? Code sample would be appreciated. Thanks in advance, Euclides.

I'm confused

2003-07-16 Thread Dave Shaffer
I am attempting to connect Apache 2.0.45 and Tomcat 5. Tomcat responds to 8080 on localhost and other machines on my network. This is my confusion: 1) I have been through the docs on the Jakarta site and am not sure if I should be using mod-jk or mod-jk2. 2) I am running on a Windows 2000

RE: Is it possible to add header values to the request (not the r espo nse)?

2003-07-16 Thread White, Joshua A (HTSC, CASD)
Tim, The getHeader methods does not return any reference to any kind of header object which I could modify. I would have to create my own setHeader method instead. There has to be an easier way to do this. Any other ideas? -Joshua -Original Message- From: Tim Funk [mailto:[EMAIL

jasper2 in ant and the classpath

2003-07-16 Thread Johann Uhrmann
Hello, I have an issue with the following snippet of my ant build-script: taskdef classname=org.apache.jasper.JspC classpathref=compile.classpath name=jasper2/ jasper2 verbose=3 package=my.package uriroot=${temp.home} outputDir=${temp.home} / The taskdef tag and the jasper2 tag do not

Re: I'm officially lost with mod_jk

2003-07-16 Thread Werner van Mook
I realized after sending my previous mail that I didn't have any JkMount directives. I'm currently in the process of creating them. when I have any problems again I will let you know. Regards werner - To unsubscribe, e-mail:

[SOLVED] I'm officially lost with mod_jk

2003-07-16 Thread Werner van Mook
I would like to thank all who helped me with solving my problems. it finally works. I think that the biggest problem was me making a STUPID typo in the IfModule... tag. Kind Regards Werner van Mook Java Lead Developer / Trainer Connecties Voor Internet

RE: Is it possible to add header values to the request (not the r espo nse)?

2003-07-16 Thread Shapira, Yoav
Howdy, Howdy, The getHeader methods does not return any reference to any kind of header object which I could modify. I would have to create my own setHeader method instead. There has to be an easier way to do this. What Tim suggests IS an easy way to do the kludge you're trying to do. Assuming

RE: Using mod_jk between physcially separate servers

2003-07-16 Thread Cuneyt Uysal [RedDot]
I like the structure of mod_jk2 better, thank you! My only question is where to place mod_jk2.conf? I have a Apache 2.0.40 on Linux Redhat 9.0. Where does this conf file reside? Thank you very much. -Original Message- From: Yiannis Mavroukakis [mailto:[EMAIL PROTECTED] Sent:

RE: SSL through IIS to call the Tomcat - problem with isapi_redie ct.d ll

2003-07-16 Thread Kannan Sundararajan
After spending much time, finally found that isapi_redirect.dll is not able to bring the crystal reports if SSL is used thru IIS. The solution ( we know that a better way can be found but we don't have anymore time allocated for this issue) is we redirected the jsp (from tomcat server) to call ASP

Problem finding resource for logger

2003-07-16 Thread Abid Ali Teepo
Hi there I've got a problem finding the log.xml file that specifies the behavior for my log4j. I have tried to put it almost everywhere in my war file, but i keep getting the nullpointerexcpetion. Anyone have advise on where to put it, or how to load it ?? I use this code : //Initialise

Apache 2 + Tomcat 4.1 + JK2 SSL !

2003-07-16 Thread Ruchi Dayal
Hello: I am trying to configure the following: 1) Apache 2.x as the HTTP server. 2) Tomcat 4.1.x as the Servlet/JSP container. 3) JK/JK2 to make Apache and Tomcat talk to each other. 4) Apache should be able to serve secured pages via SSL. Obviously, without luck so far! Any pointers would be

RE: Problem finding resource for logger

2003-07-16 Thread Shapira, Yoav
Howdy, I have tried to put it almost everywhere in my war file, but i keep getting the nullpointerexcpetion. Anyone have advise on where to put it, or how to load it ?? I use this code : //Initialise logger String resource = \\WEB-INF\\log.xml; URL configFileResource =

unable to access after password change

2003-07-16 Thread epyonne =)
Hello All, When I installed Tomcat, I used admin/admin for username and password. This morning I changed the password to be more secure. After that, I cannot access the manager or the administration page anymore. Even by restarting Tomcat. All I got is: HTTP Status 403 - Access to the

RE: I'm officially lost with mod_jk

2003-07-16 Thread Kannan Sundararajan
change the port number from 8080 to 80 -Original Message- From: Werner van Mook [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 8:54 AM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: I'm officially lost with mod_jk Aha, A typo on my side. changed IfModule mod_jk.so

RE: unable to access after password change

2003-07-16 Thread Paterson, Trevor
you should find your passwords in {$catalina_home}\conf\tomcat-users.xml Trevor Paterson PhD [EMAIL PROTECTED] -Original Message- From: epyonne =) [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 15:43 To: [EMAIL PROTECTED] Subject: unable to access after password change Hello All, When

Session timeout

2003-07-16 Thread Tarek M. Nabil
Hi everyone, How do I configure the session timeout value in Tomcat. I don't want to use code to do it. Any help is appreciated. Thanks, Tarek M. Nabil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: tomcat-3.3.2 dev 12. July 2003

2003-07-16 Thread Larry Isaacs
Unfortunately I did not have time to test this latest build prior to leaving on vacation. I'm not sure what changed. I'll have to investigate when I get back this weekend. Cheers, Larry -Original Message- From: Power-Netz (Schwarz) [mailto:[EMAIL PROTECTED]

RE: Session timeout

2003-07-16 Thread Sudhir Movva
The default setting for session timeout should be done in %CATALINA_HOME%/conf/web.xml Look for the tag session-config -Sudhir. -Original Message- From: Tarek M. Nabil [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:47 AM To: 'Tomcat Users List' (E-mail) Subject: Session

RE: Session timeout

2003-07-16 Thread sankara
You can use, session-config session-timeoutXXX/session-timeout /session-config in your web.xml Regards, A.Sankar -Original Message- From: Tarek M. Nabil [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 8:17 PM To: 'Tomcat Users List' (E-mail) Subject: Session timeout Hi

RE: Session timeout

2003-07-16 Thread Sudhir Movva
For application specific setting modify web.xml file of your application by adding session-config session-timeouttime in ms/session-timeout /session-config -Sudhir. -Original Message- From: Tarek M. Nabil [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:47 AM

Re: Using mod_jk between physcially separate servers

2003-07-16 Thread John Turner
Simple, and its in the archives. Change worker.ajp13.host in workers.properties to the IP address of the server hosting your Tomcat instance. John On Wed, 16 Jul 2003 09:00:39 -0400, Cuneyt Uysal [RedDot] [EMAIL PROTECTED] wrote: Greetings, I apologize for this generic post. I looked

Tomcat with log4j output

2003-07-16 Thread Abid Ali Teepo
Hi I just added a servlet with logging done by log4j, and it apparently works ok. But suddenly tomcat has started giving a lot of debug information. The thing is that even though i have set the level to info, it gives me tomcat debug. Is there a setting or something i have awakened by log4j

File replication (Tomcat cluster ?)

2003-07-16 Thread Nicolas LANTERNIER
Hello, I have two Tomcat Servers working in session cluster and I need to replicate the content of the Webapp directory. Is it possible ? and how to configure it ? ... Sorry for my poor english ___ Nicou

Re: Using mod_jk between physcially separate servers

2003-07-16 Thread John Turner
There isn't any such file in typical configurations. Only mod_jk.so (JK) has a file called mod_jk.conf, and then only when you enable the ApacheConfig Listeners in server.xml. Check the Tomcat FAQ...there are plenty of links in there for configuring both JK and JK2. John On Wed, 16 Jul 2003

RE: unable to access after password change

2003-07-16 Thread epyonne =)
Thanks Trevor, for the reply. I found the problem on the tomcat-users.xml file. When I changed my password, I added my name in the Full Name section. It could be because of the space between first name and last name or something else (I am not sure), Tomcat didn't like it and I cannot

Re: Tomcat with log4j output

2003-07-16 Thread Johann Uhrmann
Abid Ali Teepo wrote: Hi I just added a servlet with logging done by log4j, and it apparently works ok. But suddenly tomcat has started giving a lot of debug information. The thing is that even though i have set the level to info, it gives me tomcat debug. Is there a setting or something i have

RE: Session timeout

2003-07-16 Thread Tarek M. Nabil
Thank you all for your help :) -Original Message- From: Sudhir Movva [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 5:58 PM To: 'Tomcat Users List' Subject: RE: Session timeout For application specific setting modify web.xml file of your application by adding session-config

Re: I'm confused

2003-07-16 Thread John Turner
On Wed, 16 Jul 2003 09:15:54 -0400, Dave Shaffer [EMAIL PROTECTED] wrote: I am attempting to connect Apache 2.0.45 and Tomcat 5. Tomcat responds to 8080 on localhost and other machines on my network. This is my confusion: 1) I have been through the docs on the Jakarta site and am not sure if I

RE: Using mod_jk between physcially separate servers

2003-07-16 Thread Cuneyt Uysal [RedDot]
Thanks everyone for their help, I ended up using mod_jk v 1.2.3 (mod_jk.so.ap2.0.40.rh9.so), and it worked like butter. I couldn't use jk2 since I couldn't find a compatible binary for versions of Apache lower than 2.0.42 Thanks again... I wish I found this list sooner. ;) -Cuneyt

RE: Tomcat with log4j output

2003-07-16 Thread Abid Ali Teepo
Hi As far as i know, i only have one logger and i have not put log4j jar in the common/lib i had it in my jdk/jre/ext I tried to move it to common/lib now, but i still get the same output. So i'm getting tomcat debug info even though i never asked for it Is there any way i can

RE: Tomcat with log4j output

2003-07-16 Thread Jacob Kjome
Never put Log4j in jdk/jre/ext. You can put it in common/lib, but then also put it in the WEB-INF/lib of your webapp unless you are using a custom repository selector. Otherwise, Log4j uses a single logger repository (the default one) and every app that performs configuration will override

Tomcat + Apache + mod_jk HOWTO

2003-07-16 Thread Juan Nin
Hi, Can someone point me to a good Tomcat + Apache-1.3.x + mod_jk HOWTO that covers Apache's VirtualHosts? I found a nice one by Pascal Chong at http://linux-sxs.org/internet_serving/tomcat4.1x.html It's good for initial setup, but does not cover many more things... I've got Tomcat working ok

Redirect to home page on logon

2003-07-16 Thread Tarek M. Nabil
Hi everyone, I have an application that uses beans stored in the session context. If the user's session times out, he's asked to re-login on his next request. For this, I'm using J2EE security; I'm not doing it myself. After the user is finished with the re-login, he's supposed to complete his

Re: Tomcat + Apache + mod_jk HOWTO

2003-07-16 Thread John Turner
If you consider localhost to be a VirtualHost (it is), then the HOWTOs should be OK. If you need more info, this may help: http://marc.theaimsgroup.com/?l=tomcat-userm=105778185321556w=2 The only thing I would change from my post earlier this month is that I would setup a separate director

Don't know what happened

2003-07-16 Thread Carlos Cajina
ENVIROMENT: Tomcat 4.1.24 + Apache 2.0.47 + mod_jk2 2.0.43 on Windows XP Professional PROBLEM: I installed and configured Apache + Tomcat according to directions in http://www.greenfieldresearch.ca/technical/jk2_config.html#socket Everything was working fine but now when starting Tomcat all the

RE: Tomcat with log4j output

2003-07-16 Thread Abid Ali Teepo
How come it has to be both in common/libs and in the WEB-INF ? What will i be missing if i only put it in WEB-INF ? Abid -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: 16. juli 2003 17:57 To: Tomcat Users List Subject: RE: Tomcat with log4j output Never put Log4j

RE: Don't know what happened

2003-07-16 Thread Shapira, Yoav
Howdy, Perhaps you need to copy this monitor filter into the WEB-INF/lib or WEB-INF/classes directory of the webapp where you want it used. Yoav Shapira Millennium ChemInformatics -Original Message- From: Carlos Cajina [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 1:11 PM

Re: File replication (Tomcat cluster ?)

2003-07-16 Thread David Rees
Nicolas LANTERNIER wrote: I have two Tomcat Servers working in session cluster and I need to replicate the content of the Webapp directory. Is it possible ? and how to configure it ? This is not something that Tomcat will handle. You will need to setup your own replication of the document root.

Re: File replication (Tomcat cluster ?)

2003-07-16 Thread Simon Pabst
Normally there's no need for replicating your webapp, just put it somewhere outside the tomcat directories and point the application contexts in both tomcats to that directory (with absolute pathnames) At 17:13 16.07.2003 +0200, you wrote: Hello, I have two Tomcat Servers working in session

RES: unable to access after password change

2003-07-16 Thread Christian J. Dechery - ACCENTURE
Where (how) did u change the password? check TOMCAT_DIR/conf/tomcat-users.xml to see if ur using the correct password. ___ :: Christian J. Dechery :: Accenture do Brasil :: CHT - Solutions Operations :: [EMAIL PROTECTED] -Mensagem original- De: epyonne =)

Re: SSL configuration for Apache HTTP server

2003-07-16 Thread Simon Pabst
Download and install latest version of openssl (normally in /usr/local/ssl or /usr/local/openssl): http://www.openssl.org/ Apache 1.x: download and install modssl: http://www.modssl.org/ edit SSL Stuff in apache/conf/httpd.conf to suit your needs Apache 2.x: build from source with: ./configure

Re: Re: mod_jk round robin problem stateless session beans

2003-07-16 Thread Simon Pabst
np Norm :-) fixing this should be possible in mod_jk2 at least, think i'll post this at bugzilla.apache.org Checked the user distribution on our server today and its nearly even on all Tomcats :o) Thanks a lot to Bill for that hint with worker mpm. At 07:21 16.07.2003 +1000, you wrote: Good

Re: RE: File replication (Tomcat cluster ?)

2003-07-16 Thread Simon Pabst
Oh, didn't realize you're on different servers, too much thinking in our own setup, sry ;-) Hmm NFS has its own file caches so you could do that, besides Tomcat caches stuff in its own local work directory and Ram. Or you just set up a script/cronjob to do an rsync or scp/rcp between the two

Re: PERMISSIONS FOR JDBC ORACLE APPLICATION

2003-07-16 Thread Tim Funk
Check to make sure you have Oracle configured to only use one port. Here is the thread that talked about that: http://marc.theaimsgroup.com/?l=tomcat-userm=105517372716920w=2 Otherwise- you'll need to adjust your permissions accordingly. -Tim Paterson, Trevor wrote: Hi I am trying to start

Re: pageContext

2003-07-16 Thread Tim Funk
response.setContentType(...); /* image/gif or appropriate */ -Tim Dominic Parry wrote: Hi I have an jsp that outputs an image. What do I need to set the pagecontext type to in order for the browser to understand the image? At the moment it prompts me to save the image as jspname.jsp, but If I

Re: Querying container's user database

2003-07-16 Thread Tim Funk
Its container specific. Also to do so - the Realm would have to provide that ability - so even this is Realm specfic too. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html And to top if off - You app will need to be be a privledged webapp so it may see the catalina internals.

Re: Redirect to home page on logon

2003-07-16 Thread Tim Funk
Use a filter. Its container independent. The filter runs on the appropriate (or all) requests and would check if the beans are in the session. If not - redirect. OR If all the pages set an error condition - you might be able to use an error mapping directive in web.xml -Tim Tarek M. Nabil

Re: TC 4.1 + symbolic linking

2003-07-16 Thread Norris Shelton
I can't get this to work. I have the following directory structure: /opt/jakarta/webapps/siteexplorer Under siteexplorer, I have a symbolic lin named htmldoc. I can follow the links manually and everything works. Here is how the context is defined in the server.xml: Context

Changing encoding for Tomcat

2003-07-16 Thread Eric MacAdie
I am trying to run a web app that requires the file encoding to be ISO-8859-1. I am running Tomcat 4.0.6 on Windows 2000 using the tomcat.exe running as a service. The documentation for the application says that the encoding can be changed by calling Tomcat with CATALINA_OPTS set to

Re: TC 4.1 + symbolic linking

2003-07-16 Thread Tim Funk
What happens if you copy htmldoc to its symlink location and not use the sym link? Do you still get the same error? If you do - then the error has nothing to do with symlinks. -Tim (Grasping at straws) Norris Shelton wrote: I can't get this to work. I have the following directory structure:

Re: Tomcat + Apache + mod_jk HOWTO

2003-07-16 Thread Juan Nin
From: John Turner [EMAIL PROTECTED] If you consider localhost to be a VirtualHost (it is), then the HOWTOs should be OK. If you need more info, this may help: http://marc.theaimsgroup.com/?l=tomcat-userm=105778185321556w=2 The only thing I would change from my post earlier this month is

Re: Changing encoding for Tomcat

2003-07-16 Thread Tim Funk
You use this tool: http://web.bvu.edu/staff/david/tcservcfg/ As advertised by ... http://jakarta.apache.org/tomcat/faq/windows.html -Tim Eric MacAdie wrote: I am trying to run a web app that requires the file encoding to be ISO-8859-1. I am running Tomcat 4.0.6 on Windows 2000 using the

RE: Tomcat with log4j output

2003-07-16 Thread Jacob Kjome
Quoting Abid Ali Teepo [EMAIL PROTECTED]: How come it has to be both in common/libs and in the WEB-INF ? What will i be missing if i only put it in WEB-INF ? Abid It isn't that is *has* to be in common/lib. You can have it only in WEB- INF/lib and be just fine. It *can* be in common/lib

Re: Changing encoding for Tomcat

2003-07-16 Thread Eric MacAdie
Thanks for the link. I will check it out. EKMacAdie --- Tim Funk [EMAIL PROTECTED] wrote: You use this tool: http://web.bvu.edu/staff/david/tcservcfg/ As advertised by ... http://jakarta.apache.org/tomcat/faq/windows.html -Tim Eric MacAdie wrote: I am trying to run a web app that

RES: Querying container's user database

2003-07-16 Thread Christian J. Dechery - ACCENTURE
So I'm screwed? hehehehe I don't know if u've seen my post about logging off container's authenticated users. Can u please check it out, U seem to know about the subject. Thanks ___ :: Christian J. Dechery :: Accenture do Brasil :: CHT - Solutions Operations :: [EMAIL

Tomcat 5 DB connection error page?

2003-07-16 Thread Vic Cekvencih
I have a connection pool w/TC5 (and error-page in web.xml), but sometimes DB is down. How do I display an error page saying db is down (since some of this is at the container, not war)? tia, .V - To unsubscribe, e-mail:

Re: Tomcat 5 DB connection error page?

2003-07-16 Thread Tim Funk
You could throw an exception (of some custom type) siginifying the db is down and configure web.xml to catch that exception. Or use a filter which know the status of the database. And if the filter detects the database has gone away - it can forward to an error page instead of following the

Is there a Bug at Jakarta-commons/fileupload when parsing?!

2003-07-16 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi guys, i guess that package FileUpload has a bug whenever it try to parse HTTPRequest. I always get the javaNullPointerException error message whenever this servlet runs. HERE IS THE CODE: ... boolean isMultipart = FileUpload.isMultipartContent(request); FileUpload upload = new

Re: RES: Querying container's user database

2003-07-16 Thread Tim Funk
If all the auth data is in the session (with FORM based auth it usually is) - then invalidate the session via session.invalidate() -Tim Christian J. Dechery - ACCENTURE wrote: So I'm screwed? hehehehe I don't know if u've seen my post about logging off container's authenticated users. Can u

RE: PERMISSIONS FOR JDBC ORACLE APPLICATION

2003-07-16 Thread Paterson, Trevor
interesting to know about oracle port openings - our oracle9 is on a redhat linux machine however giving my application permission to talk to any port on that machine ( or indeed any IP address...) doesnt solve the problem. is it an issue with the driver? thanks trevor -Original

RES: RES: Querying container's user database

2003-07-16 Thread Christian J. Dechery - ACCENTURE
yeah, I tought of that... I haven't tried invalidate(), but I watched the session data after the user is authenticated, and it's EMPTY, there's nothing... where's the user data? Is it hidden?? ___ :: Christian J. Dechery :: Accenture do Brasil :: CHT - Solutions

Re: tomcat-WEB-INF

2003-07-16 Thread bernd pier
don`t really understand what you are doing. did you have a structure like this /webapps/mywebapplication/anotherwebapplication ? that won`t go. it must be /webapps/mywebapplication /webapps/anotherwebapplication bernd Elif Akten schrieb: I have an

Class Failure

2003-07-16 Thread John Humphress
I am having a lot of trouble figuring out where to put my class files and .jar files in jakarta 4.1. I have put my files in every WEB-INF/classes and lib directory known and still can not access them. Here is the error that I am receiving when running one of my jsp pages. Please help I am

  1   2   >