Re: What LDAP servers does JNDI realm support? -

2003-10-08 Thread Equipment Lamp
Hi Can youguys give some input on the following. I am using the following Tomcat: 4.1.27-LE-jdk14 Apache: 2.0.47 Java : 1.4.2 Linux OS: 7.3 iPlanet LDAP Server I am trying to configure LDAP authentication mechanism to my application. 1) In this regard i have downloaded the latest JNDI API

RE: Tomcat, Jonas and Valves.

2003-10-08 Thread Steven Perry
I figured out the problem. I had installed the valve, in my org.apache.catalina.valves, in catalina.jar in tomcat. I expected that jonas would also run the tomcat scripts, when starting up tomcat. But, instead, jonas runs its version of server.xml and web.xml (in preference to the ones defined i

Re: Clustering Tomcat - Loadbalancing and Failover

2003-10-08 Thread jerome moliere
Hanasaki JiJi wrote: Hello, What is available, in Tomcat, or as an add-on, and preferably free/open-source to cluster tomcat for: load balancing fail over humm filip hanik could answer with more details (or remy maucherat) but as far as I know new Tomcat 5 code (backported to 4.1) use t

Re: MultipartRequest class with Tomcat 3.2.1

2003-10-08 Thread jerome moliere
Fausto Zorzi wrote: 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 - T

Re: What LDAP servers does JNDI realm support? -

2003-10-08 Thread jerome moliere
Davi Leal wrote: 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

tomcat status

2003-10-08 Thread Lucas Alvarez
Hi all, I'm looking for a command for query the Tomcat port. I want to determine if the Tomcat processes are frozen or locked up. It would be nice to find a method for probing port 8007 to test if the java servlet container and servlets are still operating correctly. I would appreciate any help

Clustering Tomcat - Loadbalancing and Failover

2003-10-08 Thread Hanasaki JiJi
What is available, in Tomcat, or as an add-on, and preferably free/open-source to cluster tomcat for: load balancing fail over how are session states replicated? Also, in general, and a bit off-topic (my apologies), are there any resources for the design, or open source implementation, of lo

Tomcat startup and running as a disconnected process

2003-10-08 Thread Hanasaki JiJi
How does tomcat implement the ability, on Win and Unix, disconnect from its parent process (ie: the process that ran the startup.bat/sh script) -- = = Management is doing things right; leadership is doing the = = right things

Re: Could Not Start The Tomcat Server After Commenting Out Realm in the server.xml For Using JDBCRealm

2003-10-08 Thread Caroline Jen
Thanks for your reply. I tried the following: 1) I put around the UserDababaseRealm shown below: 2) I removed the around the JDBCRealm for MySql (I did not insert any of my code, I simply use the existing code in the server.xml) and I do not see any & in that section of code. See below:

Re: Could Not Start The Tomcat Server After Commenting Out Realm in the server.xml For Using JDBCRealm

