mod_jk2 problems

2004-03-10 Thread Vi
Hi, I read all FAQs and all the info I could find on the Internet about the issue. The thing is that I successfully compile mod_jk2, but when I try to load it I get: Cannot load /etc/httpd/modules/mod_jk2.so into server: /etc/httpd/modules/mod_jk2.so: undefined symbol: ap_get_module_config

Re: JNDI Datasource Reference in DD Not Necessary?

2004-03-10 Thread David Smith
i assume you have tomcat 5 and apache 2 linked together, right? If so, what connector did you use to link Apache 2 and Tomcat 5? mod_jk2 but in this instance, i'm not using Apache and i'm calling my test code via localhost:8080 -- David Smith [EMAIL PROTECTED]

HttpServletResponse.sendRedirect() closes the stream

2004-03-10 Thread suviswan
Hi I am using Tomcat 4.1.29. When i do HttpServletResponse.sendRedirect() inside my servlet doGet(), it automatically closes the stream So when i call the real close() function it throws IOException java.io.IOException: The stream has been closed at

Can`t install Tomcat as apache module: undefined symbol ap_table

2004-03-10 Thread Salvador Santander Gutierrez
Hello, list. I'm trying to install tomcat as apache module with jk2 connector. I'm using Tomcat 4.1.24 and Apache 2.0.40. I've followed the instructions of three differents tutorials about connect Tomcat to Apache with jk2 connector and when I try to start apache I see the error undefined symbol

RE: HttpServletResponse.sendRedirect() closes the stream

2004-03-10 Thread Ronald Wildenberg
-Oorspronkelijk bericht- Van: suviswan [mailto:[EMAIL PROTECTED] Verzonden: woensdag 10 maart 2004 10:20 Aan: Tomcat Users List Onderwerp: HttpServletResponse.sendRedirect() closes the stream Hi I am using Tomcat 4.1.29. When i do HttpServletResponse.sendRedirect()

RE: How to protect server.xml?

2004-03-10 Thread Yiannis Mavroukakis
I will assume you mean protect the file from being read. The easiest way to do that is to assign read/write permission to the file to whoever user is running tomcat and remove all permissions from group. That also assumes that you are running some flavour of Unix, but you could achieve the same

Re: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Jon Wingfield
I'm fairly certain classes deployed to web-app\WEB-INF\classes have to be in packages. So your Fruit class should be deployed to web-app\WEB-INF\classes\com\stevensons if the Fruit class is in the com.stevensons package. In your jsp you also MUST import the class you want to use. eg: %@ page

RE: mod_jk2 problems

2004-03-10 Thread Yiannis Mavroukakis
If I am not mistaken that means that you are missing a particular library or that mod_jk2 was linked against the wrong sort type of lib. I've installed both mod_jk2 and tomcat 5.0 on RH9 without any problems but I first removed httpd2, recompiled from source and installed. -Original

RE: JNDI Datasource Reference in DD Not Necessary?

2004-03-10 Thread David Smith
Ok for completeness... This morning with a fresh start I managed to get the connection working... this is my solution (hope it is of use to someone) thanks for all the help and tips people gave me. Environment : Fedora Core 1 Tomcat 5.0.19 Apache 2.x Java 1.4.2_03 Without using the admin tool

Re: HttpServletResponse.sendRedirect() closes the stream

2004-03-10 Thread suviswan
Hi - Original Message - From: Ronald Wildenberg [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 3:00 PM Subject: RE: HttpServletResponse.sendRedirect() closes the stream -Oorspronkelijk bericht- Van: suviswan [mailto:[EMAIL

Docs?

2004-03-10 Thread Vi
I'm sorry to aks, but could anyone plese point me to the documents which describe how to configure mod_proxy to be used as a connector between tomcat and apache?? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Heap View vs Windows Task Manager

2004-03-10 Thread Allistair Crossley
Thanks, that was really helpful. If you took the time to visit the archive to be able to reply to me that this was answered already I might have expected you to post the URL. I have actually checked the archives already and there is no such post as far as I can see that addresses the

Re: JNDI Datasource Reference in DD Not Necessary?

2004-03-10 Thread Harry Mantheakis
Hi Dave Sorry for my long absence - I was away from my computer for while. I think Doug's last message just about says it all in respect of connection pools. Follow his advice to use the Tomcat How-Tos exactly as they are, and you should be okay. I looked through your code - the stuff you

urget connecting jsp and a simple bean

2004-03-10 Thread xavier manohar
Hello Can any one help me ,how to cofigure or the prelimnary steps to be taken in making a jsp and a bean to work thanks regards mano Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.

Re: JNDI Datasource Reference in DD Not Necessary?

2004-03-10 Thread Harry Mantheakis
Hi Yoav Thanks for your message. I'm fairly sure you'd understand them just fine ;) It's SRV.9.11 in the Servlet Specification 2.4 and J2EE.5 in the J2EE Specification v1.4. Okay, I shall look at those and see what happens :-) Even though in tomcat's current implementation resource-ref

Re: JNDI Datasource Reference in DD Not Necessary?

2004-03-10 Thread David Smith
Sorry for my long absence - I was away from my computer for while. No worries in that time I managed to get the test one working and also the one that I need for my app (and posted my solution to the process in detail as a semi-definitive way of making it work in TC 5) The problem was I'd got

Plm with web.xml - Tomcat 4.1.27

2004-03-10 Thread S.Latha Kamatchi
Hi Tomcat users, I placed the web.xml in WEB-INF folder . Its working well with Tomcat 5.0.19. But tried with Tomcat 4.1.27, it shows the following error. Mar 10, 2004 4:18:55 PM org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information Mar 10, 2004 4:18:56 PM

Why do I need to restart my server

2004-03-10 Thread UmamaheswarKalluru
Hi, Every time my database server connection goes down, I need to restart my Tomcat 5.0.19 to re-establish the connection. Why is this so? Is this a bug? Thank you, Best Regards, Uma - To unsubscribe, e-mail: [EMAIL

RE: Heap View vs Windows Task Manager

2004-03-10 Thread Ralph Einfeldt
Have you tried to search for windows+task+manager+memory I just get 30 result. (If there is one that satisfies you is a different question) -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 12:06 PM To: [EMAIL PROTECTED] Cc: SH

Re: Why do I need to restart my server

2004-03-10 Thread Alex
This works with most except for oracle which uses select 1 from dual parameter namevalidationQuery/name valueselect 1/value /parameter On Wed, 10 Mar 2004 [EMAIL PROTECTED] wrote: Date: Wed, 10 Mar 2004 16:49:21 +0530 From: [EMAIL PROTECTED] Reply-To: Tomcat Users List

Re: Why do I need to restart my server

2004-03-10 Thread Alex
Sent this a little too early. The reason for the validation query is that if it fails, it will restablish the connection. On Wed, 10 Mar 2004, Alex wrote: Date: Wed, 10 Mar 2004 07:26:26 -0500 (EST) From: Alex [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Why do I

Re: Plm with web.xml - Tomcat 4.1.27

2004-03-10 Thread Parsons Technical Services
Latha, For TC4 you need the web.xml to be this: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app servlet servlet-nametestServlet/servlet-name

Tomcat 4.1 hangs on File Reading

2004-03-10 Thread Adam Buglass
I've got a website which members can log in and out of (by way of a form which connects to a JSP). I've created a simple method in a Java class to write to a text format log file to tell me stuff like who they are, when they logged in etc. So far so good. I'm now trying to write a JSP to

Re: Why do I need to restart my server

2004-03-10 Thread Adrian Kristiawan
Hi, I'm having the same problem, I want to ask which file should I edit according to the changes below? Thanks All. ---Original Message--- From: Tomcat Users List Date: 03/10/04 19:41:47 To: Tomcat Users List Subject: Re: Why do I need to restart my server This works with

tomcat service

2004-03-10 Thread Jérôme REYNAUD
Hi I want to install Tomcat as a service on a Win2k machine . The following command line : %CATALINA_HOME%\bin\tomcat.exe -install Jakarta Tomcat %JAVA_HOME%\jre\bin\server\jvm.dll -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar -Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS%

RE: tomcat service

2004-03-10 Thread STOCKHOLM, Raymond
You need the JDK (not just the JRE) to compile your JSP : (javac.exe in your path) -Message d'origine- De : Jérôme REYNAUD [mailto:[EMAIL PROTECTED] Envoyé : mercredi 10 mars 2004 13:57 À : 'Tomcat Users List' Objet : tomcat service Hi I want to install Tomcat as a service on a

Re: Tomcat 4.1 hangs on File Reading

2004-03-10 Thread Parsons Technical Services
Adam, Sound very similar to a problem I had a couple of days ago. Are you using any loops in your code? Specifically while or do-while or endless for loops. If so try changing them to a for loop with a high count say 10k-100k and see what happens. I had a sort method that under the right

RE: Tomcat 4.1 hangs on File Reading

2004-03-10 Thread Peter Guyatt
Hi There, This read of the file? are you doing it a character at a time (ie via the read() method?) If so try reading more than one charcter at a time. Ie. public void readFile (String filename) { try { File f = new File(filename); FileReader fr

Re: Tomcat 4.1 hangs on File Reading

2004-03-10 Thread Adam Buglass
Yes, I use a few while loops a bit like... while (there's stuff in the file) while (there isn't a separator) while (to skip whitespace) ...etc. Thanks, I'll try and substitute with equivalent for loops and let you know how I get on. Adam. On Wed, 2004-03-10 at 13:05, Parsons Technical

RE: Tomcat 4.1 hangs on File Reading

2004-03-10 Thread Adam Buglass
Currently I use readline() to get a line and then I parse the resulting String (character by character) to get the bits I want. I then read the different parts into a class and return it to a calling method which reads the class into a Vector and returns the Vector. This is the first method:

RE: Tomcat 4.1 hangs on File Reading

2004-03-10 Thread Ralph Einfeldt
Which jdk do you use ? There was once a version that had an error in ready(). As far as I can remember it always returned true. Try to end the loop also when you couldn't read a line. (Depends on what getLogentry() does in this case) -Original Message- From: Adam Buglass

RE: Tomcat 4.1 hangs on File Reading

2004-03-10 Thread Ronald Wildenberg
snip public static LoginLog[] readLog()throws FileNotFoundException { Vector log = new Vector(); try { FileReader inFile = new FileReader( /var/log/GFWlogin.log ); BufferedReader bfFile = new BufferedReader( inFile ); while ( bfFile.ready() ) { LoginLog

Re: clustering question?

2004-03-10 Thread daniel
So let me get this straight. You are saying that I should only have 2-4 hosts in a cluster? or are saying that I should only have 2-4 physical boxes in a cluster? I have over 10 different host and was thinking that each one needed to be in its own cluster(is that the right way of thinking about

Memory Usage/Common Lib

2004-03-10 Thread Lipov, Felix
I was wondering how the memory usage of Tomcat should compare in the following two cases: I have application a, b, c. Each application uses x.jar, y.jar and z.jar. Scenario 1: Each application is deployed with the three jars under their respective WEB-INF/lib directories. Scenario 2: Nothing

RE: HttpServletResponse.sendRedirect() closes the stream

2004-03-10 Thread Shapira, Yoav
Hi, As an aside, I would advise not using close pretty much ever, since you don't know when another filter will process the response after your servlet. Yoav Shapira Millennium ChemInformatics -Original Message- From: suviswan [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004

Re: JNDI Datasource Reference in DD Not Necessary?

2004-03-10 Thread Harry Mantheakis
Hi Yoav I'm fairly sure you'd understand them just fine ;) Well, I read both specs, the J2EE section 5.4 being the relevant one here, and I am sorry to say but I think I am a little more confused now than before! It was good to see this bit of succinct code being sanctioned:

RE: Memory Usage/Common Lib

2004-03-10 Thread Shapira, Yoav
Hi, Scenario 1: Each application is deployed with the three jars under their respective WEB-INF/lib directories. Scenario 2: Nothing is placed in the respective WEB-INF/lib directories. Rather the three jars are placed in tomcat's common/lib directory. Would the memory usage of tomcat differ

RE: JNDI Datasource Reference in DD Not Necessary?

2004-03-10 Thread Shapira, Yoav
Hi, What I cannot figure out is: what does the 'resource-ref' element in the deployment descriptor *actually* do? It allows the container to map your portable descriptor in web.xml to its specific instance in the container (which is defined in server.xml). So resource-ref is the same for your

RE: Plm with web.xml - Tomcat 4.1.27

2004-03-10 Thread Shapira, Yoav
Hi, Caused by: java.lang.IllegalArgumentException: Servlet mapping specifies an unkn own servlet name testServlet It doesn't get much clearer than this message. I don't believe this web.xml works in tomcat 5 or any other servlet container for that matter. Yoav Shapira This e-mail,

RE: Memory Usage/Common Lib

2004-03-10 Thread Ralph Einfeldt
Scenario 1 will use more memory than scenarion 2. The ratio depends on the internal architecture of the classes. (What kind of object they create, where they store it) If you just look at the core size that is needed to load the classes it roughly directly proportional to the number of webapp

RE: Why do I need to restart my server

2004-03-10 Thread Shapira, Yoav
Hi, The validation query parameter is for DBCP, which would be in server.xml or in your context's context.xml file if you're using the DBCP connection pooling as outlined in the JNDI DataSources How-To document. As an aside: the database server going down is a serious event. You need to

RE: Tomcat 4.1 hangs on File Reading

2004-03-10 Thread Shapira, Yoav
Hi, Why not simply use: String line = null; while ((line = bfFile.readLine()) != null) { LoginLog logEntry = getLogEntry(line); // Create log entry from the line just read. log.add(logEntry); } There is no need to use 'bfFile.ready()'. This method only checks whether the

Re: Can`t install Tomcat as apache module: undefined symbol ap_table

