test

2003-10-08 Thread Galbayar
test - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Context removal order

2003-10-08 Thread Chin Ling Jia
Hi all, I am wondering whether is it possible to specify the order in which each of my webapps get removed when tomcat i shutting down. The reason for this is to ensure a clean resources release. Thanks a lot. Regards, Chin -

Re: Tomcat hangs after a few days!

2003-10-08 Thread Volker
David Rees schrieb: On Tue, October 7, 2003 1at 1:59 am, Volker sent the following Following problem can be recognized even if the tomcat process is not in sbwait mode: 1) Sending a -QUIT signal to the tomcat process does not stop the process. A -QUIT will not shut down Tomcat, but

Re: Tomcat hangs after a few days!

2003-10-08 Thread David Rees
On Wed, October 8, 2003 1at 2:07 am, Volker sent the following David Rees schrieb: On Tue, October 7, 2003 1at 1:59 am, Volker sent the following Following problem can be recognized even if the tomcat process is not in sbwait mode: 1) Sending a -QUIT signal to the tomcat process does not

Re: include statement in servlets

2003-10-08 Thread Jon Wingfield
Have a look at the javadocs for javax.servlet.RequestDispatcher. http://java.sun.com/j2ee/sdk_1.3/techdocs/api/index.html Or you could look in tomcat's work directory for the java source code generated by jasper from a jsp file. HTH, Jon zeallousbigpond.net.au wrote: How do you include a

New to Tomcat

2003-10-08 Thread Khairuddin Md Saad
Hi, I'm very new here. I have 1 question. I have downloaded Tomcat 4.1.27 from http://mirror.leafbug.org/apache-dist/jakarta/tomcat-4/binaries/jakarta-tomcat-4.1.27.exe. I have downloaded and installed j2sdk1.4.2. I have tried to start Tomcat and successfully get the

RE: New to Tomcat

2003-10-08 Thread Arnaud HERITIER
you should read this : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html It explains how to create your own web app with Tomcat. Arnaud. -Message d'origine- De : Khairuddin Md Saad [mailto:[EMAIL PROTECTED] Envoye : mercredi 8 octobre 2003 12:17 A : [EMAIL PROTECTED]

Apache - Tomcat - DataSource

2003-10-08 Thread João Augusto Charnet
I've configured my Tomcat to use OracleConnectionPoolDataSource. It works perfectly. But when I try to access through Apache (SSL), it always gives me a BasicDataSource class, and then I get a Class Cast Exception. Any ideas why this happens? Thanks a lot, Sincerely, John. --

RE: Context removal order

