Problems with load balancing

2001-09-27 Thread Uniti Marco
Hi, I am using Apache 1.3.12 with mod_jserv module talking to tomcat 3.2.1. (system Linux suse 7.1) I am trying to load balance between 2 servers and my configuration is like this: ApJServLogLevel debug ApJServMount /examples balance://set1/zone1 ApJServBalance set1 Tomcat_1

communicating between 2 diffrent sessions

2001-09-27 Thread catalin
Hello, I have 2 apps (one in /webapps/myapp1-with jsp and other webapps/root/myapp2-with servlets) on a jakarta-tomcat-3.3-m4 on a win98 OS. My problem is that I need parameters that are in session of myapp2 to transmmit in session of myapp1. Can I do that? It is possible to set the same session

Re: HTTP Status 500

2001-09-27 Thread Matias Bahlenberg
Hi Lee, I recognize this. I solved the problem with a Host inside the Engine element in the server.xml. See below: Server port=8005 shutdown=SHUTDOWN debug=0 !-- Some information of the stand-alone service, tomcat web-server -- !-- I you do not use this service, I suggest you comment

Tomcat 4 with JSP

2001-09-27 Thread Adam: Kurzawa
So, nobody here knows how to use Apache + Tomcat 4 with JSP? Is it even possible? Like everyone knows, JSP files should be stored on the Apache server along with all other static content. I haven't been able to figure out how to convince Apache to cooperate with Tomcat 4 for execution of JSP

Class Not Found Exception in TC4

2001-09-27 Thread Patrick . Pierra
Hello, I've two problems. First i'm trying to use TC4. I've a jsp which have jsp:useBean ...class =myClass.class tag. I've put this bean in the lib directory of the Web-inf directory of my domain but when i call this page i recieve a class not found exception. I'don't understand why.

Form Based authentication problem

2001-09-27 Thread Miguel Angel Medina Lopez
Hi all: I'm working with Tomcat 3.2.3 and postgres 7.0. I want to use form-based authentication and i have included the next lines in the server.xml file: RequestInterceptor className=org.apache.tomcat.request.JDBCRealm debug=0

AW: catalina.bat