2004-03-10 Thread Vi
Hi, I had the same problem :), and nobody answered me :), so I used mod_proxy. It should be installed already with apache, so you just have to configure it. Becouse I was doing it all just today, I did very simple, and probably not the best configuration. But if you are interested in using

Re: mod_jk2 problems

2004-03-10 Thread Vi
Thanks for answer! Yes, but I don't want to risk with the reinstallation! I have a very important server running. When I was compiling mod_jk2 I encountered that a lib was missing ( I forgot the name ), the link in /usr/lib was there but the file to which it was pointing wasn't. What I did is,

RE: Tomcat 4.1 hangs on File Reading (Getting OT)

2004-03-10 Thread Ralph Einfeldt
Although I think that the solution is correct, (I have given the same advice) I think that the original solution should work (according to the apidoc): From BuffereReader.ready(): Tell whether this stream is ready to be read. A buffered character stream is ready if the buffer is not empty, or

RE: Tomcat 4.1 hangs on File Reading

2004-03-10 Thread Adam Buglass
I'm still checking through so I can't say for sure, but it looks certain enough that Ronald was correct, although Peter's comment about using too many while loops also improved performance. I'm afraid I largely taught myself Java, coming from a C / C++ background and misunderstood the method

RE: Tomcat 4.1 hangs on File Reading (Getting OT)

