Re: tomcat.conf missing

2004-02-06 Thread Nikola Milutinovic
hostmaster wrote: I just installed Tomcat 4.1.29 The problem I got is: Tomcat is running under root. I'd like to change this to tomcat4 But there is no longer a tomcat.conf file available where I can change this setting. tomcat.conf is not a part of jakarta-tomcat-4.1.x package. It is a part

Re: Errors not going to error-page

2004-02-06 Thread Antonio Fiol Bonnín
Not sure if you can use /WEB-INF/... there. However, I recall some Tomcat versions ignoring error-page in some cases. IIRC, it was 4.1.18. HTH, Antonio Fiol Wendy Smoak wrote: I'm getting an Status 500 page with this: ExceptionConverter: java.io.IOException: The document has no pages. Even

RE: POST method not working

2004-02-06 Thread rlipi
Hi, maybe we have a similar problem. Try to put slash to the end of the action attribute of the form. For example: form action=servlet_name/ method=post Radek -Original Message- From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 7:05 PM To:

Re: tomcat.conf missing

2004-02-06 Thread hostmaster
Okay, but it should be possible to set the user like TOMCAT_USER=tomcat4 startup.sh and catalina.sh are offering no such possibility. chown -R tomcat4.tomcat4 jakarta was not able to fix the root problem. hostmaster wrote: I just installed Tomcat 4.1.29 The problem I got is: Tomcat

RE: tomcat.conf missing

