Re: Singleton pattern using Servlet init() and load-on-startup- Solved

2002-03-31 Thread Steven Elliott
For the record the problem of multiple instances of a singleton being instantiated at application startup was related to a misconfiguration of Virtual Hosts in my server.xml file. The host appBase was incorrectly set for all my virtual hosts allowing them access to the web.xml file of other

appBase and virtual hosts

2002-03-31 Thread Micael Padraig Og mac Grene
If you have a virtual host that you want to run the application my_app at CATALINA_HOME/webapps/my_app, what is the value you use for appBase? How do you refer to only my_app and not to all applications in the webapps file holding other applications for other virtual hosts? Thanks for

Tyrex config in Tomcat 4.0

2002-03-31 Thread Harden ZHU
I did config poolman and weblogic database connection pool before. They all have minimum and maximum database connection count that can be opened. I didn't have any that information for Tyrex in tomcat. So what I am missing here? How pooling be handled? And BTW, Tyrex work with ms-sql server?

taglib and contextPath

2002-03-31 Thread Zsolt Koppany
Hi, from a taglib class I have to write links (A HREF=.../A) with context dependent paths. From a servlet I use request.getContextPath()... How can I do the same from a taglib class? -- Zsolt Koppany -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

RE: How to easily add a new web application?

2002-03-31 Thread Mostafa Al-Mallawani
After you've installed tomcat and got it running well, you need to add a directory under tomcat/webapps which will contain your project. In that directory, place all your jsp and html files, then create a directory in your project dir called WEB-INF and another one called classes inside WEB-INF

Servlets directly accessible from browser

2002-03-31 Thread Hanxue Lee
Hi there, I have already set up a simple context at catalina_home/webapps/test/ I have a few class files there (servlets). I find that I cannot directly execute them through the browser (e.g. localhost:8080/test/Counter to run a Counter.class servlet). Is it because of the way I write the

Re: How to easily add a new web application?

2002-03-31 Thread Hanxue Lee
Thank you very much =) Got that working already - Original Message - From: Mostafa Al-Mallawani [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Sunday, March 31, 2002 7:16 PM Subject: RE: How to easily add a new web application? After you've installed tomcat and got

ajp13 problem

2002-03-31 Thread Yuval Levav
Hi, I get the following message when trying to access a servlet : [jk_ajp13.c (553)]: Error ajp13_unmarshal_response - No such sc [jk_ajp13_worker.c (304)]: Error ajp13_process_callback - ajp13_unmarshal_response failed I'm working with Romcat 4.0.3 , Apache 1.3.2 and mod_jk.

Quistion about multiple host config

2002-03-31 Thread Alexander Höglind
Hi, I'm on my way to give up the apache tomcat servlet engine!!! I just can't figure out how to configure the server to response to multiple host! Can anyone see what I'm doing wrong? This is what I have understood. 1. Install IIS to use isapi_redirect.dll

Re: Servlets directly accessible from browser

2002-03-31 Thread Jacob Kjome
There are a couple concepts to understand here: 1. unless you provide a mapping to your servlet, the Servlet engine won't find it for you. Servlets are not directly loadable. Static files are (as are .jsp's). Servlet mappings are set up in the web.xml. In Tomcat, a default servlet mapping

SSL and Tomcat

2002-03-31 Thread Ann
Dear all, I have installed Tomcat 4.0 on Window 2000. I followed every steps in the SSL-How To in the tomcat homepage and want to install SSL for the standalone tomcat server. However, when I try to start the tomcat after I have uncomment the SSL connector fot HTTP, the startup window

Re: Quistion about multiple host config

2002-03-31 Thread todd tredeau
OK.. Although I gave up running it on NT.. .This should do it.. -- Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=true maxActiveSessions=-1 minIdleSwap=-1 maxIdleSwap=-1

Apache-Tomcat4

2002-03-31 Thread Jarecsni Jnos
Hi, I use Apache in front of Tomcat. Sometimes requests are not handled directly by mod_jk, but first they get proxy-forwarded to Apache itself (to achieve a behavior similar to aliasing). The problem is that these forwarded requests cannot be queried for the remote host because I get back the

manager/install using war=jar:http://

2002-03-31 Thread Jeremiah Thompson
I am running tomcat 4.0.3 on Linux. I am trying to use the manager app to install from a remote war - with little success. I can get it to work fine with war=file: and war=jar:file: type installations (local directory and .war installations) so I think that I am getting the syntax correct.

Debug generated code from JSP in NB331?

2002-03-31 Thread David M. Karr
I've been able to set up TC4.0.4b2 in NB3.3.1 (by using a JPDA connection). I've been able to debug Struts Actions and custom tags. I'd like to be able to step through code generated from JSP compilation. I've been able to view the generated code, and set breakpoints in it. It even stops at

SSL and Tomcat

2002-03-31 Thread Ann
Dear all, I have tried to run the tomcat with cataina run, and I have fixed the fileNotFound Exception. However, it can only start up with catalina run, but cannot be started with the normal startup. In addition, when the tomcat is running using the catalina run command, there is