2003-10-08 Thread Shapira, Yoav
Howdy, Nope, and they should be independent of each other. Yoav Shapira Millennium ChemInformatics -Original Message- From: Chin Ling Jia [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 3:06 AM To: [EMAIL PROTECTED] Subject: Context removal order Hi all, I am wondering

RE: Help :- Filters .

2003-10-08 Thread Shapira, Yoav
Howdy, Of the three options I'd suggest, valves would be least preferred by me as they're tomcat-specific: 1. Copy the filter classes and declaration into each webapp where you need it. 2. Copy the filter classes to $CATALINA_HOME/common/lib or commons/classes, put the filter declaration in

RE: How to pass context FileLogger to another class?

2003-10-08 Thread Shapira, Yoav
Howdy, You can't, by design of the servlet specification (separation of concerns). You can achieve this in a round-about way by using system.out from your class and adding swallowOutput=true to your context definition in server.xml. Or you can use a real logging framework. Yoav Shapira

RE: Is this still an issue with 4.1.24 ?

2003-10-08 Thread Shapira, Yoav
Howdy, I agree with Senor Eggers, and I wouldn't call this an issue in the bug sense of the word ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Mark Eggers [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 4:26 PM To: Tomcat Users List; [EMAIL PROTECTED]

RE: log4j log file path in Tomcat

2003-10-08 Thread Shapira, Yoav
Howdy, By appropriately configuring log4j instead of relying on the current working directory for the file location. Yoav Shapira Millennium ChemInformatics -Original Message- From: Agarwal, Naresh [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 11:33 AM To: [EMAIL PROTECTED]

RE: Objects in session lost when using mutiple servers

2003-10-08 Thread Shapira, Yoav
Howdy, You know, a debugger would let you walk through step by step and see what's happening to your session and its attributes. If you can't do that for whatever reason, you could add a logging statement before every attribute modification your code does to the session. Yoav Shapira Millennium

RE: Restart automatically Tomcat

2003-10-08 Thread Shapira, Yoav
Howdy, I would also add that the stable version of tomcat 5 is likely to include this. We have to modify common daemon first, but that's in the works. Yoav Shapira Millennium ChemInformatics -Original Message- From: Slimane Amar [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003

RE: Strange exceptions ...

2003-10-08 Thread Shapira, Yoav
Howdy, Most likely cause is user making a request to the server and then closing their browser before the request is complete. As you can see, these are INFO (not ERROR or even WARN) message. They can be removed by modifying the logging configuration. Yoav Shapira Millennium ChemInformatics

RE: Tomcat hangs after a few days!

2003-10-08 Thread Shapira, Yoav
Howdy, Threads like these are exasperating ;) It almost definitely is a JVM/threading problem. You've already gone into a far less common configuration than most on this list by using Blackdown and green mode. If you do this, you risk not being able to get much support. I, and I imagine many

RE: Tomcat logs

2003-10-08 Thread Shapira, Yoav
Howdy, I would say it depends on your configuration ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 3:14 PM To: Tomcat Users List Subject: Re: Tomcat logs false. catalina.out also catches

RE: Tomcat performance issues with W2k - SP4

2003-10-08 Thread Shapira, Yoav
Howdy, Ask Microsoft. Yoav Shapira Millennium ChemInformatics -Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 8:37 AM To: 'Tomcat Users List' Subject: RE: Tomcat performance issues with W2k - SP4 Tomcat isn't the only application. IIS

RE: Tomcat Server Not Running

2003-10-08 Thread Shapira, Yoav
Howdy, The window closing is normally. If you want it to stay, use catalina.bar run instead of catalina.bat start. Check your logs for errors. No one can help with the meager information you've provided... Yoav Shapira Millennium ChemInformatics -Original Message- From: rajesh

RE: Tomcat, Jonas and Valves.

2003-10-08 Thread Shapira, Yoav
Howdy, What seems to be happening with the Valve? (And should I just throw away my hopes of getting people to write portable applications? Is the appeal of container-specific features really that great? Ignore these questions, I'm just asking myself ;)) Yoav Shapira Millennium ChemInformatics

RE: Tomcat4x slowing down?

2003-10-08 Thread Shapira, Yoav
Howdy, Probably memory leaks somewhere, gradually hogging the heap up to the point it's nearly full, forcing full GCs every time you refresh. Under development, I like to restart tomcat frequently. Yoav Shapira Millennium ChemInformatics -Original Message- From: Paul [mailto:[EMAIL

RE: Unable to run Tomcat 5.0.12

2003-10-08 Thread Shapira, Yoav
Howdy, I'm running 5.0.11 and 5.0.12 (and now testing 5.0.13) on JDK 1.4.2 without a problem. The JWSDP v1.2 contains tomcat 5.0.2 or 5.0.3, and old version. Make sure you have no conflicts in the configuration between the JWSDP tomcat instance and your standalone tomcat instance: ports,

errorpage

2003-10-08 Thread Yair Ben-meir
hey If i've defined an error page on my web.xml, and than some page threw an exception, the tomcat is supposed to go to my errorpage. but - how can i get the exception inside that errorpage? i want to print the error-message from it to the screen. thanks yair

RE: Strange exceptions ...

2003-10-08 Thread Aleksandr Shneyderman
Actually I figured out what is happening and why the error is there. It was something along the lines that you described except user does not stop anything but for some reason images do not get served correctly. I am not sure why. I read somewhere on either this list or the struts list that for

RE: errorpage

2003-10-08 Thread Shapira, Yoav
Howdy, RTFM -- Servlet Specification. The container will set some the error information as attributes. Yoav Shapira Millennium ChemInformatics -Original Message- From: Yair Ben-meir [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 9:29 AM To: [EMAIL PROTECTED] Subject:

RE: Strange exceptions ...

2003-10-08 Thread Shapira, Yoav
Howdy, I guess), and I noticed that they get cut off or do not get to the client, when I get the info message. The broken pipe happens inconsistently, so I can not make much sence of it, but I suspect it has something to do with the sme problem It is no bigy for now since the refresh or

Re: errorpage

2003-10-08 Thread Jon Wingfield
Section SRV 9.9 of the Servlet Specification has all the info you need. Available here: http://www.jcp.org/aboutJava/communityprocess/final/jsr053/ HTH, Jon Yair Ben-meir wrote: hey If i've defined an error page on my web.xml, and than some page threw an exception, the tomcat is supposed to go

RE: JavaMail doesn't work

2003-10-08 Thread Phillip Qin
Use $CATALINA_HOME/common/lib/mail.jar and activation.jar -Original Message- From: John Corrigan [mailto:[EMAIL PROTECTED] Sent: October 7, 2003 7:29 PM To: Tomcat Users List Subject: RE: JavaMail doesn't work I ran into this problem and I think it was related to having installed

Problem with Unavailable Exception

2003-10-08 Thread Mailing List Servlet
Hello everybody, I have a problem with the 'unavailableException'. All Exceptions seem to work perfectly except when I throw a new UnavailableException. I found on the archives this topic (exactly my problem), but no solution were given. It was 1 year ago. Did anyone find a solution to this

Re: jk2 connector config to connect to multiple tomcat-jboss instances

2003-10-08 Thread jerome moliere
Boulatian, Misak wrote: Hi Jeromy, Hi misak, I am sorry. I thought my attachments made to the list. Here I am including them directly here. Please look at it and let me know if I have done anything wrong. When I point my browser to the link: http://[web-server-ip]/test1 it works. When I point

Re: Tomcat, Jonas and Valves.

2003-10-08 Thread Jean-Francois Arcand
Jonas probably starts Tomcat using the Embedded interface, and do not use the server.xml file. That's why it doesn't work. With Tomcta 5 it will be easy for you to add your valve using JMX. -- Jeanfrancois Shapira, Yoav wrote: Howdy, What seems to be happening with the Valve? (And should I

Using 2 IP Address in one tomcat

2003-10-08 Thread Srinivasu Gandu
Hi All, I am using tomcat 4.1.24 Standalone on linux red hat machine. J2EE architecture. I have two applications to launch in same machine tomcat (one instance). How do I do the following configuration in server.xml? Example: 1) I have people hitting using www.domain1.com (IP Address:000.00.00.0)

RE: jk2 connector config to connect to multiple tomcat-jboss instances

2003-10-08 Thread Boulatian, Misak
in fact what is your aim ? do you want to be able to switch from T1 to T2 or T3 for one request to the next one ? because this is what i suggested while deploying a load balancer Do you your 3 instances behave exctly from the same manner or do you want to deploy different web-apps on

Tomcat 5.0.12, Windows, and file pathnames

2003-10-08 Thread Derek Mahar
Is it the responsibility of Tomcat, the application running on Tomcat, or Java to translate or resolve Windows file paths? If it is Tomcat, does Tomcat 5.0.12 translate or resolve these pathnames correctly? VQWiki (http://www.croninsolutions.com/veryquickwiki/), a JSP Wiki engine, when run on

RE: Tomcat 5.0.12, Windows, and file pathnames

2003-10-08 Thread Shapira, Yoav
Howdy, At the filesystem level, file names are not URL-encoded, so a space is not the same as %20. The calling app should URL-decode file names in this instance before asking for the file. Yoav Shapira Millennium ChemInformatics -Original Message- From: Derek Mahar [mailto:[EMAIL

how to config Tomcat 4.1.27 multiple instances using JavaService

2003-10-08 Thread Eric Sandusky
I need some specific configuration info to setup Tomcat such that I have multiple services (using JavaService), and each service runs only 1 webapp. I have viewed many posts on this topic and tried many different things. I have 3 webapps under Tomcat, call them A, B, C. Currently, all 3 webapps I

Re: Tomcat 5.0.12, Windows, and file pathnames

2003-10-08 Thread Jacob Kjome
Not sure of the exact problem or why 5.0.9 works but 5.0.12 doesn't. However, I would recommend that you not install Tomcat to a path containing spaces. You are just asking for trouble. Also, why are resources in the classpath being modified? If you want to modify resources, you should

UserDatabase

2003-10-08 Thread Duncan Smith
Is there an easy way to administer the tomcat-users.xml file? I need to give a superuser access to add/delete users, but don't want to give access to the admin application. Any suggestions? Cheers, Duncan, Decker Telecom Ltd -

mod_jk Worker Not Found - help?

2003-10-08 Thread Don Heitzmann
Must be a configuration problem, but I don't see it. Have set up Tomcat and Apache with mod_jk, using John Turner's excellent documentation. Both servers work, but can't execute sample jsp's from Apache (get 500 Server error). Have turned on JkLogLevel to debug, and looking at mod_jk.log,

How can I configure multiple tomcat instances in workers2.properties file (separate web apps)

2003-10-08 Thread Boulatian, Misak
Hi all, I need to configure multiple tomcat instances in workers2.properties file running completely separate web apps. No matter what I do it doesn't work. Can I even do this? I specify multiple channel sockets but all requests go to the first one only. I appreciate the response. Here is my

tomcat versions

2003-10-08 Thread Agarwal, Naresh
Hi What are stable versions of Tomcat 4.1.x? Are these versions backword/forward compatible? thanks, Naresh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat 4.0.6 / jdk 1.3.1

2003-10-08 Thread Corina Stefan
Hi, I'm using Apache-Tomcat/4.0.6 with jdk 1.3.1 and I want to add Java API for XML Parser ( JAXP 1.2). My question is where should I add the * .jar files jaxp-api.jar xalan.jar dom.jar sax.jar xercesImpl.jar xsltc.jar and which are the changes needed to make

JNDI: LDAP Protocol Error (Microsoft LDAP)

2003-10-08 Thread David Diaz
Hi all, I am trying to authenticate my webapps via a JNDI Realm, which connects to Microsoft Site Server (LDAP). As I am getting [LDAP: error code 2 - Protocol Error] (See below), I would like to know if that Micro$oft product is a certified LDAP server. If it is not so, do you advise me any

mod_jk feature question

2003-10-08 Thread webmaster
Hi all, I don't know if mod_jk supports this. I usually integrate Tomcat and Apache by mapping *.jsp and /servlet/ to Tomcat and leaving everything else to Apache. But there is a situation where I need to let Tomcat server everything BUT images ( *.gif and *.jpg ). How can I do this with

RE: tomcat versions

2003-10-08 Thread Shapira, Yoav
Howdy, The latest stable version is 4.1.27. That's the one you should use unless you have some extraordinary reason not to. Other stable versions on the 4.1 branch include 4.1.24, 4.1.18, and 4.1.12. As for backword/forward compatible -- you'll have to be more specific in your definition of

Re: How do i handle session-timeout in an acceptable manner?

2003-10-08 Thread Hayo Schmidt
Shapira, Yoav schrieb: I have implemented this workaround: As for this workaround, why wouldn't it work with future tomcat versions? There's nothing tomcat-specific in it, much less tomcat 4.1.x-specific. Yoav Shapira A different servlet engine could use a POST instead of a GET to

Re: Tomcat 5.0.12, Windows, and file pathnames

2003-10-08 Thread Remy Maucherat
Derek Mahar wrote: Is it the responsibility of Tomcat, the application running on Tomcat, or Java to translate or resolve Windows file paths? If it is Tomcat, does Tomcat 5.0.12 translate or resolve these pathnames correctly? VQWiki (http://www.croninsolutions.com/veryquickwiki/), a JSP Wiki

MultipartRequest class with Tomcat 3.2.1

2003-10-08 Thread Fausto Zorzi
Hi, I have a problem using the com.oreilly.servlet.MultipartRequest class by Jason Hunter (documentation at http://www.servlets.com/cos/index.html) with Tomcat 3.2.1 and Apache 1.3.20. The configuration I'm using is the following: - RedHat 7.3 - JDK 1.4.1_01 - Apache 1.3.20 - Tomcat 3.2.1 -

Tomcat and Active Directory

2003-10-08 Thread Matt Fury
Hi All, I've been trying for several weeks to compile information on Tomcat and Active Directory through LDAP. I can't quite get all the information I need and I am hoping someone has a link to what needs to be done. I want to use the Realms in Tomcat but I can't seem to connect properly. For

RE: How do i handle session-timeout in an acceptable manner?

2003-10-08 Thread Mike Curwen
-Original Message- From: Hayo Schmidt [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 11:07 AM To: Tomcat Users List Subject: Re: How do i handle session-timeout in an acceptable manner? Shapira, Yoav schrieb: I have implemented this workaround: As

EL not working.

2003-10-08 Thread Wade Chandler
Has anyone been able to use the Expression Lanugage in Tomcat 5.x? I tried to use code from the example pages, but I just get the expression returned and not evaluated. Anyone with any ideas, thanks ahead of time. Wade - To

Re: Tomcat and Active Directory / 2003

2003-10-08 Thread Matt Fury
BTW: I am using 4.1.27 on Windows 2000 and we're trying to connect to a Windows 2003 AD. Has this changed at all? here is the error trace: Catalina.start: LifecycleException: Exception opening directory server connecti on: javax.naming.CommunicationException: localhost:389 [Root exception is

How can I configure multiple tomcat instances in workers2.properties file (separate web apps) (to developers of mod_jk2: please respond)

2003-10-08 Thread Boulatian, Misak
Hi all, It seems like mod_jk2 is a buggy connector. There is no way to set up more than one instance of tomcat. It can connect on any port other than 8009 but it is a first-come first-served basis (whichever port comes first). I need a response from mod_jk2 developers themselves. Should I go back

Re: JNDI: LDAP Protocol Error (Microsoft LDAP)

2003-10-08 Thread jerome moliere
David Diaz wrote: Hi all, hi david, I am trying to authenticate my webapps via a JNDI Realm, which connects to Microsoft Site Server (LDAP). :( As I am getting [LDAP: error code 2 - Protocol Error] (See below), I would like to know if that Micro$oft product is a certified LDAP server.

Re: How can I configure multiple tomcat instances in workers2.properties file (separate web apps) (to developers of mod_jk2: please respond)

2003-10-08 Thread jerome moliere
Boulatian, Misak wrote: Hi all, It seems like mod_jk2 is a buggy connector. There is no way to set up more than one instance of tomcat. It can connect on any port other than 8009 but it is a first-come first-served basis (whichever port comes first). I need a response from mod_jk2 developers

Re: Tomcat and Active Directory / 2003

2003-10-08 Thread Yann Cébron
Two guesses: * Did you try using the IP-address instead or use the FQDN for connectionURL, maybe there's something wrong w/ DNS? * Try w/o MD5 and see if it works then. roleSubtree=True typo - or shouldn't this be true I guess you already found the documentation here:

Re: Tomcat and Active Directory / 2003

2003-10-08 Thread Matt Fury
Hey Thanks for the reply. Tried all those to no avail. :-/ I did see the Tomcat realm how-to but I was wondering if there were issues because it is Micro$oft we're trying to connect to and its 2003. Who knows, their standard ldap may not be standard. -Matt --- Yann Cébron [EMAIL PROTECTED]

Re: EL not working.

2003-10-08 Thread Jean-Francois Arcand
What do you mean by not working? It's like saying Tomcat 5 is not working and you want help :-) Please add example/config/more info about what you are trying to do. Look at the jsp-eamples also. The EL the is working! -- Jeanfrancois Wade Chandler wrote: Has anyone been able to use the

RE: How can I configure multiple tomcat instances in workers2.properties file (separate web apps) (to developers of mod_jk2: please respond)

2003-10-08 Thread Boulatian, Misak
take it easy man :) small question : what about using different virtual hosts in your apache config, then from these contexts , using different config files for mod_jk which will be very simple (you have already validated one of your tomcat instances) my 2 cents Jerome Hi Jerome,

RE: JavaMail doesn't work

2003-10-08 Thread Lawence
Thanks for all the replies! Placing the mail.jar and activation.jar under $CATALINA_HOME/common/lib/ solves this problem. But I still don't understand the cause of the problem Also what is the searching order of tomcat when it looks for a java class? Phillip Qin [EMAIL PROTECTED] wrote:

Install Tomcat 5.0.12 from Source Code

2003-10-08 Thread Jason N Dang
Hi, I am currently trying to install Tomcat 5.0.12 from the source tgz files. I followed the directions in the BUILDING.txt but I ran into the following error: BUILD FAILED file:/opt/tomcat5/src/jakarta-tomcat-5/build.xml:482: java.io.FileNotFoundException:

RE: Tomcat and Active Directory / 2003

2003-10-08 Thread Pitre, Russell
This is my realm setup in my server.xml config Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionURL=ldap://[domain controller]:389 userBase=OU=Users,OU=Shawmut,DC=[domain],DC=com

RE: JavaMail doesn't work

2003-10-08 Thread Mike Curwen
read this page: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html Also, every page under the 'configuration' and 'administrators' on the left hand side, is of interest to developers as well. -Original Message- From: Lawence [mailto:[EMAIL PROTECTED] Sent:

RE: Tomcat 5.0.12, Windows, and file pathnames

2003-10-08 Thread Derek Mahar
Yes, the Linux Tomcat installation has no spaces in its installation path (/usr/local/jakarta-tomcat-5.0.9), but the Windows Tomcat installation path does (C:\Program Files\Apache Software Foundation\Tomcat 5.0). Why cannot Tomcat on Windows handle these spaces? Is URL pathname encoding a

RE: Tomcat 5.0.12, Windows, and file pathnames

2003-10-08 Thread Derek Mahar
By default, the Tomcat 5 for Windows installation installs to C:\Program Files\Apache Software Foundation\Tomcat 5.0, so by default, the installation path includes spaces. Derek -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: October 8, 2003 11:16 AM To: Tomcat

Re: Tomcat 5.0.12, Windows, and file pathnames

2003-10-08 Thread Remy Maucherat
Derek Mahar wrote: Yes, the Linux Tomcat installation has no spaces in its installation path (/usr/local/jakarta-tomcat-5.0.9), but the Windows Tomcat installation path does (C:\Program Files\Apache Software Foundation\Tomcat 5.0). Why cannot Tomcat on Windows handle these spaces? Is URL

What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread joe udder
Hello. I am thinking of how I can improve my development enviroment when doing my webapps. Until now, I've used a handcrafted build.xml to make my webapp, and then the usual _ Tired of spam? Get advanced junk mail protection with

RE: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread Pitre, Russell
That's a good question, and I'd like to add a question too. How do you setup a server so that if you had 3 developers...each one has their own instance of tomcat running at the same time?? Russ -Original Message- From: joe udder [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Installing Tomcat 5.0.12 from Source Error

2003-10-08 Thread Jason N Dang
Hi, Actually, i fixed the other problem but then i ran into this problem. Does anyone know why there's a problem with the jakarta-tomcat-connectors? See build error below. build-main: [echo] - Java-utils - [echo] -- puretls.present = ${puretls.present} [echo] --

What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread joe udder
Hello. I was thinking about methods to improve my so called development enviroment, and I am curious to learn how others do when they work. Until now I use a handcrafted build.xml which by using ant builds the jars, classes, creates WEB-INF and all that stuff. Later I use the normal

Problem with Custom Request Processor

2003-10-08 Thread Robert Nicholls
Hi: I am trying to set up a test custom request processor for security checks. In addition I am using tiles for the view component. Here is the struts-config.xml: struts-config form-beans / global-forwardsforward name=ERROR path=/Error.jsp//global-forwards action-mappings

Re: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread epyonne
IMHO, instead of one instance per developer, I think you should have one development server with one instance of Tomcat shared by the 3 developers. If each of them is working on individual project, each developer can has his/her own application directory in Tomcat. And if they are working as a

RE: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread Shapira, Yoav
Howdy, IMHO, instead of one instance per developer, I think you should have one development server with one instance of Tomcat shared by the 3 developers. Why oh why do you think that?? Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and

RE: EL not working.

2003-10-08 Thread Wade Chandler
OK. What I have found to be the issue is that you have to define a context. If you don't for some reason that given directory can run jsp's and tag libraries fine, but the EL does not work in them. The setup I had was for a different host. So I had only defined my base context. Then I had a

RE: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread Angus Mezick
Each developer needs their own tomcat on their desktop. There also needs to be a build/staging tomcat server where code to be released is built, packaged, and tested. --Angus -Original Message- From: epyonne [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 2:54 PM To:

Re: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread [EMAIL PROTECTED]
Hi Joe, Download DevCentre www.likhasoftware.com. It will simplify some stuff for you. Bern - Original Message - From: joe udder [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 10:57 AM Subject: What is a good dev-enviroment for servlet/tomcat? Hello. I

JNDI context read only ??.

2003-10-08 Thread Michael Remijan
Hi, I want to put an object into the JNDI context, but I get an exception that says the context is read only. Is there a way to make it writable? Context ctx = (Context) new InitialContext().lookup(java:comp/env); ctx = ctx.createSubcontext(glqso); ctx.bind(ResourceManager, _rm); thanks, Mike

Problems with mod_jk and Apache SetHandler

2003-10-08 Thread Nathan Christiansen
Summary: I have a problem with Tomcat not being called from Apache when Apache has a SetHandler configured for a particular virtual host. For standalone JSP pages Tomcat is called and the JSP runs fine, but trying to access servlets gives me a 404 error. For instance, I get the error_log

Overhead of having a WAR file in docPath

2003-10-08 Thread Morten
Hi, I'm curious what overhead there is in having a war file in the context docPath attribute, eg. Context path=/myapp docBase=/myapp.war .. /Context What's the overhead of this? Ideally, I'd be able to use Context path=/myapp docBase=myapp ... /Context But in this case, Tomcat (4.1.24)

RE: Overhead of having a WAR file in docPath

2003-10-08 Thread Shapira, Yoav
Howdy, You're doing too much I think ;) Do you have any custom things inside the Context element, e.g. a Logger/Valve? If not, you don't need a Context element in server.xml, so take it out and let tomcat discover the webapp. If you do have custom context configuration requirements, use either

RE: JNDI context read only ??.

2003-10-08 Thread Shapira, Yoav
Howdy, The environment context is read-only to apps. You can search the archives for more information as this question has been posted several times. Yoav Shapira Millennium ChemInformatics -Original Message- From: Michael Remijan [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08,

RE: Accessing Sessions in the container

2003-10-08 Thread Simha, Kailas
Hi all, I have a valve defined in my server.xml. I am getting this error upon tomcat startup. Can anyone throw some light as to what I am doing wrong? Thanks ! Oct 8, 2003 3:39:50 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080

RE: mod_jk feature question

2003-10-08 Thread mms
Renato, But there is a situation where I need to let Tomcat server everything BUT images ( *.gif and *.jpg ). How can I do this with mod_jk ? If it's not possible to do with mod_jk, is it possible to do in another way (like mod_rewrite maybe ? ) hava a look at mod_rewrite for Apache.

Re: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread epyonne
Just a precaution. We had run into problem before when different developers have different version of Tomcat with different configuration locally. - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 01:55

not getting a stacktrace on an exception

2003-10-08 Thread Adam Hardy
I'm getting a Status 500 error page in my app javax.servlet.ServletException: Servlet execution threw an exception org.blacksail.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:146) root cause java.lang.StackOverflowError It goes on to say that the full stack trace of the root

Where does system.out go?

2003-10-08 Thread Michael Remijan
Hello, In a JSP page i'm doing some testing. I have System.out.println() statements in there temporarily. Anyone know where they go? I checked the Context's logger that they are not there. Mike - To unsubscribe, e-mail:

RE: Overhead of having a WAR file in docPath

2003-10-08 Thread Morten
Hi, Thanks for the suggestions, but the problem is that I'm declaring 2 data sources for my context. Initally, I declared those in server.xml, but that failed and while browsing about in the archives for a solution, I saw that people recommended using a separate XML file in the webapps

RE: Where does system.out go?

2003-10-08 Thread Lee, Paul NYC
Try catalina.out also in the log directory. -Original Message- From: Michael Remijan [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 4:13 PM To: Tomcat Users List Subject: Where does system.out go? Hello, In a JSP page i'm doing some testing. I have System.out.println()

RE: Virtual Host Alias Problem

2003-10-08 Thread Srinivasu Gandu
Hi Lawence, Would you provide sample host tag or server.xml. I have similar issue here. I have 2 domains have different ip addresses with in the same tomcat to set up. will appreciate. Thanks - srini. -Original Message- From: Lawence [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07,

Re: Where does system.out go?

2003-10-08 Thread Adam Hardy
Dude, you just hijacked my thread! Bad netiquette. Anyway, your System.out.println statements will go to the console, i.e. the command line window where you are running tomcat. If you have no command line window, they will probably get caught in a system.out or system.err file although I'm not

Re: Where does system.out go?

2003-10-08 Thread Ben Ricker
I usually get system.out and/or system.err in the catalina.log file. Ben Ricker Wellinx.com On Wed, 2003-10-08 at 15:36, Adam Hardy wrote: Dude, you just hijacked my thread! Bad netiquette. Anyway, your System.out.println statements will go to the console, i.e. the command line window

Trying to get past java.net.ConnectException

2003-10-08 Thread jon yeargers
Problem: Im trying to use an Applet to interact with my Tomcat code via sockets to transfer files. I get the following exception: java.net.ConnectException: Connection refused: connect and it points to a line in my code where I call URLConnection::getOutputStream(); All well and good. I can

What LDAP servers does JNDI realm support? - (was: Re: JNDI: LDAP Protocol Error (Microsoft LDAP))

2003-10-08 Thread Davi Leal
jerome moliere wrote: I am trying to authenticate my webapps via a JNDI Realm, which connects to Microsoft Site Server (LDAP). :( As I am getting [LDAP: error code 2 - Protocol Error] (See below), I would like to know if that Micro$oft product is a certified LDAP server. as fai as i

Tomcat4.1, jk2, and apache 1.3

2003-10-08 Thread Mark Claassen
Hi. I am trying to get the mod_jk2 to load into apache 1.3 and I am slowly going insane. I have googled my way around the web and have seen lots of people ask the same type of question I am asking, but there are few good answers. (I feel a bit like that guy in the commercial that finished the

Re: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread Peter Harrison
On Thu, 09 Oct 2003 07:54, epyonne wrote: IMHO, instead of one instance per developer, I think you should have one development server with one instance of Tomcat shared by the 3 developers. If each of them is working on individual project, each developer can has his/her own application

Re: include statement in servlets

2003-10-08 Thread Tim Funk
No. A servlet is a standard java class so you cannot perform a compile time code include. -Tim zeallousbigpond.net.au wrote: How do you include a normal jsp or html page in a servlet?... in JSP...to include a page you do: %@ include file=dfaf.jsp % is there a similar way for servlets??

Re: UserDatabase

2003-10-08 Thread Tim Funk
AFAIK, the admin app or manually editing the file are your only choices. A third alternative is to write a simple webapp that also edits tomcat-users.xml. -Tim Duncan Smith wrote: Is there an easy way to administer the tomcat-users.xml file? I need to give a superuser access to add/delete

Re: EL not working.

2003-10-08 Thread Tim Funk
Heh? -Tim Wade Chandler wrote: OK. What I have found to be the issue is that you have to define a context. If you don't for some reason that given directory can run jsp's and tag libraries fine, but the EL does not work in them. The setup I had was for a different host. So I had only

Re: JNDI context read only ??.

2003-10-08 Thread Tim Funk
AFAIK, no. If you need to put stuff in the JNDI context, you can do that via this doc: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html -Tim Michael Remijan wrote: Hi, I want to put an object into the JNDI context, but I get an exception that says the context is read

  1   2   >