2004-03-10 Thread Adam Buglass
On Wed, 2004-03-10 at 14:24, Ralph Einfeldt wrote: Although I think that the solution is correct, (I have given the same advice) I think that the original solution should work (according to the apidoc): From BuffereReader.ready(): Tell whether this stream is ready to be read. A buffered

Re: Why do I need to restart my server

2004-03-10 Thread UmamaheswarKalluru
Hi Alex, Where shold I specify the parameters? i.e in which .xml file Thank you, Best Regards, Uma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Why do I need to restart my server

2004-03-10 Thread UmamaheswarKalluru
Shapira, I am using my own connection pooling concenpt. The server isn't going down because of my query executions but due to some other reason. If incase it goes down, I need to restart my tomcat. This is a big problem for me. How can I prevent this. Will using the parameters tag in

RE: Why do I need to restart my server

2004-03-10 Thread Shapira, Yoav
Hi, I am using my own connection pooling concenpt. The server isn't going down because of my query executions but due to some other reason. If incase it goes down, I need to restart my tomcat. This is a big problem for me. How can I prevent this. Will using the parameters tag in server.xml file

RE: mod_jk2 problems

2004-03-10 Thread Yiannis Mavroukakis
Well great, you took the httpd sources, got the library out of them but your httpd is probably running a binary which was not compiled against the sources you just used :). I found that the following makefile works well for RH9 ./configure -C --prefix=/etc/httpd --exec-prefix=/usr

