tomcat 5.0.28 on iseries

2004-11-16 Thread Roux, Wouter
Hi, Does anybody know where I can find help to run Tomcat 5.0.28 on iseries vr5r2? Thanks Wouter Roux This e-mail and attachments are confidential/legally privileged and any unauthorised use, distribution or disclosure thereof, in whatever form, by anyone other than the addressee is

RE: OutOfMemory errors compiling JSPs on 5.0.16 and 5.5.4

2004-11-16 Thread Dale, Matt
I have a copy of the old jvmstat if you'd like me to email it to you direct? -Original Message- From: Kevin A. Burton [mailto:[EMAIL PROTECTED] Sent: 15 November 2004 19:51 To: Tomcat Users List Subject: Re: OutOfMemory errors compiling JSPs on 5.0.16 and 5.5.4 Dale, Matt wrote: I've

RES: RES: [java] RE: http-https url rewrite bug TC 5.0.28?

2004-11-16 Thread Paulo Alvim
Thanks a lot, Steven... As you guess, in our case we don't have important security requirements (just personalized contents) most of time and the hardware isn't that good...but we don't fell confortable to accept http login. One more point in order to implement you suggestion: .. and

Re: tomcat 5.0.28 on iseries

2004-11-16 Thread Michiel Toneman
Hi Wouter, I have no idea what an iseries vr5r2 is, but if it runs a halfway-recent java ( 1.3.x) and has a relatively conventional filesystem, Tomcat should run just fine. Cheers, Michiel Roux, Wouter wrote: Hi, Does anybody know where I can find help to run Tomcat 5.0.28 on iseries vr5r2?

Re: tomcat 5.0.28 on iseries

2004-11-16 Thread Michiel Toneman
halfway-recent java ( 1.3.x) Sorry, that should read = Michiel -- Michiel Toneman Software Engineer Bibit Global Payment Services Regulierenring 10 3981 LB Bunnik [EMAIL PROTECTED] Tel. +31-30-6595168 Fax +31-30-6564464 http://www.bibit.com/

Re: tomcat 5.0.28 on iseries

2004-11-16 Thread Gilles Denans
hi, I tryed to deploy the calculator example with SOAP 2.3.1 Tomcat 3.3.2 I've read that a version of xerces.jar older than 1.2.3 isn't compatible but i can't find it. I ould find only newer versions It seem that the server is responding with test/html instead of text/xml but i don't know how

RE: tomcat 5.0.28 on iseries

