RE: RE: RE: Problems with class loader

2002-09-05 Thread Juergen . Praska
Hi Charlie, thanks for your mail. After some heavy thinking (gee, this topic lasted longer than expected! :-) ), we came to the following conclusion: We will copy the HashTable.class to the application library. We believe this is the best we can do because (1) we maintain the concept of stori

Start Tomcat as non ROOT

2002-09-05 Thread Joern . Karthaus
Hello List I have a simple problem when Starting Tomcat as user Tomcat. the Owner of all Files under Tomcat is user Tomcat, the Group is Tomcat. When I try to start Tomcat from Tomcat.sh under /etc/init.d some Error mesages come up "Tomcat has no privilegies to compile..." When I start under

Re: manually set cookie path for JSESSIONID

2002-09-05 Thread Benny Lootens
Hi Milt, I understand it now, and I'm just gonna make different contexts for different hostnames, eg www.domaina.com would refer to context /domaina and www.domainb.com would refer to context /domainb. Thank you for the quick answer ! greetings, benny lootens -- To unsubscribe, e-mail:

Re: MD5 returns 16 bytes???

2002-09-05 Thread Josh G
Never mind me, every MD5 I've seen before returned a hex string, i didn't expect it to return a really big int :) On Fri, 2002-09-06 at 16:32, Josh G wrote: > Anybody here have any idea why MD5 returns 16 bytes in Java? Should > I just give up on using MD5 from java full stop? > > > > > -

Re: MD5 returns 16 bytes???

2002-09-05 Thread Joe Tomcat
On Thu, 2002-09-05 at 20:32, Josh G wrote: > Anybody here have any idea why MD5 returns 16 bytes in Java? Should > I just give up on using MD5 from java full stop? It sounds to me like it is working! MD5 is exactly 16 bytes, so if you're getting 16 bytes, it works. If you want to turn those

MD5 returns 16 bytes???

2002-09-05 Thread Josh G
Anybody here have any idea why MD5 returns 16 bytes in Java? Should I just give up on using MD5 from java full stop? -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: redirect bug?

2002-09-05 Thread Leos Literak
Andrew Conrad wrote: > Can you make this feature work from other JSP/Servlet containers or > other languages (ASP, PHP)? I haven't tried, but mail-archive.com utilizes this feature: http://www.mail-archive.com/velocity-user@jakarta.apache.org/msg07998.html > It just seems like this would be an

Starting and stopping Tomcat as non-root

2002-09-05 Thread Joe Tomcat
I am running Tomcat on port 80 (not using Apache) on Redhat 7.3. Obviously, Tomcat needs to be root to listen on port 80. Therefore, to start it or stop it, I need to do that as root. The problem is that I want to use ant tasks to start and stop it. I can easily have ant tasks which execute st

Re: MD5 problems

2002-09-05 Thread Josh G
On Fri, 2002-09-06 at 14:44, Josh G wrote: Ack, replace tmp = md.toString(); with tmp = new String(md.getBytes()); that's the code I'm using... otherwise i get "MD5 object from SUN" or some such :) > Wondering if there's any problems with JDK1.4 / tomcat's MD5 digest? I'm > not getting a

MD5 problems

