Re: Apache 1.3 + mod_ssl + mod_jk or mod_jk2 with EAPI under Windows

2002-10-31 Thread Robert L Sowders
I have a document that will probably help you. ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Jk2_TC4.1.x_JSDK1.4.x.zip Watch out for wrapped lines in the url. As you can see it is for Apache2, but if you understand already how to include LoadModule/AddModule lines in 1.3.2x then that really is t

Configuring Tomcat 4.0.3

2002-10-31 Thread Kaustuv Sharma
Hi, I have an existing system which consists of JSP files and jars running on Tomcat 3.2.1 on Linux 6.1 platform. I have to upgrade it to Tomcat 4.0.3 on Red Hat Linux 8.0. However, now I am having problems in loading the jar files. Before the jars were under a different location than the Tom

RE: JDBC / ThreadLocal pattern.

2002-10-31 Thread Ralph Einfeldt
Although i'm on your side in this discussion, I have doubts about one statements: (See below) > -Original Message- > From: Craig R. McClanahan [mailto:craigmcc@;apache.org] > Sent: Thursday, October 31, 2002 6:48 PM > To: Tomcat Users List > Subject: RE: JDBC / ThreadLocal pattern. > > Y

AW: Server.xml and keystore password

2002-10-31 Thread Power-Netz \(Schwarz\)
> security hole. Is there anyway around this? Any ideas or > recommendations will be greatly appreciated. set the ugw flags to readonly for the tomcat user :) -- To unsubscribe, e-mail: For additional commands, e-mail:

AW: index.jsp + index$jsp.java + index$jsp.class == wasted-space.

2002-10-31 Thread Power-Netz \(Schwarz\)
> -Ursprungliche Nachricht- > Von: Garrett Smith [mailto:javadevmac2@;yahoo.com] > Gesendet: Freitag, 1. November 2002 03:24 > An: Tomcat Users List > Betreff: index.jsp + index$jsp.java + index$jsp.class == wasted-space. > > > Can I eliminate this wasted space somehow? > you will fin

HttpServletRequest.isSecure() fails with Coyote AJP 1.3 Connector

2002-10-31 Thread Steinar Bang
Platform: Intel PIII, RedHat 7.2, apache 1.3.20, ajp1.3 tomcat 4.1.12, BlackDown Java SDK 1.3.1, Struts 1.1-b2 Is there a way to pass the scheme used by the client when talking to the apache server (ie. "http" or "https") through the Coyote AJP 1.3 connector? If I use the old

Re: AW: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 ( mod_jk2-2.0.43.dll)

2002-10-31 Thread Robert L Sowders
I'm sorry, I keep confusing the issue. Last week when the test release of TC4.1.14 came out I downloaded the new source for Tomcat and the connectors and built everything for windows. I then installed everything without modifying the configs and it worked. Later that day I realized that the

RE: JDBC / ThreadLocal pattern.

2002-10-31 Thread Ralph Einfeldt
We use a home grown diconnected resultset to store the data between request. (That was developed before there was something like the RowSet available) Have a look at the following link about a disconnected RowSet: http://developer.java.sun.com/developer/technicalArticles/javaserverpages/cachedro

Re: J2EE certificate?