RE: mod_jk2 problems

2004-03-10 Thread Yiannis Mavroukakis
I meant to say ./configure producing a makefile;) -Original Message- From: Yiannis Mavroukakis Sent: 10 March 2004 14:43 To: 'Tomcat Users List' Subject: RE: mod_jk2 problems Well great, you took the httpd sources, got the library out of them but your httpd is probably running a

Re: Restrict to specific IP's

2004-03-10 Thread Jason Keltz
I saw some discussion back on the 2nd of March from John Peace re: restricting IPs not working with Tomcat 5. I've run into the same problem. I've tried restricting by IP, and by hostname, and neither work. I presently have this: Context path=/jas/example1 docBase=/cs/home/jas/webapps/example1

Re: mod_jk2 problems

2004-03-10 Thread Vi
Well, it [mod_proxy] works for now, maybe someone else, brave man, will try to solve that problem :). Yiannis Mavroukakis wrote: I meant to say ./configure producing a makefile;) -Original Message- From: Yiannis Mavroukakis Sent: 10 March 2004 14:43 To: 'Tomcat Users List' Subject:

SSL Doesn't Stay SSL

2004-03-10 Thread John Thompson
I'm having a problem where I want users to connect to my servlet with SSL but I can't get it to maintain an SSL connection. The first page of the servlet is encrypted but when I navigate to the second and other pages, the browser no longer shows the lock icon. The URL is still the https:// URL.