2003-10-08 Thread Tim Funk
1) For simplicity, did you coment out the UserDatabaseRealm when placing your JDBCRealm at the same level? 2) Make sure the & are encoded as & Otherwise - you xml document is not valid. -Tim Caroline Jen wrote: I encountered this problem: I followed the instructions on using the JDBCRealm (h

Re: enablePooling

2003-10-08 Thread Tim Funk
Implement a tag which logs a message when release() is called. -Tim Gabe wrote: I have attempted to set the enablePooling init parameter to be false. Is there any way for me to simply test that this has gone into effect? Thanks, Gabe

enablePooling

2003-10-08 Thread Gabe
I have attempted to set the enablePooling init parameter to be false. Is there any way for me to simply test that this has gone into effect? Thanks, Gabe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

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

2003-10-08 Thread srevilak
> 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 > catali

Could Not Start The Tomcat Server After Commenting Out Realm in the server.xml For Using JDBCRealm

2003-10-08 Thread Caroline Jen
I encountered this problem: I followed the instructions on using the JDBCRealm (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html). I prepared userTable and userRoleTable tables. However, I could not start the Tomcat server after I inserted [CODE] [/CODE] within the tag in the

Re: Tomcat4.1, jk2, and apache 1.3

2003-10-08 Thread Don Heitzmann
Mark, boy can I identify with your first sentenceI'm in the same boat, and I too am going insane. (Maybe we can meet when we both get there :-) ) The best resource I've found (which I didn't find until a serendipitous google probe after about 4 days of suffering) is at www.johnturner.com

Re: Urgent help, please!Best practices using Connection Pool

2003-10-08 Thread Adam Hardy
Hi Jose, the connection that you are served by your data source is a connection wrapper where the close method will not really close the connection, rather it will tell the connection pool that this connection is free and can be put back in the pool. HTH Adam PS I wouldn't flag your email as "u

RE: Urgent help, please!Best practices using Connection Pool

2003-10-08 Thread Nathan Christiansen
DBCP wraps the connection object. When you call conn.close(); on the connection object given to you by the DataSource.getConnection(); method, it just releases it back into the pool, it dosen't actually close the connection. -- Nathan Christiansen Tahitian Noni International http://www.tah

Urgent help, please!Best practices using Connection Pool

2003-10-08 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi, i am using DBCP 1.0. My question is simple: since DBCP doesnt create a singleton object ( just a data source object), what should i do whenever my sql queries are done? Should i close the connection after that? But, if i do this, will i loose my connection pool facility, so my next connection t

Re: include statement in servlets

2003-10-08 Thread Tim Funk
If a runtime include is needed, requestDispatcher provides a include() which is "almost" an equivalent of jsp:include. -Tim Nathan Christiansen wrote: While this is true there are also ways to accomplish similar results: - calling the service method of another servlet directly. (Not for the be

Re: Trying to get past java.net.ConnectException

2003-10-08 Thread Tim Funk
If your applet is bombing with java.net.ConnectException, then your applet is the problem, not tomcat. -Tim jon yeargers wrote: 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: Connecti

RE: include statement in servlets

2003-10-08 Thread Nathan Christiansen
While this is true there are also ways to accomplish similar results: - calling the service method of another servlet directly. (Not for the beginner nor the faint of heart.) - calling a method of another class that adds data to the response object. - forwarding the request to another servlet

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

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 defined

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 user

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?? A

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 dire

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" th

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

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 s

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 wh

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: 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, 200

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() st

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 directo

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: [EMA

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

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

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. T

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 ServerLifecycleListene

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 0

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

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. .. What's the overhead of this? Ideally, I'd be able to use ... But in this case, Tomcat (4.1.24) does not find and explode the WAR file - even though I have myapp.war and myapp.xml in the

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 file

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,

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? > Hell

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: 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 js

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: 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 tea

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:

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 catali

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] -- jsse.

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, Octobe

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 wi

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 pathnam

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 Users

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 Tomc

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: Wed

RE: Tomcat and Active Directory / 2003

2003-10-08 Thread Pitre, Russell
This is my realm setup in my server.xml config ldap://[domain controller]:389" userBase="OU=Users,OU=Shawmut,DC=[domain],DC=com" userSearch="(sAMAccountName={0})" userRoleName="member" roleBase="OU=Users,OU=Shawmut,DC=[dom

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: /opt/tomcat5/src/jakarta-commons/da

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:

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 Je

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 Expres

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: 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: http://jakarta.ap

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 them

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. as

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: 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 ja

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 u

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: > >>>

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 some

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 - Servlet

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 en

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 cont

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

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 mod_jk

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

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 th

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]

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 simp

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,

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 - T

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 have

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 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 PRO

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 To

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-ap

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: 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 jus

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

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 proble

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 multipl

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: 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 co

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 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 som

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: 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, server.

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 P

  1   2   >