Re: Auto Login Using Form Based Authentication

2003-06-12 Thread Bill Barker
I was using mod_jk as a short-hand for the entire server-suite. There is a Domino connector, but I don't believe that there is a binary for it. You can get the source and compile it from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.4 /src/. Documentation is at

Re: Tomcat - Sleeps

2003-06-12 Thread harm
Hi Vijay, We had exactly the same problem with our Lotus Domino servers. I'm almost certain that this is the same problem. This occures when you click with the mouse inside the dos-window. (You see a cursor, white block). When this happens windows buffers the output. When you wait long enough

redirecting startup exception trace to a file

2003-06-12 Thread Vijay Pawar
Hi, I am using tomcat 4.1.18 on windows 2000 I have recently added a new webapp (struts-example-2002-06-11.war) to my webapps directory. Now when i restarted tomcat, there are lots and lots of exceptions being thrown but before i can read them they get overwritten in the dos window. I wish to

Re: redirecting startup exception trace to a file

2003-06-12 Thread Dominic Parry
Hi Vijay Try tomcat out.txt Cheers Dom - Original Message - From: Vijay Pawar To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:47 AM Subject: redirecting startup exception trace to a file Hi, I am using tomcat 4.1.18 on windows 2000

apache 1.3.x + tomcat 4.1.24 (authentication question)

2003-06-12 Thread Leo Stone
We've had an Apache 1.3.26 / Tomcat 4.0.3 configuration for load balancing and the authentication was using the apache htaccess method, it has been working fine. After I upgraded to Tomcat 4.1.24 ( I didn't make any changes to the apache), I am having problems with the authentication. Looks

Tomcat compile error

2003-06-12 Thread dwighthugget
Hi gang, I'm seeking leads into what this error is telling me: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1

nullpointer when precompile jsp with tag

2003-06-12 Thread Hong Fan
Hi I tried to precompile a jsp page which uses tags by using ant jspc task documented in tomcat 4.1.24, but it generated nullpointer exception. I believe there is similar post regarding the same problem. Does any one know the cause? Thanks http://www.mail-archive.com/[EMAIL

Directory Listing in Tomcat 4.1.24

2003-06-12 Thread Philipp Gasser
Hi all, I use the tomcat 4.1.24. Is there a way to change the directorylayout? _Instead of showing GMT based timestamps for files, I would like to display them in my own timestamp format? _I would like to change the directory and file order (the youngest on top of the list, etc)? thanks in

Re: redirecting startup exception trace to a file

2003-06-12 Thread Vijay Pawar
?Hi domnic Thanks for your suggestion. I tried the following command c:\tomcat\bin catalina run out.txt c:\tomat\bin catalina start out.txt but in both cases only 4 lines getting written to the out.txt Using CATALINA_BASE: C:\TOMCAT Using CATALINA_HOME: C:\TOMCAT Using CATALINA_TMPDIR:

[redirecting startup exception trace to a file]

2003-06-12 Thread Vijay Pawar
Hi domnic Thanks for your suggestion. I tried the following command c:\tomcat\bin catalina run out.txt c:\tomat\bin catalina start out.txt but in both cases only 4 lines getting written to the out.txt Using CATALINA_BASE: C:\TOMCAT Using CATALINA_HOME: C:\TOMCAT Using CATALINA_TMPDIR:

Re: mod_jk2 compatible with apache 1.3?

2003-06-12 Thread Emmanuel.Leguy
Michele Neylon :: Blacknight Solutions wrote: AFAIK, no. It is 'compatible' but only if you make your life really complicated as it relies on the APR libraries which are native to Apache 2 not Apache 1.3* For Apache 1.3* you should use mod_jk 1 series Thank you very much for this clear

startup error

2003-06-12 Thread Sandra Williams
Hi, I've just installed jakarta-tomcat-4.1.24 on Windows 2000 (I'm upgrading from jakarta-tomcat-3.2.1 which I have not deleted yet). I have jdk version 1.3.1 When I run startup.bat I get the following error in the log file: 2003-06-11 19:06:21 Error compiling file:

Re: startup error

