RE: Strange mod_jk error

2003-06-03 Thread Denise Mangano
John, Actually I changed it all to port 8009 after posting while I was trying to fix the problem but I still have no luck. As I mentioned all the paths to the worker file are correct. The mod_jk.log shows that the rules for worker1 are being set. I even restored the original server.xml, and res

RE: Tomcat running as non root user as service...

2003-06-03 Thread Shapira, Yoav
Howdy, >I've set up some ideas regarding that topic: > http://www.klawitter.de/tomcat80.html Thank you for setting up and sharing information regarding this page. Pages like these add a lot of value and help many users in my experience. I have two comments regarding specific points in you

Re: tag and method overloading

2003-06-03 Thread Tim Funk
See JSP 1.2 Spec --> JSP.2.13.2.1 -Tim Ronald Klop wrote: Tim Funk wrote: No. You'll need to do the conversion yourself. Ok, if I have a tag which can get a String or a List of Strings. Should I make one setter which gets Object as parameter? And than check at runtime for the right types? Ar

Re: Tomcat running as non root user as service...

2003-06-03 Thread Holger Klawitter
Am Dienstag, 3. Juni 2003 14:47 schrieb Jason Bainbridge: > On Tue, 3 Jun 2003 20:35, Rob Tomlin wrote: > > Hi, > > > > Is it possible to allow Tomcat to bind to port 80 as a non-root user ? > > We have a new candidate for the most frequently asked question... > > Simple answer is no, however you c

Re: How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread Peter Alvin
mod_rewrite worked! Here is the solution: RewriteEngine on RewriteRule ^/$ /home.htm [R] This is a problem I've been grappling with for a year! Thanks everyone! Pietro da Alvin 719-210-3858 Chi cerca trova (Who searches, finds) Italian Proverb On Tue, 03 Jun 2003 08:58:40 -0400, Tim Funk wr

Re: tag and method overloading

2003-06-03 Thread Ronald Klop
Tim Funk wrote: No. You'll need to do the conversion yourself. Ok, if I have a tag which can get a String or a List of Strings. Should I make one setter which gets Object as parameter? And than check at runtime for the right types? Are there any guidelines for this? Greetings, Ronald. -Tim Ron

Re: tag and method overloading

2003-06-03 Thread Tim Funk
No. You'll need to do the conversion yourself. -Tim Ronald Klop wrote: Hello, Is it possible to overload a method of a tag. In JSP: String arg1 = "bla"; int arg2 = 5; In the class: public void setName(String s) { ... } public void setName(int i) { ... } I get errors like: can't find setter me

RE: Is it safe to use Runtime.exec() from within a JSP

2003-06-03 Thread Adam Lipscombe
Thanks for the info - I'll investigate. > You could launch a chess engine that took commands through sysin and gave results back in sysout, then interface that within a JSP page somehow Any recommended URLs that describe this technique? TIA - Adam -Original Message- From: Jason Ba

tag and method overloading

2003-06-03 Thread Ronald Klop
Hello, Is it possible to overload a method of a tag. In JSP: String arg1 = "bla"; int arg2 = 5; In the class: public void setName(String s) { ... } public void setName(int i) { ... } I get errors like: can't find setter method for String. Is this supported? If yes, are their known pitfalls? An

Re: Auto login using a cookie

2003-06-03 Thread Tim Funk
Since you are Using JDBCRealm, you are already somewhat tomcat dependent. Even though switching realms is very easy. But the code to do the auto login needs to occur BEFORE the JDBCRealm code is excuted. That is the problem. Thats the bad news, you tomcat specific code should be easy to port to

RE: Tomcat Memory leaks!

2003-06-03 Thread Shapira, Yoav
Howdy, Umm, where's the memory leak? ;) Do you have any idea at all what could be causing it? Have you even once run your server with a profiler to see where memory is being allocated??? We'll need a lot more information if you want us to seriously look at this... Yoav Shapira Millennium Chem

RE: using filters

2003-06-03 Thread Shapira, Yoav
Howdy, Let's say 10 people reply, five says "there is some performance cost" and 5 says "there's none at all". What's the information value of that for your specific app? Close to zero. You will only get a definitive answer for your app with your filter on your server by writing and running loa

