RE: Excel sheets

2003-02-21 Thread Mike Johnson
I was having the same problem with IE until I finally found a microsoft document on the subject. It suggested setting the Content-disposition header, which does force IE to treat files like you'd expect. *shrugs* eg: response.setHeader("Content-disposition", "filename=foo.csv"); On Thu, 2003-0

Re: tomcat5.0 build problem

2003-02-21 Thread Steve Guo
Actually I am using Ant 1.5.1.Although my company has a firewall, we do not use a proxy server (?), because this is the setup in IE when accessing the Internet from office. In IE5.5, Tools | Internet Options | Connections | Lan Settings, proxy server is unchecked, 'Use automatic configuration s

Re: Microsoft JVM

2003-02-21 Thread rf
--- Bill Barker <[EMAIL PROTECTED]> wrote: > From memory, I think that Microsoft's JVM is 1.1.6. > This will mean that you > only have a hope of running Tomcat 3.3. All other > Tomcat versions require > at least 1.2. > I quickly verified if jview supports any jdk1.2 api. The javadoc of java.la

Re: Problem w/ 2 jdbc DataSources

2003-02-21 Thread s.bernstein
Yeah, you're right. That dawned on me after the fact. Even a show tables would have been better. SB - Original Message - From: "Ian Hunter" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, February 21, 2003 7:58 PM Subject: Re: Problem w/ 2 jdbc DataSources

Re: Web browser authenticates to Tomcat Server using Client SSL authentication

2003-02-21 Thread Bill Barker
"Kwan Hon Luen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi , > > Have configured Tomcat to use SSL with client authentication set to true. > Have imported client (which is the web browser IE) certificate to tomcat > server keystore. > But when I use IE to connect to Tomcat, i

Re: problem with classpath modification

2003-02-21 Thread Steve Guo
U must be using UNIX, although I have no experience with UNIX, but let me throw out my thoughts at it. I use Tomcat 4.1.18 under Win200, no problem. In general I do not modify .sh or.bat file, when I need to put something .jar into the classpath of many webapps, I just do it using system variabl

Re: Microsoft JVM

2003-02-21 Thread Bill Barker
>From memory, I think that Microsoft's JVM is 1.1.6. This will mean that you only have a hope of running Tomcat 3.3. All other Tomcat versions require at least 1.2. "rf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Has anybody tried to run tomcat using the Microsoft > JVM - jvie

Microsoft JVM

2003-02-21 Thread rf
Has anybody tried to run tomcat using the Microsoft JVM - jview? If yes, what do you set for JAVA_HOME? Thank you ~rf __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/

problem with classpath modification

2003-02-21 Thread William Claxton
Since I didn't see any reply to my first post, let me try to restate, and simplify the issue. Interested readers may refer to the earlier post (same subject) for details. We encountered an issue when adding a classpath entry to the Tomcat (v4.1.18) 'setclasspath.sh' script. It so happens that th

Re: 403 Forbidden - you don't have permission ... any ideas?

2003-02-21 Thread Bill Barker
With your config, the one thing that you can rule out for sure is the connector. Apache won't consult the connector in this case (or, rather, it will but mod_jk(2) will punt :). It is entirely an Apache configuration problem. Just for chuckles, you could try commenting out the 'AllowOverride Non

Re: Slightly Off Topic: Web Site Content

2003-02-21 Thread Jeff Turner
On Fri, Feb 21, 2003 at 10:34:18AM -0500, Turner, John wrote: > > Or even Forrest: > > http://xml.apache.org/forrest/index.html Especially: http://xml.apache.org/forrest/linking.html Links are stored in a central site.xml file (which generates the menu), and then pages link to the (partial) XP

Re: tomcat5.0 build problem

2003-02-21 Thread Bill Barker
Since you are behind a firewall, make sure that you have set 'proxy.host', 'proxy.port', and 'proxy.use' in your "build.properties" file. They are commented out in the "build.properties.default" file. At a guess, the wall you are hitting first is due to using a version of Jakarta-Ant < 1.5. You

Re: javax jar