2003-06-12 Thread Daniel Ost
Hi, you have to set a additional parameter in the {CATALINA-HOME}/conf/web.xml file. Add in the jsp - servlet section the following: init-param param-namefork/param-name param-valuefalse/param-value /init-param CU Daniel --- Sandra Williams [EMAIL

RE: Newbie: Apache Tomcat Configuration.

2003-06-12 Thread Sohail Muhammad
Hello, i have added the following lines in my conf/server.xml file: Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ when i start the tomcat server i get the ClassNotFoundException for

Re: startup error

2003-06-12 Thread Sandra Williams
Hi, Thanks. I added the code as you suggested and now I get this error: 2003-06-12 10:38:37 Error compiling file: D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\/index_jsp.java [javac] Compiling 1 source file D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\index_jsp.java:266:

Re: [redirecting startup exception trace to a file]

2003-06-12 Thread Dominic Parry
Hi Vijay The only other suggestion I can give is that you edit the catalina.bat file and redirect the programs it calls the same way i.e out.txt Cheers Dom - Original Message - From: Vijay Pawar To: [EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:12 AM Subject:

Mapping images in web.xml

2003-06-12 Thread Donie Kelly
Hi all Ive mapped my default servlet in server.xml as / so all requests are mapped to that servlet. Is there any standard solution to getting the jsp and images to work under this situation? At the moment they are all getting routed to the default servlet. If I make the mapping

Re: Valve as Custom Authenticator

2003-06-12 Thread Tim Funk
Sweet! (Says the guy who has to write a CustomValve for work in the near future) -Tim Bill Barker wrote: BasicAutheniticator is a Context-level Valve, so it can't possibly get invoked before an Engine-level Valve. You've got something really strange in your setup. The other thing to point out

Re: tomcat4 shutdown problem

2003-06-12 Thread Tim Funk
Looks like this bug report. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20663 Does anyone know what this is? -Tim unplug wrote: Hi all, I am using tomcat4.1.24 but there is an exception during shutdown. When I issue catalina.sh stop, below exception shown in the catalina.out.

Re: Directory Listing in Tomcat 4.1.24

2003-06-12 Thread Tim Funk
There is no way to change directory listing layout. -Tim Philipp Gasser wrote: Hi all, I use the tomcat 4.1.24. Is there a way to change the directorylayout? _Instead of showing GMT based timestamps for files, I would like to display them in my own timestamp format? _I would like to change

Re: [redirecting startup exception trace to a file]

2003-06-12 Thread Jon Wingfield
adding out.txt only redirects std out. You need to redirect std err, which in dos, i think, is 2 err.txt so: catalina.bat run out.txt 2 err.txt should do what you want. Also on windows 2000 you should be able to set the dos window buffer to, say, . Then the exceptions won't scroll off

RE: webapp outside of CATALINA_HOME/webapp

2003-06-12 Thread Jeff Cummings
Hi, Do you know which jar files contain these classes? These seem to be tomcat classes. Jeff -Original Message- From: Yoav Shapira [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 8:27 PM To: Tomcat Users List Subject: Re: webapp outside of CATALINA_HOME/webapp Howdy, when I

connecting Tomcat to apache

2003-06-12 Thread Werner van Mook
Hi All, Consider me stupid. I have a Powerbook with Mac OSX 10.2.6 It runs apache out of the box. Now I want to connect tomcat with it. Could somebody point out to me the right way of doing this? Regards Werner van Mook - To

RE: connecting Tomcat to apache

2003-06-12 Thread Dave Naden
Check the mailing list archives--go to http://jakarta.apache.org/tomcat/bugreport.html and see the list of archives there. There are literally hundreds of mails/comments about this exact question. -Original Message- From: Werner van Mook [mailto:[EMAIL PROTECTED] Sent: Thursday,

RE: Newbie: Apache Tomcat Configuration.

2003-06-12 Thread Kevin Passey
Muhammad You actually configure apache to call tomcat when ever it needs it - i.e tomcat runs in-process This configuration is done in your jk2 config file in the tomcat/conf directory and in your apache2/conf workers2.properties file. If you search on Google you will find lots of info on the

Re: request.getParameter( x ) returns null

2003-06-12 Thread Frankie Bollaert
Reynir Hübner wrote: Hi, I don't think I've ever seen this problem with IE5.5 (but I use it a lot), so my guess is that the problem has something to do with a broken javascript or the actual form submition. Do you use Get or Post ? Try cleaning out all the cache of the browser (etc.).. -reynir

jndi and datasources

2003-06-12 Thread meissa . Sakho
Hi all, I've defined in a the server.xml file a DefaultContext where i have declared JNDI variables and Datasources configurations for all my web applications. when I attempt to read those variables or to obtain DataSource connexion in my java classes, everything works fine. For performance

Tomcat 4.1 with clientAuth and CRL ?

2003-06-12 Thread Zerell.Mischa
Hi, in which way do i have to configure Tomcat, that the installation uses Client-Authentication and checks in a Certificate Revocation List (CRL) whether the Client Cert is ok or not? Is there allready something implemented like OCSP-Requests? I can´t find anything in the documentation. Thanks

Re: startup error

2003-06-12 Thread Daniel Ost
Hi, mmh, no idea, sorry. After adding the additional rows into web.xml, every of my jsps run smoothly. Did you eleminate the usual suspects like classpath, every needed jar is in place (especially inside the common/lib folder, etc. Maybe, a re-install of the tomcat-engine would help... Did you

RE: request.getParameter( x ) returns null - OFFTOPIC

2003-06-12 Thread Reynir Hübner
Well as you can see, most of the parameters being sent are null : Attendance=Attend+SAP+Event+1Name=test+new+formFirstname=Phone=Email=Company=Functio=sButton=Tell+Us+Now If you would do request.getParameter(Name) you should receive the value test+new+form, but the rest is empty. Don't know

Re: startup error

2003-06-12 Thread Sandra Williams
Thanks for your help. I've tried re-installing tomcat vs 4.1.24 three times and no luck. Instead, I've installed vs 3.3.1a which works just fine and I'll stick with that for a while until I've upgraded jdk. Sandra - Original Message - From: Daniel Ost [EMAIL PROTECTED] To: Tomcat Users

RE: startup error

2003-06-12 Thread Shapira, Yoav
Howdy, It looks like you're passing a Throwable to something that expects a subclass, Exception. Check you index.jsp page to make sure you pass exceptions, or throws exception, or whatever you do to get the handlePageException method doesn't give it a Throwable. Yoav Shapira Millennium

Re: request.getParameter( x ) returns null - OFFTOPIC

2003-06-12 Thread Frankie Bollaert
Reynir Hübner wrote: Well as you can see, most of the parameters being sent are null : Attendance=Attend+SAP+Event+1Name=test+new+formFirstname=Phone=Email=Company=Functio=sButton=Tell+Us+Now If you would do request.getParameter(Name) you should receive the value test+new+form, but the rest is

RE: webapp outside of CATALINA_HOME/webapp

2003-06-12 Thread Shapira, Yoav
Howdy, I doubt they're tomcat classes: all of those begin with org.apache.catalina. Look in the web.xml files in your server to see what declares these listener elements. Yoav Shapira Millennium ChemInformatics -Original Message- From: Jeff Cummings [mailto:[EMAIL PROTECTED] Sent:

Tomcat, Apache, and SSL

2003-06-12 Thread Eric Northam
What is the appropriate way to setup Apache to handle SSL and act as a proxy to Tomcat? The Apache - Tomcat connection does not have to be over SSL but I would like to use transport-guaranteeCONFIDENTIAL/transport-guarantee as a user data constraint in Tomcat so that certain requests are

RE: Mod_jk2 for apache 2.0.43

2003-06-12 Thread Angus Mezick
Is this the mod_jk2-2.0.43.dll that you are using in apache 2.0.46? -Original Message- From: Mark Eggers [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 5:54 PM To: Tomcat Users List Subject: Re: Mod_jk2 for apache 2.0.43 mod_jk2 is working for me (socket connection)

RE: startup error

2003-06-12 Thread Angus Mezick
Ignore the last advice, set it back to allow forking, and fix your code. At http://java.sun.com/j2ee/sdk_1.2.1/techdocs/api/javax/servlet/jsp/PageContext.html it is stated that handlePageException requires a parameter of type Exception, not of Throwable. Exception implements Throwable but not

RE: Directory Listing in Tomcat 4.1.24

2003-06-12 Thread Angus Mezick
Well, if he got REALLY ambitious he could go edit tomcat itself couldn't he? -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 7:23 AM To: Tomcat Users List Subject: Re: Directory Listing in Tomcat 4.1.24 There is no way to change

RE: JVM Profilers

2003-06-12 Thread Phillip Qin
Very old version of jvm crashes after 20k classes are loaded. -Original Message- From: Roman Fail [mailto:[EMAIL PROTECTED] Sent: June 11, 2003 5:10 PM To: Eric J. Pinnell; Tomcat Users List Subject: RE: JVM Profilers We are trying to debug a production system. The JVM crashes occur

RE: Newbie: Apache Tomcat Configuration.

2003-06-12 Thread Sohail Muhammad
u see that's the problem. this is what i have in tomcat\conf web_22.dtd tld_11.dtd web_23.dtd tld_12.dtd catalina.policy tomcat-users.xml web.xml server.xml and this is whats in tomcat\server\lib warp.jar catalina.jar jaxp.jar jakarta-regexp-1.2.jar crimson.jar i think i forgot to mention

Rebuild HTTP header in a servlet on TOMCAT 4.1.24. NEED HELP PLEASE !!!!

2003-06-12 Thread Michel Jubault
Hi ! I've a serveur and a client both developped in Java. They exchange XML messages with HTTP header. I've to transform this server in a servlet for Tomcat. Everything goes OK except one : the client accepts a particular HTTP header and I can't modify the client |-( In fact, the client freeze

Tomcat 4.1.24 clustering and server.xml changes

2003-06-12 Thread STEVESCHIERHOLZ
I am currently using the clustering capabilities provided for Tomcat 4 found at http://cvs.apache.org/~fhanik/index.html http://cvs.apache.org/~fhanik/index.html . One of the nice features this allows for is session replication via multicasting. By using the specified server.xml tags (Manager,

Re: jk_nt_service with ODBC-JDBC bridge

2003-06-12 Thread Giuseppe Ielpa
Brent Voltz wrote: You may have used a USER data source. When you start tomcat as a service it starts as whatever use is specified in the services control pannell. either A, change the startup user to the user with the data source or B, change the data source to a system datasource. Personally I

Tomcat 4.1 with clientAuth and CRL ?

2003-06-12 Thread Zerell.Mischa
Hi, in which way do i have to configure Tomcat, that the installation uses Client-Authentication and checks in a Certificate Revocation List (CRL) whether the Client Cert is ok or not? Is there allready something implemented like OCSP-Requests? I can´t find anything in the documentation. Thanks

Tomcat 4.1 with clientAuth and CRL ?

2003-06-12 Thread Zerell.Mischa
Hi, in which way do i have to configure Tomcat, that the installation uses Client-Authentication and checks in a Certificate Revocation List (CRL) whether the Client Cert is ok or not? Is there allready something implemented like OCSP-Requests? I can´t find anything in the documentation. Thanks

RE: win2000 issue with tomcat4.1.24

2003-06-12 Thread Srinivasu Gandu
Yoav Shapira, Could you put me in right direction what is going wrong on this.. 1) I have a j2sdk-1_4_1_01\bin in my path 2) I have a JAVA_HOME as j2sdk-1_4_1_01 in my autoexcec.bat file. 3) I have done this The JVM specified in the registry doesn't seem to work for compiling JSPs. You can edit

RE: Directory Listing in Tomcat 4.1.24

2003-06-12 Thread Phillip Qin
Edit render method in DefaultServlet class and rebuild Tomcat. -Original Message- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: June 12, 2003 9:10 AM To: Tomcat Users List Subject: RE: Directory Listing in Tomcat 4.1.24 Well, if he got REALLY ambitious he could go edit tomcat

NoSuchMethodError when using custom tag with attributes

2003-06-12 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi gurus, my TomCat ( 4.1.18) doesnt catch a change made in a Bean which is used inside the JSP custom tag. So, i get NoSuchMethodError! What should i do to update it in TomCat. Regards, Euclides. - To unsubscribe, e-mail:

Re: connecting Tomcat to apache

2003-06-12 Thread Martin Jacobson
Werner van Mook wrote: Hi All, Consider me stupid. I have a Powerbook with Mac OSX 10.2.6 It runs apache out of the box. Now I want to connect tomcat with it. Could somebody point out to me the right way of doing this? I can't consider you stupid - I run Apache + Tomcat on my Powerbook! However,

Login timeout

2003-06-12 Thread Reis, Tom
Is there a way to change the login timeout for Tomcat 4.03. I think it is set for 20 min. and I want to change it for a 40 min. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Special characters

2003-06-12 Thread David Del Sacramento
Hi, I installed Tomcat 4.1.24 in a Solaris server and I'm using a JSP form that received special characters like: á é Ó É ú. The action of the form send an e-mail (using javamail). When de tomcat process the e-mail changes the special characters with ?. I used the directive %@ page

How to setup JAASRealm in Tomcat 4.x.x

2003-06-12 Thread Loyd Bacani
I've been googling for days now looking for documentation on how to setup JAASRealm in Tomcat 4.x.x. I am new to JAAS and I am currently on a project which requires the use of Tomcat and JAAS. Unfortunately, I have NOT found any documentation or steps that will accomplish this. Would it be

RE: Special characters

2003-06-12 Thread Bodycombe, Andrew
You have to specify the file.encoding system property export CATALINA_OPTS=-Dfile.encoding=iso-8859-1 Then restart tomcat. HTH, Andy -Original Message- From: David Del Sacramento [mailto:[EMAIL PROTECTED] Sent: 12 June 2003 15:04 To: [EMAIL PROTECTED] Subject: Special

Help neede on QueryString

2003-06-12 Thread christian . schuster
Hi list, I have a simple htm form which has some input fields. This form is working fine on a Notes HHTTP Server. But if I use the same for with Tomcat Standalone the query string is always null in the servlet. Does any one know what is wrong? I am running Tomcat 4.1.18 on Win2K. Christian

ajp13 - Error receiving message body -1 53

2003-06-12 Thread Wataru Fukushima
OS: Windows 2000 Apache: 2.0.45 (I know it isn't the latest one) Tomcat: 4.0.24 mod_jk2: 2.0.2 (mod_jk2-2.0.43.dll) When I access any page (html, jsp) on Tomcat through mod_jk2, I can find the following errors in Apache error.log: [Thu Jun 12 22:32:45 2003] [error] channelSocket.receive():

RE: Special characters

2003-06-12 Thread David Del Sacramento
Thnaks Andy, I did export CATALINA_OPTS, but I got the next error. - java.io.UnsupportedEncodingException: iso-8859-1= at sun.io.Converters.getConverterClass(Converters.java:107) at

Re: Directory Listing in Tomcat 4.1.24

2003-06-12 Thread Tim Funk
Exactly! I was actually thinking about extending the default servlet, overriding the render() method to product an XML document. Then the document can go through a client or server side XSLT transformation. (transformation method and document based on a config option) -Tim Phillip Qin wrote:

Ajp13Connector vs. Coyote/JK2 connector

2003-06-12 Thread Yueshang (Wendy) Zhang
I searched the archive and found that mod_jk is better than mod_jk2 for apache 1.3.26. My question is, if mod_jk is used in this case, can we still use the Ajp13Connector in stead of Coyote/JK2 connector? (although the Ajp13Connector is deprecated in TC 4.1.x) I am using apache to do the

RE: Special characters

2003-06-12 Thread Roberts, Eric
Just try %@ page contentType=text/html; charset=UTF-8 % - it worked for me! -Original Message- From: David Del Sacramento [mailto:[EMAIL PROTECTED] Sent: 12 June 2003 16:27 To: Tomcat Users List Subject: RE: Special characters Thnaks Andy, I did export CATALINA_OPTS, but I got the next

Apache and Tomcat on different machines using mod_jk (ajp13)

2003-06-12 Thread Amit Kumar
Hi I am hoping to get some pointers and help. I am trying to setup connection between apache on machine A to tomcat on machine B. Here is the setup Machine A (Apache http) Machine B (tomcat ajp13 listening on port number 8011) Case I I have been able to install and use mod_jk.so to connect

Re: How to setup JAASRealm in Tomcat 4.x.x

2003-06-12 Thread Jacob Kjome
How about this: http://free.tagish.net/jaas/ or http://www.simind.com/ or http://www.cafesoft.com/ And, of course, Tomcat's documentation... http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html#Single%20Sign%20On%20Valve

RE: Help neede on QueryString

2003-06-12 Thread Shapira, Yoav
Howdy, Could it be the form parameters are being passed in the HTTP headers, i.e. your form is submitted via a POST rather than GET requests? Post the form element from your HTML, and your servlet that processes it. Yoav Shapira Millennium ChemInformatics -Original Message- From:

RE: JVM Profilers

2003-06-12 Thread Roman Fail
Yoav, thanks for your insightful comments. I like OptimizeIt, having used them all. But the features are fairly similar. A Profiler is a key tool I highly recommend using frequently. I think you are right, and we will start using one as a regular part of our development. However,

Re: Apache and Tomcat on different machines using mod_jk (ajp13)

2003-06-12 Thread Giorgio Ponza
worker.list = remote what is that? is not worker.list=ajp13 ? in the tomcat machine the machineB.com must be resolved (usually by hosts file) This same name machineB.com must be in your apache httpd.conf defining the ServerName Giorgio Ponza - Original Message - From: Amit Kumar [EMAIL

RE: AJP13 Connector reliability

2003-06-12 Thread Jeremy Nix
What about clustering as mentioned in this article: http://www.theserverside.com/resources/article.jsp?l=Tomcat Does anybody have any comments on its reliability in server-crash scenarios? _ Jeremy Nix Senior Application Developer Southwest Financial Ltd. [EMAIL PROTECTED] (513)

RE: Special characters

2003-06-12 Thread David Del Sacramento
I proved that, but it isn't work :-( Any other idea? Thanks David --- Roberts, Eric [EMAIL PROTECTED] wrote: Just try %@ page contentType=text/html; charset=UTF-8 % - it worked for me! -Original Message- From: David Del Sacramento [mailto:[EMAIL PROTECTED] Sent: 12 June 2003

RE: Help neede on QueryString

2003-06-12 Thread christian . schuster
This is the tsrange thing. I tried with POST and with GET. But both ways I do not have a query string. I also do not have any parameters or attributes. Also in the server log is not query string noted by either POST and GET. It is a really odd situation. Christian Schuster Rudolf Schuster

Re: Special characters

2003-06-12 Thread Dominic Parry
someone posted an FAQ on this a while ago, if I remember correctly. check the archives. - Original Message - From: David Del Sacramento To: Tomcat Users List Sent: Thursday, June 12, 2003 5:13 PM Subject: RE: Special characters I proved that, but it isn't work :-( Any

Re: Apache and Tomcat on different machines using mod_jk (ajp13)

2003-06-12 Thread Amit Kumar
Giorgio Ponza and All, I thought worker.list is only the name of the workers thus remote, how ever the worker.remote.type has been defined as ajp13. Also when you say ServerName machineB.com should be defined in httpd.conf, but in this case the webapp eada is not defined as a virtualhost, and

Re: Special characters

2003-06-12 Thread Tim Funk
(Hopefully porting the right answer ... ) Until the tomcat site gets updated: http://cvs.apache.org/~funkman/docs/faq/ which links to http://cvs.apache.org/~funkman/docs/faq/misc.html#utf8 which links to http://marc.theaimsgroup.com/?t=1055242r=1w=2 -Tim Dominic Parry wrote: someone

RE: Special characters

2003-06-12 Thread Bodycombe, Andrew
There should not be an '=' after the iso-8859-1. What does echo $CATALINA_OPTS show? Andy -Original Message- From: David Del Sacramento [mailto:[EMAIL PROTECTED] Sent: 12 June 2003 15:27 To: Tomcat Users List Subject: RE: Special characters Thnaks Andy, I did export CATALINA_OPTS,

webapps stopped à startup

2003-06-12 Thread BOULAY Arnaud
small tip please : How can I tell Tomcat that I don't want any web app (say /web4 among /webN) don't start while tomcat start ? thanks, Arno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: webapps stopped à startup

2003-06-12 Thread Raible, Matt
You can stop contexts in the manager app (/manager/html) with Tomcat 4.1.x. -Original Message- From: BOULAY Arnaud [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 9:44 AM To: [EMAIL PROTECTED] Subject: webapps stopped à startup small tip please : How can I tell Tomcat that I

JK2

2003-06-12 Thread Pfingstl Gernot
How can I configure 2 JK2 connectors on one server? e.g. server service1 jk2handler one ... /service1 service2 jk2handler two ... /service2 server If I have only jk2handler one, its properties are fetchted from $CATALINABASE/conf/jk2.properties. BUT what if I also have jk2handler

Using File class in Tomcat

2003-06-12 Thread BBui
Hi, I am using the java.io.File class to get a list of all the files in a directory. If the directory I am trying to read is a local one, all is fine and good. However, if it is a mapped drive (I am using Win2k) then the class can not see it. I ran the same code reading the mapped drive in

RE: [SPAM:56%] Using File class in Tomcat

2003-06-12 Thread Brendle, Douglas A.
don't use the mapped drive name. Use it's unc name. If your mapped drive is G:\ and it's mapped to someDir on someServer, refer to it as \\someServer\someDir. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:56 AM To: [EMAIL

RE: [SPAM:56%] Using File class in Tomcat

2003-06-12 Thread BBui
Made no difference. I even tried the \\ instead of the \ by itself. Any more idea please! Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc 651.765.1018 -Original Message- From: Brendle, Douglas A. [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:58 AM To: Tomcat

RE: JVM Profilers

2003-06-12 Thread Shapira, Yoav
Howdy, We are not using runtime-controllable logging at this time. It seems that log4j is the de facto standard, so I suppose that's what I'll try first. How does the JDK 1.4 logging facility compare to log4j? There have been extensive discussions on this issue on the log4j-user mailing list.

jsp:getProperty Bug in TomCat 4.1.18 (running log attached) - stop using tomcat

2003-06-12 Thread Jose Euclides da Silva Junior - DATAPREVRJ
In TomCat 4.1.18, its impossible to get any bean content as bellow! The TomCat's running process seems to be WRONG.Why? The code bellow is correct, and runs fine in OC4J! Unfortunately, I am thinking in stop using TomCat forever... Euclides. - font class=Style_1a

RE: webapps stopped à startup

2003-06-12 Thread Shapira, Yoav
Howdy, You can't. You can stop them after they start using the manager app. You can ensure their startup doesn't do much by not having anything in init() methods of servlets and filters, and not having anything in the contextInitialized method of a ServletContextListener. But if you have a

RE: win2000 issue with tomcat4.1.24

2003-06-12 Thread Tam, Michael
Sorry I didn't follow this topic from the beginning but maybe you should post where EXACTLY you have tomcat and j2sdk installed and the EXACT values you have set for JAVA_HOME and CATALINA_HOME so we can see if anything went wrong of those settings. In addition, if you install tomcat under

Re: Classpath problem with Tomcat running in Embedded mode

2003-06-12 Thread sandeep arshanapally
Thanks for your reply. Iam calling the BootStrap.main directly from a thread in my jvm. Iam using Tomcat 4.1.24. I have the catalina.home set to tomcat directory. It recognizes the classes in tomcat directory but none of the classes in the classpath I specify while starting the jvm. Sandeep

RES: Display Tag, Tiles and Paging

2003-06-12 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Dear Mark, can you find out why doesnt this following jsp tag (bellow) work in TomCat 4.1.18? A previous servlet create a bean object and adds it to an ArrayList, which is setted as a setAttribute. At the end, it is always a failure whenever my jsp try to show the bean properties,even it makes the

RE: webapp outside of CATALINA_HOME/webapp

2003-06-12 Thread Jeff Cummings
Thanks Yoav. I removed filters and listeners from the web.xml file for that webapp and tomcat starts without exceptions and it serves up my JSP. Thanks again. Jeff -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 8:51 AM To: Tomcat Users

JNDI DataSource

2003-06-12 Thread Tarek M. Nabil
Hi, I'm trying to setup a JDBC DataSource on Tomcat 4.1.24. I performed the steps in the documentation: 1- Added this part to the GlobalNamingResources section of the server.xml Resource name=jdbc/as400 scope=Shareable type=javax.sql.DataSource auth=Container/ Resource

Re: JNDI DataSource

2003-06-12 Thread Jacob Kjome
You need a ResourceLink in your Context ... for each webapp that you want to make the resource available to. Jake At 08:08 PM 6/12/2003 +0300, you wrote: Hi, I'm trying to setup a JDBC DataSource on Tomcat 4.1.24. I performed the steps in the documentation: 1- Added this part to the

RE: win2000 issue with tomcat4.1.24

2003-06-12 Thread Srinivasu Gandu
Yes I did install in Program Files\Apache Group\Tomcat4.1 But when I install in other directory I am getting HTTP Status 503 - Servlet jsp is currently unavailable. I hav't set the java home and catalina home for win98. 1) installed j2sdk-1_4_1_01-windows-i586.exe in win98 2) I just intall the

Getting Tomcat Port from servlet

2003-06-12 Thread Winifred Sanchez
Hi! From a servlet, the server port can be determined by using request.getServerPort(). But this would need the servlet to be accessed first. Is it possible to get the server port without the servlet being accessed first? Thanks.

RE: JNDI DataSource

2003-06-12 Thread Tarek M. Nabil
Hi Jacob, I checked, and it seems that Tomcat automatically creates a Resource in my application Context entry when I install the application. -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 8:17 PM To: Tomcat Users List Subject: Re: JNDI

Re: How to setup JAASRealm in Tomcat 4.x.x

2003-06-12 Thread Loyd Bacani
As I mentioned below, I found most of these information about JAAS using Google (googling). But couldn't find the document(s) or information which would help me setup JAASRealm in Tomcat 4.1.x. Basically, what setup procedures nneds to be followed to enable JAASRealm in Tomcat 4.1.x. I know

RE: [SPAM:56%] Using File class in Tomcat

2003-06-12 Thread BBui
I also just found out that if I have any other file that I have to read in from a network mapped drive, it's not found. This must be some setting in Tomcat. Any comment? Idea? Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc -Original Message- From: [EMAIL PROTECTED]

RE: JNDI DataSource

2003-06-12 Thread Tarek M. Nabil
Hi Philip, I checked, and the URL thing is driver specific. For the driver I'm using, the format is jdbc:as400:machineName and that's what I'm using. The strange thing is the error message Cannot load JDBC driver class 'null'. Why does Tomcat see the dirver as null, although I have specified

RE: Tomcat 4.1.24 clustering and server.xml changes

2003-06-12 Thread Filip Hanik
aah, that sucks, I'm gonna have to look into that. Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 6:32 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.1.24 clustering and server.xml changes I am currently using the clustering

RE: How to setup JAASRealm in Tomcat 4.x.x

2003-06-12 Thread Raible, Matt
Here's how to setup Tomcat with a JAASRealm to talk to an NT Domain - maybe this will help: http://tinyurl.com/e5tp Matt -Original Message- From: Loyd Bacani [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:50 AM To: Tomcat Users List Subject: Re: How to setup JAASRealm in

error with authenticated principal

2003-06-12 Thread Fedor Smirnoff
I have several applications in my Tomcat webapps directory for some reason following web.xml works for one app but generates erorr for the other: HTTP Status 500 - Configuration error: Cannot perform access control without an authenticated principal Here is the code: ?xml version=1.0

RE: win2000 issue with tomcat4.1.24

2003-06-12 Thread Tam, Michael
I would recommend you to uninstall the existing tomcat and re-install it again WITHOUT using the default path (i.e. try install it in C:\tomcat4.1.24 for example). For the variables(JAVA_HOME and CATALINA_HOME), you should set them as environment variables in your win2k not in your autoexec.bat

RE: JNDI DataSource

2003-06-12 Thread Tam, Michael
You didn't mention about your jdbc jar file in your post and maybe you should check where did you put the jar file. In addition, you may want to try a simple jsp to use driver manager to obtain a connection to see if your jdbc lib is loaded. Cheers, Michael -Original Message- From:

RE: Getting Tomcat Port from servlet

2003-06-12 Thread Shapira, Yoav
Howdy, No. The reason is webapps are supposed to work independently of what host/port they're deployed to. This has been discussed in detail on this list in the past: search the archives for more information. Yoav Shapira Millennium ChemInformatics -Original Message- From: Winifred

Anything different between tomcat4 and tomcat5?

2003-06-12 Thread Liying Huang
Have anyone tried tomcat5? I have put my project.war in tomcat4/webapps, I can see generated websites. But if I put it in tomcat5, I got status 404, resource not availuable. But I copied cocoon.war to webapps folder, I got to see cocoon websites. If there is something I did wrong in my

Load Balancing Question?

2003-06-12 Thread Michael Cardon
I would like to setup a 'session' type of load balancing using apache2 and two or three instances of tomcat41. This setup routes each request to a different tomcat instance. In mywebapp, once a person has logged in, I need each additional request in that users session to stay with the same

  1   2   >