RE: mod_jk2 problems

2004-03-10 Thread Francois JEANMOUGIN
it compiled well, but can't load. Is there any util to see all symbols of library? Try ldd : $ ldd mod_jk.so libc.so.6 = /lib/i686/libc.so.6 (0x4200) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000) Nothing obvious :). François.

Re: Restrict to specific IP's

2004-03-10 Thread Jason Keltz
Actually, here's more information on the Restricting IPs not working .. If I use: Valve className=org.apache.catalina.valves.RemoteAddrValve allow=A.B.C.D,A.B.C.E/ I can access the app from the host at IP A.B.C.D and IP A.B.C.E, and cannot access the app from anywhere else, so this works.

servlet trouble

2004-03-10 Thread AMELIN Franck
Hi all, I use tomcat 4 and I sometime face this trouble : One of my servlet's doesn't response anymore and I get the fallowing message in log file : 2004-03-10 15:12:02 Formule: init 2004-03-10 15:12:02 Formule: init 2004-03-10 15:12:06 jsp: init 2004-03-10 15:12:06 jsp: init 2004-03-10

Re: mod_jk2 problems

2004-03-10 Thread Vi
ldd, is good, but I ment something to show me all functions of a lib. libc.so.6 = /lib/i686/libc.so.6 (0x4200) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000) Obviously those two are not enough Francois JEANMOUGIN wrote: it compiled well, but can't load. Is there any util to

Re: SSL Doesn't Stay SSL

2004-03-10 Thread Alex
all the images and all content must be provided from the https link or else you'll loose the lock. On Wed, 10 Mar 2004, John Thompson wrote: Date: Wed, 10 Mar 2004 08:58:34 -0600 From: John Thompson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To:

RE: SSL Doesn't Stay SSL

2004-03-10 Thread AMELIN Franck
Try to force the use of https on the server : RewriteEngine on RewriteLog logs/rewrite.log RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^/(.*)$ https://%{SERVER_NAME}/$1 [R,L] In you're file httpd2.conf. -Message d'origine- De :John Thompson [mailto:[EMAIL PROTECTED] Envoyé :

Path to log4j

2004-03-10 Thread Haroldo Nascimento
I am using log4j in my WebApplication. Where I must configurate path or classpath in Tomcat to locate logXX.properties (properties file of log4j). I put my propertie file in web-inf\classes but it does not works. What I need to do ?

RE: Path to log4j

2004-03-10 Thread Shapira, Yoav
Hi, I am using log4j in my WebApplication. Where I must configurate path or classpath in Tomcat to locate logXX.properties (properties file of log4j). I put my propertie file in web-inf\classes but it does not works. If you put your log4j properties files in WEB-INF/classes and the log4j.jar

RE: servlet trouble

