Re: [OT] How does Synchronized code interact with other applications

2006-03-21 Thread Hadraba Petr
Hi, On 3/20/06, David Kerber [EMAIL PROTECTED] wrote: Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: [OT] How does Synchronized code interact with other applications Ok. So if I were to port the Delphi app to java and run it as another thread in my

Re: Unable to Configure SSL on Tomcat on AIX

2006-03-21 Thread Markus Schönhaber
anil abraham wrote: I have been trying to configure SSL on Tomcat 5.0.28 on IBM AIX5.2 OS on port 8070 .(I also tried with port 8443 but i dont get the tomcat default web page even though catalina.out shows Tomcat and my deployed application as started.). After making changes to configure

Re: Confusion in sessions

2006-03-21 Thread Antonio Petrelli
George Azzopardi ha scritto: Hi people, I have two separate web applications, appA and appB, running on Tomcat. The problem is that sometimes appA loads a page of appB instead of the actual page. Do you have any ideas? It is nearly impossible if you use context-relative URLs (maybe using

Re: Unable to Configure SSL on Tomcat on AIX

2006-03-21 Thread anil abraham
Hi Markus, I have made the changes to the server.xml.(secure=true and scheme=https) but still the default web page is not displayed. When i use the same server.xml config under windows tomcat installation i am able to access the deployed application and tomcat on port 8443 and

Re: [HELP] how to locate web-app_2_3.dtd on local ?

2006-03-21 Thread Markus Schönhaber
Pham Anh Tuan wrote: I have a trouble in setting web-app_2_3.dtd for running on local, don't connect to internet, I use Tomcat 5.5.9 I did like below: I lay web-app_2_3.dtd in WEB-INF I set in web.xml: !DOCTYPE web-app SYSTEM web-app_2_3.dtd but when I run my web app, error occurs :

Re: keeping same session via apache2 mod_jk2 and tomcat5

2006-03-21 Thread Vahid Hedayati
ok this is where it starts to get bizzare... http://www.greenlightproductions.co.uk/servlets/SessionExample This now works (as in it is keeping the same session ID ) but it is showing the wrong servlets folder (as in for wrong virtual host and showing the tomcatid of that virtual host) Since

5.5.15: is the context of the webapp clustered?

2006-03-21 Thread Ronald Klop
Hello, I'm running a 4 node cluster of 5.5.15. The session replication works ok. I am looking for a distributed way of sharing global data (non-session) between the nodes. Is the ServletContext clustered? Is there another good clustering method for global data in my application? If the

Re: 5.5.15: is the context of the webapp clustered?

2006-03-21 Thread Filip Hanik - Dev Lists
The servlet context is not replicated, but it will be in near future with the new clustering engine that we are putting in. If you want to jump start that, you can build Apache Tribes (the new tomcat clustering engine) (svn location: tc5.5.x/container/modules/groupcom), its got a couple of

RE: Website Statistics

2006-03-21 Thread Steele, Aaron
Yes thank you I am trying to work with this one right now. We have a valve that generates a log file with the necessary information. I didn't know if there were other ones that might have some more reports. Our company used to use Web Trends, but it got too expensive so we are looking for a

Re: FarmWarDeployer instructions

2006-03-21 Thread Filip Hanik - Dev Lists
only one server should have (watchEnabled=true), this is the location where you deploy all your files. if you enable it on all servers, then just be careful so that you don't deploy the same file in two locations and end up with a deployment collission. tempDir=/tmp/war-temp/ -- The directory

apache(v2.0) front-end to jboss(v4.0.3)/tomcat5.5 webapp: context path prepend ?

2006-03-21 Thread Xin Herbert Wu
Hi, All, I am new to Apache2.0/Jboss4.0.3-Tomcat5.5 integration. After looking over apache/tomcat docs, I am still stuck with this problem: (1) Assume I have a web app called mywebapp.war and I deployed it to the jboss server(http1.1 connector listens on port 8080). I can access this web app with

RE: apache(v2.0) front-end to jboss(v4.0.3)/tomcat5.5 webapp: context path prepend ?

2006-03-21 Thread Caldarale, Charles R
From: Xin Herbert Wu [mailto:[EMAIL PROTECTED] Subject: apache(v2.0) front-end to jboss(v4.0.3)/tomcat5.5 webapp: context path prepend ? What's the proper way to configure apache and/or mod_jk so that both (1) and (2) are valid ways to access the given webapp? The easiest way is just

Rewrite Rule

2006-03-21 Thread Lahiff, Lorinda
Hi, I got 2 questions about Rewrite Rule. 1. How do I set up rewrite rules in Tomcat? 2. What entries do I need in the rewrite file to replace strings in the URL? In my case, I need to change the URL from: http://jamba/testapp/definitions/20060201%20gmet%20service.txt to

RE: apache(v2.0) front-end to jboss(v4.0.3)/tomcat5.5 webapp: context path prepend ?

2006-03-21 Thread Xin Herbert Wu
Do you mean I comment out Connector port=8080 address=${jboss.bind.address} ... Entry in tomcat server.xml? Basically I want it for a bit convenience in development without using apache. I could remove if it is only way to do it. If I do remove it, do I have to use virtual host if the tomcat

SSL

2006-03-21 Thread ngolehung84
Hi, I have read the source of Tomcat 5 but I can't find where the code implementing some algorithms( RSA, RC4, .). Where can I get the algorithm list and the implementation of above algorithms. thanks, Hung. -- View this message in context:

Re: Tomcat_Questions

2006-03-21 Thread Mladen Turk
hung ngole wrote: Hi, I have read the source of Tomcat 5 but I can't find where the code implementing some algorithms( RSA, RC4, .). Where can I get the algorithm list and the implementation of above algorithms. thanks, Hung. You are really boring. You have posted the same question

Re: SSL

2006-03-21 Thread Mark Thomas
ngolehung84 wrote: Hi, I have read the source of Tomcat 5 but I can't find where the code implementing some algorithms( RSA, RC4, .). Where can I get the algorithm list and the implementation of above algorithms. thanks, Hung. When starting a new thread (ie sending a message to

Redeploying war file kills context xml

2006-03-21 Thread Aust, Christian
Hi, I'm using Tomcat 5.5.15 on Windows 2003 w/ SUN JDK 1.5. Inside a virtual host, I've configured a context to define some JNDI datasources. Therefore I've written a context XML file in CATALINA_BASE/conf/Catalina/host/myapp.xml The app is deployed using a war file HOST_BASE/myapp.war and

Re: Redeploying war file kills context xml

2006-03-21 Thread Kevin Klinemeier
Would including the myapp.xml in your META-INF/ be an option? I read here that that should work: http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html#A%20word%20on%20Contexts -Kevin On 3/21/06, Aust, Christian [EMAIL PROTECTED] wrote: Hi, I'm using Tomcat 5.5.15 on Windows 2003 w/

Data Truncation Error

2006-03-21 Thread Mark Whitby
Hello all, I am using a MySQL 5.0.18 server with the mysql-connector-java-3.1.12-bin Connector/J driver to connect to it on a Tomcat 5.5.15 server. The connection works fine but occasionally when I try to add a Java double value to the database (a row set to DECIMAL(10,2))I get the following

RE: apache(v2.0) front-end to jboss(v4.0.3)/tomcat5.5 webapp: context path prepend ?

2006-03-21 Thread Xin Herbert Wu
Oh, I do not think so. Public request must come from apache. We run Jboss cluster and mod_jk is the load balancer. For each node in the cluster, there will be several webapps deployed. The typical request flow would be apache-1 server is response for www.web1.com and routes traffic to

RE: apache(v2.0) front-end to jboss(v4.0.3)/tomcat5.5 webapp: context path prepend ?

2006-03-21 Thread Caldarale, Charles R
From: Xin Herbert Wu [mailto:[EMAIL PROTECTED] Subject: RE: apache(v2.0) front-end to jboss(v4.0.3)/tomcat5.5 webapp: context path prepend ? Oh, I do not think so. Public request must come from apache. We run Jboss cluster and mod_jk is the load balancer. O.k., that's a very valid

RE: apache(v2.0) front-end to jboss(v4.0.3)/tomcat5.5 webapp: context path prepend ?

2006-03-21 Thread Xin Herbert Wu
Never think about filter forwarding. It definitely should work. Thanks!! -Xin -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 21, 2006 4:52 PM To: Tomcat Users List Subject: RE: apache(v2.0) front-end to jboss(v4.0.3)/tomcat5.5 webapp: context

log4j not logging 3rd-party-tool-messages in a webapp under tomcat 5.5

2006-03-21 Thread Sven Schliesing
Hi, I already posted this to the log4j-list but got no response. Maybe someone of you can help me. I have this log4j.properties-file within my webapp: --- log4j.rootLogger=DEBUG,stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender

RE: overheads on multiple connectors

2006-03-21 Thread Chris Fong
Let me rephrase original my question. Is it an abnormal configuration to have roughly 20 connectors all listening on different ports for 5.5.15? Have anyone had similar configuration for their production environment with heavy traffic? Thanks, --Chris -Original Message- From: Chris

Re: SSL

2006-03-21 Thread Bill Barker
ngolehung84 [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have read the source of Tomcat 5 but I can't find where the code implementing some algorithms( RSA, RC4, .). Where can I get the algorithm list and the implementation of above algorithms. Tomcat doesn't

Re: Data Truncation Error

2006-03-21 Thread Mark Whitby
Further to my email earlier I've discovered I can either have the truncation on or the reconnect on, but I can't include both in the url otherwise Tomcat doesn't start up. Also, if I take off the autoreconnect I get a null pointer error on my connection class. I'm getting desperate so does

Re: log4j not logging 3rd-party-tool-messages in a webapp under tomcat 5.5

2006-03-21 Thread Boris Unckel
Good Morning, Von: Sven Schliesing [EMAIL PROTECTED] The webapp runs under Tomcat 5.5.15. I would expect this config-file to litter my console with tons of log messages. But it only displays the messages from my webapp. None of the 3rd-party-tool-messages, like from hibernate or

Re: apache(v2.0) front-end to jboss(v4.0.3)/tomcat5.5 webapp: context path prepend ?

2006-03-21 Thread Mladen Turk
Xin Herbert Wu wrote: (1) Assume I have a web app called mywebapp.war and I deployed it to the jboss server(http1.1 connector listens on port 8080). I can access this web app with the URL http://localhost:8080/mywebapp/index.html (easy for development) (2) Now I want to add the apache

RE: Redeploying war file kills context xml

2006-03-21 Thread Aust, Christian
Hi Kevin, including a context.xml file in META-INF could cure the disappearing context file issue, although it would rather be some kind of workaround: The file would still be deleted but eventually restored. Any idea how I could configure tomcat 5.5 to stop from deleting that file? The other