2004-02-06 Thread rlipi
Hi. Solve it in other way. Run Tomcat on some port up to 1024 under any user you like and redirect (in iptables) requests from port 80 (443) to your own port(s). Radek -Original Message- From: hostmaster [mailto:[EMAIL PROTECTED] Sent: Friday, February 06, 2004 9:23 AM To: [EMAIL

Re: tomcat.conf missing

2004-02-06 Thread Nikola Milutinovic
hostmaster wrote: Okay, but it should be possible to set the user like TOMCAT_USER=tomcat4 startup.sh and catalina.sh are offering no such possibility. chown -R tomcat4.tomcat4 jakarta was not able to fix the root problem. If you take a closer look at the 4.1.24 RPM, you'll notice that there are

RE: Errors not going to error-page

2004-02-06 Thread Allistair Crossley
you could try using the JSP error directive too %@ page errorPage=MyErrorPage.jsp % HTML HEADTITLETest Error Page/TITLE/HEAD BODY H2Throw Exception!/H2 % String nullString = null; % !-- Ooops -- % nullString.length(); % /BODY /HTML -Original Message- From: Antonio Fiol Bonnin

RE: Errors not going to error-page

2004-02-06 Thread Allistair Crossley
and you error page MyErrorPage.jsp %@ page isErrorPage=true % HTML HEADTITLEMy Error Page/TITLE/HEAD BODY H2Exception Information/H2 TABLE tr tdException Class:/td td%= exception.getClass() %/td /tr tr tdMessage:/td td%= exception.getMessage() %/td /tr /TABLE /BODY /HTML -Original

How to restrict all webapps with http authentication in Tomcat?

2004-02-06 Thread Salvador Santander Gutierrez
I need to restrict all web applications in Tomcat with the same users? I know how to restrict a specific web application with its web.xml but... how to restrict /* in tomcat, included html pages? Thanks. - To unsubscribe,

RE: How to restrict all webapps with http authentication in Tomcat?

2004-02-06 Thread rlipi
Will help this: http://www.ingrid.org/jajakarta/tomcat/tomcat-4.0b5/src/catalina/docs/si nglesignon.html#Security ? Radek -Original Message- From: Salvador Santander Gutierrez [mailto:[EMAIL PROTECTED] Sent: Friday, February 06, 2004 10:16 AM To: Tomcat List Subject: How to

RE: tomcat.conf missing

2004-02-06 Thread hostmaster
Hi, I'm running Tomcat on the standard port 8080 (mod_jk on 8009) As soon as I'm starting Tomcat it is running under user root No idea how I can change this to user tomcat4 Thanks, Markus Hi. Solve it in other way. Run Tomcat on some port up to 1024 under any user you like and redirect

Re: Slow Java app on Tomcat with a 667 MHz CPU

2004-02-06 Thread Holger Klawitter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All of these are running Tomcat 4.1.29 or 4.1.12. I recently tried to deploy it to the test web server at my client and it runs dreadfully slow. It takes almost 30 seconds to load a page. The main difference is that the test web server has a

Excel Mime problem

2004-02-06 Thread pavan . k
hi there, iam using tomcat 5 version..i have a requirement where my jsp will generate a excel sheet and places in the server directory.. but the problem is when i open the excel thru a _javascript_ from a browser window,i actually get the excel in text format on the browser itself.. i tested

RE: tomcat.conf missing

2004-02-06 Thread rlipi
Hi. Probably because you are logged in as the root. Try to log in as the tomcat4 user. Or change user by the su tomcat4 command. Next run the Tomcat. Maybe you will need to enable rwx rights to tomcat4 user on the Tomcat directories and files. Radek -Original Message- From:

Change Of Service Notice

2004-02-06 Thread Customer Service(custserv)
Thank you for contacting Corel Customer Support Services. In order to better serve the needs of our customers we have updated our e-mail response system and knowledge base. Please re-submit your question using the following link and we will respond to your inquiry within

RE: Excel Mime problem

2004-02-06 Thread Allistair Crossley
I've just done this today! :) The following JSP boots up in Excel..you need to set the content type before ANYTHING else happens with the output stream % response.setContentType(application/vnd.ms-excel); response.addHeader(Content-Disposition, attachment;filename=myExcelTest.xls); % 1 5 ADC

Re: Slow Java app on Tomcat with a 667 MHz CPU

2004-02-06 Thread Nikola Milutinovic
Holger Klawitter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All of these are running Tomcat 4.1.29 or 4.1.12. I recently tried to deploy it to the test web server at my client and it runs dreadfully slow. It takes almost 30 seconds to load a page. The main difference is that the

Re: Problem adding access log valve.

2004-02-06 Thread Adam Hardy
Hi Mufaddal, the accesslogvalve config requires a Valve / tag, not a Logger/ tag. Check the exception messages carefully, normally they tell you. Also check your config against the documentation - I don't think 'timestamp' is a valid attribute for Valve/ HTH Adam On 02/05/2004 11:06 PM

RE: Excel Mime problem

2004-02-06 Thread pavan . k
Allistar, let me clarify..i generate a excel file by some servlet when the user clicks a button on the page. and that i place in the root directory..when the refreshes(after the user hits the button),i want to open a window of the browser expecting that IE will open that in a excel embedded in

Re: How to restrict all webapps with http authentication in Tomcat?

2004-02-06 Thread Salvador Santander Gutierrez
Thanks for your help but the url passed doesn´t work. - Original Message - From: rlipi [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, February 06, 2004 10:21 AM Subject: RE: How to restrict all webapps with http authentication in Tomcat? Will help this:

RE: How to restrict all webapps with http authentication in Tomcat?

2004-02-06 Thread rlipi
Try again this (it works from my computer): http://www.ingrid.org/jajakarta/tomcat/tomcat-4.0b5/src/catalina/docs/si nglesignon.html I'm sorry if the url is divided into two lines in your incoming mail. Simply concatenate them. Radek -Original Message- From: Salvador Santander

RE: Excel Mime problem

2004-02-06 Thread Allistair Crossley
What happens if you type the URL of the XLS directly into IE? http://yourserver.com/path/to/test.xls Does Excel boot up in this case? IE should automatically recognise the .xls extension on the file. If it does not then you probably need to look at your IE settings. When you say the contents

RE: Excel Mime problem

2004-02-06 Thread pavan . k
no i tried all the options.. from the server side,IE doesnt open the excel embbedded in a excel.. but to try i just saved the html on my computer and hardoced a test.xls to open when i click the button..in this case,the excel opens in a excel embedded within the browser.. but when i call from

RE: Excel Mime problem

2004-02-06 Thread Ryan Lissack
You can setup mime mappings in your web.xml, for example: mime-mapping extensionxls/extension mime-typeapplication/vnd.ms-excel/mime-type /mime-mapping Ryan

RE: Excel Mime problem

2004-02-06 Thread Allistair Crossley
it should have nothing to do with tomcat in my view because you are not sending the excel data down the output stream. In that case you would need to use the setContentType to the excel application. however, because you are generating a native XLS on the filesystem at your server side and

RE: Excel Mime problem

2004-02-06 Thread pavan . k
i tried this option also..but it doesnt open still in a excel.. that is why iam stuck and wonder whats wrong... Pavan Kumar Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Ryan Lissack [EMAIL PROTECTED] 02/06/2004 06:38 AM Please respond to Tomcat Users

RE: Excel Mime problem

2004-02-06 Thread Allistair Crossley
try the Forums at java.sun.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 06 February 2004 11:41 To: Tomcat Users List Subject: RE: Excel Mime problem i tried this option also..but it doesnt open still in a excel.. that is why iam stuck and wonder whats

RE: Excel Mime problem

2004-02-06 Thread pavan . k
i see the excel being created.. i can open the same excel from where it is created.. there is no question abt the file creation bcoz i can see the contents in IE but not as a excel opening in IE.. http://localhost:8000/test.xls i use window.open(http://localhost:8000/test.xls); this opens the

RE: Excel Mime problem

2004-02-06 Thread Allistair Crossley
you may need to add a mime mapping element to your web.xml then. look it up tomcat mime types -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 06 February 2004 11:46 To: Tomcat Users List Subject: RE: Excel Mime problem i see the excel being created.. i can

RE: Excel Mime problem

2004-02-06 Thread Allistair Crossley
add this to the tomcat_home/conf/web.xml file mime-mapping extensionxls/extension mime-typeapplication/msexcel/mime-type /mime-mapping this is why I asked about your URL .. you are using tomcat as a web server and web servers normally handle mime types -Original Message- From:

Tomcat 5.0.18 with connector to IIS?

2004-02-06 Thread Andrzej Jan Taramina
Has anyone got Tomcat 5.0.18 front-ended with IIS using a connector? If so, which connector/version are you using. Any config info and hints on how to set this up (the docs on connectors are pretty confusing sometimes) would be very much appreciated. Please copy responses to [EMAIL PROTECTED]

test

2004-02-06 Thread jon
* Disclaimer This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and

RE: Errors not going to error-page

2004-02-06 Thread Shapira, Yoav
Howdy, I'm getting an Status 500 page with this: ExceptionConverter: java.io.IOException: The document has no pages. Even though I have this in web.xml: error-page exception-typejava.io.IOException/exception-type location/WEB-INF/jsp/exceptions/Exception.jsp/location

RE: failure notice

2004-02-06 Thread Shapira, Yoav
Howdy, There's a really easy way to stop this problem, and it's through a That's not really easy. There's significant infrastructure in place behind these lists, there are many lists, and fairly advanced scripts/screens/bots/mirrors set up for them. Very easy to do, and effective. Who owns

RE: Starting a different process for each java operation

2004-02-06 Thread Shapira, Yoav
Howdy, A developer has a servlet that needs to change the uid for the process that runs it to do some shared memory operations. Right now when this servlet runs it is changing the uid of the root process for Tomcat which causes other servlets to stop working. This is bad. Is this something that

RE: Tomcat, Oracle and connection caching.

2004-02-06 Thread Shapira, Yoav
Howdy, I have it running with the thin driver. I haven't tried OCI. Doesn't the OCI driver require some system libraries that have to be declared in the LD_LIBRARY_PATH or loaded via JNI? Yoav Shapira Millennium ChemInformatics -Original Message- From: David Short [mailto:[EMAIL

RE: Tomcat 5.0.18 with connector to IIS?

2004-02-06 Thread Allistair Crossley
Yes. Use the JK2 connector available on the download index. -Original Message- From: Andrzej Jan Taramina [mailto:[EMAIL PROTECTED] Sent: 06 February 2004 13:20 To: [EMAIL PROTECTED] Subject: Tomcat 5.0.18 with connector to IIS? Has anyone got Tomcat 5.0.18 front-ended with IIS using a

RE: Tomcat Loads Deleted Context?

2004-02-06 Thread Shapira, Yoav
Howdy, Thanks. BTW, why can't server.xml be reloaded? Here's part of your commit: Because many of the components defined/declared in server.xml don't have restart support. There'd be significant code changes to support this. And the downtime would be equivalent to a normal server restart, so

RE: Starting a different process for each java operation

2004-02-06 Thread Lott, Carey
Thank you for the response. No, tomcat provide no such features. You can accomplish this (I think) on a Java level (not OS-level) using the AccessController#doPriviledged approach. (See javadoc for java.security.AccessController for more details). Can you clarify something for me? You are

RE: Starting a different process for each java operation

2004-02-06 Thread Shapira, Yoav
Howdy Can you clarify something for me? You are referring to tomcat starting child processes and not changing the uid, correct? I don't understand what you're asking. Another question - Can tomcat be run as another user other then root like httpd is? Yes, tomcat can be run as any user you

OT [was: Re: Starting a different process for each java operation]

2004-02-06 Thread Werner van Mook
Hi, Another question - Can tomcat be run as another user other then root like httpd is? Yes, tomcat can be run as any user you want. Can I continue on this which is OT? Which standard users can start tomcat on port 80? except for root? Regards Werner

RE: OT [was: Re: Starting a different process for each java operation]

2004-02-06 Thread Shapira, Yoav
Howdy, Which standard users can start tomcat on port 80? except for root? Any user you want, by using the commons-daemon implementation that comes with tomcat 5 (and can work with tomcat 4 as well). Yoav Shapira This e-mail, including any attachments, is a confidential business

Re: OT [was: Re: Starting a different process for each java operation]

2004-02-06 Thread Philipp Taprogge
Hi! Werner van Mook wrote: Can I continue on this which is OT? Which standard users can start tomcat on port 80? except for root? This very much depends on the platform tomcat runs on. On Linux and most Un*x-like operationg systems, no user except root (i.e. anyone with effective uid 0) may

Re: Starting a different process for each java operation

2004-02-06 Thread Philipp Taprogge
Hi! Shapira, Yoav wrote: Can you clarify something for me? You are referring to tomcat starting child processes and not changing the uid, correct? I don't understand what you're asking. I am not entirely sure, either, but I think you two are talking cross-purposes. If I am not mistaken, the OP

[ot] why tomcat is called tomcat?

2004-02-06 Thread Yansheng Lin
Is it Friday yet? Being working with tomcat for such a long time; wondered about the name 'tomcat' a few times. Did a search this morning... for 30 seconds. Couldn't find anything...too many hits. Wonder if anyone hear knows the story. -Yan

Re: problems shutting down server when enabling the SimpleTcpCluster

2004-02-06 Thread Filip Hanik
interesting, let me know if you still experience this, and I will try to replicate it. It is working fine for me on redhat with 5.0.18. Filip - Original Message - From: Aadi Deshpande [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, February 05, 2004 7:50 AM

RE: OT [was: Re: Starting a different process for each java ope ration]

2004-02-06 Thread Lott, Carey
Thank for this information. This very much depends on the platform tomcat runs on. On Linux and most Un*x-like operationg systems, no user except root (i.e. anyone with effective uid 0) may open ports below 1024. Hence, on these platforms, no other user can start tomcat on port 80, at least

RE: Client Deployer Package

2004-02-06 Thread Chanan Braunstein
Hello, No one knows the syntax for the client deployer? Chanan Braunstein Knovel Corp. Web Development Manager 607-773-1840 x672 http://www.knovel.com -Original Message- From: Chanan Braunstein [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 12:45 PM To: 'Tomcat

RE: [ot] why tomcat is called tomcat?

2004-02-06 Thread Shapira, Yoav
Howdy, James Duncan Davidson, the first tomcat developer, came up with it thinking of the animal tomcat which is excellent at taking care of and fending for itself, a highly self-sufficient creature. (This was in the very early stages of J2EE in general, remember). Yoav Shapira Millennium

RE: OT [was: Re: Starting a different process for each java operation]

2004-02-06 Thread Shapira, Yoav
Howdy, This very much depends on the platform tomcat runs on. On Linux and most Un*x-like operationg systems, no user except root (i.e. anyone with effective uid 0) may open ports below 1024. Hence, on these platforms, no other user can start tomcat on port 80, at least not without outside help.

RE: JNDI datasource lost on redeploy

2004-02-06 Thread Burgess, Jay S
I'll see if I can put something together in the next couple of days. Obviously, this issue is tripping up a lot of people. And I forgot to mention one thing about my instructions below--it's for a Windows setup. I think that the syntax for the war attribute of the deploy task may be slightly

RE: Tomcat, Oracle and connection caching.

2004-02-06 Thread David Short
It requires the Oracle client DLLs (or .so files) to be installed in the correct place and the path setup correctly. I have tested my oci8 configuration with the JdbcCheck program supplied by Oracle and the oci8 driver works just fine without JNI. For some reason, it's not working with JNI.

RE: Tomcat, Oracle and connection caching.

2004-02-06 Thread Shapira, Yoav
Howdy, Not sure where to go from here. Perhaps, if you had a few spare moments, you could try the oci8 driver and see what you come up with? I don't have a few spare moments, sorry ;) I'm overloaded as it is. But one thing I'd make sure is that the LD_LIBRARY_PATH is correctly set in tomcat's

RE: Errors not going to error-page

2004-02-06 Thread Wendy Smoak
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] I don't know if you can use /WEB-INF as a location, as it has to be available to the browser. Errors work fine from under /WEB-INF in another webapp, so that's not it. ExceptionConverter is your own class, right? Depending on its

RE: Tomcat, Oracle and connection caching.

2004-02-06 Thread Ryan Lissack
Make sure that the directory containing the DLLs/SOs is in your java library path. You can check by printing System.getProperty(java.library.path), if it isn't there you can set it at vm startup (add -Djava.library.path=/path/to/so) -Original Message- From: David Short [mailto:[EMAIL

RE: [ot] why tomcat is called tomcat?

2004-02-06 Thread Yansheng Lin
Did he have to get the name approved? Was he working for Sun? Did he know tomcat is going to be so popular. What do people outside of computer world think of the name 'tomcat'? Like someone who doesn't know what it does and just hear a bunch of his computer friends:0 talking about it. I am

RE: [ot] why tomcat is called tomcat?

2004-02-06 Thread Shapira, Yoav
Howdy, Did he have to get the name approved? Was he working for Sun? Did he know tomcat is going to be so popular. No (not formally, anyways, but more like an informal conversation with other developers), yes, and no. What do people outside of computer world think of the name 'tomcat'? Like

Re: [ot] why tomcat is called tomcat?

2004-02-06 Thread epyonne
What do people outside of computer world think of the name 'tomcat'? Like someone who doesn't know what it does and just hear a bunch of his computer friends:0 talking about it. I am asking mostly in terms of marketing. For example, most of people on this list would think Apache sounds much

RE: need help adding classpath to Tomcat 5.0.18 NT Service

2004-02-06 Thread Robert Ensinger
Hi folks. I'm still unsuccessful at adding an explicit classpath to Tomcat when running as a service via the -Djava.class.path= switch detailed below. Can someone confirm or deny that this is the proper way to add an explicit classpath to the service? If so, I'll log the bug. Thanks, -R

Re: Excel Mime problem - IE 6 changed behavior on file uploads for us

2004-02-06 Thread David Wall
It may not be related, but we've noted that IE 6 on XP (oddly enough) seems to send the wrong content-type when .doc and .xls files are uploaded. We used to get the correct mime types, but now we get application/octet-stream. We noted that our Mozilla 1.6 does the same, but Opera 7.11 gives the

Re: ALL-NEW running tomcat5 in-process

2004-02-06 Thread Alvaro Seixas
Hei Phill, Any news on that?? Don't know, but maybe someone may help me out on this. I get this error when I start Tomcat: 06/02/2004 14:27:07 org.apache.jk.server.JkMain start INFO: APR not loaded, disabling jni components: java.io.IOException: java.lang.UnsatisfiedLinkError: no jkjni in

RE: need help adding classpath to Tomcat 5.0.18 NT Service

2004-02-06 Thread Bodycombe, Andrew
If you moved engine.jar from the shared/lib folder to the common/lib folder, would that remove the need to explicitly set the classpath? -Original Message- From: Robert Ensinger [mailto:[EMAIL PROTECTED] Sent: 06 February 2004 16:49 To: 'Tomcat Users List' Subject: RE: need help adding

Re: [ot] why tomcat is called tomcat?

2004-02-06 Thread Tim Funk
FAQ http://jakarta.apache.org/tomcat/faq/meta.html -Tim Yansheng Lin wrote: Is it Friday yet? Being working with tomcat for such a long time; wondered about the name 'tomcat' a few times. Did a search this morning... for 30 seconds. Couldn't find anything...too many hits. Wonder if anyone

RE: Tomcat, Oracle and connection caching.

2004-02-06 Thread David Short
Still no luck. Here's the output from the System.getProperty(java.library.path): java.library.path=c:/orahome/bin;c:/orahome/jdbc/lib Here's the code: public class ResourceManagerListener implements ServletContextListener { private OracleConnectionCacheImpl ds = null; private Context ctx

JSP reloading on Tomcat 5.0.18 question

2004-02-06 Thread David Wall
Often when I upload a new JSP, tomcat 5.0.18 under RH Linux 9 with JDK1.4.2 doesn't seem to always see it. This is particularly true when doing repeated uploads in short order (hack test!). I've configured tomcat's conf/web.xml with the following: servlet

RE: Tomcat 5.0.18 with connector to IIS?

2004-02-06 Thread Richard Norman
The one on the Apache site has NEVER worked for me except the origional Connector. Search the list for the ISAPI Connecter 2 and you will find several notes on this. I have a IIS6 server running with the connector compiled by someone else and it works, the only problem is that the Connector

RE: [ot] why tomcat is called tomcat?

2004-02-06 Thread Yansheng Lin
Agreed. OS/2, DB2 to name a few. Sorry, big blue:). -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, February 06, 2004 9:36 AM To: Tomcat Users List Subject: RE: [ot] why tomcat is called tomcat? friends:0 talking about it. I am asking mostly in terms

RE: Tomcat 5.0.18 with connector to IIS?

2004-02-06 Thread Allistair Crossley
I use the JK 2 connector with IIS 5 and it works, so maybe it is your version 6 that causes the incompatibility. I have an issue only in that the Commons File Uploader will not route multi-part form posts through IIS - it complains of a Stream Terminated Unexpectedly error. Highly annoying.

RE: need help adding classpath to Tomcat 5.0.18 NT Service

2004-02-06 Thread Robert Ensinger
I gave moving the jar a shot yesterday just to be sure but no dice. I'm not the developer of this app so I can't speak to why its necessary, but the only way to get full functionality from this app is to explicitly add the classpath to the server startup. This works successfully on Weblogic

Re: workers2.properties syntax

2004-02-06 Thread Alvaro Seixas
Hei Dean, Thanks for replying. First off I'd like to configure properly Tomcat JNI. Still doing tests but 'till now with no success. As I told before, I get this error when start Tomcat: 06/02/2004 14:27:07 org.apache.jk.server.JkMain start INFO: APR not loaded, disabling jni components:

RE: Tomcat 5.0.18 with connector to IIS?

2004-02-06 Thread Summers, Bert W.
I have used the redirector2 on IIS6 and Tomcat 4.1.29 Had problems with the redirector failing about 5% of the time. Found that my reg entries were missing a couple of keys defined in the source download. Specifically, authComplete and threadPool Added those, tweaked the connector in server.xml

RE: [ot] why tomcat is called tomcat?

2004-02-06 Thread Januski, Ken
My wife loves the logo. She's a non-computer person. But she is a cat person. There is a fairly lengthy explanation of Tomcat origin in the O'Reilly book on Tomcat by the way. I just don't remember much of what it said other than that, I THINK, some code was shown on a screen at a convention, and

Re: Administering and monitoring under TC 5

2004-02-06 Thread Aadi Deshpande
Thanks for the info. I'm still a little confused about what is meant by replace the MXRI jars with the MX4J jars i have jmx.jar, jmx-remote.jar, and jmx-remote-tools.jar in my $CATALINA_HOME/common/lib. I'm running TC5.0.16 under J2SDK 1.4.2 Thanks again, -a Bill Barker wrote: Aadi

RE: Tomcat, Oracle and connection caching.

2004-02-06 Thread Ryan Lissack
I have only used the oci driver under Oracle 9i. Our url looked something like this though: jdbc:oracle:oci:@TNS_ENTRY_NAME where TNS_ENTRY_NAME is an entry in [ORACLE_CLIENT_HOME]/network/ADMIN/tnsnames.ora So for you, something like this ... TNS_ENTRY_NAME =

Tomcat 5 incompatibilities with JSTL 1.1 ?

2004-02-06 Thread Aadi Deshpande
Hi, I'm tryin to use Tomcat 5 and the newly released JSTL 1.1 and I get the following error whenever I try to do a x:anything? I've gotten this same error under the Beta 1 running under Tomcat 5. I've tried TC 5.0.16, 5.0.18, and the 20040203 nightly build ( each under J2SDK 1.4.1 with the new

RE: Tomcat, Oracle and connection caching.

2004-02-06 Thread David Short
Are you using it with connection caching? -Original Message- From: Ryan Lissack [mailto:[EMAIL PROTECTED] Sent: Friday, February 06, 2004 10:09 AM To: 'Tomcat Users List' Subject: RE: Tomcat, Oracle and connection caching. I have only used the oci driver under Oracle 9i. Our url looked

RE: Tomcat, Oracle and connection caching.

2004-02-06 Thread Ryan Lissack
Yeah, I have in the past. We have successfully used the oci driver with the OracleConnectionCacheImpl and the OracleOCIConnectionPool. Have you tried the jdbc:oracle:oci:@TNS_ENTRY_NAME format? Your 'No such driver' problem looks to be caused by your url. At present we only use the thin

internal server error

2004-02-06 Thread Paul
Does anyone recognize what the problem might be from the error log given below: Looks to me like it cannot find something, but what? my environment: windows 2000, java jdk 1.4, jakarta-tomcat-4.1.29-LE-jdk14.exe apache_2.0.48-win32-x86-no_ssl.msi jk2 connector from error log, get: [Fri

Re: internal server error

2004-02-06 Thread Filip Hanik
java.lang.NoClassDefFoundError: javax/management/MBeanRegistration the jmx jars are not in the classpath Filip - Original Message - From: Paul [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, February 06, 2004 10:50 AM Subject: internal server error Does anyone

Redhat 8 , tomcat 4.1.24, apache 2.0.40

2004-02-06 Thread Dwayne Ghant
I have been beating my head aginst the wall (concerning this issue) for the last three months. It's not that I mind beating my head aginst the wall; it just hurts when you have nothing to show for it ! Could someone please help me Linux (Redhat) / Tomcat 4.1.24 / Apache2.0.4 Attached are

RE: Tomcat, Oracle and connection caching.

2004-02-06 Thread David Short
I have not had a chance to test with your suggestions. I will later shortly. I want to use the oci8 driver for two reasons. 1) I want better database error checking. (for testing mostly, we can deploy with the thin driver). 2) Performance. The docs state the oci8 driver is faster, at least

Re: Redhat 8 , tomcat 4.1.24, apache 2.0.40

2004-02-06 Thread Filip Hanik
Attempting to map URI '/img_header/b_submitevents-over.gif' I dont see that you JkMount:ed /img_header, so it looks like nothing but an info message, saying that it tried to map /img_header but there was no match. what error are you experiencing? Filip - Original Message - From: Dwayne

[Repost] TC 5.0.18: behaviour of security-constraint changed??

2004-02-06 Thread Yann Cebron
Hi, I have a strange problem with my Struts-Webapp (nightly build) on 5.0.18 - every TC version before worked like expected (4.1.x as well as 5.1.x. but maybe I'm getting the SERVLET2.4 spec wrong, and some changes have been made to 5.0.18 regarding this aspect). I have declared a

Re: internal server error

2004-02-06 Thread Paul
only place i can find jmx jars is in Tomcat41/server/lib/ directory, so i modified workers2.properties as follows, adding mx4j-jmx.jar: OPT=-Djava.class.path=c:/Tomcat41/bin/tomcat-jni.jar;c:/Tomcat41/server/lib/ commons-logging.jar;c:/Tomcat41/server/lib/mx4j-jmx.jar but, did not have any

How to avoid java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Broken pipe

2004-02-06 Thread Sale Rahul
Hello All, We have tomcat running on the Linux and MSSQL on the win2k . after few queries to database tru servlet we get following exception.We are using JNDI DBCP for the conntionpooling. Error - RemoveAbandonedTimeout: 300 java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for

Re: Redhat 8 , tomcat 4.1.24, apache 2.0.40

2004-02-06 Thread Dwayne Ghant
Yes , but it's not rendering jsp pages ether. Sorry for the confusion. [Fri Feb 06 02:41:32 2004] [jk_uri_worker_map.c (477)]: Attempting to map URI '/index.jsp' [Fri Feb 06 02:41:32 2004] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match Filip Hanik

Order of Filters Listeners

2004-02-06 Thread Wendy Smoak
It looks like SessionListener happens before Filters. I have a couple of Filters, after which there is a userid in session scope. I was hoping, in a SessionListener, to pick up that userid and use it to read something from the database, but no dice since things happen in the opposite order. I

RE: Tomcat 5.0.18 with connector to IIS?

2004-02-06 Thread Bill Haake
Yes, just yesterday I got the following working: windows 2000 server IIS 5.0 jdk 1.4.2_03 binary isapi_redirector2.dll downloaded from: http://apache.mirrors.pair.com/jakarta/tomcat-connectors/jk2/binaries/win32/ jakarta-tomcat-connectors-jk2.0.2-win32-IIS.zip Also, I have built it from the

Re: internal server error

2004-02-06 Thread Paul
i am trying different versions of tomcat and apache, see if that makes a difference - Original Message - From: Paul [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, February 06, 2004 2:45 PM Subject: Re: internal server error only place i can find jmx jars is in

Re: internal server error

2004-02-06 Thread Filip Hanik
ok, the class that is trying to load it is org/apache/jk/apr/TomcatStarter this one sits in tomcat-jk2.jar [Fri Feb 06 13:24:50 2004] [error] Can't find class org/apache/jk/apr/AprImpl java.lang.NoClassDefFoundError: javax/management/MBeanRegistration this is strange, cause AprImpl sits in

Re: 2 questions

2004-02-06 Thread Johannes
hi pinguti, 1) response.sendRedirect(redirectUrl) will tell the browser to get the contents from the url given (you can also use relative urls). dispatcher.forward will invoke the servlet/jsp given and will hand the complete request + response object to it (forward it), so in fact control is

Logging / Exception handling framework within Tomcat

2004-02-06 Thread Johannes
hi there, As of TC 4.x I know the following architecture exists for logging within an application: From the very basic *) System.out.println, which goes to catalina.out / stdout.log *) e.printStackTrace(), which goes to catalina.out / stderr.log up to more advanced: *) using context.log() to

RE: Logging / Exception handling framework within Tomcat

2004-02-06 Thread Shapira, Yoav
Howdy, You need to read the log4j documentation: that framework is far from basic, very complete, and meets all your requirements. Log4j supports modifying properties at runtime. You can write your own code following instructions to do this, or you can use the log4j sandbox's configuration

SocketInputStream hanging Tomcat 4.0.6

2004-02-06 Thread Chris Rolfe
Help! On a production system that's been rock-solid for 18 months, Tomcat is suddenly hanging on a daily basis! Before the server hangs, we're logging runtime exceptions from SocketInputStream.readHeader: the log records ArrayIndexOutOfBounds exceptions every second for a few hours, then the

URL encoding/decoding bug in form-based security?

2004-02-06 Thread Bill Haake
I have been working on tracking down a problem with special characters in URLs that shows up when using form-based authentication in a security constraint. I have just about reached the limit of my ability to find the problem and am hoping that someone more familiar with the details of

Restricting access to isapi_redirect.dll by group

2004-02-06 Thread Jason Harrop
Hi tomcat-users I have been trying to configure isapi_redirector.dll so that only users in a particular ActiveDirectory group can access tomcat via IIS 5. The approach I have been trying to take is to set appropriate NTFS permissions on the isapi_redirect.dll After some frustration, this approach

Re: internal server error

2004-02-06 Thread Paul
Filip, I have managed to solve my own problem by installing an earlier version of Tomcat. Thanks, much appreciated, Paul - Original Message - From: Filip Hanik [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, February 06, 2004 3:49 PM Subject: Re: internal server

Re: internal server error

2004-02-06 Thread Filip Hanik
which version? - Original Message - From: Paul [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, February 06, 2004 1:27 PM Subject: Re: internal server error Filip, I have managed to solve my own problem by installing an earlier version of Tomcat. Thanks, much

RE: Logging / Exception handling framework within Tomcat

2004-02-06 Thread Johannes
hi yoav, I've been showing up here some months ago, and now you're still on your job answering the many answers here. I'm impressed... I'll take a look into the Log4J.MDC - don't you think it would make sense to provide guidelines on how to log debugmessages and exceptions in servlet/jsp-apps

TC 5 production use

2004-02-06 Thread Johannes
hi there, I saw TC5.0.18 is marked stable on the Tomcat-Website (production quality). Is anybody using TC 5.0.x in production already ? Did any remarkable issues arise? thx Johannes

  1   2   >