Re: How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread Tim Funk
In tomcat 4.X a welcome file cannot be a servlet. It must be a file. (This rule changes with servlet api 2.4) So for now, you can be tricky, for example: I have a servlet mapped to *.cowbell. I create an (empty) file called index.cowbell. I also make sure my welcome file listing includes index.

RE: -Xincgc, -Xms600, -Xmx600

2003-06-03 Thread Shapira, Yoav
Howdy, >Sure, it is possible that the gc could run as long as your process is >running, but it should stop after your process completes. If tomcat keeps >running at 100% cpu forever, you have a problem ... something that looks >like an infinite loop. Could be an infinite loop, or some threads wa

Re: Database connection "No suitable driver"?

2003-06-03 Thread Nikola Milutinovic
> Yes. Then there is something wrong with JDBC URL you're using to connect. That message is actually from DriverManager/DataSource code. Nix.

RE: Tomcat classpath issues.

2003-06-03 Thread Shapira, Yoav
Howdy, This comes up all the time. If I had a bit of money for every time I've explained the difference between a ClassNotFoundException and a NoClassDefFoundError... Search the archives on this issue. Furthermore, there are postings to the effect of "the weblogic.jar is a giant piece of kludge

JSTL and EL question

2003-06-03 Thread Nikola Milutinovic
Hi all. I'm using JSTL (Java Standard Tag Library), the EL (Expression Language) version. I have a DB where one particual query can return exactly one row (primary key). So, I use this: SELECT * FROM user_tab WHERE user_id = ? This works just fine and I can iterate over it using . ..

Re: Tomcat running as non root user as service...

2003-06-03 Thread Jason Bainbridge
On Tue, 3 Jun 2003 20:35, Rob Tomlin wrote: > Hi, > > Is it possible to allow Tomcat to bind to port 80 as a non-root user ? We have a new candidate for the most frequently asked question... Simple answer is no, however you could use the sudo utility to grant a non root user root privileges just

mod_jk mapping

