Re: Configuring mod_jk2

2002-12-13 Thread Bill Barker
Noel J. Bergman [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... ApacheConfig is for use with mod_jk 1.x. It doesn't work with jk2. With jk2, you only need the 'LoadModule' statement in httpd.conf. The rest of the configuration is handled by the

Tomcat for Enterprise Applications

2002-12-13 Thread G. Balandres
Hi all, i have currently an dicussion going on about creating a 3/Multi Tier Enterprise Application which will have one Webbased Client and one Standalone Client. The main aim is the Webbased Client. The problem is there are some workers which want to use .NET and some who want to use J2EE. I

Re: Tomcat for Enterprise Applications

2002-12-13 Thread Peng Tuck Kwok
Tomcat only does jsp/servlets, so if you are after EJB's then you need something like Jboss, which also bundles tomcat for jsp/servlets or jetty. Apparently Jboss is pretty good and a lot of people are happy with it so you might want to look into it. You need to pay for the docs though. G.

Re: Configuring Security URLs (realm)

2002-12-13 Thread Bill Barker
Probably easier is to just check the condition in your Servlet and/or Filter: String st = (String)request.getParameter(STATE); if( st == null) { response.sendError( 401, No State); return; } int state=-1; try { state = Integer.parseInt(st); } catch(NumberFormatExecption

deactivate and delete unneeded Programm Parts

2002-12-13 Thread Tim Büthe
Hi, I'm using the Tomcat 4.1.12 embedded in a Java-Program. I want to delete all the unneeded stuff and don't do know how to do. At first I really don't need the Web-Administration of Tomcat. Is there anybody who knows how to deactivate / delete the Web-Administration? Thanks a lot Tim -- To

RE: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)

2002-12-13 Thread Marco Bucciarelli
Hi, I have also this problem/doubt: how to limit the number of threads opened by Tomcat? I tried to change a lot of settings in server.xml but nothing influenced that number. I have always 46 new java processes opened by Tomcat. I did this test (Linux RedHat 7.0, Tomcat 4.1.12, Apache 1.3.12, Sun

Re: Error 403 using an Alias with Apache + Tomcat4

2002-12-13 Thread Bill Barker
Apache needs read+execute access on all directories up to and including the Tomcat directory for the user the Apache runs under (which I believe is 'apache' for the default RedHat install, but I don't really use RedHat myself). Marco Bucciarelli [EMAIL PROTECTED] wrote in message

network round trips

2002-12-13 Thread Puneet Agarwal
We recently developed an application using struts on tomcat. The performance benchmarks are perfactly fine but we have a problem at network round trip end. This is because even if the included JavaScripts/css/gif/jpeg files, are all cached, still it checks for the last modified time with the

who can help me with puretls.jar ???

2002-12-13 Thread Jean-Luc BEAUDET
Hi all, I finally got my new 4.1.12 rel compiled and running. Unfortunately, i had to comment out all the lines concerning puretls.jar; i don't know where i can get it downloaded. Any help welcome, thanks in advance. Jean-Luc :O) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

error handling in servlets vs. JSPs

2002-12-13 Thread Jan Hustak
Hello, I have a peculiar problem with Tomcat 4.0.4. My web.xml contains a bunch of error-page elements pointing at error handlers for various exceptions. When one of these exceptions is invoked in a JSP, everything goes fine but when it happens in a servlet, the standard Tomcat error page is

RE: who can help me with puretls.jar ???

2002-12-13 Thread David Rayroud
You can find puretls.jar on this adress : http://jpackage.sourceforge.net/rpm2html/free/RPMS/puretls-0.9-0.b2.1jpp.noa rch.html David Rayroud -Message d'origine- De : Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]] Envoyé : vendredi, 13. décembre 2002 11:16 À : tomcat-user Objet : who can

Re: Tomcat for Enterprise Applications

2002-12-13 Thread Mike W-M
I'm currently working (independently!) with Oracle's BC4J application / persistence framework (against a transactional MySQL database). The framework is supposed to be client independent, and JDeveloper (with which the framework comes) provides tools for generating / designing both thick and

RE: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)

2002-12-13 Thread Luc Santeramo
Hi, there is a way to limit memory use by tomcat just specify it in your CATALINA_OPTS env var here is mine CATALINA_OPTS=-server -Xmx220m -Xms220m -Dfile.encoding=UTF-8 these are jvm parameter I think Xmx is the max mem to use and Xms is the min hope this helps Luc At 11:03 13/12/2002

doubts and errors on Apache 1.3 and Tomcat 3.2.1

2002-12-13 Thread Günther Mittermayer
Hi All, i´ve been learning a lot about tomcat and apache on the last few weeks, but as every self-learner, i still have some conceptual doubts and misunderstandings... Any help or clearances are very much appreciated :). Well, here's my problem: A LITTLE BACKGROUND: I´m trying to get tomcat

Re: virtual hosting on tomcat

2002-12-13 Thread Stephen Riek
I think you can't do virtual hosting on Tomcat standalone. You need Apache in front of it. See the following which may help, http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html?page=1 Sherif D Mohamad [EMAIL PROTECTED] wrote:I am trying to add a virtual host on tomcat, I added this

mod_jk2 and JkWorkersFile ???

2002-12-13 Thread Patrick GIRY
I'm using Apache 2.0.43, tomcat 4.1.12 and mod_jk2 to communicate between them. I am looking for how to indicate to the mod_jk2 an other directory than APACHE_HOME/conf for finding workers2.properties. I used JkWorkersFile d:/workers2.properties in the httpd.conf but the startup of apache

RE: Apache+mod_dav+connector dilemma

2002-12-13 Thread Jonas Bosson
Hi Noel! Yes, we use the root for dav and filtering, since unique and clear identities/url-identifiers are very important to us. In your conf-snipplet it seems that you bind the tomcat connector by mime-type and then redefine the the mime-type in the 'dav' location to avoid being captured by the

symlink to WEB-INF

2002-12-13 Thread Alberto Puerta
Hi, i need a solution please: I'm running Apache-Tomcat under Linux working with several virtual hosts. I would like to setup all of them to use the same WEB-INF. I tried to use symbolic links in each website pointing to the same WEB-INF directory but it seems that Tomcat ignores them. is it

Tomcat/IIS losing request parameters

2002-12-13 Thread Ian Pilborough
Hi, I have problem with IIS and Tomcat losing request parameters. I have a set-up with IIS 5.0 and Tomcat 4.0.6 on Windows 2002 Advanced Server and JDK 1.3.1_01 and for sometime this has worked fine, but I have just noticed that request parameters are lost when there are spaces in the filenames

Re: Configuring Security URLs (realm)

2002-12-13 Thread afterz
OK! ;) Thanks everybody, I will look for alternatives. But I will probably add a feature of resource(URI) with the user and passwd. Then use filter to complement the authorization. On Fri, 13 Dec 2002 01:55:56 -0800 Bill Barker [EMAIL PROTECTED] wrote: Probably easier is to just check the

