Vedr.: RE: Fetching protected URL in Tomcat

2003-08-14 Thread pste
Hi Im not involeved with Tomcat as a developer. Cant any of you developers make the patch. Let me know ;-) Steff I believe the j_target_url was a proprietary add-on attribute WebLogic added, not part of the servlet spec, and that there's no equivalent in tomcat at this time. I could be wrong

Attaching File Monitor Thread to Tomcat

2003-08-14 Thread Tyn T. Ong
Hi all, I'm trying to develop a Thread (I call it Monitor) which monitors a folder for FTP uploaded files (arbitrary upload interval) and parse them to DBMS. I would like to start and stop that Monitor Thread with tomcat so I loaded from a (load-on-startup) servlet. It loads OK and works fine bu

Re: Run Windows' command in Java method

2003-08-14 Thread Kwok Peng Tuck
Beware of the pitfalls that can come from using Runtime.exec() Have a look at this article first : http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html Cui Xiaojing-a13339 wrote: >Hello, > >Thanks so much for the help. Now I only want to execute a SQL Server's import/export >util

RE: Run Windows' command in Java method

2003-08-14 Thread Cui Xiaojing-a13339
Hello, Thanks so much for the help. Now I only want to execute a SQL Server's import/export utility in Java method. The utility could be executed using below command line in Windows Command prompt window: C:> BCP flex.dbo.CF_load in e:\Flex\file\inbound.txt /f e:\Flex\prog\bcp.fmt /S flex /U

RE: mod_jk2.so w/redhat9

