Re: Apache mod_jk and Tomcat not working correctly

2008-10-27 Thread Wayne Bragg
I got it to work almost with some of these changes. In particular the JkMount /dwr-examples/* ajp13worker1. That was the problem. Now the only thing that is causing a problem are a couple of a policy violations. This happened before and I had to delete them. How do I find which ones they are

Downloading issues in IE via https

2008-10-27 Thread Nar Karapetyan
Hello, the issue I encounter might not directly be related with Tomcat. However if anyone hase a clue of how can I overcome that, I'd like to learn it. The thing is that when I connect to my web page via https, IE7 hints a message that the certificate is not error free, but I am able to

Re:

2008-10-27 Thread Hisham Farahat
Dear All, I have a problem with my web application. I configured tomcat 6.0 to authenticate users through Realm ( LDAP), it connects to an active directory server. Everything seems OK, but sometimes the connection could not be established ( Connection refused ) and it continues with this state

Re: Apache mod_jk and Tomcat not working correctly

2008-10-27 Thread André Warnier
Hi. Forget my earlier response, and look at Rainer's. He spotted what I did not, in your JkMount. You don't have any JkMount that will match /dwr-examples/dwr, and that is the problem. But go back, read Rainer's answer, do the different things that he says (cleaning up mostly), and read the

Hot deployment of a new version of war file while users are still working on the old one.

2008-10-27 Thread Joost Nachtergaele
Hot deployment of a new version of war file while users are still working on the old one. On a Tomcat server, users are using our application. I would like to be able to upload a new version, using the same name, so current users continue using the old version(until session timeout), and new

Re: Downloading issues in IE via https

2008-10-27 Thread André Warnier
Nar Karapetyan wrote: Hello, the issue I encounter might not directly be related with Tomcat. However if anyone hase a clue of how can I overcome that, I'd like to learn it. The thing is that when I connect to my web page via https, IE7 hints a message that the certificate is not error

Re:

2008-10-27 Thread Serge Fonville
I would need a little bit more information about your environment Have you looked at te loggingHow is your network functioning How is the realm configured Has it always been like this or at some point Are there specific times of day it occurs How is the memory usage of tomcat How busy is tomcat

Re: Apache mod_jk and Tomcat not working correctly

2008-10-27 Thread Wayne Bragg
Your both right. It's fixed and working now. One other thing for reference purposes. There are a couple default policies in Apache that cause DWR to malfunction. I was able to locate them and commented them out. It may be one or both of the following policies. ##SecRule REQUEST_METHOD

Re:

2008-10-27 Thread Hisham Farahat
Thanx for your reply 1- yes , the log has this exception each time i need to login : [Root exception is java.net.ConnectException: Connection refused: connect]] 2- What do you mean by functioning? 3- this is the realm in server.xml ( By the way i tried to put it in both server.xml and

Re:

2008-10-27 Thread Hisham Farahat
One more issue, most probably it occurs when i try to login after a previous timed out session On Mon, Oct 27, 2008 at 12:18 PM, Hisham Farahat [EMAIL PROTECTED]wrote: Thanx for your reply 1- yes , the log has this exception each time i need to login : [Root exception is

Re:

2008-10-27 Thread André Warnier
Hisham Farahat wrote: Dear All, I have a problem with my web application. I configured tomcat 6.0 to authenticate users through Realm ( LDAP), it connects to an active directory server. Everything seems OK, but sometimes the connection could not be established ( Connection refused ) and it

Re:

2008-10-27 Thread André Warnier
Hisham Farahat wrote: [...] Maybe also the next time, you could put a real subject line in your mails to the list ? It may help others figuring out what you want. ;-) - To start a new topic, e-mail: users@tomcat.apache.org To

Re: Tomcat Cluster and NFS mounted webapp

2008-10-27 Thread Mark Thomas
forum123 wrote: We're setting up a simple Tomcat cluster using Tomcat 5.5.12. There will be initially 2 Tomcat instances on 2 physical Linux servers in this cluster. Is mounting a shared NFS folder appropriate for this? Sharing the bin, common, server, shared and webapps directories is fine.

Re:

2008-10-27 Thread Hisham Farahat
It is on a separate server, running windows server 2003. And no wrong passwords attempts, it happens from the 1st attempt. Sorry for the title thing :) On Mon, Oct 27, 2008 at 12:20 PM, André Warnier [EMAIL PROTECTED] wrote: Hisham Farahat wrote: Dear All, I have a problem with my web

Re: Downloading issues in IE via https

2008-10-27 Thread Mark Thomas
Nar Karapetyan wrote: Hello, the issue I encounter might not directly be related with Tomcat. However if anyone hase a clue of how can I overcome that, I'd like to learn it. The thing is that when I connect to my web page via https, IE7 hints a message that the certificate is not

Re: Hot deployment of a new version of war file while users are still working on the old one.

2008-10-27 Thread Mark Thomas
Joost Nachtergaele wrote: Hot deployment of a new version of war file while users are still working on the old one. On a Tomcat server, users are using our application. I would like to be able to upload a new version, using the same name, so current users continue using the old

encoding in URI after form-based redirect

2008-10-27 Thread Maxim Kuleshov
Hi! Question refers to 5.5 branch (5.5.25 from ubuntu repos). I use form-based authentication. If any protected URI containing parameter value with non-ascii characters (%xx encoded of course) is accessed before session starts, then after successful logon request.getParameter() returns

Re:

2008-10-27 Thread Serge Fonville
Perhaps if you download Symas OpenLDAP 2.3 (CDS v3) Silver Editionjavascript:uiform_click('xanchor_2212_5') (Requires registration) (an ldap server for windows), you can use the accompanying uilities to try and do the same tomcat does.That way you can try to determine if there is anything related

Tomcat server with two websites with two different authentications

2008-10-27 Thread Hisham Farahat
Dear All, Can i configure tomcat to host to different websites? How can i do it? any directions? Moreover i need to have two different authentication methods for the two websites, (e.g. one using LDAP and the other using normal tomcat user list ( tomcat-users.xml) I hope some one help me in this.

Re: Tomcat server with two websites with two different authentications

2008-10-27 Thread Tim Funk
You need to configure a Realm per Virtual Host (or if different webapps in the same vhost need different authentication schemes - the Realm element can be per context too) http://tomcat.apache.org/tomcat-6.0-doc/config/realm.html -Tim Hisham Farahat wrote: Dear All, Can i configure tomcat

Re: Tomcat 5.5 and RMI

2008-10-27 Thread Gregor Schneider
Maybe one more statement to shed some light: Tomcat does not have any built-in support for RMI-connectivity but for the HTTP(S)-connectivity. If you want to forward incoming HTTP(S)-Requests to your RMI-server, you'll have to write a servlet which accepts the default HTTP(S)-requests and

Re: Tomcat 5.5 and RMI

2008-10-27 Thread Leon Rosenberg
Gregor, I think you misunderstood the OP (or maybe I did) but he wanted to receive incoming calls via RMI or HTTP, at least that was what he posted, and not using tomcat as client... regards Leon On Mon, Oct 27, 2008 at 11:58 AM, Gregor Schneider [EMAIL PROTECTED] wrote: Maybe one more

Re: Tomcat 5.5 and RMI

2008-10-27 Thread Gregor Schneider
Hi Leon On Mon, Oct 27, 2008 at 12:03 PM, Leon Rosenberg [EMAIL PROTECTED] wrote: Gregor, I think you misunderstood the OP (or maybe I did) but he wanted to receive incoming calls via RMI or HTTP, at least that was what he posted, and not using tomcat as client... I see... however, what

Re: Tomcat server with two websites with two different authentications

2008-10-27 Thread Hisham Farahat
Thanks for your reply. How can i configure the virtual hosts in tomcat? On Mon, Oct 27, 2008 at 1:49 PM, Tim Funk [EMAIL PROTECTED] wrote: You need to configure a Realm per Virtual Host (or if different webapps in the same vhost need different authentication schemes - the Realm element can be

Re: Tomcat server with two websites with two different authentications

2008-10-27 Thread Serge Fonville
In Tomcat there is already a host defined (localhost)Copy that block and you have a new host (change the path though) And look at the docs about realms, virtual hosts, engine and services and their nesting Regards, Serge Fonville On Mon, Oct 27, 2008 at 12:09 PM, Hisham Farahat [EMAIL

Re: Tomcat 5.5 and RMI

2008-10-27 Thread Leon Rosenberg
On Mon, Oct 27, 2008 at 12:08 PM, Gregor Schneider [EMAIL PROTECTED] wrote: Hi Leon On Mon, Oct 27, 2008 at 12:03 PM, Leon Rosenberg [EMAIL PROTECTED] wrote: Gregor, I think you misunderstood the OP (or maybe I did) but he wanted to receive incoming calls via RMI or HTTP, at least that was

Re: Tomcat server with two websites with two different authentications

2008-10-27 Thread Mark Thomas
Hisham Farahat wrote: Thanks for your reply. How can i configure the virtual hosts in tomcat? http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html Mark - To start a new topic, e-mail: users@tomcat.apache.org

RE: [***SPAM*** Score/Req: 20.50/05.00] Re: Hot deployment of a new version of war file while users are still working on the old one.

2008-10-27 Thread Joost Nachtergaele
Tnx for the quick reply. Reading about clusters I see all session data needs to be Serializable, in our case this is not possible. What we use today is a load-balancer, disconnecting one server for new connections, waiting for all sessions to expire, upgrade, and put the server back on the

RE: Tomcat 5.5 and RMI

2008-10-27 Thread Martin Gainty
A bit of confusion on what the op wanted ..a standalone RMIServer or remote access to EJB RMI Server? path of least resistance would be to suggest the standalone RMI server as leon suggested of course most of us use RMI for remote access to EJBServer but the op did'nt quite ask for that so a

Context.xml override problem

2008-10-27 Thread Jan Pernica
Hi I just installed Tomcat 6.0.16(18) I have problem with overriding web.xml environment entries in context.xml. In tomcat 5.x it has worked fine. But now env-entry are not overriden by context.xml? Any hint. I have added override=true to Context tag but with no success. If I remove

RE: encoding in URI after form-based redirect

2008-10-27 Thread Caldarale, Charles R
From: Maxim Kuleshov [mailto:[EMAIL PROTECTED] Subject: encoding in URI after form-based redirect Question refers to 5.5 branch (5.5.25 from ubuntu repos). If possible, try the problem URI with the latest 5.5 version from the Tomcat web site. I use useBodyEncodingForURI=true mode in

Re: Downloading issues in IE via https

2008-10-27 Thread Nar Karapetyan
Thanks for the responses on this matter to Mark Thomas and Andre' Warnier. However I found a simpler solution to this, and just in case of anybody encounters with this I'll provide it below. Put the following just before starting to write into the output stream: response.setHeader(Pragma, );

Re: Tomcat 5.5 and RMI

2008-10-27 Thread Johnny Kewl
- Original Message - From: Sven A [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Sunday, October 26, 2008 2:40 PM Subject: Tomcat 5.5 and RMI Hi, I'm looking at options in running our standalone RMI application within a servlet container since we're planning to build support

Re: executor does not work with AJP connector

2008-10-27 Thread Joe Reger, Jr.
I upgraded to Tomcat 6.0.18 and am now getting a warning instead of an NPE: org.apache.catalina.startup.ConnectorCreateRule _setExecutor WARNING: Connector [EMAIL PROTECTED] does not support external executors. Method setExecutor(java.util.concurrent.Executor) not found. So it looks like

Re: encoding in URI after form-based redirect

2008-10-27 Thread Maxim Kuleshov
On Mon, 27 Oct 2008 08:36:03 -0500 Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Maxim Kuleshov [mailto:[EMAIL PROTECTED] Subject: encoding in URI after form-based redirect Question refers to 5.5 branch (5.5.25 from ubuntu repos). If possible, try the problem URI with the latest

Re: I'm more confused than ever about where STDOUT goes

2008-10-27 Thread Wm.A.Stafford
Mark, Thanks for taking an interest. I ran 'catalina.bat run' and got the following: C:\Program Files\Apache Software Foundation\apache-tomcat-5.5.27\bincatalina.bat run Using CATALINA_BASE: C:\Program Files\Apache Software Foundation\apache-tomcat-5.5.27 Using CATALINA_HOME: C:\Program

Re: Tomcat 5.5 and RMI

2008-10-27 Thread Johnny Kewl
- Original Message - From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, October 27, 2008 4:02 PM Subject: Re: Tomcat 5.5 and RMI - Original Message - From: Sven A [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Sunday,

Re: I'm more confused than ever about where STDOUT goes

2008-10-27 Thread Mark Thomas
Wm.A.Stafford wrote: Mark, Thanks for taking an interest. I ran 'catalina.bat run' and got the following: C:\Program Files\Apache Software Foundation\apache-tomcat-5.5.27\bincatalina.bat run Using CATALINA_BASE: C:\Program Files\Apache Software Foundation\apache-tomcat-5.5.27 Using

RE: [***SPAM*** Score/Req: 20.50/05.00] Re: Hot deployment of a new version of war file while users are still working on the old one.

2008-10-27 Thread Ronald Klop
You don't give much details about your problems. But I think you have some long-living big datastructures which are hold in the session, so you can't cluster your sessions. You could redesign your application to make it more scalable. In the end that is your problem, so it's the solution

Tomcat startup time

2008-10-27 Thread Alfred Hirschwall
Hi, I noticed that Tomcat startup time nearly tripled between versions 5.5.15 and 5.5.16 and doubled when 6.0.18 is compared to 5.5.15. My setup: server.xml contains 11 Host definitions with 4 Alias definitions on average per Host. I have only one context.xml in conf/Catalina/somehost.com (to

Re: Tomcat Cluster and NFS mounted webapp

2008-10-27 Thread forum123
markt-2 wrote: Sharing the bin, common, server, shared and webapps directories is fine. Sharing conf could be OK if you are careful Sharing logs, temp and work is likely to cause problems. Did you look into using CATALINA_HOME/CATALINA_BASE? Yes, we use CATALINA_HOME/CATALINA_BASE

Re: Tomcat Cluster and NFS mounted webapp

2008-10-27 Thread Serge Fonville
Even though I have little experience with tomcat clusteringFor this situation I would specify one work directory in the config files (located on nfs) that points to a local directory that way everything can be shared except the work directory Hope this helps Regards, Serge Fonville On Mon, Oct

Tomcat clustering

2008-10-27 Thread Andrew Hole
Hi Guys! What means the following error? What I'm doing wrong? FINE: Assuming clocks are synched: Replication for GET-ALL- took=47 ms. 27/Out/2008 17:12:10 org.apache.catalina.cluster.session.ClusterSessionListener messageReceived SEVERE: Context manager doesn't exist: Thanks a lot

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
It means that the application that it is trying to request data from is not deployed on the server. for example, if you have applicate /test installed on server A, then it will have to be installed on server B as well, if it isn't, you'll get a message like the one below Filip Andrew Hole

Re: I'm more confused than ever about where STDOUT goes

2008-10-27 Thread Wm.A.Stafford
Mark, 'catalina.bat' run does not return to the command line. It takes a ctrl/c to stop the process. -=bill Mark Thomas wrote: Wm.A.Stafford wrote: Mark, Thanks for taking an interest. I ran 'catalina.bat run' and got the following: C:\Program Files\Apache Software

Re: Tomcat clustering

2008-10-27 Thread Andrew Hole
I would like to cluster two different applications in same machine (each in different Tomcat instance). Is it possible? On Mon, Oct 27, 2008 at 5:39 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: It means that the application that it is trying to request data from is not deployed

Re: encoding in URI after form-based redirect

2008-10-27 Thread Maxim Kuleshov
On Mon, 27 Oct 2008 08:36:03 -0500 Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Maxim Kuleshov [mailto:[EMAIL PROTECTED] Subject: encoding in URI after form-based redirect Question refers to 5.5 branch (5.5.25 from ubuntu repos). If possible, try the problem URI with the latest 5.5

Re: I'm more confused than ever about where STDOUT goes

2008-10-27 Thread Mark Thomas
Wm.A.Stafford wrote: Mark, 'catalina.bat' run does not return to the command line. It takes a ctrl/c to stop the process. -=bill Hmm. Can you start again with a clean install from an ASF zip distro? Something is somewhere is seriously messed up. Mark Mark Thomas wrote:

RE: Tomcat clustering

2008-10-27 Thread Caldarale, Charles R
From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat clustering I would like to cluster two different applications in same machine (each in different Tomcat instance). That's not clustering - it's just two separate Tomcat installations. Clustering is defined as the *same*

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
not sure I understand Is this your layout then? Machine1 TomcatA ApplicationA1 TomcatB ApplicationB1 since ApplicationA1 and ApplicationB1 are different, there is nothing to cluster, there is no state to share Filip Andrew Hole wrote: I would like to cluster two different

Tomcat 6 - Problems with encoding

2008-10-27 Thread JSimas
Hi. I'm using Apache Tomcat 6.0.14, wich deploys a Struts 1.x web application. I was using encoding ISO-LATIN-1 but i was having problems with the euro (€) char. Every time that i use a € char in a text box or in a text area, when the request arrives at struts Request Processor the value is

Re: Tomcat clustering

2008-10-27 Thread Andrew Hole
Yes. Machine1 TomcatA ApplicationA1 TomcatB ApplicationB1 But both applications have been developed by me and I want to share an object between applications. If the object have been created in application A, I would like to replicate information to application B. Thanks On Mon, Oct 27,

RE: Tomcat Cluster and NFS mounted webapp

2008-10-27 Thread Caldarale, Charles R
From: forum123 [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Cluster and NFS mounted webapp How do I set so that just the work directory is different per instance? Look at the workDir attribute of the Host and Context elements. By the way, you might want to consider moving up to a more

Re: Tomcat 6 - Problems with encoding

2008-10-27 Thread Mark Thomas
JSimas wrote: Hi. I'm using Apache Tomcat 6.0.14, wich deploys a Struts 1.x web application. I was using encoding ISO-LATIN-1 but i was having problems with the euro (€) char. Every time that i use a € char in a text box or in a text area, when the request arrives at struts Request

Re: Tomcat 6 - Problems with encoding

2008-10-27 Thread Leon Rosenberg
€ sign is not part of ISO-8859-1 use ISO-8859-15 instead. regards Leon On Mon, Oct 27, 2008 at 7:19 PM, JSimas [EMAIL PROTECTED] wrote: Hi. I'm using Apache Tomcat 6.0.14, wich deploys a Struts 1.x web application. I was using encoding ISO-LATIN-1 but i was having problems with the euro

Re: I'm more confused than ever about where STDOUT goes

2008-10-27 Thread Wm.A.Stafford
Mark, Thanks for taking the time to look into the problem. I'll take your advice and do a new install. What should I see when I start Tomcat with 'catalina.bat run'? -=bill Mark Thomas wrote: Wm.A.Stafford wrote: Mark, 'catalina.bat' run does not return to the command line.

Re: I'm more confused than ever about where STDOUT goes

2008-10-27 Thread Mark Thomas
Wm.A.Stafford wrote: Mark, Thanks for taking the time to look into the problem. I'll take your advice and do a new install. What should I see when I start Tomcat with 'catalina.bat run'? What you saw before plus ~10 lines of start up messages. Mark

configure the Heap Size

2008-10-27 Thread Frank Uccello
Is it possible to set the Heap size in the server.xml file and if so what the syntax

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
nothing like that is built in, you'd have to write that code for the object sharing yourself you could use the tomcat internals to achieve what you want, but you'd have to do a bit of legwork. Filip Andrew Hole wrote: Yes. Machine1 TomcatA ApplicationA1 TomcatB ApplicationB1 But both

Re: Tomcat clustering

2008-10-27 Thread Andrew Hole
Well, I would like in the future to have application A and B in different machines, and for that i need to use some way to share session data. Thanks On Mon, Oct 27, 2008 at 8:19 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: nothing like that is built in, you'd have to write that code

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
but you are saying they are different applications, so what data could they possible share? ie, if you have appA.war and appB.war, and they are totally different apps, then they shouldn't be sharing session data only appA.war on one tomcat instance can share session data with appA.war on

RE: Tomcat 6

2008-10-27 Thread Chris Lenart
I just let eclipse update the xml. Why did it work and stop? -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2008 10:32 PM To: Tomcat Users List Subject: Re: Tomcat 6 Your web.xml does not appear to conform to the servlet spec (2.4 or 2.5)