2003-06-03 Thread Graham Smith
Hi, Quick question about mapping mod_jk requests to webapps. I run the site www.xfly.co.uk which has all requests redirected to tomcat via apache using mod_jk and a JkMount of /* in the virtual server definition. At the minute the web app that this points to has the context /xfly so paths have

RE: Is it safe to use Runtime.exec() from within a JSP

2003-06-03 Thread Shapira, Yoav
Howdy, Define "safely" ;) What attacks did you have in mind? If you're going to tie the Process streams from Runtime.exec to your JSP's streams, that's a potential risk. There are several others. Keep in mind that your JSP is supposed to serve a request, not be some long-running interactive pr

RE: moving from Jrun to Tomcat

2003-06-03 Thread Shapira, Yoav
Howdy, I would add that you can try running your app on tomcat standalone first. Depending on your performance and other requirements, this may be sufficient. Then your overall configuration will be much simpler. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Jason

Re: Tomcat running as non root user as service...

2003-06-03 Thread John Turner
No. John On Tue, 3 Jun 2003 13:35:43 +0100, Rob Tomlin <[EMAIL PROTECTED]> wrote: Hi, Is it possible to allow Tomcat to bind to port 80 as a non-root user ? Platform = RH Linux 8.0 Cheers Rob - To unsubscribe, e-mail: [EMA

RE: maxThreads Settingd

2003-06-03 Thread Shapira, Yoav
Howdy, Max threads for what? Request processor threads are controllable via minProcessors and maxProcessors in the HTTP/1.1 connector element. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Billy Ng [mailto:[EMAIL PROTECTED] >Sent: Monday, June 02, 2003 9:22 PM >To:

Re: Need help w. Tomcat

2003-06-03 Thread John Turner
This means that one of your web.xml files has invalid syntax, such as an element out of order, an element that shouldn't be there, or a missing tag. The error is explanatory: the problem is at line 312, column 11 in the file. The error explains that: SEVERE: Parse Error at line 312 column 11:

RE: Issues with web.xml

2003-06-03 Thread Shapira, Yoav
Howdy, Check the tomcat logs: most likely it's telling you it failed to parse your web.xml (the one with the HelloWorld servlet) due to wrong element order. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Robert Seeger [mailto:[EMAIL PROTECTED] >Sent: Tuesday, June 03

Re: Is it safe to use Runtime.exec() from within a JSP

2003-06-03 Thread Jason Bainbridge
On Tue, 3 Jun 2003 20:23, Adam Lipscombe wrote: > Jason, > > Thanks for the input... > > I am worried about what happens to the rest of Tomcat if one thread > blocks for (potentially) a long time while a user is playing an external > game. Will this have an adverse affect? What do you mean by an '

Tomcat running as non root user as service...

2003-06-03 Thread Rob Tomlin
Hi, Is it possible to allow Tomcat to bind to port 80 as a non-root user ? Platform = RH Linux 8.0 Cheers Rob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread John Turner
Yes, you can use mod_rewrite. Most people are not proficient enough to do so. John On 03 Jun 2003 14:17:25 +0200, Joël "Wijngaarde [Us Media] <[EMAIL PROTECTED]> wrote: Can't you use a RewriteRule (see http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html) from within apache to rewrite the de

Re: Tomcat classpath issues.

2003-06-03 Thread John Turner
java.lang.NoClassDefFoundError (what you're getting) is not the same as java.lang.ClassNotFoundException (what happens when classes can't be found by the class loader). $CATALINA_HOME/common/lib is most definitely visible to your applications. I'm no guru, but I think this has come up before, a

Re: Worry about...

2003-06-03 Thread Ben Souther
http://pdf.coreservlets.com/ Start by reading chapters 1~9 to understand the lifecycle of a servlet. Then read chapter 13. It discusses the sharing of beans and the different lifecycle objects that you can bind them to in order to maintain (or not maintain) their state across HTTP requests. -G

Re: Apache/mod_jk/Tomcat 404-problem

2003-06-03 Thread John Turner
First thing I would do is drop the wildcard from ServerAlias. There's a very good chance that's an Apache thing...that doesn't necessarily mean that Tomcat accepts it. Since your Tomcat instance serves all the requests correctly, the culprit is Apache not passing the correct host header to Tom

RE: Tomcat Memory leaks!

2003-06-03 Thread Angus Mezick
How would setting fork to true change anything? I thought it was the default setting. Am I wrong or is the documentation in web.xml wrong? --Angus > -Original Message- > From: Alex Burton [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 03, 2003 12:30 AM > To: Tomcat Users List > Subject

Re: Restarting Tomcat without restarting Apache

2003-06-03 Thread John Turner
You can start/stop each independently. I do it all the time. You may encounter errors in Apache's logs, if it is in the middle of trying to satisfy a request to Tomcat, but Tomcat is restarted before the request can complete. The cleanest way to do this, for stops, is: stop Apache, then stop

RE: Is it safe to use Runtime.exec() from within a JSP

2003-06-03 Thread Adam Lipscombe
Jason, Thanks for the input... I am worried about what happens to the rest of Tomcat if one thread blocks for (potentially) a long time while a user is playing an external game. Will this have an adverse affect? Cheers - Adam -Original Message- From: Jason Bainbridge [mailto:[EMAIL P

Re: How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread Wijngaarde [Us Media]
Can't you use a RewriteRule (see http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html) from within apache to rewrite the default URL to an URL pointing at your servlet. Or maybe even a configure a filter in your web.xml doing the redirect? - Joel On Tue, 2003-06-03 at 14:08, Tim Funk wrote: > T

Re: How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread John Turner
AFAIK, this doesn't work. Apache (mod_dir?) doesn't pick up that index.jsp is a valid directory index file prior to the URL being tested against JkMount. John On Tue, 03 Jun 2003 07:17:23 -0400, Tim Funk <[EMAIL PROTECTED]> wrote: add index.jsp as a default file to apache config DirectoryInde

Re: [Re-repost] tomcat/jk2/apache: authentication not taken into account for webapps

2003-06-03 Thread Jerome Lacoste @ BBC
Morgan Pyne wrote: Hi Jacob^B^B^B^B^BJerome, ;) Things to verify/try 1. The webserver has successfully authenticated the request, and you can see this username appearing in the Apache access log. You mention that CGI's and other PHP pages authenticate correctly, but verify that the URL o

Re: Strange mod_jk error

2003-06-03 Thread John Turner
I think the problem is that, in the .properties files you posted, you have the port as 8080. That's the HTTP port...the JK port is 8009. John On Mon, 2 Jun 2003 23:37:04 -0400, Denise Mangano <[EMAIL PROTECTED]> wrote: I decided to scratch having the second worker since my problems seemed to

Re: Auto login using a cookie

2003-06-03 Thread Wijngaarde [Us Media]
Hi Tim, Thanks for the reply. I will take a lok at your suggestion, however using a valve would make the login structure Tomcat specific. Most Servlet-Containers supply someway of doing the authentication through LDAP / JDBC / FILE... and thus using this scheme is quite safe. But is there als a '

Re: How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread Tim Funk
Then your out of luck. -Tim Peter Alvin wrote: Thank you. I tried DirectoryIndex but it looks like that looks for a file on the filesystem and all my webpages are all served from the servlet. Pietro da Alvin 719-210-3858 Chi cerca trova (Who searches, finds) Italian Proverb On Tue, 03

Re: Help: Error while opening the workers, jk will not work - (solved)

2003-06-03 Thread John Turner
Glad you got it working! John On Mon, 2 Jun 2003 20:50:23 -0400, Rob Cartier <[EMAIL PROTECTED]> wrote: I found the problem while it worked before it wasnt working anymore after upgrading to 4.1.24 from 4.1.18 I needed to add the modJk directive in the following lines as defined in John Turners

Re: How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread Peter Alvin
Thank you. I tried DirectoryIndex but it looks like that looks for a file on the filesystem and all my webpages are all served from the servlet. Pietro da Alvin 719-210-3858 Chi cerca trova (Who searches, finds) Italian Proverb On Tue, 03 Jun 2003 07:17:23 -0400, Tim Funk wrote: >add index.jsp

RE: Sample Configs for Tomcat 4.1.x, mod_jk2 , Apache 2.0.46 with ssl

2003-06-03 Thread Ronnie Tartar
Forgot to mention the SSL piece. I had already been to the site but wasn't able to get what I needed. It may be there I just can't find it. If need to create multiple applications with a "/" context, do I need to create multiple hosts? Multiple Services? I got it working with the 1st VHOST

Re: Auto login using a cookie

2003-06-03 Thread Tim Funk
I think you'd need to use a valve instead of a filter. The filters are invoked after any security check is done (i believe). As a starting reference, look at the SingleSignOn valve. -Tim Joël Wijngaarde [Us Media] wrote: Hi, I was wondering if there is a standard way of creating automatic logi

Auto login using a cookie

2003-06-03 Thread Wijngaarde [Us Media]
Hi, I was wondering if there is a standard way of creating automatic login functionality in tomcat. What I mean is that a user can set a tik a box saying 'Automatically Log me in the next time I visit'. This is a common functionality on low security sites and improves user experience a lot. We

DataSource configuration in web.xml instead of server.xml

2003-06-03 Thread meissa . Sakho
hi all, I 've configured my DataSource configuration within a DefaultContext in the server.xml file in tomcat(4.1). Everything works fine. Now I would like to move this configuration in the web.xml file. The datasource section in the documentation explains that is's possible. I use DBCP api.

using filters

2003-06-03 Thread siddharth
Hi all, If i have implemented a filter who checks specific value in the session object ( some string manipulation is involved). Thus each request goes through filter. Will this hamper the performance ?? is it advisable to use filters for such cases ? thanx in advance. -- siddharth [EMAIL

Re: How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread Tim Funk
add index.jsp as a default file to apache config DirectoryIndex index.jsp index.html more_cowbell.html -Tim Peter Alvin wrote: When someone types: www.site.com Apache serves index.html which I added an an immediate redirect to load the "real" site's homepage which is a Java servlet.

Re: Sample Configs for Tomcat 4.1.x, mod_jk2 , Apache 2.0.46 withssl

2003-06-03 Thread Tim Funk
http://tomcatfaq.sourceforge.net/apache.html ? -Tim Ronnie Tartar wrote: I am looking for some sample configs for the following configuration. Redhat 9.0 Tomcat 4.1.24 (binary) Apache 2.0.46 (compiled from source) mod_jk2 (compiled from source) Specifically, I am using IP based Virtual Hosts

Re: Is it safe to use Runtime.exec() from within a JSP

2003-06-03 Thread Jason Bainbridge
On Tue, 3 Jun 2003 19:06, Adam Lipscombe wrote: > I need to launch a Win32 game from a JSP. > Can I use safely Runtime.exec() from within Tomcat? I'm not sure about 'safely' I'm not a security expert, but atleast functionally it works quite well. I do it with ASpell to implement spell checking

Is it safe to use Runtime.exec() from within a JSP

2003-06-03 Thread Adam Lipscombe
Folks, I need to launch a Win32 game from a JSP. Can I use safely Runtime.exec() from within Tomcat? TIA - Adam --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.487 / Virus Database: 286 - Release Date: 01/06/2003

Re: Problems with Tomcat - IIS integration ...

2003-06-03 Thread Dominic Parry
check the filter setting in the IIS control Panel in the virtual folder that you created for jakarta. - Original Message - From: Adeniyi Ibironke To: [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 11:49 AM Subject: Problems with Tomcat - IIS integration ... Hi, I have fo

Re: Issues with web.xml

2003-06-03 Thread Dominic Parry
Hi Robert I think I may know what your problem is. I remember reading that you web.xml has to be in a specific order: in your HelloWorld HelloWorld My test servlet you need to swap the and the items around: HelloWorld My test servlet Hell

Apache/mod_jk/Tomcat 404-problem

2003-06-03 Thread Niklas Saers Mailinglistaccount
Hi, I'm running a webserver with many virtual hosts. The default virtualhost is the registrar.no virtualhost that has a serveralias to www.registrar.no I issue the following requests: http://registrar.no/servlets/servlet/no.registrar.servlets.LagEndreDnsKnapper http://www.registrar.no/servlets/ser

Problems with Tomcat - IIS integration ...

2003-06-03 Thread Adeniyi Ibironke
Hi, I have followed instructions on performing the above. However, since I've rebooted, Tomcat now appears to intercept all HTTP requests through localhost. Can you please advise a sequence of steps to ensure Tomcat executes only .jsp pages. Many thanks. Niyi

Re: Issues with web.xml

2003-06-03 Thread Dominic Parry
Hi Robert How are you running Tomcat? With Apache, or with PWS? or standalone? - Original Message - From: Robert Seeger To: [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 12:08 PM Subject: Issues with web.xml I'm having issues with the web.xml file in my webapps/root/web-i

Re: Need Help on JDBC Connection

2003-06-03 Thread Jason Bainbridge
On Tue, 3 Jun 2003 18:46, Joe wrote: > description The server encountered an internal error () that prevented > it from fulfilling this request. > exception > org.apache.jasper.JasperException: com.mysql.jdbc.Driver > ... You cut out the all important part, what is the rest of the message? -- Ja

Need Help on JDBC Connection

2003-06-03 Thread Joe
Hi all, does anyone knows that's the case of this error: This happened when I tried to access MySQL Database from remote client. Regards, Joe HTTP Status 500 - _ type Exception report message description The server encountered an internal error () that prevented it from fulfillin

RE: Issues with web.xml

2003-06-03 Thread Andy Eastham
Robert, I'm not sure what the problem is, but you can redirect the output in dos, just like in unix. Eg, if you're running startup.bat, type startup.bat > myfile.log and inspect the output written to the log file. This should help you solve the problem yourself, or at least you'll be able to gi

Issues with web.xml

2003-06-03 Thread Robert Seeger
I'm having issues with the web.xml file in my webapps/root/web-inf directory. What I want to do is be able to specify each individual servlet that can be run, by using and tags. Unfortunately, the best I have been able to do is use a generic servlet invoker to allow every servlet to be access

RE: Catalina api and Jars

2003-06-03 Thread James Lewis
> but I can use: I assume you mean can't. > > org.apache.ant.*; > > is there a list of jar files somewhere that I have overlooked? > I'm assuming that if I have then I need to add that dir to my classpath. There is also the server directory: /server/lib, however (and I'm sure someone will correc

Catalina api and Jars

2003-06-03 Thread Dominic Parry
Hi I don't have any of the jar files that people mention in this list regarding Catalina. Tomcat is up and working fine. These are the jars I have in my tomcat4.1\common\lib folder: activation.jar ant.jar commons-collections.jar commons-dbcp.jar commons-logging-api.jar commons-pool.jar jasper-c

RE: Restarting Tomcat without restarting Apache

2003-06-03 Thread John Corrigan
If that is the case then I believe that the docs would be incorrect. I often restart Tomcat without restarting Apache. -Original Message- From: softspt [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 1:32 AM To: [EMAIL PROTECTED] Subject: Restarting Tomcat without restarting Apache

Restarting Tomcat without restarting Apache

2003-06-03 Thread softspt
Protective Marking: UNCLASSIFIED Is it possible to set up Tomcat so that it services JSP requests for Apache, yet can be restarted independently? The docs for mod_jk say that restarting Tomcat requires restarting Apache. *

Re: IOException: failed to communicate with MySQL

2003-06-03 Thread Martin Jacobson
Mindaugas Genutis wrote: a couple of days ago a post went by talking about MySQL default timeout being set to 8 hrs for connections... betting this might be your problem... Thanks for pointing this out. I've read the thread "Tomcat problems every morning". However, no solution was suggested in t

Re: IOException: failed to communicate with MySQL

2003-06-03 Thread Kwok Peng Tuck
Write a dbkeep-alive, schedule it to run say every 15 minutes. Works for me. I use jcrontab.sourceforge.net to schedule this. I think DBCP also does something like this, you might want to look at their docs as well. Mindaugas Genutis wrote: a couple of days ago a post went by talking about MySQ

RE: Database connection "No suitable driver"?

2003-06-03 Thread Terje Hopsø
I tried this now but I still get the same error. - Terje -Original Message- From: John Moore [mailto:[EMAIL PROTECTED] Sent: 3. juni 2003 00:41 To: 'Tomcat Users List' Subject: RE: Database connection "No suitable driver"? One other idea, we have the Resource and ResourceParams in th

RE: Database connection "No suitable driver"?

2003-06-03 Thread Terje Hopsø
Yes. - Terje -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: 3. juni 2003 07:24 To: Tomcat Users List Subject: Re: Database connection "No suitable driver"? Your config looks fine. Have you placed Sybase's JDBC driver into "${CATALINA_HOME}/common/lib/"? N

RE: IOException: failed to communicate with MySQL

2003-06-03 Thread Mindaugas Genutis
> a couple of days ago a post went by talking about MySQL default timeout > being set to 8 hrs for connections... betting this might be your problem... Thanks for pointing this out. I've read the thread "Tomcat problems every morning". However, no solution was suggested in that thread. One can

RE: -Xincgc, -Xms600, -Xmx600

2003-06-03 Thread Strecker, Mark
Howdy, >>I question whether this is a memory issue. Even if you use 600MB, why does >>tomcat run at 100% cpu forever??? Shouldn't the gc finish??? >GC may finish and immediately restart if memory is still full. That >would keep CPU usage pegged. Sure, it is possible that the gc could run as lon

Re: Cannot communicate securely

2003-06-03 Thread Korhan GURLER
I already know that and tried those, but my problem still goes on. I will try to solve the problem if so i will let the list know. Wish me luck :) On Tue, 3 Jun 2003 02:05:39 +0800 Jason Bainbridge <[EMAIL PROTECTED]> wrote: > Seems that is another howto that could do with updating... > Surprisi

migration from jrun to tomcat

2003-06-03 Thread shyam
Hi All, I have a webapp running on Jrun and IIS. I want the app to be moved from Jrun to tomcat. I have read that tomcat with IIS has problems. It would be grateful if someone can help me with details of moving from Jrun to tomcat and issues with the migration . Thanks, shyam -

RE: IOException: failed to communicate with MySQL

2003-06-03 Thread Alex Burton
a couple of days ago a post went by talking about MySQL default timeout being set to 8 hrs for connections... betting this might be your problem... -Original Message- From: Mindaugas Genutis [mailto:[EMAIL PROTECTED] Sent: Tuesday, 3 June 2003 5:26 PM To: [EMAIL PROTECTED] Subject: IOExcep

IOException: failed to communicate with MySQL

2003-06-03 Thread Mindaugas Genutis
Hello, My JSP application very often after night, in the morning stops communicating with MySQL database. I get an exception each morning (the exception body goes below). The application starts to work again after I restart it from the Tomcat Manager. Maybe someone else also had this same pro

Using my own directory

2003-06-03 Thread Marco Laponder
Hi All, My Tomcat/Apache setup is working as I can acces the example application by calling http://localhost/examples/ What I did now is the following: - I created at the same level as examples ( so under webapps) my own directory test - I copied all the entries from examples to the test direct

Apache/Tomcat/Mod_JK woes

2003-06-03 Thread Rohit Peyyeti
I have integrated Apache 1.3/Tomcat 4.1 but when I try to access any JSP in the VirtualHost -- I get I get this error on the browser. Any idea about this error? HTTP Status 404 - /jsp/someFrame.jsp type Status rep

Tomcat classpath issues.

2003-06-03 Thread Rodney Leger
Does anyone know how to get the entire class path that tomcat is using to run an application. What I am trying to understand is at the time that the tomcat is running my application what is its classpath. I have included a jar file(weblogic.jar) in common/lib however, I still receive the foll

webapp deployment using single sign on

2003-06-03 Thread siddharth
1) Considering security and reliability, how good is 'Single sign on' support provided by tomcat ? can a project rely on what is provided by tomcat ? any other/better solutions suggested ? 2) I am tring to use 'single sign on' provided by tomcat. Everything works fine. * But configuration does'

Worry about...

2003-06-03 Thread Cui Xiaojing-a13339
Hello All, I developed a web application on Tomcat, which provide data lookup function based on search criteria. There will be a lot of users to access the application at same time (more than 100). They will choose their search criteria and press "Search" button to lookup their data. What I wor

Re: Need help w. Tomcat

2003-06-03 Thread Kwok Peng Tuck
It's complaining about a xml file, which does not tally with the dtd file it references. Did you by any chance change any web.xml files in your webapps ? If so can we have a look ? Steve Burrus wrote: Hi Kwok, here is the entirety of the error msg. with Tomcat in DOS: "Jun 2, 2003 9:44:28 PM or

Re: Database connection "No suitable driver"?

2003-06-03 Thread Nikola Milutinovic
Your config looks fine. Have you placed Sybase's JDBC driver into "${CATALINA_HOME}/common/lib/"? Nix.

RE: Tomcat Memory leaks!

2003-06-03 Thread Alex Burton
Have a look here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html In your /conf/web.xml you can modify the following like this (assuming you have Jikes installed): jsp org.apache.jasper.servlet.JspServlet logVerbosityLevel WA

RE: Tomcat Memory leaks!

2003-06-03 Thread Robert Abbate
Hi. I honestly have no idea what you are talking about. Can you explain what needs to be done for this? You talking about changing `javac`? Thanks -Original Message- From: Alex Burton [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:12 PM To: Tomcat Users List Subject: RE: Tomcat M

RE: Tomcat Memory leaks!

2003-06-03 Thread Alex Burton
Try the option to fork off the JSP compiles (or even use Jikes to compile). There seems to be a problem with compiling of JSPs that does not use the usual memory you can allocate with the -Xmx type flag... maybe one of the guru's can explain this.. but we had similar problem that whe nwe moved to

webapp deployment using single sign on

2003-06-03 Thread siddharth
1) Considering security and reliability, how good is 'Single sign on' support provided by tomcat ? can a project rely on what is provided by tomcat ? any other/better solutions suggested ? 2) I am tring to use 'single sign on' provided by tomcat. Everything works fine. * But configuration does

Re: Deploying/Undeploying application using the manager webapp

2003-06-03 Thread Jason Koeninger
We just chased down a problem with the struts jar file being locked after being removed by the manager. The solution I found in the struts mailing list archives was to add the dtd files from the struts jar file to WEB-INF/classes as a work-around. Maybe that will get you pointed in the right

Tomcat Memory leaks!

2003-06-03 Thread Robert Abbate
Hi. It seems Tomcat (4.1.24) has a major memory leak, and I wanted to bring it to the developers attention so they can check it out. I run a shared hosting server (Mandrake 8.2, Apache 1.3) with virtual hosts. I have 1 Gig of RAM and about 50 virtual hosts and yet I keep getting Out of Memory erro

RE: Deploying/Undeploying application using the manager webapp

2003-06-03 Thread Rais Bonny
Thanks again. I'll remove the reference to commons-logging from the app and use the one in the common directory. I have tried to remove the app using the manager app and this is where the whole thing started - all the files in my WEB-INF/lib remain locked and that includes some jar files which

RE: Does Tomcat support Unicode URL

2003-06-03 Thread Shawn
Well Java 1.4 does. Did you try something like: <%=URLEncoder.encode(s, enc)%> s is your URL and enc is the java encoding such as "Shift_JIS". See URLEncoder for more info. Will work from java 1.4 I believe. Had the same problem and this seems to solve it just fine. I had to set the correc

RE: Deploying/Undeploying application using the manager webapp

2003-06-03 Thread Jacob Kjome
Well, commons-logging is the cause of a lot of headaches and it is much better to use Log4j directly, but since Struts is sort of married to it, you'll have to deal with it. Anyway, that is where I'd look first. Tomcat also uses commons-logging heavily and commons-logging uses classloader tri

RE: Deploying/Undeploying application using the manager webapp

2003-06-03 Thread Rais Bonny
Jacob, Thanks for the reply. I may need some clarification as I'm a bit of a newbie when it comes to Tomcat deployment. we are using struts and all the struts packages we use are in our app lib directory. I read somewhere that this is the preferred location. Is this wrong? we're not using log4j

How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread Peter Alvin
When someone types: www.site.com Apache serves index.html which I added an an immediate redirect to load the "real" site's homepage which is a Java servlet. Does anyone know how to configure Apache, DNS, or MOD_SSL to go directly to the servlet for the home page? - Apache 1.3.27 - mod_ssl-2

RE: Strange mod_jk error

2003-06-03 Thread Denise Mangano
I decided to scratch having the second worker since my problems seemed to start with that approach. I restored everything to the original worker file and have both default and test virtual hosts pointing to the same workers.properties. For some reason, mod_jk is still not working. Its not a prob

Re: Deploying/Undeploying application using the manager webapp

2003-06-03 Thread Jacob Kjome
Which jars are locked? There was an issue like this with log4j. I can't remember the exact reason, but it was fixed with the 1.2.8 release. Anything that grabs hangs onto resources is going to be an issue. In the case of Struts, I'd make sure you don't have commons-logging stuff in WEB-INF/

Sample Configs for Tomcat 4.1.x, mod_jk2 , Apache 2.0.46 with ssl

2003-06-03 Thread Ronnie Tartar
I am looking for some sample configs for the following configuration. Redhat 9.0 Tomcat 4.1.24 (binary) Apache 2.0.46 (compiled from source) mod_jk2 (compiled from source) Specifically, I am using IP based Virtual Hosts and need to map each to a root "/" of each web site. I have looked on th

Re: Need help w. Tomcat

2003-06-03 Thread Steve Burrus
Hi Kwok, here is the entirety of the error msg. with Tomcat in DOS: "Jun 2, 2003 9:44:28 PM org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information Jun 2, 2003 9:44:28 PM org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance Jun 2, 2003

Does Tomcat support Unicode URL

2003-06-03 Thread John Z Yang
We still have not figure out a way to resolve doublebyte URL's with Tomcat. I.E. if we have an jsp or htm file name which is in Unicode, it seems that tomcat has no way to load that page. We tried to encode the characters with % URL encoding, but seems not working. Can anyone help? Thanks. John

Re: Need help w. Tomcat

2003-06-03 Thread Kwok Peng Tuck
Any other stuff get printed besides that ? Steve Burrus wrote: Hello all, I need help with not using the Tomcat server, but with actually getting it set up correctly. Every single time that I try to run it, it seems to be going good for a while, but then I always get a "Fatal Parse Error", and it

Need help w. Tomcat

2003-06-03 Thread Steve Burrus
Hello all, I need help with not using the Tomcat server, but with actually getting it set up correctly. Every single time that I try to run it, it seems to be going good for a while, but then I always get a "Fatal Parse Error", and it indicates a problem in the "org.apache.commons.digester" file wi

maxThreads Settingd

2003-06-03 Thread Billy Ng
Hi folks; Would anybody tell me if there is a way to change the maxThreads for Tomcat 4.0? I don't see the option in server.xml Thanks! Billy Ng

  1   2   >