2001-09-27 Thread Reto Badertscher
Hi Bob, If you start it from a DOS window you should see the messages and the window should stay. Reto -Ursprüngliche Nachricht- Von: Epling, Bob [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 27. September 2001 00:19 An: [EMAIL PROTECTED] Betreff: catalina.bat Hi all, I haven't

Re: Form Based authentication problem

2001-09-27 Thread Kaneda K
This might be (I had a probleme that look the same with Mysql) so this might be that it need to be autoReconnect=true: connectionURL=jdbc:postgresql://192.168.0.17/tomcat_users became : connectionURL=jdbc:postgresql://192.168.0.17/tomcat_users?autoReconnect=true Try and give me your feed

Re: Thawte, SSL, and Tomcat

2001-09-27 Thread jean-frederic clere
Jon Shoberg wrote: Hypothetical situation ... I have the domain secure.foobar.com and a Thawte SSL certificate configured with Apache (mod_ssl). The file provided back from Thawte is called secure.foobar.com.crt. Is there a way to use that certificate in setting up

Incomplete HTTP status from tomcat

2001-09-27 Thread Geoff Ballinger
Dear all, Here at DB we are using Tomcat 3.2.3 combined with apache 1.3.20 and mod_jk running under redhat 7.1 (+ kernel 2.4.9) to host our mobile games platform - Unity. I have come across a slightly odd feature of Tomcat's HTTP response which seems to confuse a couple of the WML

Re: AW: catalina.bat

2001-09-27 Thread Jim Cheesman
At 09:43 AM 27/09/01, you wrote: Hi Bob, If you start it from a DOS window you should see the messages and the window should stay. Not true - you have to type catalina run for this to work. Reto -Ursprüngliche Nachricht- Von: Epling, Bob [mailto:[EMAIL PROTECTED]] Gesendet:

AW: Thawte, SSL, and Tomcat

2001-09-27 Thread Ralph Einfeldt
Some day's ago [EMAIL PROTECTED] sent the attached mail: -Ursprüngliche Nachricht- Von: Jon Shoberg [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 27. September 2001 00:41 An: [EMAIL PROTECTED] Betreff: Thawte, SSL, and Tomcat snip/ Does anyone have, literally, blind

Re: two tomcat-apache connections?

2001-09-27 Thread michael . brohl
Hi, you don't need to set up a second connection to deploy more applications. Just add WebAppDeploy jsp conn2 /jsp under the first WebAppDeploy ... entry. Regards Michael Brohl

Re: communicating between 2 diffrent sessions

2001-09-27 Thread Christof Soehngen
The context is a container like a session, only that it's valid for the lifetime of the tomcat process and is accessible by all webpages. In JSP you refer to it as the application You could say in your Servlet: - public class TestServlet extends

Re: Form Based authentication problem

2001-09-27 Thread Miguel Angel Medina Lopez
Hi: Thanks Kaneda but the parameter autoReconnect doesn't work in Postgres. I have found the error in the server.xml file and now I can't authenticate fine. Now the problem is that I need the user name in differents context. How can I do that? How can I keep client state in different contexts?

Re: HTTP Status 500 - Now Exception

2001-09-27 Thread Lee . Lovell
Thanks for that tip It did get me past the point i was stuck on. However now i am getting a class cast exception on the tomcat 4 machine with code that runs fine on the tomcat 3.x machine both use mod_jk ajp13. Both have java 1.3.1 running. java.security is identical. Is the information

How to get rid of timestamp in AccessLogValve ?

2001-09-27 Thread Oleksandr Fedorenko
Hi. Does anybody know how to get rid of timestamp in AccessLogValve ? Catalina creates access log filename with timestamp every time . Thanks. Alexander .

AW: AW: catalina.bat

2001-09-27 Thread Reto Badertscher
I assumed that someone does not just opening a DOS window without entering any command. Sorry for that! Reto -Ursprüngliche Nachricht- Von: Jim Cheesman [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 27. September 2001 10:14 An: [EMAIL PROTECTED] Betreff: Re: AW: catalina.bat At

Re: HTTP Status 500 - Now Exception

2001-09-27 Thread Lee . Lovell
Your a life saver... Works a treat and with a deadline of tomorrow fits in perfectly. Cheers Lee |+--- || Matias | || Bahlenberg | || matias.bahlenber| || [EMAIL

Tomcat JDO

2001-09-27 Thread Patrick . Pierra
hello, is someone work with Tomcat and JDO (java data object KODO implementation) ? I recieve a java.lang.SecurityException: sealing violation when the jdo try to access my Business classes ! How could i manipulate the tomcat.policy file ? Is a technique to desactivate this aspect of security

Session scope problem

2001-09-27 Thread paul
Is it true that the session object is only valid in a given context/Web app which means that if you change context you lose all your stored objects. ..very annoying..why? Surley a seesion is one browser one server irrespective of the pages visited. Thanks

Re: Tomcat 4 with JSP

2001-09-27 Thread paul
here is relevant httpd.conf. WebAppConnection conn warp localhost:8009 NameVirtualHost 193.133.123.162 VirtualHost 193.133.123.162 ServerName pan.web.roadrunner.uk.com DocumentRoot /usr/local/apache/pan.web.roadrunner.uk.com/htdocs WebAppDeploy ct conn /ct/ WebAppDeploy b2b conn /b2b/

web-inf/classes not found ?

2001-09-27 Thread Mikael Aronsson
Hi ! Tomcat complains that it can't find some of my classes .../web-inf/classes/xxx/yyy/myclassses for example, Everything works fine when I compile it (I specify the -classpath to let the compiler find the classes), but when I run the application in Tomcat, it does not find the classes. The

mod_jk how to -- documentation issue

2001-09-27 Thread U n d e r a c h i e v e r
Hi Enclosed with the 3.2.3 jakarta-tomcat is the following item of documentation:- ./jakarta-tomcat/doc/mod_jk-howto.html It mentions the following under 'Building mod_jk for Unix' Change directory to TOMCAT_HOME/native/mod_jk/apache1.3 (or apache2.0). ... but i have no such

can't find mod_jserv.so

2001-09-27 Thread jason lane
Hello everyone, finally got tomcat 3.3 working on my mac (os x 10.4) and am now running Cocoon 2 as well. I a now trying to tune the whole environment between tomcat / cocoon apache. So I have included the path to the tomcat.conf in httpd.conf but I get an error generated on the tomcat.conf

Re: web-inf/classes not found ?

2001-09-27 Thread Mikael Aronsson
Ok, thanks, I will see if I can figure out how to do that The documentation says that Tomcat (4) always adds a classloader for each web application that looks in the web-inf/classes and web-inf/dir directory, I could not find any examples/web-inf/classes reference in my server.xml, I guess I

Tomcat 4.0 - Two bugs?

2001-09-27 Thread Mark Muffett
1. Has anyone successfully got the alias feature (for virtual hosts) to work ? I have a configuration with Host name=sota debug=9 appBase=webapps unpackWARs=true Alias name=sota.silly.domain.net / /Host in server.xml. http://sota works,

Webapp

2001-09-27 Thread Jim Urban
We are now two weeks from go live and we still can't find a Win32 version of mod_webapp. Where is it? When will it be posted on the web site? Please don't suggest building it. We are a Java shop (thus we are using Tomcat to run servlets and not just Apache to run CGIs) and don't have the

RE: web-inf/classes not found ?

2001-09-27 Thread Chaber, Eric
Edit your server.xml copy paste Context path=/examples docBase=webapps/examples crossContext=false debug=0 reloadable=true /Context change examples to mydir create a dir $TOMCAT_HOME/webapps/mydir under my dir

Tomcat-Standalone? what else..

2001-09-27 Thread Marcel Stoer
hi all the term Tomcat-Standalone is everywhere. what does standalone in this context mean? tomcat is the one and only webserver (container) on the system (no apache/iis etc present)? what would it be if it is NOT standalone? thanks marcel

Re: web-inf/classes not found ?

2001-09-27 Thread Mikael Aronsson
Ok, many thanks for the help. Mikael - Original Message - From: Chaber, Eric [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 27, 2001 1:32 PM Subject: RE: web-inf/classes not found ? Edit your server.xml copy paste Context path=/examples

java.io.NotSerializable exception when calling EJB from servlet?

2001-09-27 Thread Andrew Wright
Hi all, I'm trying to call an EJB method from a servlet. The EJB methods work fine when I use a standalone test app, but die when I make the same calls from a servlet, throwing: java.io.NotSerializableException: org.apache.catalina.connector.HttpRequestFacade stack trace snipped The servlet

How much JNDI support does Tomcat 3.2.3 provide?

2001-09-27 Thread Vel Periasamy
The following text is from J2EE specifications. ~~~ The following additional elements exist in the web application deployment descriptor to meet the requirements of web containers that are JSP pages enabled or part

RE: How to call EJB's from Servlet in a portable J2EE way?

2001-09-27 Thread Vel Periasamy
Thanks for the clarification, Asheesh. One more thing, what's the significance of ejb-ref elements in web.xml? Do you have to specify them? Thanks again. -Velmurugan Periasamy. -Original Message- From: asheesh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 26, 2001 12:46 AM To:

Commercial support for Tomcat?

2001-09-27 Thread David Ripton
Sorry if this is a FAQ; I browsed through the archives and didn't see any good answers. Anyone had good or bad experiences with any commercial support vendors for Tomcat? (If it matters, we're running it alongside Apache on Solaris, we already have our system working, and we're going through

Tomcat 4.0 i18n BUG

2001-09-27 Thread Andrew
Hi, I've following problem: after request.setCharacterEncoding() invocation, request.getParameter() was properly set encoding but request.getQueryString() does nothig- ignore encoding setting... What's the matter?

Re: java.io.NotSerializable exception when calling EJB from servlet?

2001-09-27 Thread Dmitri Colebatch
The arguments to the remote metho dmust be serializable at runtime. The HttpRequest of Catalina's isn't so you wont be able to do that. What you want to do is extract the values you need out of the request, and pass them to the process method so that the process method is pure business logic

Re: two tomcat-apache connections?

2001-09-27 Thread David Smith
WebAppConnection forms the communications channel between Tomcat and Apache, so only use it once in your httpd.conf file unless you have more than one Tomcat running. WebAppDeploy is the line that matches URL's to specific tomcat contexts. Use it for each application and have them all use

Réf. : web-inf/classes not found ?

2001-09-27 Thread joseph . vallot
Hi... you seem working on windows (your email header say so): beware on case ;) it is NOT web-inf, it is WEB-INF (under explorer right-click on dir, porperties gives you exact name). my 2 cents -- Joseph Internet [EMAIL PROTECTED] - 27/09/2001 14:54 Veuillez répondre à [EMAIL PROTECTED]

Re: Réf. : web-inf/classes not found ?

2001-09-27 Thread Mikael Aronsson
Hi ! Already done, (I am using Linux 50% of the time so that's the first thing I check) it's all uppercase and it still does not work, but I am pretty sure that I have done something stupid so I will dig around a bit and see if I can fix it. - Original Message - From: [EMAIL PROTECTED]

Re: catalina.bat

2001-09-27 Thread David Smith
Have you tried a pause command in the catalina.bat? Place it right after the point where things die and it should keep the window open. Or you could checking the log file 'catalina.out' which should also have any errors from startup. --David Smith On Wednesday 26 September 2001 06:18 pm,