2003-02-21 Thread Bill Barker
Right and wrong. It is true that javax.* is spread out in multiple jars. For Tomcat (I'm assuming that you are using 4.x here), the javax.xml.parsers.* are in $CATALINA_HOME/common/endorsed. "Goehring, Chuck Mr., RCI - San Diego" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] m... Ja

Re: Problem w/ 2 jdbc DataSources

2003-02-21 Thread Ian Hunter
In the future, don't select from a table, just do "select 0" or something -- that way, you're assured of connectivity but you don't do any real work... just my two cents. - Original Message - From: "s.bernstein" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday,

Re: Problem w/ 2 jdbc DataSources

2003-02-21 Thread s.bernstein
Solved it. Pretty embarrassing. The org.apache.commons.dbcp.BasicDataSourceFactory class has a setter for "validationQuery", so I have an entry in server.xml for that. I mindlessly set a SELECT on an empty table, so the loop was repeated attempts to validate the query. It's always like that, i

Re: Mac os x and class files

2003-02-21 Thread Warrren Burholt
I'm using JDK 1.4. I'll go back to 1.3 although my 4.0.3 has the exact same problem with finding classes whether I'm using 1.3 or 1.4After I have 1.3 running, if the problem persists in 4.1.18 (and not the 1.4 version!), at least I will know that the preview version is not the cause. And I

odd webserver error messages from modjk2

2003-02-21 Thread Chong, Kwong
Hey there, We are running solaris 8 apache 2.0.43 mod_jk2-2.0.43.so tomcat 4.1.18 Everyting seems to be running fine, but we get some odd error messages in our webserver log files relating to our tomcat connector... [Sat Feb 22 11:45:04 2003] [error] channelSocket.receive(): Error receiving m

RE: Tomcat 3.3.1a Install Windows 2000 Service

2003-02-21 Thread Larry Isaacs
There is no equivalent to Tomcat 4.x's Tomcat.exe install program in Tomcat 3.3.x. However, you can install Tomcat 3.3.x as a service by using the jk_nt_service.exe downloadable from here: http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1a/bin/win32/i386/ Be sure to read the note at

Re: Re[2]: Best Logging practices

2003-02-21 Thread Steven J. Owens
On Wed, Feb 19, 2003 at 05:14:39PM -0300, Felipe Schnack wrote: > What are the real advantages os log4j? Everybody says it's better, but > no one says why :-) I wrote up a brief comparison, it's at http://darksleep.com. The main answer is that just using *any* logging API is more than half

Problem w/ 2 jdbc DataSources

2003-02-21 Thread s.bernstein
Hi, I set up one JNDI/DBCP connection pool to one MySQL db following the JNDI DataSources HOW-TO with seemingly no problems. I needed to add a second MySQL running on the same machine under the same MySQL server (my W2K development machine). I followed the exact same steps, only the db name and U

Re: AJP13 encryption

2003-02-21 Thread Ian McFarland
Can't you just tunnel your AJP connection using ssh or stunnel or similar? I suppose you could hack the AJP connector to use TLS, but of course then you'd have to also rewrite your plugin (IIS or NSAPI) to know about TLS, too. Do you need something more than a secure pipe to pass your data thro

Re: AJP13 encryption

2003-02-21 Thread Ian Hunter
I'm not aware of any way to do that. You could ditch the ajp connector and go straight from IIS/iPlanet to port 443/8443 and let Tomcat serve SSL...? Sounds like an interesting network environment if your Tomcat server isn't in a DMZ of some sort hiding behind firewall. - Original Message --

Re: Mac os x and class files

2003-02-21 Thread Jake Robb
The 1.4.x JDK isn't production-ready for OS X yet. There are developer preview versions, but they're far from reliable or complete at this time. -Jake Ian McFarland wrote: > Are you using JDK1.3.1 or 1.4.1 on your OS X box? You know the default > configuration for OS X is to use 1.3.1, and you

Re: AJP13 encryption

2003-02-21 Thread Jean
Ian Handle the encryption via SSL at the IIS/iPlanet point, then go unencrypted to Tomcat...? That's what I do with Apache. Sorry if my message was unclear: i do need encryption between the web server and Tomcat. jean - Original Message - From: "Jean" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

Re: Mac os x and class files

2003-02-21 Thread Ian McFarland
Are you using JDK1.3.1 or 1.4.1 on your OS X box? You know the default configuration for OS X is to use 1.3.1, and you should be doing so for production anyway. In any case, I use Tomcat 4.1.12 (not the LE version) on OS X 10.2.4 all the time. (And have on 10.2.3, 10.2.2, 10.2.1, 10.1.x...) and

Re: AJP13 encryption

2003-02-21 Thread Ian Hunter
Handle the encryption via SSL at the IIS/iPlanet point, then go unencrypted to Tomcat...? That's what I do with Apache. - Original Message - From: "Jean" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, February 21, 2003 7:16 PM Subject: AJP13 encryption >

Mac os x and class files

2003-02-21 Thread Warrren Burholt
Hello Tomcat Users, On os x 10.2.3 I installed jakarta-tomcat-4.1.8-LE-jdk14 in usr/local I cannot get Tomcat to load my classes. Besides putting them in webapps/ROOT/WEB-INF/classes, I have tried common/classes and shared/classes. I have reverted back to using jakarta-tomcat-4.0.3 And there

AJP13 encryption

2003-02-21 Thread Jean
Hi, I am looking for a solution to use IIS and/or iPlanet as reverse proxy connecting to Tomcat (and/or Jetty). AJP seems the most common solution but it does not seem to support any encryption between the webserver and Tomcat. I am looking for pointers on secure alternatives to AJP13. Thanks jea

R: applying server.xml changes without restarting server

2003-02-21 Thread Simone Chiaretta
> -Messaggio originale- > Da: Rasputin [mailto:[EMAIL PROTECTED] > Inviato: sabato 22 febbraio 2003 0.48 > A: Tomcat Users List > Oggetto: Re: applying server.xml changes without restarting server > > > * Simone Chiaretta <[EMAIL PROTECTED]> [0223 23:23]: > > Hello all, > > I'd like to kn

Re: applying server.xml changes without restarting server

2003-02-21 Thread Rasputin
* Simone Chiaretta <[EMAIL PROTECTED]> [0223 23:23]: > Hello all, > I'd like to know if there is a way to apply server.xml changes without > restarting Tomcat? > I noticed that even changes to tomcat-user.xml need a server restart... > it there a way to see the changes without restarting? It reall

Wildcard sub-domains being truncated

2003-02-21 Thread tbye
I currently use Tomcat 4.1.18 with Apache. I have all wildcard domains mapped to my Controller servlet. When a request is made to the servlet and I call request.getServerName(), the sub-domain is being truncated from the Full Qualified Domain Name. Anyone know of a solution/configuration that w

applying server.xml changes without restarting server

2003-02-21 Thread Simone Chiaretta
Hello all, I'd like to know if there is a way to apply server.xml changes without restarting Tomcat? I noticed that even changes to tomcat-user.xml need a server restart... it there a way to see the changes without restarting? thx simone --

Re: Catalina Ant tasks

2003-02-21 Thread Paul Yunusov
On Friday 21 February 2003 05:51 pm, Rasputin wrote: > * Paul Yunusov <[EMAIL PROTECTED]> [0205 22:05]: > > People complained about a lack of documentation for Catalina Ant tasks. > > Not complaints as such, just wondered if there was any really :) > > > best fairly accessible document I could find

RE: Mapping .jsp to controller servlet

2003-02-21 Thread Wendy Smoak
Ken wrote: > I found the following code from struts user list archive and it does what I > want. I'm not sure why I couldn't get WEB-INF to work but this may be a > better solution all in all. It may be... I hear that putting JSP's under WEB-INF isn't portable across containers. At least one of t

RE: javax jar

2003-02-21 Thread Goehring, Chuck Mr., RCI - San Diego
Jacques, javax.* are in multiple places. That particular set of classes is in in rt.jar for j2sdk 1.4. On windows, searching for files containing javax.xml.parsers finds it because that string winds up in the jar. Chuck -Original Message- From: Jacques Capesius [mailto:[EMAIL PROTECT

Re: Catalina Ant tasks

2003-02-21 Thread Rasputin
* Paul Yunusov <[EMAIL PROTECTED]> [0205 22:05]: > People complained about a lack of documentation for Catalina Ant tasks. Not complaints as such, just wondered if there was any really :) > best fairly accessible document I could find to date is the App Dev Guide at > the Tomcat doc site. > How

Re: javax jar

2003-02-21 Thread Steve Guo
I use the api doc in the SUN.COM j2ee download. Jacques Capesius <[EMAIL PROTECTED]> wrote:Hi folks, I have a somewhat bizarre question: do you know which of the tomcat jars contains the javax.* classes? The reason I ask is that I'm trying to get a JSP page that imports javax.xml.parsers.* and

RE: Mapping .jsp to controller servlet

2003-02-21 Thread Januski, Ken
Thanks Wendy, I found the following code from struts user list archive and it does what I want. I'm not sure why I couldn't get WEB-INF to work but this may be a better solution all in all. SecureAllJSPs *.jsp

javax jar

2003-02-21 Thread Jacques Capesius
Hi folks, I have a somewhat bizarre question: do you know which of the tomcat jars contains the javax.* classes? The reason I ask is that I'm trying to get a JSP page that imports javax.xml.parsers.* and a few other javax classes onto a Oracle9i Portal server. It's not finding the classes, so I'm

RE: tomcat5.0 build problem

2003-02-21 Thread Filip Hanik
try this, cvs checkout jakarta-tomcat-5 cd jakarta-tomcat-5 ant download ant checkout ant dist Filip -Original Message- From: Steve Guo [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 1:54 PM To: tomcatuser Subject: tomcat5.0 build problem Hi, this is the first time I tried

RE: How do i get the URL ... ?

2003-02-21 Thread Steve Guo
request.getRequestURL() - gives you the string without the host and protocol request.getRequestURI() - gives you the whole and complete string, but excluding parameters. "Raible, Matt" <[EMAIL PROTECTED]> wrote:request.getRequestURL() if you're using Servlet 2.3. > -Original Message

Catalina Ant tasks

2003-02-21 Thread Paul Yunusov
People complained about a lack of documentation for Catalina Ant tasks. The best fairly accessible document I could find to date is the App Dev Guide at the Tomcat doc site. However, I also strongly suggest looking at the tasks' source code. Look under /catalina/src/share/org/apache/catalina/a

RE: How do i get the URL ... ?

2003-02-21 Thread Raible, Matt
request.getRequestURL() if you're using Servlet 2.3. > -Original Message- > From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] > Sent: Friday, February 21, 2003 2:21 AM > To: Tomcat List > Subject: How do i get the URL ... ? > > > Hi, > > Lets say I have a Welcome.jsp page. How can i get t

tomcat5.0 build problem

2003-02-21 Thread Steve Guo
Hi, this is the first time I tried to build tomcat from source, ran into the following problems. If you can provide your comment or point me to resource, I would appreciate it. Thanks. Steve 1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am using does not

How do i get the URL ... ?

2003-02-21 Thread Mufaddal Khumri
Hi, Lets say I have a Welcome.jsp page. How can i get the completely URL to this page from within the Welcome.jsp page ? Welcome.jsp could be under http://mydomain.ding.com/blah/bloop/Welcome.jsp OR http://yourdomain.dong.com/yum/dum/Welcome.jsp So how do i access what URL was used to access We

How do i get the URL ... ?

2003-02-21 Thread Mufaddal Khumri
Hi, Lets say I have a Welcome.jsp page. How can i get the completely URL to this page from within the Welcome.jsp page ? Welcome.jsp could be under http://mydomain.ding.com/blah/bloop/Welcome.jsp OR http://yourdomain.dong.com/yum/dum/Welcome.jsp So how do i access what URL was used to access We

Re: wrestling with JSP error page

2003-02-21 Thread Will Hartung
> From: > Sent: Friday, February 21, 2003 11:54 AM > Subject: wrestling with JSP error page > Does anyone know of a way, besides maybe making the buffer size > really huge, to get around this problem? Would a Filter on the response > help with this? How would something like that work?

Re: making file case insensitive

2003-02-21 Thread Will Hartung
> From: "Peter Choe" > Sent: Friday, February 21, 2003 12:25 PM > Subject: making file case insensitive > is there a way to make tomcat serve html files regardless of the case of > the file? Sure, easy. Run it on top of Windows or Mac OS X on an HFS file system, as they're both case insesitive

RE: How to stop redirectPort from appending ":443"

2003-02-21 Thread pqin
I have had this problem before. But I forgot which config I corrected. Check your ssl.conf Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: Bryan Field-Elliot [mailto:bryan_lists@xxx] Sent: February 21, 2

Re: How to stop redirectPort from appending ":443"

2003-02-21 Thread Bryan Field-Elliot
I've just confirmed that the below problem is "hidden" by Internet Explorer (e.g. the :443 is stripped off), so IE users don't see this. I test on Mozilla, and after a Tomcat Connector "redirectPort" occurs, my URL window looks like this: https://my.server.com:443/my-page.jsp It should look like

RE: Mapping .jsp to controller servlet

2003-02-21 Thread Wendy Smoak
> I've found a workaround for the time being. Each .jsp page has access to a > bean that includes login info. I changed jsp page to test to see if the > login flag is true. If so nothing happens. If not then I use jsp:forward to > send it back to the login.jsp page. > So this will work until I feel

RE: JSP examples not running on new Installation of Tomcat

2003-02-21 Thread Appel, Jeremy D
It is getting compiled. I see the compiled class file in the work directory for my webapp. -Original Message- From: Ian Hunter [mailto:ihunter@x] Sent: Friday, February 21, 2003 3:43 PM To: Tomcat Users List Subject: Re: JSP examples not running on new Installation of Tomcat

mod_jk2 Can't find child in scoreboard

2003-02-21 Thread Kenneth Rothwell
I am using Apache/2.0.44 (Unix) mod_ssl/2.0.44 OpenSSL/0.9.6g mod_jk2/2.0.2 on a Solaris 8. Apache forwards requests to Tomcat , but I get suspicious messages in apache/logs/error_logs when a servlet is accessed... [Thu Feb 20 23:50:39 2003] [error] jk2_init() Can't find child 25336 in scorebo

Re: catalina.policy grant codebase not working

2003-02-21 Thread Lloyd A Duke
I can see it being added in the log file as well... log file.: policy: policy: Adding policy entry: policy: signedBy null policy: codeBase file:../webapps/ROOT/WEB-INF/lib/site.jar!/- policy: policy: (java.security.AllPermission ) policy: Lloyd A Duke wrote: Greetings, I am runn

RE: apache & tomcat (this old problem)

2003-02-21 Thread Dani
I did the changes below but it didn't work. Now the error_log is this: [Fri Feb 21 22:08:00 2003] [error] channelSocket.open() connect failed 192.168.5.1:8009 111 Connection refused [Fri Feb 21 22:08:00 2003] [error] ajp13.connect() failed ajp13:192.168.5.1:8009 [Fri Feb 21 22:08:00 2003] [error]

RE: Mapping .jsp to controller servlet

2003-02-21 Thread Januski, Ken
I've found a workaround for the time being. Each .jsp page has access to a bean that includes login info. I changed jsp page to test to see if the login flag is true. If so nothing happens. If not then I use jsp:forward to send it back to the login.jsp page. So this will work until I feel ready to

catalina.policy grant codebase not working

2003-02-21 Thread Lloyd A Duke
Greetings, I am running Tomcat 4.03 on Win2k I have recently started to run it with the -security flag. I have added the following to my catalina.policy file to test. grant codeBase "file:${catalina.home}/webapps/ROOT/WEB-INF/lib/site.jar!/-" { permission java.security.AllPermission; }; I have

How to stop redirectPort from appending ":443"

2003-02-21 Thread Bryan Field-Elliot
When a Connector's "redirectPort" kicks in to redirect the user to an SSL protected version of the same URI, it is appending ":443" after the DNS name of the server. This seems to be throwing off session tracking later, since subsequent hyperlinks (to other JSP pages) don't have the ":443" in the U

Re: JSP examples not running on new Installation of Tomcat

2003-02-21 Thread Ian Hunter
What is JAVA_HOME set to? You might be pointing to a JRE rather than a JDK. See the root cause? It's looking for a class numguess$jsp which ought to be compiled when you hit it the first time. - Original Message - From: "Appel, Jeremy D" To: Sent: Friday, February 21, 2003 3:37 PM Subj

JSP examples not running on new Installation of Tomcat

2003-02-21 Thread Appel, Jeremy D
I have just recently installed Apache Tomcat 4.0.4 running on a DEC Alpha cluster using OpenVMS 7.3.1 (I know unusual installation). I have been able to get the servlets to work but whenever I trying running a JSP page, I get the following error: exception org.apache.jasper.JasperException: Unabl

Where are mod_webapp docs??

2003-02-21 Thread Bryan Field-Elliot
It seems that every few months I have to pull up the reference on mod_webapp (Apache side), and every time, I lose all my hair trying find where the docs are, on apache.org or on jakarta.apache.org! Can someone please tell me where the docs are? Today, all I'm trying to find out, is the formal syn

making file case insensitive

2003-02-21 Thread Peter Choe
is there a way to make tomcat serve html files regardless of the case of the file? ie Hello.html and hello.html will retrieve the same file. Peter - To unsubscribe, e-mail: tomcat-user-unsubscribe@xx For addit

Re: Tomcat 3.3.1a Install Windows 2000 Service

2003-02-21 Thread Ian Hunter
The newer ones install that way by themselves. 4.1.18 is the latest "released" build. - Original Message - From: "Kathleen Long" To: Sent: Friday, February 21, 2003 3:08 PM Subject: Tomcat 3.3.1a Install Windows 2000 Service Is there a way to install Tomcat as a Windows Service? I d

Tomcat 3.3.1a Install Windows 2000 Service

2003-02-21 Thread Kathleen Long
Is there a way to install Tomcat as a Windows Service? I downloded a zip file and there was no install program. How can I make Tomcat a windows service? - To unsubscribe, e-mail: tomcat-user-unsubscribe@xx For

configuring JNDI for App-level auth

2003-02-21 Thread Erik Price
Hi, I have an account on a server running Tomcat 4.0.6 and am finally getting around to incorporating connection pooling into my app. At first I was going to use a home-brewed connection pooling class that I read in a book, then I discovered that there is support in Tomcat for the DBCP projec

I can't add wepapps - maybe wrong configuration

2003-02-21 Thread Marcello Vitali
I installed jdk 1.4, apache2, tomcat got the latter 2 talking each other with the old method connector (on win2k local enviroment). Everything seems working as I can access the examples folder both with localhost 8000 and localhost 8080 than I made a folder hello in the webapps folder with a sub

tomcat and SAS

2003-02-21 Thread Vladimer Shioshvili
Hello all, does anyone have experience with making SAS spawner and tomcat. Installation was successful, the whole thing seems to be working, but out of blue tomcat starts hogging CPU (99%) and once restarted bunch of SAS spawner errors appear in the application log in windows event logger. Tha

wrestling with JSP error page

2003-02-21 Thread jeff . guttadauro
Hi, all. I'm finding that the JSP errorPage directive has a serious flaw. Perhaps others out there have run into this and been as frustrated as I am and hopefully come up with some solution...? The flaw is that, if the response has already been committed, then the error page is just pl

Re: Servlet filter and listerner best practices

2003-02-21 Thread Will Hartung
> From: "Etienne" > Sent: Friday, February 21, 2003 11:06 AM > Subject: RE: Servlet filter and listerner best practices > Thanks Will, > > The filter servlet is only for logging checking and parameter init. I > would have like to learn more about (J2EE) pattern using filter and > listener servle

Re: redirectPort results in HTTP Status 500

2003-02-21 Thread Bryan Field-Elliot
Well, I was using JDK 1.3.1, and just for fun I tried booting up Tomcat on JDK 1.4, and the problem below just vanished. It works now. I'll report this as a bug (or at least, a request for documentation addendum) in Bugzilla, if it isn't already... On Fri, 2003-02-21 at 11:02, Bryan Field-Ellio

RE: Servlet filter and listerner best practices

2003-02-21 Thread Etienne
Thanks Will, The filter servlet is only for logging checking and parameter init. I would have like to learn more about (J2EE) pattern using filter and listener servlet. The problem about the filter servlet is that doFilter() do not throws exception, so we must catch everything in doFilter. So th

RE: Mapping .jsp to controller servlet

2003-02-21 Thread Januski, Ken
Thanks Erik, I'm going to hold off for awhile and see if anyone clarifies the public nature of the .jsp files and any possible way around it. In the meantime I'll keep experimenting on my own. If that leads to nothing, as I sort of suspect it will, then it's on to filters and more questions about

Re: Help! Anyone successfully install a purchased certificate?

2003-02-21 Thread Richard S. Huntrods
Matt, You are most welcome. I do hope it works for you, but I also know you would be very happy with Thawte. I chose them based on cost (less that 1/2 verisign and others). Cheers, -Richard Matt Fury wrote: >Richard, > >Thanks so much for your reply! I'm trying one last >time with InstantSSL. W

RE: apache & tomcat (this old problem)

2003-02-21 Thread pqin
Why not simple use default? Server port="8005" shutdown="SHUTDOWN"; non-SSL Coyote HTTP/1.1 Connector on port 8080; Coyote/JK2 AJP 1.3 Connector on port 8009 Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: Filip

RE: apache & tomcat (this old problem)

2003-02-21 Thread Filip Hanik
actually, the whole server.xml is messed up. you have set the shutdown port to 8080, the http port to 8080 and the ajp13 port to 8080 you violated the "if it ain't broke, don't fix it" law :)) Filip -Original Message- From: pqin@xx [mailto:pqin@xx] Sent: Friday,

RE: redirectPort results in HTTP Status 500

2003-02-21 Thread Bryan Field-Elliot
On Fri, 2003-02-21 at 11:13, Filip Hanik wrote: make sure your "redirect" port is set to 443 and not 8443 in server.xml Filip Thanks.. It is (set correctly to 443). Bryan

RE: apache & tomcat (this old problem)

2003-02-21 Thread pqin
One on 8080, one on 8009 Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: Filip Hanik [mailto:Filip.Hanik@x] Sent: February 21, 2003 1:13 PM To: Tomcat Users List Subject: RE: apache & tomcat (this old pr

RE: redirectPort results in HTTP Status 500

2003-02-21 Thread Filip Hanik
make sure your "redirect" port is set to 443 and not 8443 in server.xml Filip -Original Message- From: Bryan Field-Elliot [mailto:bryan_lists@xxx] Sent: Friday, February 21, 2003 10:13 AM To: Tomcat Users List Subject: RE: redirectPort results in HTTP Status 500 On Fri, 2003-02-

RE: apache & tomcat (this old problem)

2003-02-21 Thread pqin
Try channel.socket::8009 Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: Dani [mailto:alchasira@xxx] Sent: February 21, 2003 1:15 PM To: Tomcat Users List Subject: RE: apache & tomcat (this old probl

RE: apache & tomcat (this old problem)

2003-02-21 Thread Filip Hanik
you can't have two connectors listen to the same port, in your case 8080 Filip -Original Message- From: Dani [mailto:alchasira@xxx] Sent: Friday, February 21, 2003 10:15 AM To: Tomcat Users List Subject: RE: apache & tomcat (this old problem) - This is the apache error_log when

RE: redirectPort results in HTTP Status 500

2003-02-21 Thread Bryan Field-Elliot
On Fri, 2003-02-21 at 11:10, John Trollinger wrote: CONFIDENTIAL will only allow it to be transported via https. That's right. That's the effect I'm trying to achieve... When tomcat receives a request for "/test.jsp" on port 80, have it redirect to port 443 with "https:". It's documented tha

RE: redirectPort results in HTTP Status 500

2003-02-21 Thread John Trollinger
CONFIDENTIAL will only allow it to be transported via https. > -Original Message- > From: Bryan Field-Elliot [mailto:bryan_lists@xxx] > Sent: Friday, February 21, 2003 1:02 PM > To: Tomcat Users List > Subject: redirectPort results in HTTP Status 500 > > > I am (for the first ti

RE: apache & tomcat (this old problem)

2003-02-21 Thread Dani
- This is the apache error_log when I'm trying to connect [Fri Feb 21 19:06:15 2003] [error] workerEnv.init() create slot epStat.1 failed [Fri Feb 21 19:06:15 2003] [error] lb.service() worker failed ajp13:192.168.5.1:8080 [Fri Feb 21 19:06:15 2003] [error] lb.service() unrecoverable error... [Fri

RE: apache & tomcat (this old problem)

2003-02-21 Thread pqin
Not sure if mode_jk2-2.0.43.so works with apache 2.0.44. But workers2.properties and jk2.properties are quite simple. After I built tomcat-connector from source, I only did following changes 1. /usr/local/apache2/conf/workers2.properties # shared memory handling. [shm] file=/usr/local/jakarta-to

redirectPort results in HTTP Status 500

2003-02-21 Thread Bryan Field-Elliot
I am (for the first time) playing with CONFIDENTIAL. My site is already working fine on ports 80 and 443 (SSL), I've just never used this declarative security mechanism before. I have this constraint applied to page "test.jsp" for me to test the redirection. Every time I hit the page, I get a

RE: apache & tomcat (this old problem)

2003-02-21 Thread Turner, John
That's the correct *.so file. If you post relevant portions of your configuration, that would help us help you faster. John > -Original Message- > From: Dani [mailto:alchasira@xxx] > Sent: Friday, February 21, 2003 1:02 PM > To: tomcat-user@xx > Subject: apache &

RE: apache & tomcat (this old problem)

2003-02-21 Thread Filip Hanik
look in your log files, find the errors and send them to us -Original Message- From: Dani [mailto:alchasira@xxx] Sent: Friday, February 21, 2003 10:02 AM To: tomcat-user@xx Subject: apache & tomcat (this old problem) Hello. First of all: sorry for my terrible Engl

apache & tomcat (this old problem)

2003-02-21 Thread Dani
Hello. First of all: sorry for my terrible English. Second, I'm introducing myself: My name is Dani. Third thing (and the most important): my problem :-). "Again this silly and old problem?", you may say, but I can't solve it. Help me please. I've installed red hat 7.2, apache 2.0.44 & tomcat 4.1

Re: Mapping .jsp to controller servlet

2003-02-21 Thread Erik Price
Januski, Ken wrote: Erik, Thanks. Sorry I haven't been clearer. The servlet does use request.include. I just added a try/catch to it and noticed that it fails when trying to include the file that I've put in WEB-INF. The error is "javax.servlet.ServletException: queries.jsp". Oh. Sorry about th

Re: Servlet filter and listerner best practices

2003-02-21 Thread Will Hartung
> From: "Etienne" <[EMAIL PROTECTED]> > Sent: Friday, February 21, 2003 3:47 AM > Subject: Servlet filter and listerner best practices > Hi all, > > I am looking for some "best practices" for servlet filter (and servlet > listener). These are quite new (servlet 2.3). I am using a servlet > filter

RE: Re: Performance Issue

2003-02-21 Thread Mike Jackson
Something else to remember is the way that the JDBC driver in oracle works. You have to "retrieve" all the records that match your sql query. Oracle will do this whether you want it to or not. However that said, if the query is "static" (ie the where clause doesn't change except for the values yo

Re: Tomcat 4.1.18 Internal Server Error

2003-02-21 Thread Mark Baumann
Hello! On Fri, Feb 21, 2003 at 11:28:58AM -0500, Shapira, Yoav wrote: > > Howdy, > Are you running tomcat with a security manager, and if so what does your > policy file look like? Sorry but what's a secutrty manager? I am new to Tomcat, Java ... and I was happy to get Tomcat running. I solved t

Re: Re: Performance Issue

2003-02-21 Thread Will Hartung
Another thing you can try is to time how long it takes to get the FIRST record, rather than the entire thing. Sometimes the actual result set is fully realized until after the first row is fetched. Once the result set is realized on Oracle, fetching should be pretty quick. Regards, Will Hartung

RE: Mapping .jsp to controller servlet

2003-02-21 Thread Januski, Ken
Erik, Thanks. Sorry I haven't been clearer. The servlet does use request.include. I just added a try/catch to it and noticed that it fails when trying to include the file that I've put in WEB-INF. The error is "javax.servlet.ServletException: queries.jsp". I would like to get a few things clear b

Re: Help! Anyone successfully install a purchased certificate?

2003-02-21 Thread Matt Fury
Richard, Thanks so much for your reply! I'm trying one last time with InstantSSL. We'll find out soon and I'll let everyone know whether you can go with InstantSSL or not! :-) -Matt --- "Richard S. Huntrods" <[EMAIL PROTECTED]> wrote: > *** I am re-sending this email with the attachment > 'kt.b

RE: Performance Issue

2003-02-21 Thread Filip Hanik
Looks like either your network connection is super slow, or your oracle is not optimized at all. if it is oracle, go to amazon.com, buy yourself an oracle performance tuning book :) it is the fastest return on investment you will ever see. nothing to do with tomcat. Filip -Original Message

re: 403 Forbidden - you don't have permission ... I'M STUCK!!

2003-02-21 Thread tomcat guy
Oops, here are the files... > How would you define the in httpd.conf for the virtualhosts? > Just add multiple (s)? e.g. > > Options -Indexes > > > Options -Indexes > > The syntax appears to be ok after an apache.exe -t but > > The DocumentRoot is ignored as the DRs are defined

Re: 403 Forbidden - you don't have permission ... I'M STUCK!!

2003-02-21 Thread tomcat guy
How would you define the in httpd.conf for the virtualhosts? Just add multiple (s)? e.g. Options -Indexes Options -Indexes The syntax appears to be ok after an apache.exe -t but The DocumentRoot is ignored as the DRs are defined in ... correct? Attached is a copy of the auto gen

Re: startup issue (invalid CEN header)

2003-02-21 Thread Andre Jay Meissner
hi, did that, complete fresh binaries - same error. huh... any suggestions what I could try else? thanks so much in advance, *Jay > looks like one of your libraries (prob in server/lib or common/lib) is > corrupted. > simply try to replace them with fresh binaries. > > Filip > > -Original

Re: Mapping .jsp to controller servlet

2003-02-21 Thread Erik Price
Januski, Ken wrote: Hmm. I got a 404 error after moving one jsp file to WEB-INF and trying to directly access it. That's not great but at least it prevents access. Worse though is that when I then try to go to page after having logged in I get a "root cause: file not found error". So it looks to

  1   2   >