2002-09-05 Thread Josh G
Wondering if there's any problems with JDK1.4 / tomcat's MD5 digest? I'm not getting any exceptions, but I get gobbeldegook instead of and MD5 digest Here's a code snippet - am I doing anything wrong? String newvalue = "some text"; MessageDigest md; try {

RE: [Realm] MBeanException

2002-09-05 Thread Jacob Hookom
I fixed it. After downloading Tomcat's source code and then walking through the API and source, I was able to get my specialized DomRealm up and running without errors. There is still a tiny problem with non-page based logins though (Craig could maybe offer some help? ;-) Initially, I thought a

RE: Strange Error

2002-09-05 Thread Rob Grundel
I'm not sure if this sheds any light on the situation...BUT... I am running this servlet on another server and I just installed all the components onto the new server and now it will only work if I type in the path into the browser but not if a form action OR a redirect. We are testing on multipl

Re: Manger problem when integrate Tomcat 4 with IIS

2002-09-05 Thread Jacob Kjome
The domain box serves the same purpose as adding domain\myusername to the main username box. So, lets say our domain is "jedi". On Netscape or other browsers that only offer username/password entires, you would log into the jedi domain with your username like this: jedi\myusername mypassword

Re[2]: Bringing up DBCP pooling again

2002-09-05 Thread Rick Reumann
On Thursday, September 5, 2002, 5:09:00 PM, Cindy Ballreich wrote: CB> At 04:37 PM 9/5/02 -0400, Rick Reumann wrote: >>Just bringing up a question I had a while ago since I know how lists >>go and it's easy to miss/delete messages over time (especially as busy >>a list as this is:) >> >>Anyway.

RE: [Realm] MBeanException

2002-09-05 Thread Jacob Hookom
Thanks, although I'm still in the same boat as you. I tried commenting out the listeners, but all it did was hide the errors. The Common's model code and the Mbean API are sparsely commented :-( I did add some System.outs to the Realm and the console reads: INFO: Creating MBeanServer INITIALI

Re: Strange Error

2002-09-05 Thread Randall R Schulz
Rob, If you don't want to use a better browser, you should at least reconfigure your IE to give you more complete and accurate error mesages. I'm sure the method varies from version to version of Windows and IE, but I'll tell you how it's done on Win2K Pro with IE 6: Open your "Internet Prope

RE: [Realm] MBeanException

2002-09-05 Thread Robert Parker
Members Equity Email System I have a similar problem... I found an earlier post which suggested commenting out the server lifecyle listeners. The post seemed to imply that it was a JMX classloading type issue. So try commenting out the listeners... This did not work for me, but I don't have exactl

Re: Strange Error

2002-09-05 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Sep 06, 2002 at 12:17:02PM +1000, Rob Grundel wrote: > Hi, hello. > I am having a very strange error @ the moment where I can access a servlet > on Tomcat (4.0.4 Standalone on WinNT) by directly typing the address of the > servlet into a web

RE: What about setting a script/servlet/jsp timeout?

2002-09-05 Thread Nicholas Orr
Well is there a way to isolate it to a context?? Reason I'm asking is in IIS it lets you specify a script timeout value, I was just wondering if there is a similar feature in Tomcat. Nicholas Orr -Original Message- From: Glenn Nielsen [mailto:[EMAIL PROTECTED]] Sent: Friday, 6 Septembe

[Realm] MBeanException

2002-09-05 Thread Jacob Hookom
Hello, I've created a Realm that extends RealmBase, but now I'm getting an exception at startup from the ServerLifecycleListener. I'm running W2K, 4.1.9 and JDK 1.4 My class DomRealm extends RealmBase and both the start and stop are overridden, but do call super.start() and super.end(). The ja

Solved! Re: Basic authentication and custom 401 Not Authorizederror page

2002-09-05 Thread Joe Tomcat
Here is how you can create a custom 401 (Not Authorized) error response in Tomcat. Putting a directive like this: 401 /errors/401.html in web.xml will not work. If you put that in web.xml, it will deny all authorization. The thing to do is to create a filter for the resources you want t

Strange Error

2002-09-05 Thread Rob Grundel
Hi, I am having a very strange error @ the moment where I can access a servlet on Tomcat (4.0.4 Standalone on WinNT) by directly typing the address of the servlet into a web browser however if I access the servlet as a form processor (action on a form) the browser tells me that "The page cannot b

JNDI hates me

2002-09-05 Thread John Walstra
javax.naming.NamingException: Cannot create resource instance I can't get pass that error. I have no problem with javamail, but when I try to roll my own I get the above. Here is the debug message when I start Tomcat ... Resolve: -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://j

Re: More info Re: Basic authentication and custom 401 NotAuthorized error page

2002-09-05 Thread Joe Tomcat
On Thu, 2002-09-05 at 13:55, Eric Hollander wrote: > I did some more research on this. It looks like it was a Known Bug in > Tomcat 4.0.2, and it doesn't look like it has been fixed since then (I'm > using 4.0.4). Tomcat developers, is there any patch or workaround known > for this? > > I did s

More info Re: Basic authentication and custom 401 Not Authorizederror page

2002-09-05 Thread Eric Hollander
I did some more research on this. It looks like it was a Known Bug in Tomcat 4.0.2, and it doesn't look like it has been fixed since then (I'm using 4.0.4). Tomcat developers, is there any patch or workaround known for this? I did some digging in the Tomcat source, and it looks like the html er

Re: configuring 4.0.4 with Apache 2.0.40 (mod_jk)