2004-11-16 Thread Roux, Wouter
Hi, Sorry I meant 0S/400 version 5 release 2. wouter -Original Message- From: Michiel Toneman [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 12:51 PM To: Tomcat Users List Subject: Re: tomcat 5.0.28 on iseries Hi Wouter, I have no idea what an iseries vr5r2 is, but if

Re: problem accessing datasource in 5.5.4 application

2004-11-16 Thread Remy Maucherat
On Tue, 16 Nov 2004 02:54:23 -0500, Scott Mueller [EMAIL PROTECTED] wrote: Someone please help me. The same code that was working fine in tomcat 5.0.19 does not work anymore in 5.5.4 for accessing the database. I don't see how it could have worked without a ResourceLink element for your

RE : Declarative security example

2004-11-16 Thread LERBSCHER Jean-Pierre
Define a realm element for your Engine/Host/Context node in your server.xml configuration file. For example : Realm className=org.apache.catalina.realm.MemoryRealm / -Message d'origine- De : Freddy Villalba A. [mailto:[EMAIL PROTECTED] Envoyé : vendredi 12 novembre 2004 18:44 À : [EMAIL

RE: problem accessing datasource in 5.5.4 application

2004-11-16 Thread Allistair Crossley
this is all in my blog .. http://www.adcworks.com/blog/index.php/archives/2004/11/14/getting-up-and-running-with-tomcat-55 -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: 16 November 2004 11:06 To: Tomcat Users List Subject: Re: problem accessing datasource

Re: Setup Xms Xmx

2004-11-16 Thread Reynir Þór Hübner
Hey David, I'm one of those guys who use your software with good results. thanks for providing it. I must point out one small flaw. I always need to download Tabctl32.ocx and register it with regsvr32 before being able to use it (on win2k machines) along with the vb-runtime stuff. I dont know

Understanding origin of Unexpected exception ... outside the VM

2004-11-16 Thread Chris Kaido
Hi, I'm running a JSP application on Apache/Tomcat with mod_jk2 on Solaris 8. The application has more than 6Gb of RAM (yes, read six) to run and it crashes irregularly (see error output below) with exactly the same error. My purpose is to determine where the problem stands ... so I could look

Re: Understanding origin of Unexpected exception ... outside the VM

2004-11-16 Thread Tim Funk
JVM crash means native code doing bad things and since .. Current Java thread: at kyudo.NativeCall.Call_C_tpcall(Native Method) at kyudo.NativeCall.tp_call(NativeCall.java:58) That looks like a good candidate. -Tim Chris Kaido wrote: Hi, I'm running a JSP application on

Re: Understanding origin of Unexpected exception ... outside the VM

2004-11-16 Thread QM
On Tue, Nov 16, 2004 at 12:54:59PM +0100, Chris Kaido wrote: : The application has more than 6Gb of RAM (yes, read six) to run : and it crashes irregularly : [snip] : : Is it in ... : - Tomcat 4.1.30 ? : - Apache 2.0.49 with mod_jk2 : - Java VM 1.4.2_04 ? : - the JSP pages itself ? The error

Re: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-16 Thread Aman Raheja
We did set the Security level to low on IE. More suggestions? Thanks Aman Raheja Phillip Qin wrote: There are security and privacy settings in IE affect PDF generation. BTW, ensurethe link before query string ends with .pdf -Original Message- From: Aman Raheja [mailto:[EMAIL PROTECTED]

Re: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-16 Thread karjera
Laba diena. Dkojame, kad mums parate. Js atsista inut isaugota ms duomen bazje. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-16 Thread David Boyer
Are you setting the MIME type in the response header properly for the PDF? Also note that the Acrobat Reader plugin doesn't like to read PDFs if they've been served using HTTP compression (I don't know if that applies in your case or not). Also, if the PDF is being sent over SSL, note that IE

RE: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-16 Thread Phillip Qin
Where do you generate the pdf? In servlet? The link has to be end with .pdf (but before any query string) in order for acrobat reader active-x to kick in. -Original Message- From: Aman Raheja [mailto:[EMAIL PROTECTED] Sent: November 16, 2004 9:27 AM To: Tomcat Users List Subject: Re:

RE: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-16 Thread Graff, David
I've developed a couple of applications that spit back PDF files from within Struts. One thing I did have to do was make sure the generated PDF's response content type was application/pdf I don't think I've had to do anything with filename extensions. -Original Message- From: Phillip

RE: gc output for tomcat?? where is it

2004-11-16 Thread Pooleery, Manoj
No, it doesn't print it in the stdout.log either. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, November 15, 2004 4:46 PM To: Tomcat Users List Subject: RE: gc output for tomcat?? where is it Hi, Well, the console is trapped to stdout.log when running

RE: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-16 Thread Phillip Qin
Mozilla does not have the extension issue. IE does. I use struts too. -Original Message- From: Graff, David [mailto:[EMAIL PROTECTED] Sent: November 16, 2004 9:42 AM To: 'Tomcat Users List' Subject: RE: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in I've

Tomcat JRE vs JDK Issue

2004-11-16 Thread Hubble, Christopher
I'm trying to run Tomcat 5.0.28 on W2k client machine. On my machine, it runs fine, with no problems. But when I copy it over to the client machine, which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that it requires the JDK. Why is this, and is there a workaround, or do I have to

java.awt.HeadlessException

2004-11-16 Thread indu ss
Hi, I'm using Tomcat 5.0.12,J2sdk1.5 on Linux Fedora 2 . I need to have a servlet which displays jpg images without using Xserver. I get this error even after starting tomcat with CATALINA_OPTS=-Djava.awt.headless=true and also with Xvfb running. java.awt.HeadlessException at

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Allistair Crossley
does the client machine have JAVA_HOME as an environment variable? -Original Message- From: Hubble, Christopher [mailto:[EMAIL PROTECTED] Sent: 16 November 2004 15:09 To: [EMAIL PROTECTED] Subject: Tomcat JRE vs JDK Issue I'm trying to run Tomcat 5.0.28 on W2k client machine.

RE: java.awt.HeadlessException

2004-11-16 Thread Shapira, Yoav
Hi, So modify your servlet to work properly in a headless environment, or use an alternative like Xvfb. This is not a Tomcat issue, so if you want to continue discussion on the mailing list please prepend [OFF-TOPIC] to the subject line. Thanks, Yoav Shapira http://www.yoavshapira.com

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Shapira, Yoav
Hi, Both Tomcat 4.x and 5.0 require the JDK. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Hubble, Christopher [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 10:09 AM To: [EMAIL PROTECTED] Subject: Tomcat JRE vs JDK Issue I'm trying to run Tomcat 5.0.28

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Hubble, Christopher
Why is that? Chris -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 10:19 AM To: Tomcat Users List Subject: RE: Tomcat JRE vs JDK Issue Hi, Both Tomcat 4.x and 5.0 require the JDK. Yoav Shapira http://www.yoavshapira.com

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Allistair Crossley
because it has to compile JSPs into Servlets etc.. -Original Message- From: Hubble, Christopher [mailto:[EMAIL PROTECTED] Sent: 16 November 2004 15:15 To: 'Tomcat Users List' Subject: RE: Tomcat JRE vs JDK Issue Why is that? Chris -Original Message- From: Shapira,

Re: Tomcat JRE vs JDK Issue

2004-11-16 Thread Anthony E. Carlos
Chris: I think TC requires the JDK (not just the JRE) so that it can compile JSPs. If this doesn't make sense, I can explain further. -Anthony Carlos On Nov 16, 2004, at 10:17 AM, Allistair Crossley wrote: does the client machine have JAVA_HOME as an environment variable? -Original

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Shapira, Yoav
Hi, Because a compiler is required to compile JSP pages into class bytecode. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Hubble, Christopher [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 10:15 AM To: 'Tomcat Users List' Subject: RE: Tomcat JRE vs JDK

Re: Tomcat JRE vs JDK Issue

2004-11-16 Thread Anthony E. Carlos
Damn! I was minutes away from actually helping someone (instead of always sucking up advice from the fast experts on this list)... On Nov 16, 2004, at 10:23 AM, Anthony E. Carlos wrote: Chris: I think TC requires the JDK (not just the JRE) so that it can compile JSPs. If this doesn't make

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Hubble, Christopher
Feel free to explain. :) Chris -Original Message- From: Anthony E. Carlos [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 10:23 AM To: Tomcat Users List Subject: Re: Tomcat JRE vs JDK Issue Chris: I think TC requires the JDK (not just the JRE) so that it can compile JSPs.

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Allistair Crossley
go on Anthony .. you deserve it :) lol -Original Message- From: Hubble, Christopher [mailto:[EMAIL PROTECTED] Sent: 16 November 2004 15:20 To: 'Tomcat Users List' Subject: RE: Tomcat JRE vs JDK Issue Feel free to explain. :) Chris -Original Message- From: Anthony

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Wick, Daniel
Chris, JSP pages get compiled into bytecode (as Yoav just said) as they are requested. So, the server requires the SDK, including javac to do the compiling. --Dan -Original Message- From: Hubble, Christopher [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 9:20 AM To:

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Allistair Crossley
yes unless you do JSP precompilation where you compile your JSPs into servlets before hand. A servlet is the bytecode class that all these guys are talking about. JSP is not a language per se either, it's an interpreted language like PHP that mixes HTML and Java code. The compilation phase

RE: java.awt.HeadlessException

2004-11-16 Thread Mike Curwen
Hi, We have found that in order to get headless to work properly, you need the xlib libraries installed. You don't need an xserver _running_, but you need the libraries, because I think java.awt.* uses them. Here's a link:

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread David Boyer
Correct me if I'm wrong. One of the things the JDK brings that the JRE does not is tools.jar which contains com.sun.tools.javac, which is needed to compile JSPs. It might be possible to use the JRE as long as you have tools.jar from the JDK somewhere in your classpath. It seems like I saw a

NoSuchElementException in cluster

2004-11-16 Thread Ronald Klop
Hello, I'm seeing these exceptions on one of my 2 nodes. The memory cosumption of this server is now growing for a couple of hours, but I cannot tell if that is related with this. I removed the server from the worker list of mod_jk so it is still in the cluster, but not receiving any requests

Re: Tomcat JRE vs JDK Issue

2004-11-16 Thread Anthony E. Carlos
JSP technology is an extension of the servlet technology created to support authoring of HTML and XML pages. If you've ever written servlets, you know what a tremendous pain it is to write and maintain all those out.println() statements. JSP was designed to allow more HTML-centric (aka

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Allistair Crossley
I have experienced the need in the past to drop tools.jar into tomcat's common/lib folder but not in 5.0.28 or 5.5. Perhaps you're right. -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: 16 November 2004 15:42 To: [EMAIL PROTECTED] Subject: RE: Tomcat JRE vs JDK

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Hubble, Christopher
Due to other programs that we install on the client machine, the JRE is installed. I was hoping to just use that in order to minimize the changes to our other programs and setups. Do you know where I could find more information about using tools.jar? Chris -Original Message- From:

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Shapira, Yoav
Hi, One of the things the JDK brings that the JRE does not is tools.jar which contains com.sun.tools.javac, which is needed to compile JSPs. Correct. It might be possible to use the JRE as long as you have tools.jar from the JDK somewhere in your classpath. It seems like I saw a thread related

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Hubble, Christopher
tools.jar is already in common/lib. How do I get Tomcat to start w/o loading the JRE? Can I just modify the catalina.bat file? Chris -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 10:45 AM To: Tomcat Users List Subject: RE: Tomcat

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Hubble, Christopher
How does one precompile the JSPs? Then I should be able to use TC with just a JRE, correct? Once TC is deployed, there should not be any need for changes to it, so it's fine to precompile the JSPs. Chris -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday,

JDK Logging...

2004-11-16 Thread Shilpa Nalgonda
Can anyone suggest me how to write to different log files using JDK Logging.. i.e., a logger for important info, a logger for errors, loggers for systemerors, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: JDK Logging...

2004-11-16 Thread Viorel Dragomir
Log4j does the job. http://logging.apache.org/log4j/docs/ Viorel Dragomir . .. --- - Original Message - From: Shilpa Nalgonda To: Tomcat Users List Sent: Tuesday, November 16, 2004 17:48 Subject: JDK Logging...

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Shapira, Yoav
Hi, How does one precompile the JSPs? Then I should be able to use TC with RTFM at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html. a JRE, correct? Once TC is deployed, there should not be any need for changes to it, so it's fine to precompile the JSPs. That depends on

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Hubble, Christopher
Thanks for the info. It looks like I won't need the JDK after all. One last question. How do I get TC to not blow up about using a JRE? Can I just comment out the lines checking for javac.exe, or will that break other things? Chris -Original Message- From: Shapira, Yoav

Re: Tomcat JRE vs JDK Issue

2004-11-16 Thread Remy Maucherat
On Tue, 16 Nov 2004 10:46:38 -0500, Hubble, Christopher [EMAIL PROTECTED] wrote: How does one precompile the JSPs? Then I should be able to use TC with just a JRE, correct? Once TC is deployed, there should not be any need for changes to it, so it's fine to precompile the JSPs. Some JSP 2.0

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread Hubble, Christopher
Well, I just finished changing the scripts to not worry about the JDK, and everything seems to be working okay. I'm off to do some testing. Thanks to everyone for the help. Chris -Original Message- From: Hubble, Christopher [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004

RE: JDK Logging...

2004-11-16 Thread Shilpa Nalgonda
Thanks, but we are using only JDK1.4 logging and want to use that..can u suggest.. -Original Message- From: Viorel Dragomir [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 10:58 AM To: Tomcat Users List Subject: Re: JDK Logging... Log4j does the job.

RE: JDK Logging...

2004-11-16 Thread Shapira, Yoav
Hi, I can suggest that this list is a tomcat-user support list, so unless your issue is specific to Tomcat please don't post it here ;) Seek other lists for JDK logging help please. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL

How might I read docBase into my application

2004-11-16 Thread Ken Sims
Can anyone tell me how I can obtain the value of docBase from my application's (JSP) context? I would like to use it to help me form hrefs for my pages -- I would just use relative pathing except I am trying to manage which pages use HTTPS and which use HTTP and I would rather not hard-code them.

RE: How might I read docBase into my application

2004-11-16 Thread Shapira, Yoav
Hi, Can anyone tell me how I can obtain the value of docBase from my application's (JSP) context? I would like to use it to help me form hrefs for my pages -- I would just use relative pathing except I am trying to manage which pages use HTTPS and which use HTTP and I would rather not

Re: How might I read docBase into my application

2004-11-16 Thread David Boyer
application.getRealPath(/) This should return the full filesystem path to the root of your current web application (e.g. context). I believe this should be the value represented by docBase in your context config. [EMAIL PROTECTED] 11/16/2004 8:35:55 AM Can anyone tell me how I can obtain the

RE: How might I read docBase into my application

2004-11-16 Thread Shapira, Yoav
Hi, application.getRealPath(/) This should return the full filesystem path to the root of your current web application (e.g. context). I believe this should be the value represented by docBase in your context config. Please beware of using that approach: getRealPath() returns null (for any

Where can I find more info?

2004-11-16 Thread Troy Simpson
Where can I find documentation on how to configure mod_jk2 property files for Tomcat 5.5 and Apache 2.0.52? workers2.properties jk2.properties Thanks, Troy -- Troy Simpson Applications Analyst/Programmer, OCPDBA, MCSE, SCSA North Carolina State University Libraries Campus Box 7111 | Raleigh |

RE: How might I read docBase into my application

2004-11-16 Thread Ken Sims
Thank you both! I think that for my purposes -- URL formation -- request.getContextPath() will work best. -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 8:39 AM To: [EMAIL PROTECTED]; Ken Sims Subject: Re: How might I read docBase into

RE: How might I read docBase into my application

2004-11-16 Thread David Boyer
Thank you. That is very good to know. [EMAIL PROTECTED] 11/16/2004 8:47:49 AM Hi, application.getRealPath(/) This should return the full filesystem path to the root of your current web application (e.g. context). I believe this should be the value represented by docBase in your context

RE: Where can I find more info?

2004-11-16 Thread Didier McGillis
Google for mod_jk2 or Tomcat+Apache+mod_jk2 http://www.cymulacrum.net/writings/tomcat5/book1.html there are several good ones and many articles and hints. From: Troy Simpson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Where can I

tomcat with SOAP

2004-11-16 Thread Gilles Denans
hi, I tryed with Apache 2.0.52 SOAP 2.3.1 Tomcat 3.3.2 It seem that the server is responding with test/html instead of text/xml but i don't know how to repair this. the rpcrouter and messagerouter servlet are listening but when I try the Calculator example I get an error:

Re: NoSuchElementException in cluster

2004-11-16 Thread Ronald Klop
Sorry, I'm using Tomcat 5.0.28. Somebody upgraded the boxes. On Tue Nov 16 16:43:29 CET 2004 Ronald Klop [EMAIL PROTECTED] wrote: Hello, I'm seeing these exceptions on one of my 2 nodes. The memory cosumption of this server is now growing for a couple of hours, but I cannot tell if that is

Re: WebDAV-Servlet with Contexts different from FileDirContext

2004-11-16 Thread Oliver Zeigermann
OK, talking to myself as it seems ;) Accept my apologies if no one is interested, but bringing this even further wouldn't it be an option to have the servlet seperated from Tomcat and letting it implement against an API a little bit richter then directory context? Maybe in commons? Such an API

RE: problem accessing datasource in 5.5.4 application

2004-11-16 Thread Scott Mueller
Actually, your log was pretty nice. I didn't know about that ROOT issue thanks. It turned out that I had the following in my ispmanager.xml file: Context docBase=ispmanager path= Realm className=org.apache.catalina.realm.DataSourceRealm dataSourceName=data/ispmanagerpg debug=99

cannot deploy application through ant task..

2004-11-16 Thread Shilpa Nalgonda
i have a ant script which has install target. this install target should deploy my application , but is not happening, i have the below error in log file. any advice? java.lang.IllegalArgumentException: Document base C:\Program Files\Apache Group\Tomcat 4.1\webapps\rpcoemapi does not exist or

RE: problem accessing datasource in 5.5.4 application

2004-11-16 Thread Scott Mueller
Hi Remy, Yes, what you said worked thanks! I had a ResourceLink previously, but I ALSO had a Resource element without the attributes in my context.xml file. That didn't work, so I removed both Resource* elements from my context.xml. That didn't work either. Removing JUST the Resource element

Re: Where can I find more info?

2004-11-16 Thread Troy Simpson
Is tomcat 5.0 and 5.5 the samething? Didier McGillis wrote: Google for mod_jk2 or Tomcat+Apache+mod_jk2 http://www.cymulacrum.net/writings/tomcat5/book1.html there are several good ones and many articles and hints. From: Troy Simpson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED]

Re: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-16 Thread Aman Raheja
The pdf is at a relative path from the JSP that spawns the active-x. The link would end with .pdf, but tomcat appends charset=ISO-8859-1 to the content header. Thanks Aman Raheja Phillip Qin wrote: Where do you generate the pdf? In servlet? The link has to be end with .pdf (but before any query

Re: Content-disposition for file downlaod with Mozilla/Firefox

2004-11-16 Thread Shankar Unni
David Wall wrote: Content-Disposition: attachment;filename=Some Agreement 2004-11-15.doc This is the correct fix: format the header as per RFC 2231. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

JDBC transactions using MySQL / DBCP in Tomcat 5.0.28

2004-11-16 Thread Trond G. Ziarkowski
Hi all! In my webapp I do two db inserts into two different tables. If the second one fails I want to rollback the first one. My code is something like the following: Connection con = gotten from jndi DataSource DBBean db = new DBBean(con); try { con.setAutoCommit(false); Object o =

I can't get the admin app tree navigation work in Tomcat 5.5.4 on JDK 5.0 in WinXP. Any ideas?

2004-11-16 Thread Steven_Boscarine
Hello. I've installed the JDK 5.0 and Tomcat 5.5.4 executable for Windows on a Windows XP box (with latest service packs). I then downloaded and unzipped the admin app and copied it to my installation directory. The tomcat manager and one of the apps I migrated work perfectly, so it appears

Re: JDBC transactions using MySQL / DBCP in Tomcat 5.0.28

2004-11-16 Thread David Boyer
Prior to your first insert, do you need to execute an SQL Start transaction? Otherwise, it sounds like autocommit will revert to the default start of true. http://dev.mysql.com/doc/mysql/en/COMMIT.html [EMAIL PROTECTED] 11/16/2004 12:14:13 PM Hi all! In my webapp I do two db inserts into

RE: JDBC transactions using MySQL / DBCP in Tomcat 5.0.28

2004-11-16 Thread Phillip Qin
Shouldn't jdbc 3.0 do the trick? -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: November 16, 2004 3:35 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: JDBC transactions using MySQL / DBCP in Tomcat 5.0.28 Prior to your first insert, do you need to execute

5.0.28 Service Shutdown problem on Windows

2004-11-16 Thread Paul Christmann
I just upgraded from 4.1.30 to 5.0.28 on two windows machines: one XP and one W2K. Both of them are having the same problem: When I stop the installed Tomcat service, the destroy() method on my servlets does not appear to get called. I do not get my logging information from my destroy

RE: Where can I find more info?

2004-11-16 Thread Allistair Crossley
Tomcat 5.0 and 5.5 are the same thing in terms of the product line, i.e Tomcat as a Servlet Container. Clearly 5.5 is the latest version which internally I believe is a fairly large refactoring of how things were in 5.0 series. In terms of what you will get from 5.0 and 5.5 I think you pretty

RE: 5.0.28 Service Shutdown problem on Windows

2004-11-16 Thread Shapira, Yoav
Hi, Bugzilla is having a tough day: its admins ([EMAIL PROTECTED]) are aware of the problem and working on it. There's an open issue with what you describe: destroy not being called when Tomcat is run as a Windows service for Tomcat 5.0.28. The issue was first reported in an early 5.0 version,

Re: 5.0.28 Service Shutdown problem on Windows

2004-11-16 Thread Paul Christmann
OK, many thanks. I'll check back with bugzilla later. Shapira, Yoav wrote: Hi, Bugzilla is having a tough day: its admins ([EMAIL PROTECTED]) are aware of the problem and working on it. There's an open issue with what you describe: destroy not being called when Tomcat is run as a Windows service

How to configure jk2 property files...

2004-11-16 Thread Troy Simpson
This appears to be a common problem in the mail archives. I have having this same problem and I have not found my answer yet. I have installed the following: 1. Apache 2.0.52 2. TomCat 5.5.4 3. jk2 Connector. Apache and Tomcat runs very well independently, but I can not get them to work together.

Re: How to configure jk2 property files...

2004-11-16 Thread Peter Johnson
Troy, When they are running does /global/lunadg/d01/app/tomcat/5.5.4/work/jk2.socket exist? Why not just use a TCP socket as it allows for easier separation later (i.e. just change IP address). PJ Troy Simpson wrote: This appears to be a common problem in the mail archives. I have having this

Database Pooling

2004-11-16 Thread Scott Purcell
I am developing a mid-sized application, which will use JSP Model 2 Architecture. Currently I have a class that does Database Pooling, but I am curious about some threads I see time to time. I have noticed that some developers on this list refer to Tomcats Database Pooling. It looks like

Re: How to configure jk2 property files...

2004-11-16 Thread Troy Simpson
PJ, When they are running does /global/lunadg/d01/app/tomcat/5.5.4/work/jk2.socket exist? I does NOT apear that /global/lunadg/d01/app/tomcat/5.5.4/work/jk2.socket does exist. Why not just use a TCP socket as it allows for easier separation later (i.e. just change IP address). At this point,

RE: WebDAV-Servlet with Contexts different from FileDirContext

2004-11-16 Thread Mark Thomas
Not quite talking to yourself but what with timezones and day jobs and all that it isn't always possible to reply quickly. ;) I am not sure of the level of interest in this but people have taken the trouble to write bug reports and it does crop up reasonably often on the lists considering its

Re: WebDAV-Servlet with Contexts different from FileDirContext

2004-11-16 Thread Remy Maucherat
On Tue, 16 Nov 2004 21:47:48 -, Mark Thomas [EMAIL PROTECTED] wrote: Not quite talking to yourself but what with timezones and day jobs and all that it isn't always possible to reply quickly. ;) I am not sure of the level of interest in this but people have taken the trouble to write

WAR file and context.xml overwriting on deployment

2004-11-16 Thread Joe Reger, Jr.
Hi. I have a java web app that I package as a WAR file. People download it. They install it on their instance of Tomcat. They configure application settings as variables in context.xml. The problem is that each time they grab updated code (a new WAR file) they overwrite their context.xml file

Configure Tomcat's Session Cookie Domain?

2004-11-16 Thread Joe Reger, Jr.
Hi. Is there any way to specify the domain of the cookie that Tomcat sets to maintain session across requests? In java there's javax.servlet.http.Cookie.setDomain(java.lang.String pattern) that allows me to set it to something like .joereger.com... which allows a cookie to persist across

Re: How to configure jk2 property files...

2004-11-16 Thread Peter Johnson
Troy, Comments inline ... Troy Simpson wrote: PJ, When they are running does /global/lunadg/d01/app/tomcat/5.5.4/work/jk2.socket exist? I does NOT apear that /global/lunadg/d01/app/tomcat/5.5.4/work/jk2.socket does exist. That's the issue Why not just use a TCP socket as it allows for easier

Embedded Tomcat deploying WAR with URL of type jar:

2004-11-16 Thread Joe Reger, Jr.
Hi. I have a question regarding the embedded version of Tomcat. I'd like to have a java program start an instance of Tomcat and then deploy a WAR file to it. ... URL warFile = new URL(jar:C:/source/ROOT.war); Deployer deployer = (Deployer)host; deployer.install(/ROOT, warFile); ... I get the

Re: WebDAV-Servlet with Contexts different from FileDirContext

2004-11-16 Thread Oliver Zeigermann
Mark, Remy, thanks for your attention. Did not want to complain about missing responses, I was just honestly wondering if anyone was interested. Obviously, someone is :) I understand you are not interested in making this servlet available to a broader scope of people, are you? If so I would

Re: Embedded Tomcat deploying WAR with URL of type jar:

2004-11-16 Thread Ben Souther
Hi Joe, URL warFile = new URL(jar:C:/source/ROOT.war); Take a look at the syntax for the JarURLConnection class. http://java.sun.com/j2se/1.4.2/docs/api/java/net/JarURLConnection.html -Ben Souther F.W. Davison Co, Inc. ;-) On Tue, 2004-11-16 at 17:59, Joe Reger, Jr. wrote: Hi. I have a

Re: How to configure jk2 property files...

2004-11-16 Thread Troy Simpson
Thanks for your help. I believe I got it working now. The jsp-examples are working now. Here is what my workers2.properties file now looks like: -- # workers2.properties # Shared memory handling. Needs to be set. [shm] info=Scoreboard. Required

Tomcat and apache in Oracle9.2.0.1

2004-11-16 Thread Daxin Zuo
After install Oracle9.2.0.1, Apache and Tomcat are installed. What are the versions of the TOMCAT and the apache in this version of Oracle? Do you know the location of the document where oracle describe its http server? Thanks

Re: Configure Tomcat's Session Cookie Domain?

2004-11-16 Thread Tim Funk
Nope. Can't do it. But if you really need it to be more domain generic - there is nothing stopping you from expiring the JSESSIONID cookie and setting a newer one at a more generic level. (But this will probably cause future issues) -Tim Joe Reger, Jr. wrote: Hi. Is there any way to specify

Re: Tomcat and apache in Oracle9.2.0.1

2004-11-16 Thread Tim Funk
How about http://www.oracle.com/support/index.html ? -Tim Daxin Zuo wrote: After install Oracle9.2.0.1, Apache and Tomcat are installed. What are the versions of the TOMCAT and the apache in this version of Oracle? Do you know the location of the document where oracle describe its http server?

Re: How might I read docBase into my application

2004-11-16 Thread QM
On Tue, Nov 16, 2004 at 08:35:55AM -0800, Ken Sims wrote: : Can anyone tell me how I can obtain the value of docBase from my : application's (JSP) context? I would like to use it to help me form : hrefs for my pages In addition to the other advice you've received, you could do this within the

Re: WAR file and context.xml overwriting on deployment

2004-11-16 Thread QM
: The problem is that each time they grab updated code (a new WAR file) they : overwrite their context.xml file with the default settings. : : Is there some more user-friendly way to deal with this configuration issue? : How do others that provide downloadable WAR files do this? This is the

Re: Database Pooling

2004-11-16 Thread QM
On Tue, Nov 16, 2004 at 03:35:25PM -0600, Scott Purcell wrote: : I am developing a mid-sized application, which will use JSP Model 2 : Architecture. Currently I have a class that does Database Pooling, but I am : curious about some threads I see time to time. : : I have noticed that some

RE: Configure Tomcat's Session Cookie Domain?

2004-11-16 Thread Joe Reger, Jr.
Thanks. What I suspected. Is this to adhere to a spec, or simply functionality not (yet?) developed for Tomcat? I've created a workaround session manager that manually sets its own cookies. One result being that my scaling strategy can't rely on the session replication of Tomcat... I'll have

RE: Tomcat and apache in Oracle9.2.0.1

2004-11-16 Thread Daxin Zuo
Can anybody forward more specific information? This Oracle site definitely has the information. But the doc sea is too wide. Thanks -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 4:14 PM To: Tomcat Users List Subject: Re: Tomcat and apache in

Tomcat startup time delay in Windows 95/98

2004-11-16 Thread Pragyan Padmini Misra
HI, The application which we have developed has a performance related issue in Windows 95/98. We install the application and when we click on the aplication icon it internally invokes a Flash screen displaying the application is loading and internally calls the startup.bat file in tomcat\bin for

Tomcat 5.5.4 Stability

2004-11-16 Thread V D
Today, I ran an axis application under both Tomcat 5.028 and 5.5.4. Hitting this axis application with 100 simultaneous clients for many hits. 5.0.28 seems to hold up very well. It drops connections once a while. However, 5.5.4 drops many connections. I wonder if the Tomcat team aware of

  1   2   >