2004-03-10 Thread Shapira, Yoav
Hi, 2004-03-10 15:23:37 GestionDemandesGestionnaire: init 2004-03-10 15:23:38 GestionDemandesGestionnaire: init 2004-03-10 15:23:38 GestionDemandesGestionnaire: init 2004-03-10 15:23:38 GestionDemandesGestionnaire: init 2004-03-10 15:23:38 GestionDemandesGestionnaire: init 2004-03-10 15:23:38

RE: Restrict to specific IP's

2004-03-10 Thread Ralph Einfeldt
Deny takes precedence over allow. (The valve is missing the option to define the order) I'm not shure if that explain all your problems but some. http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/valves/RequestFilterValve.java?rev=1.3view=auto

RE: Restrict to specific IP's

2004-03-10 Thread Jason Keltz
Hi Ralph, Actually, this explains a whole lot, yes -- Thank you! However, something interesting to note -- RemoteHostValve works if I refer to IPs and *not* hostnames! Isn't that odd? I thought RemoteHostValve was for hostname, and RemoteAddrValve works for IP. Jason. On Wed, 10 Mar 2004,

Sessions

2004-03-10 Thread Allistair Crossley
Hi Guys I have a session ArrayList which has a value added to it say every request a user makes to the struts backend. When I open 2 browser windows and continue moving in the new window, the list changes with the new values. When I go back to the old window and refresh it maintains it's

RE: Restrict to specific IP's

2004-03-10 Thread Shapira, Yoav
Howdy, However, something interesting to note -- RemoteHostValve works if I refer to IPs and *not* hostnames! Isn't that odd? I thought RemoteHostValve was for hostname, and RemoteAddrValve works for IP. That's an interesting observation. The Valves, like many other elements, are

JK Connector SYN packet for established connection

2004-03-10 Thread CONANT,PATRICK (HP-FtCollins,ex1)
I'm running into an issue with our JK communications being interrupted by our firewall. Any help would be appreciated... Our firewall is reporting that the JK Connector is sending SYN packets for connections that are already established. The firewall is configured to drop connections that are

Please Comment: plan for co-ordinating sessions across mutliple c ontexts

2004-03-10 Thread Justin Johnson
I have an internal website with several web applications, and thus several contexts. The user's identity is automatically provided via jCIFs (NTLM authentication). At the start of a session, a UserDataBean is created that loads user preferences from a database, including the language preference

RE: Please Comment: plan for co-ordinating sessions across mutliple contexts

2004-03-10 Thread Shapira, Yoav
Hi, Can you make this UserDataBean work with Tomcat's SingleSignOn valve? http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Single% 20Sign%20On Yoav Shapira Millennium ChemInformatics -Original Message- From: Justin Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: How to disable AutoDeploy in Tomcat 4.1.29 ?

2004-03-10 Thread Bill Stilwell
suviswan wrote: Hi I have tried changing autoDeploy=false in server.xml. But it's not working. It's still discovering the web applicatios under webapps directory. Any ideas ? autoDeploy only controls what happens at tomcat startup, do you have liveDeploy set to false as well?

RE: SSL Doesn't Stay SSL