2002-09-05 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Sep 05, 2002 at 07:11:09PM -0400, Blackmore, John wrote: > I'm struggling like mad trying to get this to work, and I've had nothing but > problems. I'm in Solaris 8, Apache 2.0.40, and Tomcat 4.0.4. First, is this > hopeless? Do I need to up/d

RE: configuring 4.0.4 with Apache 2.0.40 (mod_jk)

2002-09-05 Thread Blackmore, John
Thanks so much, but that was one of the first things I checked. Correct me if I'm wrong, but the presence of 'mod_so.c' in this list should demonstrate that DSO is enabled? That is what the mod_jk HOWTO said. > httpd -l Compiled in modules: core.c mod_access.c mod_auth.c mod_include.c

Re: configuring 4.0.4 with Apache 2.0.40 (mod_jk)

2002-09-05 Thread Manoj Kithany
Hi John, Syntax Error "Addmodule" means that your Apache is NOT installed with DSO - Dynamic Shared Object - check on that. Try installing Apache using... ./configure --prefix=/usr/local/apache --enable-so I am also struggling integrating APache with Tomcat. I had been working for 7 days on th

configuring 4.0.4 with Apache 2.0.40 (mod_jk)

2002-09-05 Thread Blackmore, John
I'm struggling like mad trying to get this to work, and I've had nothing but problems. I'm in Solaris 8, Apache 2.0.40, and Tomcat 4.0.4. First, is this hopeless? Do I need to up/downgrade something? I'd be grateful for a success story at this point, someone that has this environment. After comp

Weird Tomcat/IIS/https/Netscape6 problem

