Re: Best practices question

2002-10-18 Thread Nikola Milutinovic
Qmail List wrote: I have been wondering about this as well. Apache screams and hollers BIG_SECURITY_HOLE if you compile it with the flags allowing it to run as root. That said, I love the fact that Tomcat runs as root. It makes it easy for your webapp to do things admin applications, servers,

Re: 4.1.12 won't stop

2002-10-18 Thread Jacob Kjome
Hello ex2), Ahhh if you are running the NT service, you need to use the services applet to start/stop Tomcat or you need to use the command line net start [servicename] or net stop [servicename]. Using the batch files will not shut down Tomcat unless you started tomcat via a batch file.

Re: CLASSPATH problems on 3.3.1

2002-10-18 Thread Michael Finney
Hey, that is good information! Thank you. I ran them along without quotes for now and all seems to be working. However, I like the other option as well. Michael --- Bill Barker [EMAIL PROTECTED] wrote: Actually, I'm mostly a *nix person. I learned about wrapper.jvm.options from reading

AW: Wich version of Apache works with Tomcat 4.0.5, 4.06, and 4.1.2

2002-10-18 Thread Ralph Einfeldt
From security points you should at least upgrade to the latest 1.3 release of apache. (But that has nothing to do with tomcat, there have been several security fixes between 1.3.20 and the current version. I wouldn't change from 1.3 to 2.0 if you feel ok with the 1.3 family. (I'm quite

[Configuring] Tomcat 4.1.12 apache 1.3.26 jk2

2002-10-18 Thread François Vallet
Hello Guys Do you know if it we can associate apache 1.3.26 -JK2- Tomcat 4.1.12 If YES Do you have a good url where there is a pretty good documentation to install them ? Else What is wrong ! Thanks in advance François -Original Message- From: David Scott

RE: Window doesnt close on shutdown

2002-10-18 Thread RXZ JLo
No. Should it? --- Adam Greene [EMAIL PROTECTED] wrote: Does the title bar say Finished?? -Original Message- From: RXZ JLo [mailto:rufoo2001;yahoo.com] Sent: Wednesday, October 16, 2002 9:33 AM To: [EMAIL PROTECTED] Subject: Window doesnt close on shutdown I use tomcat4.0.4

Re: How to get archived messages

2002-10-18 Thread Robert L Sowders
last one http://marc.theaimsgroup.com/?l=tomcat-user rls tk g [EMAIL PROTECTED] 10/17/2002 09:45 PM Please respond to Tomcat Users List To: [EMAIL PROTECTED] cc: Subject:How to get archived messages hi all, i'm trying to configure tomcat4.1.1.2

JK2 and Apache1.3 win

2002-10-18 Thread Vjeran Marcinko
Hi. I'm having problem instaling jk2 connector on my Apache 1.3 win... I downloaded 'mod_jk2-1.3.27.dll' and used basic configuration, that meaning 'workers2.properties' as follows : [shm] file=${serverRoot}/logs/shm.file size=1048576 # Example socket channel, override port and host.

mod_webapp or mod:jk

2002-10-18 Thread Dionisio Ruiz de Zarate
Hello, can anybody says me , in the future, in the tomcat new versions, which will be the connector for apache and tomcat? the mod_webapp or mod_jk? -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

Re: Can someone help with this ?

2002-10-18 Thread achana
Adam Sherman wrote: [EMAIL PROTECTED] wrote: Hi. Over the last 2 weeks, I have asked two forums for help. Unfortunately, I haven't got a response. I have Apache talking with Tomcat, that's okay. However when I try to tunnel from the applet to Tomcat servlet, I have erros like

old tomcat behavior?

2002-10-18 Thread Mark Goking
is this an old tomcat behavior? if im logged in and my last page is page1.jsp and my session times out so im redirected to /login.jsp. problem is after logging in, it redirects me back to page1.jsp. i dont want it to be this way. is there a way to manually set the page to go to should be

Re: Apache 1.3.27, Tomcat 4.0.6, mod_JK, and Virtual Hosts

2002-10-18 Thread Robert L Sowders
uh, sort of I guess, An easier to understand model would be; Apache receives a request on port 80 for virtual server foo.com/cool/index.jsp Apache reads it's configuration for virtual host foo.com, finds a jkmount for /cool/*.jsp ajp13 Apache hands all further processing over to mod_jk.so,

RE: Wich version of Apache works with Tomcat 4.0.5, 4.06, and 4.1.2

2002-10-18 Thread Carlos
Thank you Ralph for your feedback. We will stay with the 1.3 version for the time being and test the diferent version of Tomcat with it. Carlos -Original Message- From: Ralph Einfeldt [mailto:ralph.einfeldt;uptime-isc.de] Sent: Thursday, October 17, 2002 11:12 AM To: Tomcat Users List

Re: Ok people

2002-10-18 Thread yoom nguyen
Bravo guys, my proposal with some organization could be a solution to our problems here. Yoom - Original Message - From: Lior Shliechkorn [EMAIL PROTECTED] Date: Thursday, October 17, 2002 4:48 pm Subject: Re: Ok people Thanks Greg. You're right, much of the organization of the

Re: Ok people

2002-10-18 Thread Greg Bullough
At 03:57 PM 10/17/02 -0400, Aryeh Katz wrote: I just looked at one of your unanswered posts. Even though I'm not expert, I can tell you why it wasn't answered. You mentioned that you couldn't get iis 4 to speak to tomcat, and asked to help figure out why. There was no information in that post

RE: Window doesnt close on shutdown

2002-10-18 Thread Robert L Sowders
Then your problem is not with the shortcut but with tomcat. What do the logs say. Have you turned up the levels to debug yet. Check all the logs, stdout, sterr, the apache access.log and error.log and all the logs in tomcat_home/logs too. It should tell you something. If you can kill it

Re: Where do I get mod_jk?

2002-10-18 Thread Mark Eggers
Michael, If you want binary builds, you'll have to upgrade to apache 2.0.42. They can be found at: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/bin/linux/i386/ The rpms can be found at:

Wich version of Apache works with Tomcat 4.0.5, 4.06, and 4.1.2

2002-10-18 Thread Carlos
Hello Forum, We are using IBM jdk1.3 in a Linux RedHat server, Apache 1.3.20-16, and Tomcat 4.0.4 and 4.0.4. Everything works fine. Since we are planning on upgrading the version of Tomcat, should we also upgrade the version of Apache? Thanks in advance for your response. Carlos Oliva

RE: [Configuring] Tomcat 4.1.12 apache 1.3.26 jk2

2002-10-18 Thread Hendrik Coetzee
Hi François Found this site - has a couple of very good how-to's. Check it out, maybe it will help... http://www.galatea.com/flashguides/index Hendrik Coetzee -Original Message- From: François Vallet [mailto:fvallet;infovista.com] Sent: 18 October 2002 09:36 AM To: 'Tomcat Users

Re: How to get archived messages

2002-10-18 Thread Robert L Sowders
Go to the source luke, http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/ rls tk g [EMAIL PROTECTED] 10/17/2002 09:45 PM Please respond to Tomcat Users List To: [EMAIL PROTECTED] cc: Subject:How to get archived messages hi all, i'm

Re: DBCP borrowObject failed: null

2002-10-18 Thread Leo Przybylski
Yes, it returns the exceptionally immediately ignoring the maxWait parameter. -Leo http://www.foopan.ath.cx On Thu, 2002-10-17 at 03:40, Felipe Schnack wrote: Hey, when you got all the connection from the pool and want to get more the datasource throws an exception??? I thougth it would lock

RE: DBCP borrowObject failed: null

2002-10-18 Thread Leo Przybylski
Matt, Just curious, but what happens when you increase MaxIdle to 60. I mean, how many logins does it take to blow up then? -Leo On Wed, 2002-10-16 at 22:57, Matt Raible wrote: I'm struggling to believe that this is the problem. I am experiencing the same error after logging in and clicking

RE: expression ALWAYS evaluates to if... NEVER to else

2002-10-18 Thread SMcGarrity
You'll want to do if( !(paramPassword.equalsIgnoreCase(secretCode))) { } else { } You cant use logical operators on Strings for what you're trying to do! Look up the java.lang.String javadocs for more information on the equals and equalsIgnoreCase methods. Steve -Original Message-

JDNI DataSource error

2002-10-18 Thread Zhang, Yufei (Factiva)
Hi, Here is part of my serer.xml: Context ... Resource name=jdbc/MyDB auth=Container type=javax.sql.DataSource/ ResourcesParams name=jdbc/MyDB parameter namedriverClassName/name

Re: John Turner or someone who responsible for Posting -- Re: How toApache2, Tomcat4.1.2, JK2 ?

2002-10-18 Thread Robert L Sowders
Hi Again, I had this discussion a couple of weeks ago and there was allot of interest in helping with the docs. The stumbling point as I see it is people just don't know how to submit changes to existing material or for that matter new material. If you want to write whole chapters then;

RE: classpaths again

2002-10-18 Thread Cox, Charlie
what error are your getting? -Original Message- From: Sam Seaver [mailto:samseaver;hotmail.com] Sent: Wednesday, October 16, 2002 8:12 PM To: [EMAIL PROTECTED] Subject: Re: classpaths again No I'm importing it in the JSP tag %@page import sam.xml.* % S JC Rules

Re: JNDI Data Source

2002-10-18 Thread Jacob Kjome
Hello Jens, There are two problems that are immediately apparent: 1. user should be username 2. you should append ?autoReconnect=true to your url value when using MySQL which sweeps stale connections. Jake Thursday, October 17, 2002, 3:27:42 AM, you wrote: JK Hi, JK I got a problem

RE: Best practices question

2002-10-18 Thread Turner, John
I run Tomcat under a separate user account. I avoid running services as root whenever possible. John -Original Message- From: Randy Paries [mailto:randy.paries;unitnet.com] Sent: Thursday, October 17, 2002 1:56 PM To: 'Tomcat Users List' Subject: Best practices question

Re: Ok people

2002-10-18 Thread Aryeh Katz
Give him a hint as to what information to bring to a follow-up and where to look? Reading your other post, I'd have to say that your reply here is right on the money (note: I did include a URL with my response :-)). However, in fairness to the people who post here, why should they have to

RE: How come no one's is replying

2002-10-18 Thread Turner, John
Thanks for your comments. You might take the URL that George Sexton posted seriously. You'd be amazed at the quality, free support you can get when you aren't so petulant and demanding. Have a great day! John -Original Message- From: Lior Shliechkorn [mailto:liorshliech;yahoo.com]

RE: Empty custom action tags

2002-10-18 Thread Steve Bang
The JSP 1.2 spec also says that the mytag/mytag is valid. But, I'd still like to know when Tomcat added support for this variant of the empty tag. I'm assume that all versions of Tomcat 4 support this syntax for empty tags -- is this correct? Thanks, Steve -Original Message- From:

RE: is this a bug ?

2002-10-18 Thread Ricardo de Souza Moura
So... my tomcat version don't work with jdk1.3.1 !!! in the jakarta site is written: Tomcat will operate under any Java Development Kit (JDK) environment that provides a JDK 1.2 (also known as Java2 Standard Edition, or J2SE) or later platform. You will need a Java Development Kit, as opposed

Re: Ok people

2002-10-18 Thread Lior Shliechkorn
Thanks Greg. You're right, much of the organization of the documentation leaves my head spinning. And it's not exactly in terms where one who first approaches the software can just sit and configure and run wild with it. I never came to waste people's time, but I don't know where to look a lot

Simple Question, change error page for request that is not in theserver.xml

2002-10-18 Thread Erick Todd
How do I change the tomcat page that pops up when someone makes a request to a domain that tomcat does not have in the server.xml. I have people that will make requests that are not correct and I need them to be directed to a custom error page. Thanks -- To unsubscribe, e-mail:

RE: mod_webapp or mod:jk

2002-10-18 Thread Hendrik Coetzee
I had a look and it looks like Jakarta is moving towards mod_webapp. I tried to get this working in apache 2, but had no success. Could also just be my server... Mod_jk worked first time, though. Guess the old sturdy mod_jk will survive for quite a bit longer! Hendrik Coetzee

Re: Where do I get mod_jk?

2002-10-18 Thread Robert L Sowders
If you insist on using those old versions (not recommended) then you'll have to build from source, unless you can find them out on the internet somewhere. The connector source is in the archives. http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/v4.1.10/src/ If you upgrade to the

RE: Subclassing the Session object

2002-10-18 Thread Milt Epstein
On Thu, 17 Oct 2002, Nick Sharples wrote: Shapira, Yoav writes: Hi, I don't know the direct answer to your question. But I'm curious as to the use-case that's requiring you to subclass HttpSession. As opposed to, for example, binding your (Serializable) objects to the

reg tomcat iis

2002-10-18 Thread Srinu Kalyan
Hi, The article IIS HOW TO is pretty good but could you please help me in configuring iis and tomcat residing in two differnt machines iis and tom cat are in two different boxes thanks srinu

Tomcat 3.3.1 authentication problem working without cookies

2002-10-18 Thread Jose Andrés Pérez
Hello everybody, I have an authentication problem using Jakarta Tomcat 3.3.1 and I don´t know how to solve it. My context is the following: - There are two roles on my Web application (admin and contentprovider): security-role role-nameservices.admin/role-name

Re: AW: tomcat 4.1 does not resolve links

2002-10-18 Thread Luise Massimo
Hi, i think there is another problem in FileDirContext.java.the problem reside in the following code: if (!canPath.equals(absPath)) return null; if you allow linking and the file linked is INSIDE webapp directory (so isLink = !canPath.startsWith(absoluteBase) is false, tomcat execute the

RE: expression ALWAYS evaluates to if... NEVER to else

2002-10-18 Thread Turner, John
You can't use != or == to compare Strings. http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html You could use something like: if (paramPassword.compareTo(secretCode) == 0) { // they match } else { // they don't } Or flip your if around and use .equals(): if

Re: Java Connectors in Tomcat?

2002-10-18 Thread Craig R. McClanahan
On Thu, 17 Oct 2002, Extance, Paul wrote: Date: Thu, 17 Oct 2002 18:14:18 -0700 From: Extance, Paul [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: Java Connectors in Tomcat? Is there plans to allow the Tomcat container

Re: JNDI Data Source

2002-10-18 Thread Leo Przybylski
Context path=axis docBase=/axis debug=0 Resource name=jdbc/auctionDB auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/auctionDB You left out a factory in your configuration file. Try: parameter namefactory/name

RE: How come no one's is replying

2002-10-18 Thread Robert L Sowders
Actually, We have this list of users that we definitely don't want to help. I'll probably get banned for this, but I've had it with the out right unfairness of it all. I'll gladly send you a copy for $50.00. :-) Really though to answer the question. It's a busy list and most of us just

DOES BASIC AUTHENTICATION SUPPORT SSL?

2002-10-18 Thread Luca Ventura
Hello everybody! I have IIS as Web Server and Tomcat 4.x as Servlet Container (using the ISAPI filter). So all requests directed to servlets, jsp-pages, or java-technology based web sites are redirected to Tomcat 4.x from IIS. I have installed in IIS a digital certificate to support HTTPS

AW: is this a bug ?

2002-10-18 Thread Ralph Einfeldt
Is that the complete statcktrace ? Isn't there a root cause ? -Ursprüngliche Nachricht- Von: Ricardo de Souza Moura [mailto:ricsouzamoura;hotmail.com] Gesendet: Donnerstag, 17. Oktober 2002 16:15 An: [EMAIL PROTECTED] Betreff: is this a bug ? Does anybody knows about this error ?

Re: expression ALWAYS evaluates to if... NEVER to else

2002-10-18 Thread Jacob Kjome
Hello Z.BEAT, If these are both java String objects then all you are comparing is if the memory location of string object #1 is the same as that of String object #2. This is probably not true. You need to compare like this. if (paramPassword.equals(secretCode)) { } else { } You can only

newbie question on connectors

2002-10-18 Thread BillP
I'm completely new to Tomcat. We looking at switching to it from JRun because version 4 seems to be increasing the bugs rather than decreasing. I've installed Tomcat (4.1.12) on my local dev machine to test it out and everything went fine. Surprisingly easy install. Kudos to Apache. However,

WHY DOES TOMCAT SUSPEND ITSELF?

2002-10-18 Thread Luca Ventura
Hello everybody! I have Tomcat 4.x as Servlet Container and I have seen that sometimes the following strange thing happens When Tomcat doesn't receive requests for a period of time (that can take minutes or hours) it suspends itself and I must restart the service manually because Tomcat

RE: socket permission catalina.policy question

2002-10-18 Thread Andrew Cheng
Euh...Can you post your catalina.policy file? Maybe another permissions is conflicting with the one you try to define. I'm doing some tests here without any problems... -- Jeanfrancois Below is my policy file. (myApplication contains several servlets. Inside a privileged block, myServlet

RE: expression ALWAYS evaluates to if... NEVER to else

2002-10-18 Thread Sexton, George
You need to learn how java compares objects and strings. The short story is: if(!paramPassword.equals(secretCode)) { } else { } -Original Message- From: Z.BEAT [mailto:zackbeatty;yahoo.com] Sent: 17 October, 2002 11:58 AM To: Tomcat Users List Subject: expression ALWAYS evaluates to

Subclassing the Session object

2002-10-18 Thread Nick Sharples
Hi, I'd like to subclass the Session object and I thought there was a configuration option somewhere to allow for this. Does anyone know how to configure which class is used for the Session? Cheers ..Nick -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For

Re: Best practices question

2002-10-18 Thread Craig R. McClanahan
On Thu, 17 Oct 2002, Qmail List wrote: Date: Thu, 17 Oct 2002 15:03:27 -0400 From: Qmail List [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Best practices question I have been wondering about this as well. Apache

Re: How to get a message shown immediately by the browser?

2002-10-18 Thread Andreas Probst
Hi Zsolt, there was a message from Craig R. McClanahan on Tuesday, September 10, 2002 10:48 PM. He wrote: ... * You are opening an HTML element like table or p and not closing it before the flush, and writing to a browser that does not incrementally render (like Netscape 4.x). ...

Re: DBCP borrowObject failed: null

2002-10-18 Thread Felipe Schnack
This is a know bug or what?? On Thu, 2002-10-17 at 13:50, Leo Przybylski wrote: Yes, it returns the exceptionally immediately ignoring the maxWait parameter. -Leo http://www.foopan.ath.cx On Thu, 2002-10-17 at 03:40, Felipe Schnack wrote: Hey, when you got all the connection from

RE: is this a bug ?

2002-10-18 Thread Shapira, Yoav
Hi, There should have been a root cause and another stack trace attached to that message... Yoav Shapira Millennium ChemInformatics -Original Message- From: Ricardo de Souza Moura [mailto:ricsouzamoura;hotmail.com] Sent: Thursday, October 17, 2002 10:15 AM To: [EMAIL PROTECTED] Subject:

RE: ajpv12_handle_response, Error reading header line

2002-10-18 Thread Matt Clark
Same email, I just fixed the formatting in the log. Sorry for the repeat. -Original Message- From: Matt Clark Sent: Thursday, October 17, 2002 12:54 PM To: [EMAIL PROTECTED] Subject: ajpv12_handle_response, Error reading header line I apologize for the question on an older version,

Re: Servlet directory?

2002-10-18 Thread Kwok Peng Tuck
It's under this directory, /WEB-INF/lib or /WEB-INF/classes of any webapp that you have. Then define the servlet for the web app in web.xml . There are quite a few good examples on this that ship with many jakarta projects. So download a few and take a peek at it. Jørgen Ramskov wrote: Hi

[OT] RE: How come no one's is replying

2002-10-18 Thread micael
Man this is confusing. Does someone have a score card? At 05:55 PM 10/17/2002 -0700, you wrote: Actually, We have this list of users that we definitely don't want to help. I'll probably get banned for this, but I've had it with the out right unfairness of it all. I'll gladly send you a copy

RE: Window doesnt close on shutdown

2002-10-18 Thread Adam Greene
Does the title bar say Finished?? -Original Message- From: RXZ JLo [mailto:rufoo2001;yahoo.com] Sent: Wednesday, October 16, 2002 9:33 AM To: [EMAIL PROTECTED] Subject: Window doesnt close on shutdown I use tomcat4.0.4 on windows 2000. When I shutdown tomcat, the window just shows

RE: is this a bug ?

2002-10-18 Thread Ricardo de Souza Moura
I am using jdk1.3.1 with Tomcat 4.1.10. Is there somewhere in your code where your trying to append an array of stringbuffers to a stringbuffer? No !!! I am using Struts Framework from Apache Jakarta !!! I don't know if they use this !!! From: Shapira, Yoav [EMAIL PROTECTED] Reply-To:

Ok people

2002-10-18 Thread Lior Shliechkorn
Listen, I admit that I may have asked questions that some may not have understood ( I did get help and I'm not overlooking that). I'm here for the same reason we all are. I need help with some things, and maybe when I gain enough experience and knowledge I will be able to return the favor.

Re: John Turner or someone who responsible for Posting -- Re: How toApache2, Tomcat4.1.2, JK2 ?

2002-10-18 Thread Robert L Sowders
Oops, forgot to mention. Once you set everything up as xml then changing the docs to different formats is pretty much a snap. Transformers for http, text, and pdf are very common and available. You could conceivably make the docs available in any format known. Or language for that matter,

Anyone using HTTP-tunnel over RMI out there ?

2002-10-18 Thread achana
Anyone willing to take on this challenge ? Trade info to make it work (or work better) ? Must use Apache and Tomcat, make and model of backend database not critical, but Oracle is preferred. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands,

loading class

2002-10-18 Thread Marek Majtan
I cant't load class in Tomcat. For example code Class.forName (xxx); throws exception. what to do for that to work? I've tried to put xxx.class file into WEB-INF directories,but with no success. Thanks for advise, M. Strnky o automobilech, novinky, autobazary, nov auta, psluenstv, pojitn aut...

Failed Build of Mod_Webapp

2002-10-18 Thread Curt LeCaptain
When I attempt to build mod_webapp, I get this failure during a Make on Red Hat 7.3 /bin/sh /usr/local/src/jakarta-tomcat-connectors-4.0.6-src/webapp/apr/libtool --sile nt --mode=install \ cp /usr/local/src/jakarta-tomcat-connectors-4.0.6-src/webapp/apr/apr

Re: socket permission catalina.policy question

2002-10-18 Thread Jean-Francois Arcand
You need to add the something like that: grant codeBase file:${catalina.home}/webapps/your app/- { permission java.net.SocketPermission dbhost.mycompany.com:5432, connect; permission java.net.SocketPermission *.noaa.gov:80, connect; }; -- Jeanfrancois Andrew Cheng wrote: Quick

ERROR PAGE IN TOMCAT

2002-10-18 Thread Luca Ventura
Hello everybody! I would like to show an html error-page that I have written when an error happens in Tomcat (for example: PAGE NOT FOUND), instead of that one appears by default. How can I do? Is there some setting in Tomcat to do this? Best regards, Luca -- To

RE: Window doesnt close on shutdown

2002-10-18 Thread RXZ JLo
I am creating two socket listeners in my webapp, am I supposed to close them explicitly for the shutdown to finish gracefully? thanks, rf --- RXZ JLo [EMAIL PROTECTED] wrote: No. Should it? --- Adam Greene [EMAIL PROTECTED] wrote: Does the title bar say Finished?? -Original

RE: is this a bug ?

2002-10-18 Thread Shapira, Yoav
Hi, Can I use the jdk1.3.1 with Tomcat4 or not ? Yes. Download the heavier, non -LE-jdk14 version. If you want to use tomcat 4 with JDK 1.4+, download the lighter, -LE-jdk14 version. Yoav Shapira Millennium ChemInformatics This e-mail, including any attachments, is a confidential business

Re: How to get archived messages

2002-10-18 Thread Robert L Sowders
Here's another https://mailman.real-time.com/mailman/listinfo/tomcat-users rls tk g [EMAIL PROTECTED] 10/17/2002 09:45 PM Please respond to Tomcat Users List To: [EMAIL PROTECTED] cc: Subject:How to get archived messages hi all, i'm trying to

Re: IllegalStateException Error

2002-10-18 Thread Carl W. Jolly
try reset() ing the response before sending the redirect. You should not write to the response object if you are going to redirect/forward it to another resources that will output to the response object. response.reset(); also redirecting will not stop the thread from executing the remainder of

RE: Subclassing the Session object

2002-10-18 Thread Shapira, Yoav
Hi, I don't know the direct answer to your question. But I'm curious as to the use-case that's requiring you to subclass HttpSession. As opposed to, for example, binding your (Serializable) objects to the session? Thanks, Yoav Shapira Millennium ChemInformatics -Original Message-

IllegalStateException Error

2002-10-18 Thread Lior Shliechkorn
I'm trying to do some checking on my pages that make sure that the user logged out and all the attributes that were bounded to the session were destroyed (using session.invalidate() in the logout page). However, I'm running into difficulties with 1 of my pages. The check works fine on all the

RE: IllegalStateException Error

2002-10-18 Thread Cox, Charlie
ok, several problems here: 1. place a 'return;' after your sendRedirect() 2. remove unintended whitespace from your jsp: change % jsp:forward page=daily.jsp/jsp:forward % to %jsp:forward page=daily.jsp/jsp:forward% 3. post your error messages with stack trace. I happen

Java Connectors in Tomcat?

2002-10-18 Thread Extance, Paul
Is there plans to allow the Tomcat container to support the JCA part of the J2EE Spec. I have a JSP(Struts)/JDO based app, that runs on Tomcat, no EJB's in site. If i want to use a 3rd party connector (like SAP) do i now need a EJB type container like JBoss, or is Tomcat planning to support JCA

RE: Window doesnt close on shutdown

2002-10-18 Thread RXZ JLo
Yes the tomcat process (java.exe) is still in the task manager. Also on shutdown the process is taking in additional memory, I am not sure if it is my app or tomcat that is taking the additional memory of around 20mb. --- Robert L Sowders [EMAIL PROTECTED] wrote: Do you still see the tomcat

Re: John Turner or someone who responsible for Posting -- Re: How toApache2, Tomcat4.1.2, JK2 ?

2002-10-18 Thread Robert L Sowders
Sure, I'll pitch in. I'm pretty up on the windows junk. I should be able to have something for you fairly quick. Are you going to do the cvs thing? I'm used to that and all the other doc projects use it. rls yoom nguyen [EMAIL PROTECTED] 10/17/2002 09:04 PM Please respond to Tomcat

RE: socket permission catalina.policy question

2002-10-18 Thread Andrew Cheng
this had the expected effect: I used the return value later and got a null pointer exception. Perhaps the next thing to try is to ask builder in jdom.jar to do something simple instead of building from fs... and if that works? I'll let you know how that goes. If you have any other ideas,

FileNotFound and Problem connecting - where to start to debug ?

2002-10-18 Thread Arthur Chan
Hi all. I have Apache talking with Tomcat. Using http://ServerName/com/ServletName I can get data from the db-server to display in the browser, but this is only in a company intranet environment. On the intranet, any changes to the db can be displayed on the browser with only a slight delay.

Re: socket permission catalina.policy question

2002-10-18 Thread Jean-Francois Arcand
Everything seems fine...What is the exact error? I will try to setup my environment similar to you and see if I can reproduce the problemThe socket exception is from which component exactly? -- Jeanfrancois Andrew Cheng wrote: Euh...Can you post your catalina.policy file? Maybe another

How to Apache2, Tomcat4.1.2, JK2 ?

2002-10-18 Thread yoom nguyen
Does any one get this combination of Apache2.0.43, Tomcat4.1.2 and JK2.2.0.2 to work and documented? Would you share. My apaches 2.0.43 doesn't seems to communicate with tomcat 4.1.2. I am using jk2 (2.2.0.1)as the web connector. Apache2 in run on server #1 and Tomcat4.1.2 run on server #2.

socket permission catalina.policy question

2002-10-18 Thread Andrew Cheng
Quick question: I have an applet that communicates with a servlet. The servlet tries to download a DTD file from a third machine. It gets a socket permission access denied exception. I have wrapped the line of code in the servlet that downloads the file with a privileged block. The line of

Re: Best practices question

2002-10-18 Thread Adam Sherman
Mark Eggers wrote: Following that idea, only run Tomcat as root if you are using it as a web server binding to a port less than 1024. Otherwise, run it from a non-privledged account so that if there is a security issue the most it should trash is your web server environment. In addition, it is

RE: Index.jsp page in apache and tomcat config....

2002-10-18 Thread Raj Mettai
Hi John, thanks for your response, somehow I missed your response and was waiting to hear on this ...anyway, as you said I have all static data on apache and all dynamic data on tomcat. When I do JkMount for /online/* and index.jsp in web.xml it works great but Apache forwards all requests to

Re: socket permission catalina.policy question

2002-10-18 Thread Jean-Francois Arcand
Have you try to directly invoke builder.build outside the AccessController? Also, I think you have an extra ! at the end of the jdom jar file: grant codeBase file:${catalina.home}/myApplication/WEB-INF/lib/jdom.jar!/- { permission java.net.SocketPermission the.third.machine:8080, accept,

RE: Tomcat version output

2002-10-18 Thread Sigurður Bjarnason
I am using.. Linux and i dont get this output..! when i start in console. just. Using CATALINA_BASE: /var/jakarta/tomcat4.0.6 Using CATALINA_HOME: /var/jakarta/tomcat4.0.6 Using CATALINA_TMPDIR: /var/jakarta/tomcat4.0.6/temp Using JAVA_HOME: /var/java The thing is.. i am settin up

is this a bug ?

2002-10-18 Thread Ricardo de Souza Moura
Does anybody knows about this error ? Please 2002-10-17 10:16:24 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception javax.servlet.ServletException: Servlet execution threw an exception at

Re: Where do I get mod_jk?

2002-10-18 Thread Robert L Sowders
John Turner still has the old mod_jk for Apache 2.0.40 up at his web site. Also there is a How To that will get you started. http://www.johnturner.com/howto/apache-tomcat-howto.html rls Mark Eggers [EMAIL PROTECTED] 10/17/2002 08:41 PM Please respond to Tomcat Users List To:

R: How can I protect my servlet with a login and a password?

2002-10-18 Thread Luca Ventura
Thanks a lot! Regards, Luca -Messaggio originale- Da: Rajesh B [mailto:Rajesb;sapient.com] Inviato: giovedì 17 ottobre 2002 9.11 A: 'Tomcat Users List' Oggetto: RE: How can I protect my servlet with a login and a password? U just need to add basic authentication in ur

The ajp1.3 connector

2002-10-18 Thread Sigurður Bjarnason
Hi all I am wondering about the settings for ajp1.3 connector in server.xml .. these are my settings !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=50 maxProcessors=300 acceptCount=150 debug=0/ Ok.. are there

Re: Where do I get mod_jk?

2002-10-18 Thread Michael Sun
just wanted to thanks all those who replied. It's greatly appreciated. On Thu, 17 Oct 2002, Robert L Sowders wrote: John Turner still has the old mod_jk for Apache 2.0.40 up at his web site. Also there is a How To that will get you started.

Servlet directory?

2002-10-18 Thread Jørgen Ramskov
Hi I'm trying to some software called ArcIMS. It asks for the webservers servlet directory and in the readme it gives some examples: === Cut === Installing ArcIMS Servlet Connector The ArcIMS Servlet Connector directory, \com, must be copied to your Web server's servlet directory in order to

Re: How can I protect my servlet with a login and a password?

2002-10-18 Thread N Pappas
Remember that you can handle such security other ways-- e.g. you may control access through your own servlet by checking permissions/userid/password against entries in a database. Handling all security through applications like apache may work fine for your purposes but it may ultimately be too

RE: Window doesnt close on shutdown

2002-10-18 Thread Robert L Sowders
Do you still see the tomcat process in the task manager? If not is there a -w in the target field of the properties for the shortcut for Tomcat stop? rls RXZ JLo [EMAIL PROTECTED] 10/17/2002 09:12 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED]

RE: Best practices question

2002-10-18 Thread Turner, John
Actually, aside from the issue of running on a port under 1024, the idea that Tomcat running as root would make it easy for your webapp to do things admin applications, servers, and networks from a web interface is pretty scary. The last thing I want is some developer writing some code they

AW: tomcat 4.1 does not resolve links

2002-10-18 Thread Torsten Fohrer
here is a patch for FileDirContext.java -Ursprüngliche Nachricht- Von: Alexander Piavka [mailto:piavka;cs.bgu.ac.il] Gesendet: Donnerstag, 17. Oktober 2002 11:17 An: Tomcat Users List Betreff: Re: tomcat 4.1 does not resolve links Does anyone know then the 4.1.13 version

Internal Server Error - Still a newbie.

2002-10-18 Thread Curt LeCaptain
Using Tomcat 4.0.6, Apache 1.3.27, connected via mod_jk: I get an internal server error when attempting to execute a JSP. Upon reading my mod_jk.log, this's what I see: [Thu Oct 17 15:16:23 2002] [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 111 [Thu Oct 17 15:16:23 2002]

Configuring log files in Tomcat 4.1

2002-10-18 Thread David Scott
I get an annoying SSL warning in catalina.out on every request if the client is not authenticated by certificate, which in our application means every request. I would love to configure logging to (a) not log this warning message and (b) call catalina.out something else. The docs aren't much

RE: Tomcat version output

2002-10-18 Thread Julius Davies
Hello, Sigurður Bjarnason, I recently ran into this problem, as well. I found a solution that works nicely with all web-servers (Tomcat, JRun, Weblogic, etc...). Probably others have emailed you with this solution, but in case they haven't: First, create the following jsp: getServerInfo.jsp

  1   2   3   4   >