2002-10-31 Thread Bill Barker
At a guess, no (for the simple reason that Tomcat isn't a J2EE container). However, Sun traditionally uses Tomcat's code for the servlet/jsp part of their reference implementation of J2EE. I'm, personally, not related to Sun in any way. <[EMAIL PROTECTED]> wrote in message news:OFCF4EE10B.1DFFF

Re: how to do configuration for client authentication in the tomcat server

2002-10-31 Thread Bill Barker
Because, like, you have to tell your browser about your client-cert? MSIE has many features, but mind-reading isn't one of them. "asokan elango" <[EMAIL PROTECTED]> wrote in message news:20021031124251.8450.qmail@;web12206.mail.yahoo.com... > Hi, > > i tried to configure tomcat server for SSL and

IIS and Tomcat

2002-10-31 Thread Lee Chin Khiong
Anybody using IIS isapi_redirect ? I just can't make it work enven I follow the instruction from apache.org site.

Re: Virtual hosts with Apache 2.0.43 & Tomcat 4.1.12 & mod_jk2 on Linux

2002-10-31 Thread Tomcat Newbie
OK, just figured it out. Duh! I just had to add [uri:www.mydomain.tld/*] entry in addition to an existing [uri:mydomain.tld/*]. Now it works. :-) Ed - Original Message - From: "Tomcat Newbie" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002

Re: How do I implement an add on module to tomcat 3.3.1?

2002-10-31 Thread Bill Barker
It is actually just as easy with 3.3.1. You create a class the extends org.apache.tomcat.core.BaseInterceptor, and override the contextInit and contextShutdown methods. Alternatively, you could get more fine-grained context state information by overriding the contextState method. In the second c

Re: The requested resource (/BookSource/DispatchServlet) is not available.

2002-10-31 Thread Alfonso Martinez
I am not really sure about your form sintax: > ... try ... I hope this helps. Jose Alfonso On Thu, Oct 31, 2002 at 09:16:19AM -0800, Nalini wrote: > Hi, > > I am writing my first JSP, servlets application using > Tomcat 4.1 server. I have a Win 98 machine. > I created a directory called

A simple doubt

2002-10-31 Thread Rafael Alcemar - Hotmail
I'm using JBOSS integrated with TOMCAT and I'm receiving the folowing error: HTTP Status 500 - No Context configured to process this request type Status report message No Context configured to process this request

Re: Form auth

2002-10-31 Thread Alfonso Martinez
One way to do this is to create a filter for the protected resources. When accessing them, the filter gets invoked. It checks on the session wheter the user has already logged in or not. If not, it redirects to the login page which in turn redirects to the protected resouce. What do you guys thi

Configuring a second webapps directory

2002-10-31 Thread John A. Crow
Hello - I am messing with ver. 4.1.12 under RH-7.3. I have put the installation directories in one location ($CATALINA_HOME) and the instance directories in another ($CATALINA_BASE) and all has worked fine so far. For what it's worth, I've found Joe Molnar's tutorial at http://www.codesta.com/kn

AW: AW: AW: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 ( mod_jk2-2.0.43.dll)

2002-10-31 Thread Rainer Bruch
hi mike, thanks for your reply. but i got the updated document before. here is the updated [VM] section in the document which confused me: [vm:] info=Parameters used to load a JVM in the server process #JVM=C:\jdk\jre\bin\hotspot\jvm.dll OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar;c:/Tomcat

RE: How do I implement an add on module to tomcat 3.3.1?

2002-10-31 Thread Nathan Smith
    I would like to know if it is possible to create a seperated module that gets loaded when tomcat starts.   I want to be able to use the inner workings of tomcat such as running a servlet but not from within an application context. I would like to be able to have this module running autono

Re: Tomcat SSL w/ Apache

2002-10-31 Thread Randy Secrist
I have seen this work before as well - using 4.0.4 under Linux using org.apache.ajp.tomcat4.Ajp13Connector. I didn't really think that it could be the Tomcat side that was causing the problem - (since my relative experience between the two favors Tomcat...) I am now using the org.apache.coyote.to

Re: Setting up an InitialContextFactory in a properties file...

2002-10-31 Thread Garrett Smith
Hey, In Tomcat, I've been told that it should be done in server.xml within your app's Context. The properties are in the context (not a properties file). Check "Administrators" how to's. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html See http://jakarta.apache.org/tomcat/tomcat-4.1-d

index.jsp + index$jsp.java + index$jsp.class == wasted-space.

2002-10-31 Thread Garrett Smith
Can I eliminate this wasted space somehow? How about compressing the orig. file? What about elimination of index$jsp.java after the class file is created? Any caching options? Thanks, Garrett = http://dhtmlkitchen.com/ JSP | Servlets | DHTML Garrett Needs A Job _

Need help with TomCat 4.0.6

2002-10-31 Thread Ajit Bhingarkar
Hi, I am trying to deploy a webapp using TomCat4.0.6. My webapp internally uses Entrust libraries for PKI related functionality. When I try to log into the webapp the initialization fails throwing following error. ERROR java.lang.Error: factory already defined java.lang.Error: factory already d

Re: Problems with HTML Manager?

2002-10-31 Thread Jacob Kjome
If you are usign a recent version of Tomcat like Tomcat-4.1.12, just go to the following URL: http://localhost:8080/manager/html Jake At 12:34 PM 10/31/2002 +, you wrote: Anyone got the HTML interface to the Manager app to work? I cannot work out what to put where! The Manager-HOWTO doe

[4.1.12] Why is JNDI Tree readonly?

2002-10-31 Thread Gavin, Rick
I have a bunch of configuration settings that I would like to store in Tomcat's JNDI context.. however, I'm not able to Add or modify the tree at runtime.. I get an error telling me that the tree is "readonly". Using a env-entry tag in the web.xml, i'm able to add the initial state of the propert

Re: AW: AW: need help connecting Tomcat 4.1.12, Apache 2.0.43 usingjk2 ( mod_jk2-2.0.43.dll)

2002-10-31 Thread M. Hockings
Hi Rainer, I think he has updated the document to reflect how it needs to be for the current stuff. In any case, this is what works for me on Win2K pro. [vm:] info=Parameters used to load a JVM in the server process JVM=C:\Progra~1\j2sdk1.4.0_01\jre\bin\client\jvm.dll OPT=-Dtomcat.home=${TOMCAT

AW: AW: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 ( mod_jk2-2.0.43.dll)

2002-10-31 Thread Rainer Bruch
hi mike, thanks for reply but i still do not understand which 'two lines' have to be removed. under [VM] section in r. sowders very good installation manual there is only one line with '-Djava.class.path='etc., namely OPT=-Djava.class.path=C:/Tomcat/bin/tomcat-jni.jar;C:/Tomcat/server/lib/comm ons

RE: Tomcat & Apache, not connected?

2002-10-31 Thread Milt Epstein
On Thu, 31 Oct 2002, Wendy Smoak wrote: > > TC and apache don't need to know about each other unless you want > > tomcat and apache to run on the same port. (This includes SSL on > > 443...) - TC would have to use a different port than the standard > > https 443 for secure transmission - if you r

RE: Apache2-Tomcat4 on Solaris 7 anyone?

2002-10-31 Thread Madere, Colin
Yeah, I've got autoconf and automake installed but can't get libtool to build correctly. I have a libtool binary that was built when I tried to build a previous version of jk, but I still get errors trying to use it and off on too many tangents to fix all the problems 3 layers deep that I

mod_jk Virtual Host port problem.

2002-10-31 Thread MBAaron
Hi all. I am currently running apache 1.3.27 with mod_jk 1.2 and tomcat 4.0.6. Apache and Tomcat are on different servers. Apache is running on a server behind a load balancer which directs traffic to the virtual host. So traffic coming to the server from the outside world over port 80 will hit

Apache 1.3 + mod_ssl + mod_jk or mod_jk2 with EAPI under Windows

2002-10-31 Thread mech
Hello, I'm trying hard to set up an Apache 1.3.27 with SSL that can use mod_jk to connect to a servlet container via AJP13. I managed to set up everything with mod_jk v.1.2.0 already, but because mod_ssl requires EAPI and all downloadable mod_jk DLLs for Windows have not been compiled for an ssl-

idling Tomcat

2002-10-31 Thread Yiet, Richard Liyong
Hi, I ran idling Tomcat 4.1.12 for an hour or two. It simply died off. Anyone has the same experience? Any explanations? Richard -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: mod_jk.conf-auto

2002-10-31 Thread Turner, John
Add Listener elements in server.xml that reference the ApacheConfig class. For a default Tomcat install, enabling /examples on localhost for auto-configuration: - look for a line that says "Server" and has a port of 8005. Add the following directly below: - in the Host container for localhos

Re: Tomcat just dies

2002-10-31 Thread shawn
Look closely at this line. jdbc:weblogic:mssqlserver4:Questions@localhost On Thursday 31 October 2002 02:32 pm, pkrishnaswami wrote: > I added some entries to the server.xml for database configuration; Here are > the additions I made: > > > type="javax.sql.DataSource"> >

RE: logging

2002-10-31 Thread Shapira, Yoav
Hi, A whole bunch. But I don't like any of them. Then again, I really don't like the idea of turning off the server logs altogether, but it's not my system, it's yours ;) If you really want to do away with System.out / System.err, you can, for example, redirect them to /dev/null by modifying the

RE: logging

2002-10-31 Thread Pearsall, Kyle
That worked...Thanks! Any ideas for stopping the logging to stderr.log and stdout.log? Thanks, Kyle P. -Original Message- From: Shapira, Yoav [mailto:Yoav.Shapira@;mpi.com] Sent: Thursday, October 31, 2002 1:41 PM To: Tomcat Users List Subject: RE: logging Hi, You can turn off the acce

Tomcat just dies

2002-10-31 Thread pkrishnaswami
I added some entries to the server.xml for database configuration; Here are the additions I made: driverClassName weblogic.jdbc.mssqlserver4.Driver

Re: How to allocate memory to JVM

2002-10-31 Thread JStanczak
This should have what you need. http://java.sun.com/j2se/1.4.1/docs/tooldocs/linux/java.html#nonstandard Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 |-+> | | [EMAIL PROTECTED]

RE: How to allocate memory to JVM

2002-10-31 Thread Shapira, Yoav
Hi, Edit $CATALINA_HOME/bin/catalina.sh to have JAVA_OPTS include -Xmx. For example, to allow a 512MB heap, add -Xmx512m to your JAVA_OPTS. Full details can be found in the VM options page at: http://java.sun.com/docs/hotspot/VMOptions.html By the way, searching the list archives for this questi

RE: logging

2002-10-31 Thread Shapira, Yoav
Hi, You can turn off the access logging by commenting out the AccessLogValve in server.xml. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Pearsall, Kyle [mailto:Kyle.Pearsall@;cda.canon.com] >Sent: Thursday, October 31, 2002 4:39 PM >To: Tomcat Users List >Subject:

RE: logging

2002-10-31 Thread Pearsall, Kyle
I removed all from the server.xml file, and the catalina log no longer shows up in the log directory. Thank you! Now, is there anyway to turn off the access logging and the standard error and output loggging? stderr.log, stdout.log, and localhost_access_log.2002-10-31.txt still appear in the

How to allocate memory to JVM

2002-10-31 Thread achana
Hi ! How does one allocate physical RAM to the JVM on a Linux RH box ? How does one change existing allocation. Keeping my fingers crossed. TIA -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: How do I increase performance on Tomcat?

2002-10-31 Thread JStanczak
Now that I think about it, this couldn't be the problem. Wouldn't the CPU be running at almost 100% if this was an issue? I very rarely see it jump into the red. I see more CPU activity when I open the web browser on this server. Does this sound right? Thank You, Justin A. Stanczak Web Manager

Re: Testing Datasources

2002-10-31 Thread shawn
Looks fine, I would put the DBname as part of the URL, but I think it will work the way you have it. jdbc:microsoft:sqlserver://vc34:1433/TibcoClearHouse On Thursday 31 October 2002 02:23 pm, John Mattos wrote: > Ah! Thank you! Good catch. Alright 2 more dumb questions (I'm not above > that

RE: Tomcat & Apache, not connected?

2002-10-31 Thread Wendy Smoak
> TC and apache don't need to know about each other unless you want tomcat and > apache to run on the same port. (This includes SSL on 443...) - TC would > have to use a different port than the standard https 443 for secure > transmission - if you require such a thing. Thanks for pointing this ou

Re: Testing Datasources

2002-10-31 Thread John Mattos
Ah! Thank you! Good catch. Alright 2 more dumb questions (I'm not above that) in web xml, the is... DB Connection jdbc/indemand javax.sql.DataSource Container Correct? Also, the db url I'm using is... jdbc:microsoft:sqlserver://vc34:1433;databaseName=TibcoClearHo

RE: Apache2-Tomcat4 on Solaris 7 anyone?

2002-10-31 Thread Brzezinski, Paul J
-- mailto:Paul.Brzezinski@;EDS.com Enterprise Distributed Capabilities EDS Corporation 248-265-8283 : -Original Message- : From: Madere, Colin [mailto:colin.madere@;ieminc.com] : Sent: Thursday, October 31, 2002 3:42 PM : To: 'Tomcat Users List' : Subject: Apache2-Tomcat4 on Solaris 7

mod_jk.conf-auto

2002-10-31 Thread Barinek, Michael
how do I configure tomcat 4.1.12 to generate mod_jk.conf-auto apache httpd.conf Include C:/jakarta-tomcat-4.1.12/conf/jk/mod_jk.conf-auto -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: How do I increase performance on Tomcat?

2002-10-31 Thread JStanczak
I am getting a cycle like pattern. I have 256M allocated for the VM. It shows the VM using about 115M to run Tomcat. I increased the memory using -Xmxn and also used -server. I had to increase the memory because Tomcat was running out and crashing. I didn't know to much memory would cause a proble

Re: Testing Datasources

2002-10-31 Thread shawn
driverClassName is : com.microsoft.jdbc.sqlserver.SQLServerDriver driverClassName com.microsoft.jdbc.sqlserver.SQLServerDriver Not : C:\Tomcat4.1\common\lib\msbase.jar;C:\Tomcat4.1\common\lib\mssqlserver.jar;C:\Tomcat4.1\common\lib\msutil.jar these need to be somewhere i

RE: Testing Datasources

2002-10-31 Thread John Mattos
Ah... interesting. No, I can't see them loading, but they're set up at the app and global level. Why wouldn't they be loading? Here's a snippet from server.xml validationQuery select top 100 * from Subscriber url jdbc:microsoft:sqlser

RE: Testing Datasources

2002-10-31 Thread pqin
Where do you setup your datasource? If Global or default context, you should be able to see JNDI reference loading when you start your tomcat. Regards, Phillip Qin Software Developer Canadian Shareowner 121 Richmond Street W, 7th Floor Toronto, ON M5H 2K1 (416) 595-9600 ext 291 -Origi

Re: need help to configure tomcat

2002-10-31 Thread Mark Nenadov
Parvinder, By default, Tomcat runs on port 8080. Give http://localhost:8080/ a try and see if that works. If that doesn't work, you may have some other problems. -- Mark Nenadov, Freelance Software Developer web: http://www.freelance-developer.com e-mail: [EMAIL PROTECTED] On October 31, 2002

Apache2-Tomcat4 on Solaris 7 anyone?

2002-10-31 Thread Madere, Colin
I'm running into tool and building problem and problem. I've got: Solaris 7 on x86 Apache2.0.43 (compiled and working) Tomcat 4.1.12-LE (working) gcc 3.2 J2SDK 1.4.1_01 all suggested Solaris 7 for x86 patches Does anyone out there have these (or similar) versions integrated and working on Solaris

Testing Datasources

2002-10-31 Thread John Mattos
Is there as easy way to test datasources I set up in server.xml (or in the Administrator app)? John L. Mattos 302 East 88th Street Apt #5B New York, New York 10128-4939 (M) (917) 202-8450 (www) http://www.mattos.ws - Do you Yahoo!? HotJobs - Search new jobs da

Newbie question: CGI at Tomcat

2002-10-31 Thread Ronaldo Juliatto
Hello I am trying to configure Tomcat as a web server initially, and configured the CGI and SSI servlets and mappings exactly as the default. So, I tried to make my dummy tcl scripts (that worked with Apache formerly) work with Tomcat also. The call for makes Tomcat say that it can't fi

Re: AW: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2( mod_jk2-2.0.43.dll)

2002-10-31 Thread M. Hockings
Hi Rainer, I think that by "replace both" he means remove the two existing lines and insert the line like what you have below. In my case I used the TOMCAT_ROOT var as follows: OPT=-Djava.class.path=${TOMCAT_HOME}\bin\tomcat-jni.jar;${TOMCAT_HOME}\server\lib\commons-logging.jar It seems to wo

Re: Setting up an environment variable in Tomcat 4.1

2002-10-31 Thread Craig R. McClanahan
On Thu, 31 Oct 2002, John Mattos wrote: > Date: Thu, 31 Oct 2002 12:00:56 -0800 (PST) > From: John Mattos <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Setting up an environment variable

Re: Setting up an InitialContextFactory in a properties file...

2002-10-31 Thread Craig R. McClanahan
On Thu, 31 Oct 2002, John Mattos wrote: > Date: Thu, 31 Oct 2002 11:36:58 -0800 (PST) > From: John Mattos <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Setting up an InitialContextFactory in a properties file...

Re: Setting up an environment variable in Tomcat 4.1

2002-10-31 Thread John Mattos
So how would I set up "indemand.env" as a system property? Also, yes, that's how I'm gettng it in code. "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: On Thu, 31 Oct 2002, John Mattos wrote: > Date: Thu, 31 Oct 2002 11:36:33 -0800 (PST) > From: John Mattos > Reply-To: Tomcat Users List , >

Re: Setting up an environment variable in Tomcat 4.1

2002-10-31 Thread Craig R. McClanahan
On Thu, 31 Oct 2002, John Mattos wrote: > Date: Thu, 31 Oct 2002 11:36:33 -0800 (PST) > From: John Mattos <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Setting up an environment variable in Tomcat 4.1 > > > Stra

RE: JDBC / ThreadLocal pattern.

2002-10-31 Thread Craig R. McClanahan
On Thu, 31 Oct 2002, Brett Neumeier wrote: > Date: Thu, 31 Oct 2002 13:04:59 -0600 > From: Brett Neumeier <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: JDBC / ThreadLocal pattern. > > > > The notion of binding

Setting up an InitialContextFactory in a properties file...

2002-10-31 Thread John Mattos
Hi, I'm porting my application from Websphere to Tomcat, and I have a websphere properties file that contains the following line Dbase.websphere.initial.context.factory : com.ibm.websphere.naming.WsnInitialContextFactory What is the equivalent class to use in Tomcat? John L. Mattos 302 East

Setting up an environment variable in Tomcat 4.1

2002-10-31 Thread John Mattos
Strange. I've set up the envieonment variable needed for my app as follows I feel like that means it's set up. When I run the app, I get the message... indemand.env system property has not been defined What's wrong with this picture? Am I missing something? John John L. Mattos 302 East

RE: JDBC / ThreadLocal pattern.

2002-10-31 Thread Craig R. McClanahan
On Thu, 31 Oct 2002, Brett Neumeier wrote: > Date: Thu, 31 Oct 2002 12:45:48 -0600 > From: Brett Neumeier <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: JDBC / ThreadLocal pattern. > > On this subject, PaulE wro

AW: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 ( mod_jk2-2.0.43.dll)

2002-10-31 Thread Rainer Bruch
hi rls, before installing i read this e-mail and your corresponding installation instruction. your e-mail says: To fix it just replace both class path lines in the [VM] section of workers2.properties with the following. OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar;c:/Tomcat/server/lib/comm

RE: JDBC / ThreadLocal pattern.

2002-10-31 Thread Brett Neumeier
> > The notion of binding a Connection to a particular Thread using a > > ThreadLocal is a pretty good idea. > I do not agree. Well, OK. > > The big advantage to my mind is that you > > can use the Connection from any level of the call tree > without passing it > > around as a parameter. What

Re: problem with first servlet

2002-10-31 Thread Joshua Talbott
where is the invoker servlet? Josh On Thursday, October 31, 2002, at 02:03 PM, Shapira, Yoav wrote: Hi, What version of tomcat are you using? If you're using 4.1.12, make sure the invoker servlet mapping the tomcat_home/conf/web.xml file is uncommented. The invoker servlet in that release is

RE: JDBC / ThreadLocal pattern.

2002-10-31 Thread Brett Neumeier
Reynir Hübner asked: > > Seems to me that this is the simple question of 'global > > variables' or 'passing parameters' style of coding. The > > 'global variables' approach seems some what less object > > orientated in my opinion (Coming from a 4GL background where > > I was haunted by global v

RE: problem with first servlet

2002-10-31 Thread Shapira, Yoav
Hi, What version of tomcat are you using? If you're using 4.1.12, make sure the invoker servlet mapping the tomcat_home/conf/web.xml file is uncommented. The invoker servlet in that release is disabled by default due to a security-related bug. See the release notes for details. Yoav Shapira Mil

webapp not loading?

2002-10-31 Thread Peter Choe
i am running tomcat 4.1.10 with jdk1.3 on freebsd 4.6. i tried to move a webapp from one server to another. i call it directory. but when i try to access the webapp, i get: HTTP Status 404 - /directory type Status report message /directory description The requested resource (/directory) is no

problem with first servlet

2002-10-31 Thread Joshua Talbott
Hey, I'm trying to use Tomcat 4.1 to run a simple HelloWorld servlet. Where do I put it and what do I type in the address bar to get it to run? I'm able to run simple jsps and beans, but this one is giving me problems. Right now I have my file in: c:\program files\apache group\tomcat 4.1\weba

RE: JDBC / ThreadLocal pattern.

2002-10-31 Thread Brett Neumeier
On this subject, PaulE wrote: > Seems to me that this is the simple question of 'global variables' or > 'passing parameters' style of coding. The 'global variables' > approach seems some what less object orientated in my opinion (Coming > from a 4GL background where I was haunted by global variab

Re: Form auth

2002-10-31 Thread Jan Agermose
> > You won't be able to have the login form itself on the unsecured page, but > you can easily provide a "Log In" button (say, on your home page) like > this: > > * Make the log in button link to a resource in a protected directory > > * Make that resource just do a redirect back to the home page

RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13)

2002-10-31 Thread Milt Epstein
On Thu, 31 Oct 2002, Aryeh Katz wrote: > > Ok > > > > I just configures it to use ajp12 instead of ajp13. And now it works. > > Now I am really confused. > > First of all, in order for anyone to help you further, you should > really specify EXACTLY what you did (preferably with a screen scrape > s

RE: need help to configure tomcat

2002-10-31 Thread pqin
Default port is 8080. Regards, Phillip Qin Software Developer Canadian Shareowner 121 Richmond Street W, 7th Floor Toronto, ON M5H 2K1 (416) 595-9600 ext 291 -Original Message- From: Parvick [mailto:parvick@;rediffmail.com] Sent: October 31, 2002 12:52 AM To: [EMAIL PROTECTED] Su

need help to configure tomcat

2002-10-31 Thread Parvick
Hello, Good afternoon! I'm Parvinder Singh here, I would like to use tomcat server for running JSP pages and other java technologies that are supportted by it. I have used Javawebserver2.0 for running JSP pages. But SUN Microsystems itself recommend using TOMCAT. I have downloaded a bundle o

Server.xml and keystore password

2002-10-31 Thread McClure, Timothy J(IndSys, GE Interlogix)
I am using JSSE with Tomcat. The default keystore password is changeit. In order to change the default password an entry needs to be made in the Tomcat server.xml. The keystore password is stored in this file in clear text. This seems to be a bit of a security hole. Is there anyway around t

how to do configuration for client authentication in the tomcat server

2002-10-31 Thread asokan elango
Hi, > i tried to configure tomcat server for SSL and when > the client authentication is given as false in the > Connector element for SSL connection of the > conf/server.xml file, it is working fine. > > when the client authentication is given true and the > server is restarted and tried to open

RE: JDBC / ThreadLocal pattern.

2002-10-31 Thread Reynir Hübner
Hi, > -Original Message- > From: Extance, Paul [mailto:paul.extance@;spirent.com] > Sent: 31. október 2002 17:57 > To: 'Tomcat Users List' > Subject: RE: JDBC / ThreadLocal pattern. > > So the theory is good, but if you going to have a connection > pool anyhow, this is just a lazy way

Re: Form auth

2002-10-31 Thread Craig R. McClanahan
On Thu, 31 Oct 2002, Jan Agermose wrote: > Date: Thu, 31 Oct 2002 17:15:08 +0100 > From: Jan Agermose <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users tomcat <[EMAIL PROTECTED]> > Subject: Form auth > > I would like to use formbased auth for my applicatio

Re: The requested resource (/BookSource/DispatchServlet) is not available.

2002-10-31 Thread Steven Gollery
Nalini, Instead of putting BookSource under webapps/ROOT, I think you want to put it under webapps. At any rate, that's the way we're doing it: each servlet goes into its own directory under webapps. Steven Gollery [EMAIL PROTECTED] Nalini wrote: Hi, I am writing my first JSP, servlets appli

Server.xml and keystore password

2002-10-31 Thread McClure, Timothy J(IndSys, GE Interlogix)
I am using JSSE with Tomcat. The default keystore password is changeit. In order to change the default password an entry needs to be made in the Tomcat server.xml. The keystore password is stored in this file in clear text. This seems to be a bit of a security hole. Is there anyway around t

Re: packages

2002-10-31 Thread Craig R. McClanahan
On Thu, 31 Oct 2002, Andy Wickson wrote: > Date: Thu, 31 Oct 2002 12:57:16 - > From: Andy Wickson <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: packages > > Hi all, > > If I put a servlet called Hello.class into a

RE: JDBC / ThreadLocal pattern.

2002-10-31 Thread Extance, Paul
I use the same pattern to bind a security context to a thread, which is set/unset in a common controller for all Servlet request. So the theory of binding the stuff to a thread works well, even in an EJB context, as they are single threaded too. So the theory is good, but if you going to have a co

RE: servlet and proxy

2002-10-31 Thread Bodycombe, Andrew
You can use HTTP Tunnelling for tunnelling all HTTPS requests through a proxy. There is a good example at http://java.sun.com/j2se/1.4.1/docs/guide/security/jsse/samples/index.html Look at the socket client with tunnelling. Unfortunately, this involves getting down to the socket level, so you ne

Re: keeping user logged in using j_security_check

2002-10-31 Thread Craig R. McClanahan
On Thu, 31 Oct 2002, Guru Mandavia wrote: > Date: Thu, 31 Oct 2002 09:21:18 -0500 > From: Guru Mandavia <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: keeping user logged in using j_security_check > > Thanks Ralph.

RE: JDBC / ThreadLocal pattern.

2002-10-31 Thread Craig R. McClanahan
On Thu, 31 Oct 2002, Brett Neumeier wrote: > Date: Thu, 31 Oct 2002 11:18:54 -0600 > From: Brett Neumeier <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: JDBC / ThreadLocal pattern. > > > > If the connection is a

CGI's dont run - WebAppRootDir contains "."

2002-10-31 Thread robert rowntree
Why is the CGIServlet::findCGI method inserting the "/./" in the middle of the command? command=C:\jakarta-tomcat-4.1.12-LE-jdk14\.\webapps\demo\WEB-INF\cgi\code2html.pl This is incompatible with the code at the top of the CGIServlet::run method that enforces the rule paraphrased below: RULE:

Using Realmquestions

2002-10-31 Thread Chiming Huang
Hi, We have multiple web applications running on Tomcat 4.0.3. We would like to have users login once and they can navigate to any applications which are allowed. I am looking into the Realm of Tomcat. In addition to putting the entry in the container (my conf/server.xml contains the Memory

RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )

2002-10-31 Thread Aryeh Katz
> Ok > > I just configures it to use ajp12 instead of ajp13. And now it works. > Now I am really confused. First of all, in order for anyone to help you further, you should really specify EXACTLY what you did (preferably with a screen scrape so any typos can be caught), instead of saying "it". S

Re: Using JNDI URLs for embedded XML DTDs, to avoid hard-coding

2002-10-31 Thread Craig R. McClanahan
On Thu, 31 Oct 2002, Chris Brown wrote: > Date: Thu, 31 Oct 2002 09:28:18 +0100 > From: Chris Brown <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: tomcat-user <[EMAIL PROTECTED]> > Subject: Using JNDI URLs for embedded XML DTDs, to avoid hard-coding > > > Hello all,

RE: mod_jk2 & tomcat problems DOC ??

2002-10-31 Thread Turner, John
It's here: http://www.johnturner.com/howto But there is nothing on there about JK2, as I don't use it. Robert Sowders has a very nice HOWTO for Apache + JK2, but it is for Windows. Since IIS is not involved, the setup should be nearly identical though, except for paths. ftp://pokey.wr.usgs.gov

RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )

2002-10-31 Thread Bertus Keyser
Ok I just configures it to use ajp12 instead of ajp13. And now it works. Now I am really confused. Any ideas why this works but not ajp13? -Original Message- From: Aryeh Katz [mailto:aryeh@;vasco.com] Sent: 31 October 2002 07:11 To: [EMAIL PROTECTED] Subject: RE: Compatibility between Wi

RE: JDBC / ThreadLocal pattern.

2002-10-31 Thread Brett Neumeier
> > If the connection is available for more than one request > > depends on the way the container handles threads. If each > > request is a new Thread you will win nothing. > > Instead you will loose performace as each request > > would create a new connection to the database. > > Yes that is t

RE: Tomcat SSL w/ Apache

2002-10-31 Thread Turner, John
Cool! I didn't have time this morning to do a test, so I was winging it. Thanks for the verification. John > -Original Message- > From: Milt Epstein [mailto:mepstein@;uiuc.edu] > Sent: Thursday, October 31, 2002 12:22 PM > To: Tomcat Users List > Subject: RE: Tomcat SSL w/ Apache > >

Re: mod_jk2 & tomcat problems DOC ??

2002-10-31 Thread Maxime
Hi Do you know where can i find the most complet documentation on mod_jk2 (compilation, installation configuration ...) In another thread somebody write about John Turner's excellent web page ? where can i find it ? Thks - Original Message - From: "Maxime" <[EMAIL PROTECTED]> To: "Tomc

RE: Tomcat SSL w/ Apache

2002-10-31 Thread Milt Epstein
On Thu, 31 Oct 2002, Turner, John wrote: > If you are using Tomcat + Apache, the activity between Tomcat and > Apache on the connector is not secure. It is not encrypted. > > SSL Request -> Apache -> Decrypted by Apache -> Sent to Connector -> > Sent to Tomcat on Connector port -> reply back to A

Re: servlet and proxy

2002-10-31 Thread Maxime
Thanks, works great . but do you know another method for only one web application an not all tomcat context ? thks Max - Original Message - From: "Bodycombe, Andrew" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, October 31, 2002 11:54 AM Subject: RE:

The requested resource (/BookSource/DispatchServlet) is not available.

2002-10-31 Thread Nalini
Hi, I am writing my first JSP, servlets application using Tomcat 4.1 server. I have a Win 98 machine. I created a directory called "BookSource" under ROOT under webapps. This is my directory structure. C:\jakarta-tomcat\webapps\ROOT\BookSource I have web-inf and login.jsp under this directory. Un

  1   2   >