2003-08-14 Thread Steve Madonna
very good! Thanks for the quick response. :-) -Original Message- From: Clive Luk [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 10:35 PM To: Tomcat Users List Subject: RE: mod_jk2.so w/redhat9 it just build a DSO file but you need to configure apache yourself have a look at th

Re: From which apache virtual host did a request come from?

2003-08-14 Thread Bill Barker
It seems that I had a momentary lapse here. A better suggestion is to use request.getServerName();. The 'host' header will also include the port number (if it's a non-standard port). "Bill Barker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Have you tried request.getHeader("hos

RE: mod_jk2.so w/redhat9

2003-08-14 Thread Clive Luk
it just build a DSO file but you need to configure apache yourself have a look at the jakarta tomcat website. it tells your how to configure apache to talk to tomcat Cheers, Clive -Original Message- From: Steve Madonna [mailto:[EMAIL PROTECTED] Sent: Friday, 15 August 2003 3:33 PM To: Tom

Re: Tomcat 4.1.24 with JDK 1.4.1_03 compiled version wont start

2003-08-14 Thread Bill Barker
Did you do an 'ant clean' between builds? Otherwise, you might be using the j-t-c classes that were compiled w/o JMX. As a test, I commented out the references to 'jmx' and 'modeler' in by build.properties, and did a clean build. Once I commented out the two JMX listeners, Tomcat worked perfectl

RE: mod_jk2.so w/redhat9

2003-08-14 Thread Steve Madonna
does that build the connector directly into apache? -Original Message- From: Clive Luk [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 10:27 PM To: Tomcat Users List Subject: RE: mod_jk2.so w/redhat9 Hi Steve, That's how i build my mod_jk2.so i used jakarta-tomcat-connectors

RE: mod_jk2.so w/redhat9

2003-08-14 Thread Clive Luk
Hi Steve, That's how i build my mod_jk2.so i used jakarta-tomcat-connectors-4.1.26-src you may want to do a goole search and look for jakarta-tomcat-connectors-4.1.26-src but i aslos complied apache2 from source using httpd-2.0.47. chmod +x buildconf.sh ./buildconf.sh ./configure --with-apxs2=

mod_jk2.so w/redhat9

2003-08-14 Thread Steve Madonna
Has anyone out there built a mod_jk2.so file for the latest RH9 httpd-2.0.40-21.3? or know where I could get one? I did a a few google searches and looked through the archive for this list, but I can't find any info. I'm pretty surprised, actually. I figured someone would have built one by now? Tha

Tomcat 4.1.24 + Verisign global server id

2003-08-14 Thread Punam Mutha
Hi, If any one has successfully installed verisign global id certificate with Tomcat 4.1.24 on red hat linux. Please help me, once I replace the self signed certificate with that received from verisign, https://localhost:443 shows page not found. Regards, Punam ---

Re: Apache_SSL+Tomcat_nonSSL+mod_proxy

2003-08-14 Thread Bill Barker
I assume that you mean the client-cert. Firstly, I don't think that you can get this passed from mod_proxy to Tomcat (but I could be wrong, I've never tried :). It looks like the client doesn't have any valid certs to send (the blank dialog). You could try setting 'SSLVerifyClient optional' to v

Re: Run Windows' command in Java method

2003-08-14 Thread engp0510
http://java.sun.com/docs/books/tutorial/native1.1/ - Original Message - From: "Cui Xiaojing-a13339" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, August 15, 2003 11:41 AM Subject: Run Windows' command in Java method > Hello All, > > Do you know if windows

Re: Preventing access to a directory

2003-08-14 Thread Tim Funk
IIRC, /foo/bar/*.jsp is an invalid pattern. You can do path matching, or extension mapping, but not both at the same time. :( So you can either: *.jsp or /foo/bar/* or /foo/bar/pre_* Where you rename all your files which need protected to a prefix like pre_foo.jsp. OR you can use apach

Re: Tomcat 4.1.24: details of ServletExceptions

2003-08-14 Thread Tim Funk
Yup, this is a problem since the root cause is never really exposed. An easy workaround is to create your own custom error handler and use the following logic: Throwable rootCause; rootCause =(Throwable)request.getAttribute("javax.servlet.error.exception"); while (rootCause!=null) { doMagicPri

RE: how to suppor 30000 concurrent users

2003-08-14 Thread Angus Mezick
Actually, that is exactly how it is done. Here at http://www.guidestar.org we have 6 2xproc dell servers each running a webserver. If one drops out the cisco load balancer sees this and directs traffic to the other 5. We use a database table and a custom jdbc session manager to provide for sessi

Fwd: Re: Front Controller Servlet

2003-08-14 Thread Justin Ruthenbeck
Date: Tue, 05 Aug 2003 14:42:05 -0700 To: "Tomcat Users List" <[EMAIL PROTECTED]> From: Justin Ruthenbeck <[EMAIL PROTECTED]> Subject: Re: Front Controller Servlet At 05:42 AM 8/5/2003, you wrote: I am trying to build FrontController servlet for a web site on Tomcat 4 , after long time of changes

Tomcat/JDBC/Unicode

2003-08-14 Thread Kurt Overberg
I'm having a rather strange problem that I'm hoping someone can help me with. I'm using Struts 1.0/jsp on Debian linux under Tomcat 4.1.x and the blackdown JVM against PostgreSQL 7.3.2 . I'm attempting to convert my current SQL_ASCII database to UNICODE. I'm new to this, so am most likely ma

RE: servlet-Mapping using Tomcat 4

2003-08-14 Thread Shapira, Yoav
Howdy, >2. Name of JSP = whoKnows.war I'll assume you meant name of war file. >1. The main problem ist, that 'normal call' (/whoKnows/) works fine. That >means that I get my index.jsp, and all works the way I wanted to. >BUT, if I use /whoKnows/foo/bar my java-class of my jsp-Servlet (defined i

IIS+jk2 = bad performance?

2003-08-14 Thread Thomas Nybro Bolding
Having just upgraded to Tomcat 4.1.27 I also upgraded from jk to the jk2 redirector as I (has to!) use IIS to validate users etc. Thing is that with the jk2 connector (isapi_redirector2.dll) my JSP pages are CONSIDERABLY slower, i.e. way to slow to be acceptable. Does anyone has any experiences

RE: XP "random" tomcat crashes

2003-08-14 Thread Lenny Karpel
Are you using the client or server jvm ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 2:41 PM To: [EMAIL PROTECTED] Subject: XP "random" tomcat crashes Hi, We're using tomcat 4.1.12 with Java 1.4.1.02, and are encountering strange c

RE: URI Servlet Path Problems

2003-08-14 Thread Gregg Bolinger
Lol, I might as well just say /holocron/servlet/AddReference. That works. Is this typical or is there a problem and this is just a quick fix. Gregg -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 4:16 PM To: 'Tomcat Users List' Subject: R

System properties

2003-08-14 Thread Christian Hauser
Hello I'd like to know how I can set system properties when starting Tomcat 4.1. I mean those properties that I can get from within a JSP file as: System.getProperty("CONFIG_HOME") Thank you in advance for any hint. Christian ---

?

2003-08-14 Thread John Blanco
Sometimes I get the feeling that nothing works for me and I am at the mercy of this mailing list. :) Out of the box...4.1.27 with applied, latest hotfix...I uncomment the two ssi entries in conf/web.xml...I've renamed the jarfile as instructed to server/lib/servlets-ssi.jar. I

RE: Turning off session persistence

2003-08-14 Thread Angus Mezick
Don't know, with the scattered nature of the FM, any one stating RTFM probably should include which part (FP?) of which FM they want you to R. Or at least give you a keyword to search the FM for. --Angus > -Original Message- > From: Aurele Venet [mailto:[EMAIL PROTECTED] > Sent: Tuesday,

Re: Tomcat authentication against unixware/linux

2003-08-14 Thread Kristian A. Leth
It should be possible to use a JAASRealm! Has anyone any knowledge about authentificating against linus/unix using this realm ? http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/org/apache/catalina/realm/JAASRealm.html Regards Kleth -

database connection

2003-08-14 Thread Hans Wichman
Hi, I am evaluating a jsp application for a customer, which provides an interface to a database through some helperclasses. Each helper class manages the retrieval (and updates) of related underlying tables, and there are about 10 helperclasses. In the header (header.jsp) the jsp calls an initi

RE: large objects in sessions

2003-08-14 Thread Hans Wichman
Hi, it appears freeMemory is highly not to be trusted ;-): Here is the free memory after each 1000 objects created: #:717000 #:320080 #:1152992 #:512992 #:266208 #:1784800 #:1144800 #:504800 #:389088 #:3894240 The more objects I create the more memory I get ;-). In addition, how can the garbage co

RE: server.xml

2003-08-14 Thread Shapira, Yoav
Howdy, > Which values must I change in server.xml-file to improve the nummer >of users? You would typically remove everything you don't need, and raise min and maxProcessors on your connector to be as high as your hardware/OS supports. >Which are the highest values for all the parameters in

RE: Java and tomcat issues

2003-08-14 Thread Ahmad, Kashif
Sounds like your not appending the $JAVA_HOME/bin, but replacing the whole $PATH setting. You want to start the PATH assignment with something like this: PATH=$PATH:$JAVA_HOME/bin Hope this helps Kashif -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: Mapping problem

2003-08-14 Thread Tim Funk
Yeah - this is on my to FAQ list. -Tim Shapira, Yoav wrote: Aug 6, 2003 10:27:15 AM org.apache.commons.digester.Digester error SEVERE: Parse Error at line 129 column 11: The content of element type "web-app" must match "(icon?.desplay-name?,description?,distributable?, context-parm*, filter*, fil

[OT] Struts ActionForms and XDoclet

2003-08-14 Thread james Folsom
Hi. Normally I try not to bother people on this list, but I have been trying to get xdoclet to generate struts action forms for a CMP entity bean and cannot figure out what I am doing wrong. I have the task as a sub-element of the ejbcolet task. I have the @struts.form name="Person" as a class

RE: URI Servlet Path Problems

2003-08-14 Thread Mike Curwen
Sorry, I realized after sending it didn't explain the misunderstanding... I got caught up with this not long ago when using sendRedirect, so I think I have this clear in my mind. It's all in the browser. The browser interprets form actions that begin with slashes as meaning "relative to the dom

JDBC authority unstable

2003-08-14 Thread MaFai
Hello, tomcat-user, Now,using JDBC realm to implement authority.But some times,the tomcat would hang up while we press submit button to login. I have check catalina.out ,no error found,the apache log also has no error. Mysql runs smoothly,when the webpage can not login. Any idea? Best r

RE: large objects in sessions

2003-08-14 Thread Shapira, Yoav
Howdy, >And the hash in which you look up the object with the retrieved id can be >just something like a static hashtable in some class ? Yup. It's usually that simple. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain informatio

Re: Name JDBC is not bound in this context.

2003-08-14 Thread Andoni
Hi, I think this might be because I have the .war file that is using the JNDI connection pooling loading as the default context. Because it is in the /webapps folder it is also loading as the / context, even though I have nothing specified for this in server.xml. But this one I have no JNDI reso

Virus Alert

2003-08-14 Thread abuse
We have detected a virus (WORM_KLEZ.H) in your mail traffic sent from [EMAIL PROTECTED] in the file frames..bat on 08/14/2003 23:13:02. We took the action deleted. If you have questions regarding files or updating/installing Anti-virus protection on your PC, please contact your e-mail administra

Re: Session Listener's Session Event session empty?

2003-08-14 Thread Anthony Cunningham
Never did two lines make so much sense:) I will get a valid ID I suppose.. I now realise why all the examples of the session listener just showed the number of sessions and not any data from the sessions. Is there a mechanism where if you have the a list of session identifiers you can acc

RE: Help! heavy traffic is crapping out our site every 5 min! DBCP exceptions

2003-08-14 Thread Barclay A. Dunn
well, i followed the dbcp comment that says "set to 0 for unlimited" and that turns out to be wrong. i also tried -1 and that is equally unuseful in terms of setting it to unlimited. so i tried setting maxActive to 10 and so far it is generating no errors. no, i'm wrong. connecs shot up t

RE: A good book about Tomcat

2003-08-14 Thread Angus Mezick
Get the Apache Tomcat Bible from Wiley. It compares nicely to the wrox book. -Original Message- From: John Blanco [mailto:[EMAIL PROTECTED] Sent: Thu 8/14/2003 11:18 PM To: Tomcat Users List Cc: Subject:Re: A good book about Tomcat Wrox sucked anyway. I hate

Q: JAAS Realm useage

2003-08-14 Thread Roman \"Blade\" Velichko
Hi to All! How can I get Subject in my web application with JAASRealm? With best wishes Roman "Blade" Velichko [mailto:[EMAIL PROTECTED] Chance favour to prepared mind - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

RE: sendRedirect() doesnt work in https (posted again)

2003-08-14 Thread Shapira, Yoav
Howdy, Thanks for posting the solution, and glad you got it fixed ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Vijay Kandy [mailto:[EMAIL PROTECTED] >Sent: Wednesday, August 06, 2003 11:23 AM >To: 'Tomcat Users List' >Subject: RE: sendRedirect() doesnt work in h

Tomcat 4.1.24 behind a proxy

2003-08-14 Thread Sylvain.Thevoz
Hello, My Tomcat server runs behind a proxy. I set on my Windows 2000 server this environment variable to be able to access to external locations: CATALINA_OPTS = -DproxySet=true -DproxyHost=myproxy.blabla.com -DproxyPort=8080 It worked very well since I updated Tomcat to 4.1.24. Now it doesn't

Re: Tomcat 4.1 & https problem

2003-08-14 Thread Bill Barker
"full path to mykeystore" is a very unusual name for a file. ;-). "Hou, Rowena" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I've been running Tomcat as a standalone Web server for a while. My project > run fine at http with sign applet. I want to switch from HTTP to HTTPS

RE: Help! heavy traffic is crapping out our site every 5 min! DBCP exceptions

2003-08-14 Thread Lawrence, Gabriel
Try running netstat on the linux box to see how many connections are out there. This might give you some more visibility into what network connections are actually being used and where they are going. -gabe -Original Message- From: Barclay A. Dunn [mailto:[EMAIL PROTECTED] Sent: Friday,

Re: Tomcat does not want to compile

2003-08-14 Thread Jon Wingfield
This is a JBuilder problem not a Tomcat problem. The JBuilder JSP compiler (com.borland.jbuilder.webserverglue.tomcat.jsp.JasperSunJavaCompiler from your stacktrace) can't find the tools.jar of your jdk. Is it in the path JBuilder uses to run the embedded Tomcat? Bob Hacker wrote: I am runnin

RE: how to get tomcat's tmp dir path?

2003-08-14 Thread Shapira, Yoav
Howdy, >any way to get the absolute path to my $CATALINA_BASE or >$CATALINA_BASE/temp directory? Thx. Several ways, none of which you want to do. One easy way is to add -DCATALINA_BASE=$CATALINA_BASE to your JAVA_OPTS, and then do a System.getProperty("CATALINA_BASE"). What you probably really

RE: tried alot of searching - caving in and emailing this list now

2003-08-14 Thread jherschel
Thanks for your reply Angus, We are using the WARP connector - here is my server.xml file below: As an aside, do you recommend using JK2 over WARP, and if so why? James

RE: Apache 2.0.47, Tomcat 5.0.5, JK2 connector 2.0.2

2003-08-14 Thread Pat Pomatto
Hi, I have done everything you mentioned. I also reconfigured the connector without jni. Tomcat does not throw any errors but apache does. Apache errors: [Thu Aug 07 12:39:45 2003] [error] mod_jk child init 1 0 [Thu Aug 07 12:39:45 2003] [error] jk2_init() Can't find child 9981 in scoreboard [Thu

Re: Tuning KeepAlive Connections?

2003-08-14 Thread Venkata Srinivasa Rao, Yerra
To disable connection timeouts, set connectionTimeout value to -1 At 02:09 PM 8/7/2003 -0400, you wrote: RedHat Linux 7.3 IBM JDK 1.4.1 Tomcat 4.1.24 Is it possible to disable KeepAlive connections with the Coyote HTTP/1.1 connector? If it's not possible to turn them off, is it possible to lower t

Re: From which apache virtual host did a request come from?

2003-08-14 Thread Bill Barker
Have you tried request.getHeader("host"); ? "Mike Curwen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Our Tomcat has one . There is also only one webapp to which any > request to the foo.com domain should go. > > Apache vhost blah.foo.com -> TC default host, default webapp > A

RE: url-pattern and realms security

2003-08-14 Thread Madere, Colin
So simple, gotta love those. All is working as desired. Thanks Bill! -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 11:27 PM To: [EMAIL PROTECTED] Subject: Re: url-pattern and realms security It's a Tomcat implementation detail, but I be

RE: Tomcat 4.1, https & access denied

2003-08-14 Thread Hou, Rowena
Hi, I can get my web application from https://localhost:8443/ but not from https://:8443/.. I got error message for access denied. It works fine for http://:8080/ What should I do? Thanks = error message from web == The requested URL could not be re

Re[2]: A good book about Tomcat

2003-08-14 Thread Alexander Vavilin
Hello John, And what about Apress ??? I have ebook called Apache Jakarta-Tomcat by James Goodwill. The year of publication is 2002, and it covers Tomcat 4.0 beta 1. Certainly things was changed in version 4.1, but it is a good start point, I think. -- Best regards, Alexander mailto:

RE: tried alot of searching - caving in and emailing this list now

2003-08-14 Thread jherschel
I just talked with the lead on this and it seems we used WARP by default since it is provided with Stronghold. We were having WARP specific issues, so we're going to look into getting mod_j2k to work with Stronghold. Shouldn't be too big an issue I hope. Thanks for your help Angus! James Hersche

RE: Custom Tag Lib

2003-08-14 Thread Mike Cherichetti \(Renegade Internet\)
Hi Shawn, Actually, I wasn't aware that there was an option to disable it. When I figured out what was happening, I went ahead and handled it in my code. No telling how other application servers might handle it. If you're only going to be deploying on Tomcat, disabling pooling would probably sa

Run Windows' command in Java method

2003-08-14 Thread Cui Xiaojing-a13339
Hello All, Do you know if windows' command could be executed in Java method? If yes, which API class method can be used to do it? Thanks a lot. Regards, Xiaojing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

[OT] JDBC confusion

2003-08-14 Thread john-paul delaney
Hello List... newbie question coming up: If I set up a jdbc connection object in one servlet, do I have to close it each time or can the same connection be re-utilized by other servlets each using a different sql statement (perhaps storing the connection as a session attribute?). Is there a si

Stop, Start Applications - Using TOMCAT Manager , Multiple Services

2003-08-14 Thread Thana Letchumi
Hi, May I know how do I configure the tomcat to run multiple services ?. I have installed tomcat in one UNIX server but there are more than one developer with applications to run on production. I need to ensure that the testing and reload of the particular application will not affect the others

Re: How Does GlobalNamingResources Work?

2003-08-14 Thread Carl Walker
I found the answer to this question this morning. Use in the to point to the definitions in the globals section. Carl Walker wrote: > Hi, > > I have an object and a javax.naming.spi.Naming factory that I want to > access as resources in server.xml. I'm able to use and > in the . However, w

Re: can a taglib include a .jsp file ?

2003-08-14 Thread Bill Barker
Assuming that your Tag extends TagSupport try: pageContext.include("mySomething.jsp"); "Mufaddal Khumri" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I know what the problem is and I know what I am trying to do wont get > translated... thats why i have asked for a better solut

JspC.setArgs()

2003-08-14 Thread Dmitry Beransky
Is there a way to manually compile jsp under Jasper 2 of Tomcat 4.1.x? Since JspC.setArgs is package private, I can't find another way to pass the options to the compiler. I've tried declaring a class inside org.apache.jasper package, but am still getting an error: java.lang.IllegalAccessError: t

Re: Freeing processors

2003-08-14 Thread Jon Wingfield
I think the connectionTimeout parameter controls how long the container waits before giving up on trying to obtain a request processor from the pool. Once the processor has been obtained a runaway/blocked process can stop the processor from being released. One way to get around this would be, fo

JNDI Realm

2003-08-14 Thread Scott Blanchard
I am having trouble setting up the JNDI Realm in tomcat (I am using 4.1.27). I can bind to the ldap server, authenticate the user, but when it goes to checking roles, I am unsure how to organize my directory, and what the application wants back when it does a filtered search. My ldap server is N

Re: Tomcat 5.0.2 and IIS

2003-08-14 Thread John Turner
If your JK connector port in server.xml is 8009, then that is the port you should use in your properties files. Please understand that Tomcat works with JK and JK2 by default. Right "out of the box", with no changes whatsoever to server.xml. You don't "need" to change anything until you are r

Re: Can I get an answer please -- Re: Why integrate Tomcat with aweb server?

2003-08-14 Thread John Turner
I did, last week. In any case, if you have something to ask me directly, you can send me a message off-list. John Nathan Ward wrote: Hello John, I hate to be pushy, but are you going to post a reply to this question at some point? Nathan - Original Message - From: Nathan War

RE: Help! heavy traffic is crapping out our site every 5 min! DBCP exceptions

2003-08-14 Thread Barclay A. Dunn
ok, well, at least we have concrete proof of it. now, given that i can confirm that i am closing connections (calling close() on them, which returns them to the pool), can you suggest how i might locate where those connections are not getting released? i have read some stuff about dbcp not being e

Re: A good book about Tomcat

2003-08-14 Thread John Blanco
Wrox sucked anyway. I hated the red, glaring cover with the geeks in the pictures. :) If I wanted to see a geek, I'd go through my own photo album, thank you very much. The TomCat book from O'Reilly is OK, but it left be scrambling to find the real way to do things s

TOMCAT x WSAD

2003-08-14 Thread Oscar \(Eccox\)
Title: Mensagem Hi, List,   I'm using WSAD with TOMCAT... When I select 'Run On Server' in the WSAD menu, the TOMCAT starts in debug mode and the Navigator opens and points to my index.jsp page, for example. But, I receive the error:   HTTP Status 404 - /application/index.jsp type Status

Re: Https not working

2003-08-14 Thread Kurt Overberg
Neither of those urls are passing through you apache, unless you have it configured to run on port 8080 (which is usually the Tomcat port). Not sure if you can configure Tomcat to use SSL directly, but I do know that just sticking an 'https' in front of it won't work. You need to set up apach

RE: 404

2003-08-14 Thread rob engstrom
If I recall correctly, this should go in the web.xml 404 404.jsp <-- whatever you named it & location. --- robert engstrom -Original Message- From: Boyles, Walter [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 1:32 PM To: [EMAIL PROTECTED] Subject: 404 Is there

Re: Tomcat 4.1 & https problem

2003-08-14 Thread 唐文民
Hou, Rowena,您好! you may by change server.xml like this,try again. You will be sucessful. keystoreFile="mykeystore" keystorePass = "password" === 2003-08-06 16:23:00 您在来信中写道:=== >Hi, > >I've been running Tomcat as a standalone Web server for a while. M

Re: tomcat and external provider

2003-08-14 Thread Maxime Colas des Francs
I resolve that with copying criptyx jar in $CATALINA_HOME/shared/lib Smbdy can explain this ? At 13:46 2003-08-07 -0400, you wrote: Hi I detect a stange comportement of my tomcat when using an external security provider I want to use openpgp in my web application with cryptix provider In a 'l

Re: url-pattern and realms security

2003-08-14 Thread Bill Barker
It's a Tomcat implementation detail, but I believe that 4.1.x does a first-match (so moving "/*" to the end of the list should work). The Servlet 2.4 spec is much more specific about what to do in your case, so Tomcat 5 and WebLogic should do the same thing when they come out. "Madere, Colin" <[E

RES: Servlet Dispatcher is currently unavailable

2003-08-14 Thread Oscar \(Eccox\)
Yes... There were a few errors (applications that were not loaded)... When I remove the errors, everything is OK... Thanks... === José Oscar de Souza Eduardo Coordenador de Projetos tel: 3047-4541 fax: 3047-4550 [EMAIL PROTECTED] === -M

dynamic install and reload

2003-08-14 Thread Steve Widmar
Greetings, all: I'm looking for help with the following deployment scenarios: 1. Install a web app (.war) into a running tomcat 4.1.x 2. reload same web app after arbitrary changes to it For both of these scenarios: 1. deployment activity driven from ant script 2. ant script executed on host tha

RE: Help! heavy traffic is crapping out our site every 5 min! DBCPexceptions

2003-08-14 Thread Eric J. Pinnell
Sorry, I sent this a little to soon... Get 5 or 10 thread dumps in a row real fast... just bam, bam, bam, etc... >From that you can tell what the threads are doing. They should be moving through methods (or classes) very quickly. If they are sticking they are waiting on something and that's typ

Re[2]: url-pattern and realms security

2003-08-14 Thread Alexander Vavilin
Hello Colin, Of course, your /* directive will overwrite all. You should use more concrete names and paths. -- Best regards, Alexander mailto:[EMAIL PROTECTED] Friday, August 15, 2003, 4:53:36 AM, you wrote: MC> Sorry sorry, elements are unique, just a copying error. MC> -Ori

TC 5.0.6: Random errors when deploying/reloading webapps via ANT

2003-08-14 Thread Yann Cébron
Hi, does anyone else experience random errors when deploying/reloading webapps via ANT-tasks? I don't have the stacktraces at hand right now, but e.g. one of the errors was it couldn't find/access a .TLD inside a .JAR (Struts). IMHO this seems like a timing problem when copying the required .JAR-

Re: Tomcat 5.0.2 and IIS

2003-08-14 Thread vikas jain
Now I have changed the worker.properties file to this: worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 and uriworkermap.properties to: /examples/*=ajp13 /examples/*.jsp=ajp13 /examples/servlet/*=ajp13 but not working :( Vikas From: John Turner <[EMAIL

Nightly Build - What's the /manager app's default username/password?

2003-08-14 Thread Joe Reger, Jr.
I just installed the 8/6 nightly. What is the username/password by default for the /manager app? I usually set it in the installer but there wasn't an installer this time. Thanks, Joe - To unsubscribe, e-mail: [EMAIL PROTECT

RE: NetBeans Debug in JSP Tag Files

2003-08-14 Thread Angus Mezick
Don't mean to be annoying but this is EXTREMELY easy to do in eclipse. > -Original Message- > From: Carlos Cajina - Hotmail [mailto:[EMAIL PROTECTED] > Sent: Friday, August 08, 2003 6:19 PM > To: Tomcat Users List > Subject: Re: NetBeans Debug in JSP Tag Files > > > Hi Shawn... Do y

Exception report

2003-08-14 Thread L. Karam
I am trying to configure an application of the TOMCAT 4.0 for the TOMCAT 4.1. E the following error happens: javax.servlet.ServletException: Cannot allocate servlet instance for path /ebs/servlet/servlets.servletEbs what it can be? I only copied the folder for Tomcat 4.1. Tks Leandro [1]...

RE: Can I get an answer please -- Re: Why integrate Tomcat with a web server?

2003-08-14 Thread Noel J. Bergman
Nathan, There are many facets to the subject, but if all you don't mind running all of your domains in one process, have no need for load balancing, no need for non-Tomcat features, etc., then running Tomcat directly is probably fine. Historically (and structurally), Tomcat should prove more secur

RE: url-pattern and realms security

2003-08-14 Thread Madere, Colin
Sorry sorry, elements are unique, just a copying error. -Original Message- From: Alexander Vavilin [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 10:33 PM To: Tomcat Users List Subject: Re: url-pattern and realms security Hello Colin, I am not sure, but I think you cannot d

Re: Configuration of Customer Resource Factory in JNDI

2003-08-14 Thread jowenachua
I'm also working on a problem similar to this... anybody who has already worked on this ? I came across this archive which I think is similar to this problem but to no avail.. i still can't make it work... -Mensaje original- De: Roberts, Eric [mailto:[EMAIL PROTECTED] Enviado el: J

Re: Question about ssl and tomcat

2003-08-14 Thread Bill Barker
You need to set the redirectPort attribute on the Connector to point to Apache's SSL port. However, since this defaults to 443, I'm guessing that the real problem is that you don't have your JkMount statements defined in your SSL VirtualHost. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTE

cannot resolve symbol

2003-08-14 Thread Bradberry, Rick
I have apache and tomcat up and running. Now I'm trying to compile mod_mk2 and get the following error. Does any one know which jar file I'm missing? [javac] /export/home/jakarta-tomcat-connectors-4.1.27-src/util/java/org/apache/tomca t/util/net/PoolTcpEndpoint.java:122: cannot resolve symbol

RE: moving from tomcat3 to tomcat4

2003-08-14 Thread Frank Cooley
Hi My url is http://localhost:8080/workout/servlet/DbOpen where the webapp is workout. I pretty much just used the web.xml from tomcat3, and perhaps that is the problem. I didn't include any filters or resources or anything. The logs show no errors and the manager shows the app as running.

Re: mod_jk-problem with rewritten urls

2003-08-14 Thread Bill Barker
This is supposed to be fixed in the upcoming mod_jk 1.2.5. It's still being evaluated, but you can get the early-access from http://cvs.apache.org/~glenn/jakarta-tomcat-connectors-jk-1.2.5-src.tar.gz. "Karsten Dello" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > dear list, > > i

Re: Anyone running jk2 with Stronghold 4.0?

2003-08-14 Thread Eric J. Pinnell
Hi, I'm going to guess an say that you should try to install it just like the instructions say to install JK2 on apache. As I remember stronghold is apache with a proprietary ssl module. I don't see how that would prevent the apache from loading the JK2 module. -e On Fri, 8 Aug 2003, jherschel

Re: Tomcat vs. Apache Performance Comparison for static HTML

2003-08-14 Thread Jeff Tulley
It probably bears repeating the link to Craig's analysis of Apache vs Tomcat standalone and the procedure for determining what is best FOR YOUR APPLICATION: http://marc.theaimsgroup.com/?l=tomcat-user&m=104874913017036&w=2 BTW - as somebody alluded to earlier, this link was found through the FAQ,

unexpected java.lang.NoClassDefFoundError: javax/management/MBeanRegistration

2003-08-14 Thread Dmitry Beransky
I'm trying to integrate a custom compiled Tomcat 4.1.27 with Intellj IDEA (using a third-party plugin allowing invocation of Tomcat 4.1 from inside IDEA). Tomcat quits almost immediately with the following exception: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccess

Re: Re: Oracle connection pooling

2003-08-14 Thread 苗启广
ÔÚ 2003-08-09 00:07:00 ÄúдµÀ£º >Hi,of you ? Could you tell me ? Thanks~~ > >Firewalls, and I'm not speaking for all of them, as a rule of thumb close >_idle_ connections after an hour. > >Your connections should be done well before that. > >-e > >On Fri, 8 Aug 2003, Cristopher Daniluk wrote: > >

Installing IIS Certificates in Tomcat?

2003-08-14 Thread Robert J. Sanford, Jr.
I'm running Tomcat inside of jboss-3.2.1_tomcat-4.1.24 but I think the issue will be the same independent of that. The platform is Win2K SP3. The plan is to use Tomcat's HTTP server instead of IIS with the AJP ISAPI connector. Since all requests are being handled by servlets with no static content

Re: Freeing processors

2003-08-14 Thread Daniel Carlsson
Hi The connectionTimeout parameter does not solve my problem. I don't know exactly what it does but it does not free a busy processor after some time. I will illustrate my problem with som source code. My servlet is sleeping 5 min to simulate that it is hanged/deadlocked. A wan't some way to au

Re: url-pattern and realms security

2003-08-14 Thread Alexander Vavilin
Hello Colin, I am not sure, but I think you cannot do this, first an element means an UNIQUE name. Can you understand ? You must give it different names. Second thing, I never heard about element. Hope it will help. -- Best regards, Alexander mailto:[EMAIL PROTECTED] Friday, Augu

Re: unexpected java.lang.NoClassDefFoundError: javax/management/MBeanRegistration

2003-08-14 Thread Dmitry Beransky
At 10:07 AM 8/8/2003, Jean-Francois Arcand wrote: This plug-in is for which version? The plugin itself is from Sean Taylor (http://www.objectorientedsoftware.com/projects/index.html). I'm using IDEA v. 3.0.4 Can you post the entire stack trace? Exception during startup processing java.lang.ref

jstl/sql

2003-08-14 Thread Daniel Herbison
I'm trying to use the sql tag in a simple jsp. The sql tag seems to be ignored! I can see the query, below, on the web-page and the entire COIDW Oracle Datasource jdbc/coidw javax.sql.DataSource Container http://java.sun.com/jstl/sql /WEB-INF/ta

  1   2   3   4   5   6   7   8   9   >