configuring apache for virtualhosts with tomcat and jserv

2002-12-13 Thread Frank Mattheus
Hello, I have two applications that I'd really like to get running on the same web server with ip virtual hosts. Now, app1 is currently running with jserv, while app2 is runing with tomcat. Is it possible to run both tomcat and jserv in the same apache(v1.3)? If so, what directives do I need to

Re: Error 403 using an Alias with Apache + Tomcat4

2002-12-13 Thread Marco Bucciarelli
Yes, that was the problem (it was a really stupid problem). I still have the problem with the symlinks: in the webapps/mytest directory I have a subdirectory that is a symlink: cd /var/tomcat4/webapps/mytest ln -s /tmp/mydir mydir the directory /tmp/mydir has the right permissions and also the

RE: help: logging j_username

2002-12-13 Thread Rob Cartier
ok .. I am interested any ideas how to implement it thanks in advance --Rob -Original Message- From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 7:09 PM To: Tomcat Users List Subject: RE: help: logging j_username Is there a way besides using

RE: RequestDispatcher scenarios ( was RE: static url routing)

2002-12-13 Thread Cox, Charlie
see below -Original Message- From: RXZ JLo [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 12:58 AM To: Tomcat Users List Subject: Re: RequestDispatcher scenarios ( was RE: static url routing) --- Craig R. McClanahan [EMAIL PROTECTED] wrote: On Mon, 9 Dec

error when start tomcat if in the web.xml is the error-page directive

2002-12-13 Thread Dionisio Ruiz de Zarate
if in my web.xml i have this: error-page error-code404/error-code location/error.jsp/location /error-page the tomcat starts well but appears the next error. Can you help me to resolv it? thanks. ERROR: 13-dic-2002 13:19:14 org.apache.commons.digester.Digester error GRAVE: Parse Error at

RE: deactivate and delete unneeded Programm Parts

2002-12-13 Thread Aleksandr Shneyderman
Is there anybody who knows how to deactivate / delete the Web-Administration? just remove/move the admin.xml, and I guess manager.xml from the webapps directory and it should go away. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: error when start tomcat if in the web.xml is the error-page directive

2002-12-13 Thread Uri Shohet
Make sure that error-page element appears after welcome-file-list and before taglib. The order of the elements in any XML file is very important. HTH, Uri On Friday 13 December 2002 14:22, Dionisio Ruiz de Zarate wrote: if in my web.xml i have this: error-page error-code404/error-code

Apache connector-localhost only

2002-12-13 Thread Daryl Lee
I cannot get my Apache-Tomcat mod_jk connector to work for anything other than localhost. Apache 2.0.43, Tomcat 4.1.12, Linux (Redhat 8.0). Trying to run http://localhost/examples/HelloWorldExample works, but if localhost is replaced with either an IP address or a valid hostname, the error_log

Default servlet

2002-12-13 Thread RAFA
Hi. Only with Tomcat, how can I go to a servlet by default? With http://12.:8080 only Load a servlet by default. Thanks. Rafa. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Problem Obteining the certicate Chain with Apache+mod_jk+tomcat

2002-12-13 Thread Joao Cerdeira
HI, I Have: Apache 1.3.27-10 mod_ssl 2.8.7-4 modutils 2.4.14-3 mod_jk 1.3-1.0-1.4.0.2 tomcat 4.0.3 * This is my JK mounk config: * JkEnvVar SSL_CLIENT_CERT SSL_CLIENT_CERT JkMount /dgt/* ajp13 JkEnvVar SSL_CLIENT_CERT_CHAIN_0 SSL_CLIENT_CERT_CHAIN_0 Location

RE: Security violation in Tomcat 4.0.6

2002-12-13 Thread Gayathri Shaikh
Adding these permissions took care of the problem. Thanks a lot. -- Gayathri -Original Message- From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 12:45 AM To: Tomcat Users List Subject: Re: Security violation in Tomcat 4.0.6 In catalina.properties,

RE: error when start tomcat if in the web.xml is the error-page directive

2002-12-13 Thread Pedro Nevado
Dionisio, I do not find anything wrong with that entry in your web.xml file. The error is probably caused by another element.I have used error pages in my web-xml files with the same entry as yours without problems. Pedro -Mensaje original- De: Dionisio Ruiz de Zarate [mailto:[EMAIL

RE: error when start tomcat if in the web.xml is the error-page directive

2002-12-13 Thread Pedro Nevado
Verify the order of your elements in the web.xml file. -Mensaje original- De: Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 13 de diciembre de 2002 13:22 Para: [EMAIL PROTECTED] Asunto: error when start tomcat if in the web.xml is the error-page directive if in

RE: deactivate and delete unneeded Programm Parts

2002-12-13 Thread Tim Büthe
Is there anybody who knows how to deactivate / delete the Web-Administration? just remove/move the admin.xml, and I guess manager.xml from the webapps directory and it should go away. okay, if I remove the admin.xml and the Manager.xml tomcat works fine. But now the server-directory is

Re: [classloading] How to use URLClassLoader within a servlet

2002-12-13 Thread Ola Berg
Okay, I moved the JAR to $CATALINA_HOME/webapps/ROOT and changed the code to: Great, and thanks. In about two hours I will stop the daunting task of creating a web application in VBScript/ASP (yuck) and picking up the registry-system again. I will immediately try out your way. I suspect the

how to avoid 304 for .js files

2002-12-13 Thread Puneet Agarwal
We recently developed an application using struts on tomcat. We have a problem at network round trip end. This is because even if the included JavaScripts/css/gif/jpeg files, are all cached, still it checks for the last modified time with the web server and makes a round trip. When I searched

RE: RequestDispatcher scenarios ( was RE: static url routing)

2002-12-13 Thread RXZ JLo
--- Cox, Charlie [EMAIL PROTECTED] wrote: RequestDisatcher is for dispatching (parts of)the current request to other resources in the same context without involving the browser. This means that it is not a new request(filters/valves/etc do not get invoked), but it is processed by the

RE: deactivate and delete unneeded Programm Parts

2002-12-13 Thread Aleksandr Shneyderman
Document base r:\tomcat\webapps\..\server\webapps\admin does not exist or is not a readable directory You probably still have context/host/engine configured for the admin app. Make sure that none of the configured containers refer to the directory(ies) that do not exist. The attribute to

RE: Errors in iis_redirect.log file

2002-12-13 Thread Jordi Masip
Any comment? Hi, I find next two errors inside iis_redirect.log file after working with a java application (JDBC, JSPs,...) using IIS5 and Tomcat 4.0.1 in a w2k server: [Tue Dec 03 10:54:10 2002] [jk_isapi_plugin.c (404)]: jk_ws_service_t::start_response, ServerSupportFunction failed

RE: Apache connector-localhost only

2002-12-13 Thread Denise Mangano
Daryl, Just out of curiosity, does your web server get mapped through a firewall? I had to open port 8080 on my firewall in order to pull up the Tomcat index page using my domain name Hope that helps... Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -Original

RE: [OT] Apache-Tomcat mod_jk

2002-12-13 Thread Denise Mangano
Do you know where I could get Tomcat 4.1.17 release? Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 5:56 PM To: Tomcat Users List Subject: RE: [OT] Apache-Tomcat mod_jk

RE: RequestDispatcher scenarios ( was RE: static url routing)

2002-12-13 Thread Cox, Charlie
-Original Message- From: RXZ JLo [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 8:31 AM To: Tomcat Users List Subject: RE: RequestDispatcher scenarios ( was RE: static url routing) --- Cox, Charlie [EMAIL PROTECTED] wrote: RequestDisatcher is for dispatching

Re: Sevlet at startup, not starting

2002-12-13 Thread Alexander Wallace
Thanks for all the help. On Thursday 12 December 2002 19:15, Jacob Kjome wrote: That's what init() is there for. Just note that the container is allowed to unload and reload servlets at any time it wants to so your init() and destroy() methods aren't guaranteed to run just once. If you have

jsp:include does not include actions?

2002-12-13 Thread Maik Lehradt
Hi! I try a dynamic include in a jsp: %@ page contentType=text/html;charset=UTF-8 language=java % This is a Test include:jsp:include page=/portal/image-vp.do flush=true /:end include Test end I run my example and this is the HTML looks like: This is a Test include: According Tomcat's

Re: Apache connector-localhost only

2002-12-13 Thread Daryl Lee
I have ports 80 and 8080 both open. In particular, when I hit the host from inside the firewall, but from another host, the connector fails. Thus, http://localhost/... works, but http://tigger/... fails. On Fri, Dec 13, 2002 at 09:15:39AM -0500, Denise Mangano wrote: Daryl, Just out of

RE: Tomcat for Enterprise Applications

2002-12-13 Thread Shapira, Yoav
Hi, How do you know you need EJBs when you haven't even decided whether to use J2EE or .Net? That's a more detailed design choice, isn't it? Tomcat by itself doesn't support EJBs. It's not a full J2EE server. JBoss is, and it's a good one. JBoss uses Tomcat for servlets and JSPs. There are

jsp:getProperty problem

2002-12-13 Thread Andrew Guts
Hello all Please help me with this: file src/fe/MyBean1.java: package fe; public class MyBean1 { private String msg = MyBean1: Initial message; public String getMsg() { return msg ; } public void setMsg(String m) { msg = m; } } file test.jsp: %@ page language=java % html jsp:useBean

Re: jsp:getProperty problem

2002-12-13 Thread Boris Folgmann
Andrew Guts wrote: file src/fe/MyBean1.java: package fe; public class MyBean1 { private String msg = MyBean1: Initial message; public String getMsg() { return msg ; } public void setMsg(String m) { msg = m; } } file test.jsp: %@ page language=java % html jsp:useBean id=dBean

RE: getProperty problem

2002-12-13 Thread Greg Trasuk
Andrew: The beans spec says that property 'something' will be addressed through a getter method 'getSomething()' (note capitalization of 's'). So your getter method 'getMsg()' is referring to a property 'msg', not 'Msg'. Yes, when you capitalize 'Msg' you'll get 'Msg', but when Jasper

Re: jsp:getProperty problem

2002-12-13 Thread Andrew Guts
Boris Folgmann wrote: But It does not work :-( I think it should work. If you changed your bean while tomcat was already running, you have to restart tomcat. That's why you should set your webapp to reloadable on your development machine. If you've done this, a tomcat restart is no longer

jvm_bind exception - port 8080 - Address in use

2002-12-13 Thread rsequeira
This is slightly off-topic (related to JBoss, but involves Tomcat) Environment: Win NT, JBoss 3.0.4 with Tomcat 4.1.12, JDK1.3.1 I unzipped jboss-3.0.4_tomcat-4.1.12 and tried to run(.bat) JBoss. But I get an exception saying embedded Tomcat couldn't bind to 8080 (address already in use). So I

Tomcat dies

2002-12-13 Thread Matthew Ritenburg
I have asked this question before. I have been all over the net looking for information. The problem remains: On Solaris 2.8 Tomcat started from the commaned line via startup.sh does not background properly and dies when the controlling tty is exited. I have tested this on a Sunfire 280r

Re: getProperty problem

2002-12-13 Thread Andrew Guts
Greg Trasuk wrote: Changed 'private String msg' to private String Msg' Result is the same. I guess it doesn't matter for private fields. Andrew: The beans spec says that property 'something' will be addressed through a getter method 'getSomething()' (note capitalization of 's'). So your

PROBLEM: Tomcat doesn't start if the context directory doesn't exist

2002-12-13 Thread Renato
Hi all, I realize a that Tomcat 4.1.12 behaves differently than 4.0.64 in the way it deals with the context directory. If the directory doesn't exist Tomcat 4.1.12 doesn't start ( with 4.0.6 does ). This is the message: java.lang.IllegalArgumentException: Document base /home/client/context

RE: Tomcat for Enterprise Applications

2002-12-13 Thread Puneet Agarwal
I have another question in line with the same subject. Does tomcat support, JVM online replication, to support the failover of link. I mean the session memory be replicated to another instance of TOMCAT and in case link to first one fails can we switch to the second instance of tomcat without

Re: Tomcat dies

2002-12-13 Thread Puneet Agarwal
Have you checked the logs, what does it say...? - Original Message - From: Matthew Ritenburg [EMAIL PROTECTED] Date: Fri, 13 Dec 2002 10:53:12 -0500 To: Tomcat Users List [EMAIL PROTECTED] Subject: Tomcat dies I have asked this question before. I have been all over the net looking for

RE: Tomcat dies

2002-12-13 Thread Matthew Ritenburg
The logs say nothing. Tomcat is dying because it is not backgrounding properly on solaris 8. The process never detaches it self from the controlling tty. You close the console/xterm and Tomcat dies. My question is: Why doesn't tomcat background properly on Solaris 8? Thanks again! Matt

RE: Tomcat dies

2002-12-13 Thread Hamilton, Andrew
I have been using Tomcat on Solaris 8 for months and it backgrounds for me just fine. What do the logs say? Regards, Drew -Original Message- From: Matthew Ritenburg [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 10:53 AM To: Tomcat Users List Subject: Tomcat dies I have

Re: getProperty problem

2002-12-13 Thread Boris Folgmann
Andrew Guts wrote: Greg Trasuk wrote: Changed 'private String msg' to private String Msg' Result is the same. I guess it doesn't matter for private fields. Greg is right! I simply overlooked that, and you misunterstood him. 1. You CAN'T use properties that start with a Capital letter! 2.

RE: Tomcat dies

2002-12-13 Thread Hamilton, Andrew
What version are you using? -Original Message- From: Matthew Ritenburg [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 11:11 AM To: Tomcat Users List Subject: RE: Tomcat dies The logs say nothing. Tomcat is dying because it is not backgrounding properly on solaris 8. The

RE: Tomcat dies

2002-12-13 Thread Meyer, James
I also have been using tomcat on solaris 8 with great success. Hover I do not use the startup/shutdown scripts have you tried calling the catalina script directly (catalina.sh start or catalina.sh stop) -Original Message- From: Hamilton, Andrew [mailto:[EMAIL PROTECTED]] Sent: Friday,

Re: Default servlet

2002-12-13 Thread Boris Folgmann
RAFA wrote: Hi. Only with Tomcat, how can I go to a servlet by default? With http://12.:8080 only Load a servlet by default. You have to deploy a webapp to the root context. -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting

RE: Tomcat dies

2002-12-13 Thread Hamilton, Andrew
I use the startup/shutdowns scripts without trouble. -Original Message- From: Meyer, James [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 11:16 AM To: 'Tomcat Users List' Subject: RE: Tomcat dies I also have been using tomcat on solaris 8 with great success. Hover I do not

RE: Tomcat dies

2002-12-13 Thread Matthew Ritenburg
I am using Tomcat 4.0.1 with jdk-1.3.1_06. -Original Message- From: Hamilton, Andrew [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 11:15 AM To: Tomcat Users List Subject: RE: Tomcat dies What version are you using? -Original Message- From: Matthew Ritenburg

RE: Tomcat dies

2002-12-13 Thread Shapira, Yoav
Hi, We have dozens of Solaris 2.8 machines, using various versions of tomcat, with JDKs from 1.2.2-1.4.1. None of them exhibit this problem. Yoav Shapira Millennium ChemInformatics -Original Message- From: Matthew Ritenburg [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002

Re: getProperty problem

2002-12-13 Thread Andrew Guts
Boris Folgmann wrote: Thanks you very much! I've appreciated your and Greg's answers. It was a real help. Andrew Andrew Guts wrote: Greg Trasuk wrote: Changed 'private String msg' to private String Msg' Result is the same. I guess it doesn't matter for private fields. Greg is right!

RE: Tomcat dies

2002-12-13 Thread Hamilton, Andrew
I'm using 4.1.10 with jdk-1.3.1_04. But I really can't imagine that there would be anything in the TC distribution itself that would cause this. Is there anything in your setup that may cause it to want a tty connection? An evironment setting, etc? -Original Message- From: Matthew

Re: Where did the tomcat javadocs go?

2002-12-13 Thread Boris Folgmann
Joseph Shraibman wrote: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/ is empty. You can report bugs to the tomcat bugzilla installation on the website. Don't know the exact URL ... -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting

InitialContext configuration

2002-12-13 Thread Rod Frey
This question seems to have been asked about a thousand times: I apologize for bringing it up again. I was unable to find a solution that worked from among prior responses. I want to configure Tomcat's InitialContext with Jboss' JNDI info. Life is good as long as I do things in code:

Re: Tomcat dies

2002-12-13 Thread Jon Eaves
If that is the cause, what's wrong with using 'nohup' ? (Or am I missing something here?) Cheers, -- jon Matthew Ritenburg wrote: The logs say nothing. Tomcat is dying because it is not backgrounding properly on solaris 8. The process never detaches it self from the controlling tty. You

RE: long delay in ie

2002-12-13 Thread Dan Payne
I'm using IE 6.0.2800.1106 and it SUCKS! It has incredible, unbelievable problems downloading both images and javascript source files and the problems are independent from the server it is requesting from (tomcat, IIS, etc.) -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]]

RE: Tomcat dies

2002-12-13 Thread Meyer, James
If you are using ssh the problem you described occurs, one way around it is to start tomcat with the following command /usr/local/tomcat/bin/tomcat.sh start/dev/null /dev/null 2/dev/null -Original Message- From: Jon Eaves [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 10:37

Tomcat 4.0.1 on Solaris 8, Sunfire 280r

2002-12-13 Thread David McGough
Hello, I have Tomcat 4.0.1 running on a Solaris 2.8, Sunfire 280r. I can start tomcat successfully. However, when I logout of my telnet session it dies immediately. I have tried to place nohup in the catalina.sh and on the startup.sh command but that does not seem to help the problem. I can

Re: Security violation in Tomcat 4.0.6

2002-12-13 Thread aps olute
Am curious as to why the double entry of permission java.lang.RuntimePermission accessClassInPackage.org.apache.catalina.util; ? Also I have a stock binary download 4.1.12 and does not have this under //Required for servlet and JSP's and should I include it? permission

RE: Tomcat dies

2002-12-13 Thread Jan-Michael Ong
I've had this problem too in the past and our best (but definitely not the most elegant) solution is to switch to C-shell before invoking the command. Log on as root. (your root shell can be anything) Create a user tomcat: useradd tomcat Switch to C-shell: /bin/csh Do something to the effect of

RE: Errors in iis_redirect.log file

2002-12-13 Thread Jan-Michael Ong
I've seen this one: [Tue Dec 03 11:10:44 2002] [jk_isapi_plugin.c (498)]: jk_ws_service_t::write, WriteClient failed [Tue Dec 03 11:10:44 2002] [jk_ajp13_worker.c (381)]: Error ajp13_process_callback - write failed This means that a request to a resource (JSP/servlet) has been made but

tomcat 4.1 api docs not online?

2002-12-13 Thread Jeff Barrett
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/ is empty. Am I looking in the wrong place? This is the link available at the bottom of this page: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: Security violation in Tomcat 4.0.6

2002-12-13 Thread Jeanfrancois Arcand
The fix was introduced in Tomcat 4.1.13. aps olute wrote: Am curious as to why the double entry of permission java.lang.RuntimePermission accessClassInPackage.org.apache.catalina.util; ? Actually, that's a very good question. It is not supposed to make a difference. I will try to find why

DBCP Pool Max Connection

2002-12-13 Thread Sundar Chakravarthy
What happens if #concurrent users exceeds max pool size ? I get an exception ? Can I try to catch it say print something like System is busy, Try again ? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Cant find a properties file - and shutdowns Tomcat

2002-12-13 Thread aps olute
1) Please help, the support class of my servlet is not able to find the file town.xml. I have this file town.xml at taxi/town.xml, a copy at taxi/WEB-INF/classes/town.xml I tried to pre-pend with / and no / with same results. A snippet of the log is below: 81 2002-12-13 01:25:05

Mod_jk Try #2 - error can't find apache

2002-12-13 Thread Denise Mangano
Ok. So its time to give this another try. For try #2 I decided to try to build mod_jk according to the HOW-TO. I'm running into a snag. When I run configure it is looking for a path to apxs. My Apache 1.3.27 web server is up and running, I can view my website. Tomcat 4.1.12 itself was

Re: InitialContext configuration

2002-12-13 Thread Jacob Kjome
Hello Rod, I think this is a JBoss question. I think that JBoss takes over configuration of Tomcat when Tomcat is embedded in JBoss. So, I would think that the JNDI config would be located within JBoss, not external to the server or under the normal Tomcat standalone configuration. That said, I

Re: Cant find a properties file - and shutdowns Tomcat

2002-12-13 Thread Jacob Kjome
Hello aps, First, don't use File IO if it isn't necessary (and it isn't here). Second, see: http://marc.theaimsgroup.com/?l=tomcat-userm=103904964313189w=2 Jake Friday, December 13, 2002, 11:26:08 AM, you wrote: ao 1) Please help, the support class of my servlet is not able to find the file ao

RE: InitialContext configuration

2002-12-13 Thread Rod Frey
Thanks for the reply. I should have mentioned that I started encountering these problems when I put the Tomcat server on a different machine. There was no trouble when I was running Tomcat embedded. Right now, there's no trace of Jboss on the Tomcat server. Thanks again! Rod -Original

Directory Listing in Tomcat 4.1.12

2002-12-13 Thread Venkateshwar Bommineni
Hello All, I would like to use default tomcat directory listing functionality in one of my application. And it works fine when I set the docBase to the directory which i would like to see as listing. But that directory consists of some symbolic links to the files which are outside of that

Re: Mod_jk Try #2 - error can't find apache

2002-12-13 Thread Jan-Michael Ong
apxs requires perl to be available check the first line of apxs head -1 /usr/sbin/apxs It should say something like #!/usr/local/bin/perl or something along those lines check the availability of your perl install ls -l /usr/local/bin/perl if it says not found do a find for perl and replace

RE: Tomcat dies

2002-12-13 Thread Puneet Agarwal
tomcat conforms to true daemon properties that is dissociation from all file streams many a signals etc. On actual dissociation it should get bound to the inetd process of solaris. Make sure that your unix box is running nuder init status 6(which is normal wokring). Mostly there should be

Logging to my app.

2002-12-13 Thread Alexander Wallace
How can i send log messages toy my app's log file (already configured in server.xml) insetad of catalina.log? I noticed that some System.out.println() goes to one and others to the other... Thanks! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: Logging to my app.

2002-12-13 Thread Shapira, Yoav
Howdy, getServletContext().log(...); The ServletContext javadoc has more details. Yoav Shapira Millennium ChemInformatics -Original Message- From: Alexander Wallace [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 1:00 PM To: [EMAIL PROTECTED] Subject: Logging to my app.

Re: Logging to my app.

2002-12-13 Thread Patrick GIRY
In your server.xml you define a Logger in you web app context like this : Context path=/examples docBase=examples debug=0 reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_examples_log. suffix=.txt

RE: Mod_jk Try #2 - error can't find apache

2002-12-13 Thread Denise Mangano
First line of apxs is #! /usr/bin/perl that location is correct for perl. There is alos a perl5.6.1. Should I try this one instead? Thanks. Denise -Original Message- From: Jan-Michael Ong [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 12:58 PM To: Tomcat Users List;

Retrieve User - Realm

2002-12-13 Thread afterz
Hello, I searched many places and read many things, but I didn't find any example that retrieve the user from the session after it is authenticated with realm. Can someone help me? Thanks. Don't E-Mail, ZipMail! http://www.zipmail.com/ -- To

Re: Logging to my app.

2002-12-13 Thread Alexander Wallace
Thanks, i do have that working already, but you know how all (almost all) the System.out.println() goes into cataline.log, i was wondering if there was an easy line to send to the app log, not he catalina.log. On Friday 13 December 2002 12:05, Patrick GIRY wrote: In your server.xml you define

Re: Configuring mod_jk2

2002-12-13 Thread Patrick GIRY
You can found any information on the jk2.properties on the http://localhost:8080/tomcat-docs/jk2/jk2/configtc.html when you have installed your tomcat. --- [EMAIL PROTECTED] a écrit : Where is the jk2.properties file documented? On Thu, 12 Dec 2002, Bill Barker wrote: ApacheConfig is

Re: Logging to my app.

2002-12-13 Thread Alexander Wallace
Thanks, i'll check it out. On Friday 13 December 2002 12:05, Shapira, Yoav wrote: Howdy, getServletContext().log(...); The ServletContext javadoc has more details. Yoav Shapira Millennium ChemInformatics -Original Message- From: Alexander Wallace [mailto:[EMAIL PROTECTED]]

Re: Connecting Tomcat 4.1.12 with Apache 1.3

2002-12-13 Thread Jerry Ford
John: I took your advice from yesterday, replaced mod_webapp.so with mod_jk.so and now jsps and servlets don't work. They worked fine under mod_webapp, including my own HelloWorld app in addition to the Tomcat examples. Now they don't work, although I am able to get to the HTML pages using,

byte serving PDFs

2002-12-13 Thread Elizabeth Fisher
Does Tomcat support byte serving of PDFs? -Elizabeth -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: help: logging j_username

2002-12-13 Thread Noel J. Bergman
Look at the JSP Specification for jsp:useBean (which will require you to provide a proper JavaBean with setters/getters), or just use HttpSession.setAttribute in a servlet to keep an Integer in session with a count (a bit primitive, but ok for an outline). If you want me to do it for you, I'm

RE: Apache+mod_dav+connector dilemma

2002-12-13 Thread Noel J. Bergman
Jonas, There is a semantic conflict between DAV and dynamic content handlers if you use the same Location. DAV would want to fetch the file, the dynamic content handler would want to pass along the request for service. See http://www.webdav.org/mod_dav/install.html#complex, specifically the PHP

RE: byte serving PDFs

2002-12-13 Thread SMcGarrity
Elizabeth, Tomcat does support this if I understand you correctly. The following should hopefully achieve this for you (Put these into a JSP): ByteArrayOutputStream ba = new ByteArrayOutputStream(); Read your PDF into ba ... response.setContentType(application/pdf);

  1   2   >