Re: Jakarta-Tomcat-Connector 4.0.3 Source

2002-03-31 Thread Joel Rees
Hi Lars Nielsen Lind, You wrote: I need the URL for the Jakarta-Tomcat 4.0.3 Connector Source. Is this not it? http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/src/ { http://jakarta.apache.org/site/binindex.html -- select Tomcat 4.0.3 -- src ) Joel Rees Alps Giken Kansai

Re: mod_webapp

2002-03-31 Thread Joel Rees
Hi Sanjay Bahal, You asked: Can any one give the url for mod_jk or web_app I have not been able to find it on the site. http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/win32/i38 6/ IIRC, there isn't a separate version for Tomcat 4. {

tomcat+jni+apache1.3?

2002-03-31 Thread Adam Megacz
Is it possible to use the JNI connector with Apache 1.3? I've read that the JNI connector requires a threaded web server, and that Apache1.3 isn't threaded (but 2.0 is). If it's not possible, can anyone recommend a fairly stable version of Apache 2.0? - a -- The web is dead; long live the

Kinda not topical

2002-03-31 Thread Vladimir Vanyukov
I just have a general question that has nothing to do with tomcat (sorry to clog up your mailbox) What programs do all of you use to do your coding? I ask because I want something more feature filled then a text editor, but something less monolithic then an IDE -- To unsubscribe:

custom Resources class

2002-03-31 Thread Vladimir Vanyukov
Does anyone know where I can get some decent info on writing my own class to use in the Resources element in server.xml. What I want to be able to do is have tomcat obtain all of its static resources (i.e. .class files, JSP pages, HTML, .properties, etc) from a database using JDBC. ANY help you

RE: Kinda not topical

2002-03-31 Thread Mark Shaw
Vladimir I've been using IDEA from IntelliJ (www.intellij.com) for awhile and it's very nice. It's designed to truly enhance the server-side developer's daily experience with great re-factoring and search features. It's also fairy simple to use and navigate unlike all the bloated EJB based

Re: Kinda not topical

2002-03-31 Thread Shashank
XEmacs Vladimir Vanyukov wrote: I just have a general question that has nothing to do with tomcat (sorry to clog up your mailbox) What programs do all of you use to do your coding? I ask because I want something more feature filled then a text editor, but something less monolithic then an

RE: Kinda not topical

2002-03-31 Thread Donald Lee
JCreator LE http://www.jcreator.com/ I don't work for them either :) -Original Message- From: Mark Shaw [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 31, 2002 11:41 PM To: 'Tomcat Users List' Subject: RE: Kinda not topical Vladimir I've been using IDEA from IntelliJ

tomcat with ssl

2002-03-31 Thread aki
I am configuring Tomcat with ssl. my system is; jakarta-tomcat-4.0.1 jsse-1_0_2-gl j2sdk-1_3_1_03 I put jcert.jar jnet.jar jsse.jar in $JAVA_HOME/jre/lib/ext. My apache is OK with ssl, and also Tomcat without ssl. When I take away --- and -- from text below, !-- Connector

programmatic way to invoke authentication?

2002-03-31 Thread Aditya
Is there a programmatic way to force a user to authenticate without using a security-constraint in web.xml? It seems like I should be able to do something like: String myremotename = request.getRemoteUser(); if (myremotename == null){ LoginConfig myconfig = new LoginConfig();

mod_webapp/SSL and transport-guarantee

2002-03-31 Thread Aditya
I'm trying to use apache/mod_ssl as an SSL front-end to tomcat 4. I have a few issues: - Is there anyway to get apache to forward all requests to tomcat? Apache with mod_ssl is quite a bit faster than the standalone SSL container... - Can I use single-sign-on with FORMs? How is the hostname in

how to achieve session persistence/affinity with Tomcat4.0.3

2002-03-31 Thread Parag
two months ago I was working on WebSphere. In that there was a feature to manually perform the session persistence session affinity through its Gui features. Is there any feture in Tomcat4.0.3 to manually perform session affinity /persistence. I don't want to do this through any coding. Is

Re: In jk_endpoint_t::service, get_reply failed in send loop 1

2002-03-31 Thread Bill Barker
I'm the first to admit to grasping straws here. I've never had problems with TC on Solaris up to and including 8. The error you are getting in the logs is connection refused. The lame guesses I can make are: -- Mis-configuration between the host-port pare in server.xml and the

mod_webapp for older glibc binary (cobalt)

2002-03-31 Thread travis
I was wondering if anybody has a binary copy of mod_webapp that will work on cobalt. I don't really want to get into upgrading the glibc. Thanks. Travis Reeder Chief Software Architect www.ThinkVirtual.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

Character Encoding

2002-03-31 Thread Lars Nielsen Lind
Hi I have some problems with Apache Tomcat (1.3.24/4.0.2 + mod_webapp) and the character encoding. I have used: request.setCharacterEncoding(ISO-8859-1); and when I want to display the following line (in Danish): Sjælland og Øerne I get these results: Mozilla (Linux OS):Sjælland og