2002-09-05 Thread Jim Tomlinson
We're doing applet-servlet communication, and all is working fine except with the bizarre combination of: Tomcat as an isapi plugin to IIS Communicating via https to IIS' secure port 443 Using Netscape6 with any of the 1.3.1 plugins Our applet loads and then does a post to the servlet (actually

Basic authentication and custom 401 Not Authorized error page

2002-09-05 Thread Joe Tomcat
I have written an filter that uses Basic Http authorization to control access to pages. I want to be able to define a custom 401 error page to show users if they are unable to log in. I should be able to do this by putting a section like this in my web.xml: 401 /errors/401.html However,

Tomcat shutdown & security

2002-09-05 Thread Przemyslaw Wegrzyn
Hello ! I've just installed Tomcat, and discovered, that any regular user can stop Tomcat with bin/shutdown.sh. How can I protect Tomcat from this ? P.Wegrzyn -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Manger problem when integrate Tomcat 4 with IIS

2002-09-05 Thread Ignacio J. Ortega
Please do not doble post, and this is a user message so .. TO use tomcat own auth You do need to disable completely the authentication in your IIS server, the 3 fields login i think indicate that your browser is seeing a NTLM challenge from the IIS server ( nothing that Tomcat generate in anycas

Re: Mod_Jk for Apache 2.0.39

2002-09-05 Thread Robert L Sowders
Apache 2.0.39 had security problems, upgrade to 2.0.40 and go here for mod_jk.dll http://www.acg-gmbh.de/mod_jk/ rls "craig franke" <[EMAIL PROTECTED]> 09/05/2002 03:43 PM Please respond to "Tomcat Users List" To: <[EMAIL PROTECTED]> cc: Subject:Mod_Jk

httpd + tomcat, using the root url

2002-09-05 Thread albert
Hi, I have to use cocoon (with tomcat) and squirrelmail in the same server. I wanted to use vitual hosts but cocoon must be used with SSL and named virtual hosts are not possible. Thus, I'd like to use https://www.myaddress.com for cocoon and https://www.myaddress.com/mail for squirrelma

Mod_Jk for Apache 2.0.39

2002-09-05 Thread craig franke
Does anyone out there have the mod_jk.dll for apache version 2.0.39? If so could they either provide a link or email it to me directly? Thanks, Craig -- To unsubscribe, e-mail: For additional commands, e-mail:

Http Pipeline in Tomcat

2002-09-05 Thread Takumi Fujiwara
Hi, Does tomcat support HTTP Pipeline and persistent connection at the same time? If the client sends multiple http requests to a servlet, with http persistent connection on, will those requests serve by different threads on the SAME connection? And how can Tomcat make sure the responses send ba

Simple question

2002-09-05 Thread Hamid Badiozamani
Hi, I have a simple question, how can I set System properties inside a Context. It seems that in Tomcat 3.0 there was a tag in the ContextManager and now I can't seem to find the equivalent in Tomcat 4.0. Help! Thanks. Hamid -- To unsubscribe, e-mail:

RE: load-on-startup order seems incorrect...

2002-09-05 Thread Andy Eastham
Jeff, Try 10 and 20 or 1 and 2. I know negative numbers don't necessarily start up before 1, maybe 0 doesn't either. Andy > -Original Message- > From: Jeff Wishnie [mailto:[EMAIL PROTECTED]] > Sent: 05 September 2002 18:22 > To: Tomcat Users List > Subject: load-on-startup order seems

Re: mod_jk.conf file is not created

2002-09-05 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Sep 05, 2002 at 10:11:08PM +, Manoj Kithany wrote: > Hi Mr. Peter, hello. > Greetings! Thank You for the information. welcome. > I tried to include following to tomcat4-service.xml file but in vain > > port="8009" minProcesso

Re: a 'one-click' j_securty_check question

2002-09-05 Thread jfc
David Cassidy wrote: > i think that unless Im completly missing your point your missing the > Realm's point. (Or I am) > > When you log in using the realm it takes from the database all your > associated roles. ie > if you have admin, editor and journo roles but you only need 'editor' > role f

Re: mod_jk.conf file is not created

2002-09-05 Thread Manoj Kithany
Hi Mr. Peter, Greetings! Thank You for the information. I tried to include following to tomcat4-service.xml file but in vain Any further information? THANKS again! Manoj G. Kithany >From: "Peter T. Abplanalp" <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To: [

Re: mod_jk.conf file is not created

2002-09-05 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Sep 05, 2002 at 09:51:15PM +, Manoj Kithany wrote: > I am using Apache(2.0.40), JBOSS(3.0.3) and Tomcat(4.0.4) on IBM AIX 5.1 > System. > > I also configured Tomcat's "server.xml" and "workers.properties" file BUT > when I start my JBOS

Manger problem when integrate Tomcat 4 with IIS

2002-09-05 Thread Shan Fu
Tomcat 4.0.4 and IIS 5 on Windows 2000 professional is successfully installed and integrated. Example application runs well. When I try to access manager, a authentication challenge window popped up - everything is ok till this time - but the problem is that I got a three field window instead of t

mod_jk.conf file is not created

2002-09-05 Thread Manoj Kithany
Hi Experts, I am using Apache(2.0.40), JBOSS(3.0.3) and Tomcat(4.0.4) on IBM AIX 5.1 System. After spending 1 week on Integrating Apache and Tomcat on IBM AIX System (and getting HELP from you guys from Mailing List), I finally builded "mod_jk.so" file for this platform. I also configured To

Apache2 and Tomcat4 or different machines...

2002-09-05 Thread Raj Mettai
Hi, I want to configure Apache2.0.39 with tomcat4.0.4 using mod_jk both running on different machines (solaris8). How do I specify the location of mod_jk.conf file in httpd.conf if they are not on the same box. thanks -Raj

Re[2]: Bringing up DBCP pooling again

2002-09-05 Thread Rick Reumann
On Thursday, September 5, 2002, 5:09:00 PM, Cindy wrote: CB> I had this same problem and would love to hear a solution. Actually I had the same problem with some other pools I've tried as well. It's very frustrating to say the least. CB> At 04:37 PM 9/5/02 -0400, Rick Reumann wrote: >

Re: Bringing up DBCP pooling again

2002-09-05 Thread Cindy Ballreich
I had this same problem and would love to hear a solution. (Sorry to post a "me too" message, but I've seen several versions of this question go unanswered. I guess it's a little off-topic, but there isn't a DBCP-user list. Here's to hoping a DBCP guru is listening.) Cindy At 04:37 PM 9/5/02

SSL - Using intermediate certificate

2002-09-05 Thread Andrei Vodeniktov
Hi. I received .cer file from one of the CA and created .keystore out of it. My CA also says that I need to install root+intermediate certs (so users will not see warnings) but they have instructions for Apache only. How can I do it for the Tomcat (standalone)? Thanks, Andrei -- To unsubscrib

RE: SSL

2002-09-05 Thread neal
John, Thanks for the great info. Very interesting ... so you are saying that the reason not to do this is because Tomcat will be running as root. Now, are you saying that is a security concern or something? What is the reason I would not want to run Tomcat as root? I appreciate your response.

Re: What about setting a script/servlet/jsp timeout?

2002-09-05 Thread Glenn Nielsen
Concurrent requests to Tomcat each run in their own thread. There is no easy way to "timeout" a thread running arbitrary application code. So there is no way to timeout a request. Regards, Glenn Nicholas Orr wrote: > Hi, > > I know you can set session timeouts, is there a way to set > scrip

RE: Object pooling

2002-09-05 Thread Andrew Conrad
You might post this on [EMAIL PROTECTED] instead - Andrew > -Original Message- > From: John Walstra [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 05, 2002 1:23 AM > To: Tomcat Mailing List > Subject: Object pooling > > > Hi ya, > > I'm trying to pool some objects. The object

Bringing up DBCP pooling again

2002-09-05 Thread Rick Reumann
Just bringing up a question I had a while ago since I know how lists go and it's easy to miss/delete messages over time (especially as busy a list as this is:) Anyway... Was wondering if anyone had any further input in the apparent problem using DBCP pooling with Tomcat. If for some reason the c

LibTool Error (mod_jk)

2002-09-05 Thread Manoj Kithany
Hi Experts, I am getting following LIBTOOL Errors - wonder why. DO any of you Experts know how to tackle that - would appreciate that. I already have libtool on my system. The Error I get is: -- # make Making all in common Targe

Re: Libtool Error!!!- mod_jk

2002-09-05 Thread Manoj Kithany
Hi Mr. Jean, THANK YOU for your reply. You mentioned to modify following lines: But, where to modify these lines...I mean which file contains this? - mod_jk.so: mod_jk.la $(LIBTOOL) --mode=install cp $< `pwd`/$@ +++ The $< has been eaten.

Re: manually set cookie path for JSESSIONID

2002-09-05 Thread Milt Epstein
On 5 Sep 2002, Benny Lootens wrote: > Hi, > > I really have a problem here ... :-( > > Two different URLS, www.mydomain-a.com and www.mydomain-b.com point > to the same webapplication, the same tomcat-context. > > Everything works fine, even if I start working with cookies (I set a > different co

Re: Libtool Error!!!- mod_jk

2002-09-05 Thread Manoj Kithany
Hi Mr. John I tried running "make clean" and then "./buildconf.sh" but still get Errors. You had also said to rerun "libtool.sh" - but my system does not have any such file? Also, what is the proper sequence of command execution? How do I specify HOST?: #./buildconfig.sh #./configure --wit

RE: apache + tomcat 4.0.1 + virtual host

2002-09-05 Thread Milt Epstein
On Thu, 5 Sep 2002, Turner, John wrote: > I forgot to mention that you will have to configure your Apache > connector for that new host name, but it looks like you are using > mod_webapp, and I am not familiar with it. I think if the appropriate connector configuration directives (whether it's m

Re: a 'one-click' j_securty_check question

2002-09-05 Thread jfc
Eddie Bush wrote: > Suggestion: Search the archive. This is a very frequently asked > question. > > What you want to do is the same as everyone else using FORM-based CMA. > The fact is that it doesn't work on a "let" basis; rather a "make" > basis. One hint I will give you: the container i

Re: files open limit

2002-09-05 Thread Rafael Angarita
Try using lsof, this tool could help you telling which fd are opened by a specific process: # lsof -i -n|grep PID Peter Choe wrote: > i have been getting an error on my FreeBSD 3.4 system which is running > tomcat 3.2. after a while, i get a 'too many files open in system' > error and

RE: Apache + Tomcat multiple instances

2002-09-05 Thread Ekkehard Gentz
re: I wouldn't run two distinct instances of tomcat unless there was a really good reason, like hosting multiple sites and you want to be able to stop/start Tomcat on each one without affecting the others, etc. - hi john, we are also planning to run 2 tomcat instances on o

RE: Tomcat 3.3 log rotation in Windows 2000

2002-09-05 Thread Larry Isaacs
I don't think Tomcat outputs much to stdout directly. Is there particular output you are looking capture that isn't being written to the "tc_log"? If not, you could assing the "tc_log" to a file? In the absence of a "path" on the , I think the output goes to stderr. The syntax applies to loggin

Re: [Q] Singleton Objects across webapps...

2002-09-05 Thread Will Hartung
Sharing data between servlets obviously depends on several things. If your servlets are within the same webapp, then the ServletContext is the most obvious choice to store the shared information, however, you will need to synchronize the data access and modification within the object. If you use

4.0.4 struts app does not load in 4.1.9

2002-09-05 Thread Praveen Shenoy
I have my struts based app working fine in 4.0.4. The same thing does not work in 4.1.9. I see this message when I startup. My web.xml is under WEB-INF. Not sure why it is complaining that web.xml is missing. 2002-09-05 10:21:16 ContextConfig[]: Missing application web.xml, using defaults only j

RE: jk_nt_service.exe

2002-09-05 Thread Meagher, Joe
Yes they are, here are the files. Joe -Original Message- From: Barney Hamish [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 12:13 PM To: 'Tomcat Users List' Subject: RE: jk_nt_service.exe Are the stderr and stdout log files being created? > -Original Message- >

load-on-startup order seems incorrect...

2002-09-05 Thread Jeff Wishnie
I have two load-on-startup servlets in my apps web.xml . One is set as 0, the other as 1. According the the servlet spec, containers should guarantee that servlet's with lower load-on-startup values should load first, but according to my logs, Servlet 1 gets its init called before servlet 0. I'm

Warp Errors

2002-09-05 Thread Steven Garrett
Hi, I'm pretty new to java/tomcat, etc. I keep getting these two errors when I try to start apache and tomcat. I'm not really sure what they mean and was looking for some help. Thanks, Steve from httpsdctl: bash-2.03# ../bin/httpsdctl configtest Syntax error on line 241 of /usr/local/apache+

RE: jk_nt_service.exe

2002-09-05 Thread Barney Hamish
Are the stderr and stdout log files being created? > -Original Message- > From: Meagher, Joe [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 05, 2002 12:47 AM > To: '[EMAIL PROTECTED]' > Subject: jk_nt_service.exe > > > I know this is probably an old and dead issue for most of yo

jk_nt_service.exe

2002-09-05 Thread Meagher, Joe
I know this is probably an old and dead issue for most of you guys, so sorry in advance. I am trying to run tomcat 3.2 as a service on Win 2000. Tomcat is installed properly as is my JDK (1.3.1_04) by the way. Both are installed into directories with NO spaces. I have configured my wrapper.pro

load-on-startup's effect on tomcat startup time?

2002-09-05 Thread Christos Karras
I use the tag in web.xml to call a servlet when its context is started. The servlet's init() reads a configuration file and stores the configuration as a singleton object in the ServletContext. I first thought this was a good idea, so that the user doesn't see the 2 or 3 seconds it takes to pars

RE: Tomcat 3.3 log rotation in Windows 2000

2002-09-05 Thread Jack Long
Larry: Thanks so much for the response -- this has been a vexing problem for us. Our problem is with the stdout.log which we set on the command line when starting Tomcat (eg, -out F:\TomcatLogs\stdout.log). Perhaps this is a JVM issue that can't be address directly with Tomcat (??). The servlet

Re: Libtool Error!!!- mod_jk

2002-09-05 Thread jean-frederic clere
Manoj Kithany wrote: > Hi Experts, > > I am getting following LIBTOOL Errors - wonder why. DO any of you > Experts know how to tackle that - would appreciate that. > > I already have libtool on my system. > > The Error I get is: > ---

Error reading web.xml - error page

2002-09-05 Thread Rui Fernandes
I keep geting an error when reading the web.xml: ERROR reading java.io.ByteArrayInputStream@6f0be8 At line 48 /web-app/error-page/ ??? My web.xml seems to be fine. Anyone knows what is going on?

files open limit

2002-09-05 Thread Peter Choe
i have been getting an error on my FreeBSD 3.4 system which is running tomcat 3.2. after a while, i get a 'too many files open in system' error and it freezes tomcat and the whole server. i looked at the ulimit on the system and it says that the file limit is 1024. i have no idea if this is

RE: Problem running Tomcat 4.0.4 under JDK 1.4.1

2002-09-05 Thread Wagoner, Mark
I got this same error when I moved from 1.3.1 to 1.4.0, so I don't think it is something in the JDK. Unfortunately, I can't remember exactly how I fixed it. I *think* it was because I still had an old version of the JRE floating around on the machine. But like I said, I'm not sure anymore. I d

RE: Tomcat/Mysql/Woody

2002-09-05 Thread Luc Santeramo
thanks Stefan for the idea but the problem is somewhere else. the problem comes from java just have to define CATALINA_OPTS="-Dfile.encoding=iso8859-1" before starting tomcat hope that will help other persons.. Thanks to Loic Luc At 10:15 03/09/2002 +0200, you wrote: >Just an idea but may

RE: Problem running Tomcat 4.0.4 under JDK 1.4.1

2002-09-05 Thread Shapira, Yoav
Hi, That's the coolest error I've seen in a while ;) Do you get it using JDK 1.4.0? 1.4.1 is not final yet, so it may be a packaging issue with the 1.4.1 version you're using. What's the output of java -version? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Donie

RE: redirect bug?

2002-09-05 Thread Andrew Conrad
Can you make this feature work from other JSP/Servlet containers or other languages (ASP, PHP)? It just seems like this would be an issue of the browser. Have you tried other browsers to see if they react differently? - Andrew > -Original Message- > From: news [mailto:[EMAIL PROTECTED]

Problem running Tomcat 4.0.4 under JDK 1.4.1

2002-09-05 Thread Donie Kelly
Hi all, I've upgraded to jdk 1.4.1 and Tomcat 4.0.4 and now my jsp pages give the following error... org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\mmsdev\tools\win32\jdk1.4.1\jre\lib\rt.jar(java/lang/Object.class). The major.minor versi

Tomcat file systems and CVS repository tree HELP

2002-09-05 Thread Heligon Sandra
Hi, I use CVS to archive the files of my application. My CVS tree strucutre is something like that: MyApp Archive - contains MyApp.war Doc - contains documentation Project - contains the JBuilder project for my a

Re: [Q] Singleton Objects across webapps...

2002-09-05 Thread Eddie Bush
I don't think web services require EJBs be used :-) I haven't fooled around with them though. From what I recall having read, you can do web services using Tomcat. What I read, and where, I do not recall precisely. The "impression I have left upon my mind" is that it is possible to do web

RE: [Q] Singleton Objects across webapps...

2002-09-05 Thread Felipe Schnack
That's the point, I have no idea why I would want JBoss, and I would like to know. I don't think i will need it for any project now - tomcat does everything I need. But maybe some day I start a project using tomcat when I should use something like JBoss, I just don't have any idea of what it

RE: [Q] Singleton Objects across webapps...

2002-09-05 Thread Shapira, Yoav
Hi, > So, if I need webservices and such I should use JBoss? Figure out which APIs you need and which you don't. "webservices" can be anything and everything ;) Tomcat gives you: servlets, JSPs, JNDI, JSSE. You can connect to databases. You can use frameworks like Struts, Tapestry, etc. Yo

RE: apache + tomcat 4.0.1 + virtual host

2002-09-05 Thread Turner, John
I forgot to mention that you will have to configure your Apache connector for that new host name, but it looks like you are using mod_webapp, and I am not familiar with it. John > -Original Message- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 05, 2002 11:

RE: apache + tomcat 4.0.1 + virtual host

2002-09-05 Thread Turner, John
Each virtual host gets a Host element/container in server.xml. In that Host element, create a Context for the path. For example, in a default Tomcat install: Host name="localhost" appBase="webapps" Context path="/examples" docBase="examples" So in your case: Host name="www.domain2.com" appBa

apache + tomcat 4.0.1 + virtual host

2002-09-05 Thread Dionisio Ruiz de Zarate
Hello with this i pass the /examples petitions to the tomcat WebAppConnection conexion warp localhost:8008 WebAppDeploy examples conexion /examples but if i have one second virtualhost (www.domain2.com) in the apache virtual host configuration how i must to configure for passint to the tomcat t

Re: a 'one-click' j_securty_check question

2002-09-05 Thread Eddie Bush
Suggestion: Search the archive. This is a very frequently asked question. What you want to do is the same as everyone else using FORM-based CMA. The fact is that it doesn't work on a "let" basis; rather a "make" basis. One hint I will give you: the container is going to load all of a user

RE: JDBC connection persistence

2002-09-05 Thread Andrew Conrad
Your best bet is to use a database connection pool. Look into DBCP. You can set the max number of connections and all your apps can share these connections. As for your issues, it sounds like the JDBC driver is not closing everything when you call connection.close(). There has been some discu

Re: [Q] Singleton Objects across webapps...

2002-09-05 Thread Felipe Schnack
So, if I need webservices and such I should use JBoss? On Thu, 2002-09-05 at 12:03, Eddie Bush wrote: > Felipe Schnack wrote: > > > That was something I was asking myself some days ago: why i would use > >JBoss? > > > That I'm aware of, TC doesn't "do" EJBs. TC is a servlet container. > JB

manually set cookie path for JSESSIONID

2002-09-05 Thread Benny Lootens
Hi, I really have a problem here ... :-( Two different URLS, www.mydomain-a.com and www.mydomain-b.com point to the same webapplication, the same tomcat-context. Everything works fine, even if I start working with cookies (I set a different cookiepath for each URL, eg. /cookiepatha for mydomain

Re: [Q] Singleton Objects across webapps...

2002-09-05 Thread Eddie Bush
Felipe Schnack wrote: > That was something I was asking myself some days ago: why i would use >JBoss? > That I'm aware of, TC doesn't "do" EJBs. TC is a servlet container. JBoss is a full J2EE application server (someone help me out here -- the lines are fuzzy to me too) -- in other words, i

Re: a 'one-click' j_securty_check question

2002-09-05 Thread David Cassidy
i think that unless Im completly missing your point your missing the Realm's point. (Or I am) When you log in using the realm it takes from the database all your associated roles. ie if you have admin, editor and journo roles but you only need 'editor' role for the area you want to go into TC

Re: Libtool Error!!!- mod_jk (fwd)

2002-09-05 Thread John P. Dodge
sorry that should be make clean and rerun buildconf.sh. I had this same issue, try doing a make clean or make distclean and rerun libtool.sh. You could also specify HOST= on the configure line. It seemed to me that this comes up when configure or libtool is havinf trouble sniffing out the system

Re: Libtool Error!!!- mod_jk

2002-09-05 Thread John P. Dodge
I had this same issue, try doing a make clean or make distclean and rerun libtool.sh. You could also specify HOST= on the configure line. It seemed to me that this comes up when configure or libtool is havinf trouble sniffing out the system type. I seem to remember that the make clean and rerun li

a 'one-click' j_securty_check question

2002-09-05 Thread jfc
Hi, I would like to structure my application so that the user can choose to login instead of being enexpectedly prompted to be logged in. It seems declarative form-based security comes with the philosophy that your URL has to explicilty request a resource which is secured under the role you w

RE: Apache + Tomcat multiple instances

2002-09-05 Thread Milt Epstein
> -Message d'origine- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Envoyé : mercredi 4 septembre 2002 14:36 > À : [EMAIL PROTECTED] > Objet : Apache + Tomcat multiple instances > > > Hi all, > > I already run Apache 2.0.40 + 2 instances of Tomcat 4.0.3 under Windows > 2000. > To

RE: Relative Servlet Path

2002-09-05 Thread Chuck Carson
I am confused. I merely want to reference a file from within a servlet(s). I want to keep my apps transportable so I have a var like this: String myVar = "db/config.dat"; Where is it looking for this file. If the servlet is here: $TCAT_HOME/ROOT/WEB-INF/classes/MyServlet, where will it look fo

Re: Apache Tomcat SSL

2002-09-05 Thread Milt Epstein
On Thu, 5 Sep 2002, Bernhard Blasen wrote: > Hello, > > I succeeded connecting tomcat 4.0.4 with apache 2.0.40 with mod-jk. > > If i call an application with https://luna.draft.de/hvb-immoplus I get a > 404 error > The same call with http://... works fine. > Other https://-connections, that d

RE: Apache & Tomcat

2002-09-05 Thread Turner, John
Agreed. John > -Original Message- > From: Milt Epstein [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 05, 2002 10:03 AM > To: Tomcat Users List > Subject: RE: Apache & Tomcat > > > On Thu, 5 Sep 2002, Turner, John wrote: > > > The connectors serve as a pipeline from Apache t

RE: Apache & Tomcat

2002-09-05 Thread Milt Epstein
On Thu, 5 Sep 2002, Turner, John wrote: > The connectors serve as a pipeline from Apache to Tomcat and back > again for certain requests. A JSP or Servlet request received by > Apache would be sent to Tomcat, Tomcat would do the processing, and > the resulting HTML would be sent back to Apache (

  1   2   >