2004-03-10 Thread John Thompson
I put these settings in the Virtual Host section as follows: VirtualHost *:443 ServerName app.domain.com JkMount /app/* ajp13 JkExtractSSL On JkHTTPSIndicator HTTPS JkSESSIONIndicator SSL_SESSION_ID JkCIPHERIndicator SSL_CIPHER JkCERTSIndicator SSL_CLIENT_CERT DocumentRoot

Using Tomcat to implement a Weblogic like SSO authentication

2004-03-10 Thread Jose Alberto Fernandez
Hi, I am trying to evaluate migrating our application from Weblogic to a Tomcat/JBoss environment. One of the main roadblocks at the moment is our reliance on the way SSO is done in weblogic. In weblogic, even within the same virtual host, you can specify different SSO domains by defining

RE: Heap View vs Windows Task Manager

2004-03-10 Thread Allistair Crossley
windows task manager memory windows+task+manager+memory windows task manager memory All give the same results .. they seem to use an OR, and none answer my particular question Oh well. Thanks. ADC -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: 10 March 2004

mod_jk missing post parameter problem resolved!

2004-03-10 Thread Marco Manini
Hi, I tested the latest cvs version of mod_jk like you suggested me and it works great! the problem (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24882) seems resolved. Thanks for your interest. Is a new mod_jk stable release planned (with this bugfix included) ? Marco Manini

RE: servlet trouble

2004-03-10 Thread AMELIN Franck
One of the ancestor implements javax.servlet.SingleThreadModel ! The web.xml is clean. -Message d'origine- De :Shapira, Yoav [mailto:[EMAIL PROTECTED] Envoyé :mercredi 10 mars 2004 16:33 À : Tomcat Users List Objet : RE: servlet trouble Hi, 2004-03-10 15:23:37

Tomcat Realm Authentication + Storing Objects In The Session

2004-03-10 Thread Alan Weissman
Hey Everyone - I have been trying to figure out if Realm authentication is appropriate for my project or if I need to implement my own. My biggest unknown right now is, because the server handles the creation of the session, what would it take to make the server grab a user object from

RE: Please Comment: plan for co-ordinating sessions across mutlip le contexts

2004-03-10 Thread Justin Johnson
I looked at it, but was worried about getting into quicksand by mixing NTLM authentication (which is required) with preferences in that valve. The single-sign-on valve didn't seem easily integrated with jCifs, but I could be wrong. -Original Message- From: Shapira, Yoav [mailto:[EMAIL

RE: SSL Doesn't Stay SSL

2004-03-10 Thread AMELIN Franck
And something like this ? RewriteCond %{REQUEST_URI} ^/servlet/app(.*) RewriteRule ^/(.*)$ https://app.domain.com/$1 [R,L] -Message d'origine- De :John Thompson [mailto:[EMAIL PROTECTED] Envoyé :mercredi 10 mars 2004 17:02 À : 'Tomcat Users List' Objet : RE: SSL Doesn't

RE: Tomcat Realm Authentication + Storing Objects In The Session

2004-03-10 Thread Shapira, Yoav
Hi, I've run into this in JBoss and ended up making some custom mechanisms - I'm hoping I don't have to do the same here! You would have to write custom code. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is

RE: servlet trouble

2004-03-10 Thread Shapira, Yoav
Hi, One of the ancestor implements javax.servlet.SingleThreadModel ! That's your problem. To put it shortly and bluntly, STM is evil. It was deprecated in the Servlet Specification without replacement, and you should stop using it. Yoav Shapira This e-mail, including any attachments, is a

RE: NT Service terminates

2004-03-10 Thread Tariq Chalabi
Thanks for that advice - I'll try the upgrade soon as I get a moment Cheers Tariq Cox, Charlie [EMAIL PROTECTED] wrote: I had found the JVM version 1.4.0_02 (as a service) to provide random crashes, not particularly caused by load, that went away when changing to 1.4.0_04. This was with

RE: Restrict to specific IP's

2004-03-10 Thread Ralph Einfeldt
Do you have dnslookups enabled/disabled ? If this is disabled the hostname ist the IP. -Original Message- From: Jason Keltz [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 4:43 PM To: Tomcat Users List Subject: RE: Restrict to specific IP's However, something

RE: mod_jk2 problems

2004-03-10 Thread Yiannis Mavroukakis
try ldd -v -r /etc/httpd/modules/mod_jk2.so If there are any missing objects or functions it will report them to you. -Original Message- From: Vi [mailto:[EMAIL PROTECTED] Sent: 10 March 2004 15:24 To: Tomcat Users List Subject: Re: mod_jk2 problems ldd, is good, but I ment

tomcat services do not start after jdk1.4.2 install - even new tomcat

2004-03-10 Thread Allistair Crossley
hey guys (again) .. seem to be having a few issues today. i had apache tomcat 5.0 and tomcat 5.0.18 installed both as services and both using jdk1.4.1 this morning. the services worked just fine. i decided to install jdk1.4.2. the first thing i did was uninstall jdk1.4.1. as soon as I did

Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Asif Chowdhary
Hi, I am installing tomcat on RH9. Tomcat version is 4.1.27 and the file is jakarta-tomcat-4.1.27.tar.gz The installation works with JDK 1.4 but tomcat does not start when I try to use JDK 1.3.1 The browser returns the message Unable to connect to localhost with http://localhost:8080/. Any

Re: JK Connector SYN packet for established connection

2004-03-10 Thread David Rees
CONANT,PATRICK (HP-FtCollins,ex1) wrote, On 3/10/2004 7:58 AM: Our workers.properties file is pretty simple: worker.list=frontend worker.frontend.host=X.XXX.hp.com worker.frontend.type=ajp13 worker.frontend.port=8007 Try setting the socket_keepalive and socket_timeout options and see if that

RE: SSL Doesn't Stay SSL

2004-03-10 Thread John Thompson
This has changed some things. I have replaced the SERVER_PORT condition and rule with the URI condition and rule and left it inside the VirtualHost directive. Now the first page isn't displayed at all. Looking at the Apache ssl.log, SSL seems to be working fine (connection to child 7

RE: Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Shapira, Yoav
Hi, but tomcat does not start when I try to use JDK 1.3.1 The browser returns the message Unable to connect to localhost with http://localhost:8080/. What do the logs say? Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain

Re: Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Chong Yu Meng
Asif Chowdhary wrote: Hi, I am installing tomcat on RH9. Tomcat version is 4.1.27 and the file is jakarta-tomcat-4.1.27.tar.gz The installation works with JDK 1.4 but tomcat does not start when I try to use JDK 1.3.1 The browser returns the message Unable to connect to localhost with

RE: tomcat services do not start after jdk1.4.2 install - even new tomcat

2004-03-10 Thread Shapira, Yoav
Hi, furthermore I can start the 2 tomcat installations using the startup.bat scripts... the problem is confined to the services. so i tried service uninstall to get rid of the services and then I reinstalled them service install and they still do not work. I then downloaded a new tomcat 5.0.19

RE: Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Asif Chowdhary
Nothing gets written to the log file. Catalina.out is created and the process seems to start when I issue the grep command. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 11:51 AM To: Tomcat Users List Subject: RE: Tomcat on linux : IBM

RE: Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Lerias, Hugo
Are you trying to use IBM jdk 1.3 on red hat 9? Hugo -Original Message- From: Asif Chowdhary [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 10. März 2004 17:42 To: [EMAIL PROTECTED] Subject: Tomcat on linux : IBM JDK 1.3.1 - Hi, I am installing tomcat on RH9. Tomcat version is 4.1.27

RE: Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Lerias, Hugo
Take a look at this post: http://www.linux-sxs.org/programming/ibm-java.html#APPENDIX_A Cheers, Hugo -Original Message- From: Lerias, Hugo Sent: Mittwoch, 10. März 2004 17:55 To: 'Tomcat Users List' Subject: RE: Tomcat on linux : IBM JDK 1.3.1 - Are you trying to use IBM jdk 1.3 on

RE: Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Shapira, Yoav
Hi, Nothing gets written to the log file. Catalina.out is created and the process seems to start when I issue the grep command. Are the tomcat ports bound? You may wish to set debug=99 on the various containers in server.xml to maybe get more debugging information. Yoav Shapira This

RE: Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Asif Chowdhary
Thank you. setting the LD_ASSUME_KERNEL=2.2.5 in the user profile works. -Original Message- From: Lerias, Hugo [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 11:57 AM To: Lerias, Hugo; Tomcat Users List Subject: RE: Tomcat on linux : IBM JDK 1.3.1 - Take a look at this

Re: mod_jk2 problems

2004-03-10 Thread Vi
Oh, yes! Thanks! Here is what missing: undefined symbol: ap_scoreboard_image (./mod_jk2.so) undefined symbol: ap_server_root(./mod_jk2.so) undefined symbol: apr_pool_cleanup_null (./mod_jk2.so) undefined symbol: apr_socket_create (./mod_jk2.so) undefined symbol: ap_hook_post_config

OT: Java Hosting

2004-03-10 Thread Schalk
Does anyone know of a good hosting company that hosts Java. All the companies I have talked to seem to have some limitations, either you cannot set-up your own custom servlet-mappings via web.xml, or the Tomcat version is old, shared instances of Tomcat that does not allow me the freedom to stop

RE: Java Hosting

2004-03-10 Thread Dale, Matt
I am shortly going to start making use of a Root server from One and One. You get full root access to a linux box so should be able to set up tomcat as you please. I've sent an email off to them for more details though so I am sure that they can offer that service. www.oneandone.co.uk i think

  1   2   >