Re: Importing the Certificate?

2003-12-19 Thread Bill Barker
There should have been a link in the email you got from VS, but the page you want is http://www.verisign.com/support/install/apache/v00g.html. Scroll down to the "Get Intermediate CA Here" button and click on it. "Anibal Constante Brito" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]

RE: To the list administrator.

2003-12-19 Thread Giuliano Gavazzi
well, nothing has changed. As I said in my original report, there is someone with an address at LeadingEdgeDeSign.com or leds.com (under the same administration) with a dodgy Symantec Mail Security sending out bogus warnings to each message I post to the list. It is unlikely that this is only h

Accessing JNDI Context from outside Tomcat

2003-12-19 Thread Swaminathan Gurumoorthy
I am trying to do some standalone unit testing on my business logic layer from outside Tomcat . I am hitting across a snag and I am relatively new to JNDI. Within my application I do a initCtx = new InitialContext(); and Tomcat creates me a initial context for lookups. Now I did some reverse

webdav and Tomcat 5.0 - is it bundled or not?

2003-12-19 Thread Patricia Goldweic
Is a webdav server bundled with Tomcat 5.0 just like it was with earlier versions of Tomcat? If so, how can one access it? (I've tried http://localhost:8080/webdav without success). I am also unable to locate the webdav web application in the Tomcat installation. Thanks for any information, -

RE: Using Jikes as compiler for Tomcat 4.1 on Windows systems

2003-12-19 Thread Patrick Willart
I got a bit confused, but the problem is that the version of jikes I downloaded doesn't support -encoding. On javaroom.de I found a version of jikes1.18 with -encoding support. http://www.javaroom.de/index.html I installed it and it worked right away. grts, Patrick -Original Message- F

Using Jikes as compiler for Tomcat 4.1 on Windows systems

2003-12-19 Thread Patrick Willart
Simple question. Is it possible or not? I use Jikes 1.18 and Tomcat 4.1.24. Based from other posts I figured out that it's not possible to configure Tomcat to use Jikes as JSP compiler because -encoding is not supported in the Windows version of Jikes. However out of different posts I get the ide

RE: two installations of Tomcat

2003-12-19 Thread Dale, Matt
You need to modify the server.xml of one of the instances to start it on a different port. Then you should be able to access both seperately on the respective ports. To connect to either through apache you should read up on the jk connector. If you are using apache 1.3 then use JK, if you are

UserConfig + autodeploy wars

2003-12-19 Thread John Beamon
I have a team of developers, each with a $HOME/tomcat/ directory. They are authenticating against nss-LDAP, so they are not in /etc/passwd. I would like for them to be able to drop wars in ~/tomcat/ and have them deploy without manually adding Contexts. I've tried this... = = ...

[OT] Source Code Visual Tree builder?

2003-12-19 Thread Justin Ruthenbeck
Drawing from the considerable collective experience of the list... Does anyone know of an OS/Free tool that processes a set of source files and outputs a visual tree of their relationships (basic is fine - who instantiates who is all I really need)? I feel like this should be a common tool, bu

Re: Odd problem with pathing for appbase and docbase

2003-12-19 Thread daniel
Oh wow found out what happend. Tomcat created the conf/Tomcat-Standalone/parks.com/.xml due to my earlier server.xml changes I just went back in to my conf dir and deleted the Tomcat-Standalone directory and then proceed to restart tomcat. guess what that worked. Could that be a bug? or is that by

Re: Odd problem with pathing for appbase and docbase

2003-12-19 Thread daniel
I've tried both ways and i am still getting the same error that it cannot find the web.xml. So I tried appbase ="/home/parks" docbase = "htdocs" appbase ="/home/parks/htdocs" docbase = "." So im still getting this message INFO: Processing Context configuration file URL file:/usr/local/jakarta

Re: getPathInfo behaviour changed in tomcat 5.x?

2003-12-19 Thread Remy Maucherat
Bill Barker wrote: I haven't profiled it, but according to Remy (who did most of the work, with a bit of help from me and Tim), yes ;-). Well, let's say the profile is hotspot free. The performance of the HTTP stack is equivalent to that of 4.1.29 (not surprising, it's now the same), but will hav

RE: Need help with Virtual Host Directive

2003-12-19 Thread Wehner, Terry
Thanks, In the interim I got it to work :-) -Terry -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 3:04 PM To: Tomcat Users List Subject: RE: Need help with Virtual Host Directive Howdy, >Your alternative suggestion sounds interesti

RE: Need help with Virtual Host Directive

2003-12-19 Thread Shapira, Yoav
Howdy, >Your alternative suggestion sounds interesting. >How does the autodeploy feature work? >If I turn it off, how do I specifically name directories (apps)? If you're playing with a multiple virtual hosts configuration, you really want to thoroughly understand this page: http://jakarta.apa

RE: Need help with Virtual Host Directive

2003-12-19 Thread Wehner, Terry
Yoav, Moving to Tomcat 5 is not an option right now. Your alternative suggestion sounds interesting. How does the autodeploy feature work? If I turn it off, how do I specifically name directories (apps)? Terry -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Frid

RE: Odd problem with pathing for appbase and docbase

2003-12-19 Thread Shapira, Yoav
Howdy, >Its located at /home/parks/htdocs/WEB-INF/web.xml >and here is my config for the server.xml > Consider using appBase="/home/parks" and docBase="htdocs". docBase is relative to appBase or absolute. docBase="/" is the simple absolute root directory, which is not what you want. An alt

RE: Need help with Virtual Host Directive

2003-12-19 Thread Shapira, Yoav
Howdy, So you want to disallow access based on local, rather than remote (the request's), IP address? Remote address filtering is easy: see the Valve How-To page section on RemoteAddressValve. Local address filtering is also not very difficult, but requires you to write some code. Namely, yo

RE: Manager App Doesn't Reload wars

2003-12-19 Thread Sleeper, Jesse
Art, I assume you could not get the Deploy and Undeploy features to work either since you are using a work around? Consequently, I found that the redeploying [with the details below] doesn't work in any version of Tomcat 4.x. This is a problem because the more applications I realease the less li

Odd problem with pathing for appbase and docbase

2003-12-19 Thread daniel
I am trying to figure out why my tomcat 5.0.16 server cannot find the web.xml for the parks.com. Its located at /home/parks/htdocs/WEB-INF/web.xml the permissions of the file are such that anyone can read the file. and here is my config for the server.xml www.parks.com here is the er

Need help with Virtual Host Directive

2003-12-19 Thread Wehner, Terry
Title: Need help with Virtual Host Directive I have several Virtual Hosts (IP addresses) running on one Unix Server serviced by Apache 2.0.48 I have defined all of them in both my apache httpd.conf file as well as Tomcats server.xml file. This works fine. What I am trying to do now is di

mod_jk2 sticky LB

2003-12-19 Thread Steve
my googling has only proven to show that mod_jk2 does not yet support lb with sticky sessions.. Or is this not he case? thanks -steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

getRequestURI and encoding

2003-12-19 Thread Pierre Ripochin
Hi, It is my understanding that  should always return the unencoded URI. I.e. for href="foo%20bar", getrequestURI should return 'foo bar', not 'foo%20bar'. Now, this seems to not always be the case. Does it depend on the browser? Thanks Hi, It is my understanding that HttpServletRequest.getR

Re: Welcome File Oddities in Tomcat 5.0.16

2003-12-19 Thread Tim Funk
4.1 did redirects for welcome files, 5 does forwards. So in 4.1, asking for http://myserver.mydomain.com:8080/myapplication/ would issue a redirect to http://myserver.mydomain.com:8080/myapplication/jsp/myLogin.jsp But in 5.0: http://myserver.mydomain.com:8080/myapplication/ is servered directly b

RE: Welcome File Oddities in Tomcat 5.0.16

2003-12-19 Thread Shapira, Yoav
Howdy, Welcome file behavior was changed because the spec was changed to allow servlets as welcome files. There could be a bug in the code, or it could be that your relative path to welcome file is no longer legal in servlet specification 2.4 containers. I don't know which one is true, as I don'

Welcome File Oddities in Tomcat 5.0.16

2003-12-19 Thread David Ramsey
In a webapp on which I work, we could specify a welcome file with the following syntax: jsp/myLogin.jsp This worked in Tomcat 4.x without problems. I yesterday installed Tomcat 5.0.16 and am unable to get this to work any longer. Reviewing the 2.4 servlet s

Re: Database Rollback doesn't work

2003-12-19 Thread monicaf
Hi! Thanks a lot for your answer. I have decided to implement the transactionality in the code as suggested. It seems a better way of doing it. Monica > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > George Sexton wrote: >> I thought transactions were one of those features MySQL decided tha

RE: Start and stop server

2003-12-19 Thread Michael Coughlan
> There is a Startup and Shutdown batch scripts in your Tomcat's bin > directory. I also remember that Tomcat 4 also used to be a Windows Service, for stopping, starting, and running on startup. Start -> Settings -> Control Panel -> Services I've moved to Tomcat on Linux and can't verify that fa

Re: Way to get Reference to Servlet from Filter?

2003-12-19 Thread Sean Dockery
"I've got a fever... and the only cure is more cowbell!" LOL. :-D "Tim Funk" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > You won't be able to get the servlet reference. A possibility is to define > the filter multiple times with different parameters. For example, here is the >

RE: Way to get Reference to Servlet from Filter?

2003-12-19 Thread Shapira, Yoav
Howdy, >> You won't be able to get the servlet reference. A possibility is to >> define the filter multiple times with different parameters. For example, >> here is the same class name defined 4 times as 4 different filters. > >Good idea. Thanks for the helpful response. Since I can't get a >re

RE: External resources with a fallback

2003-12-19 Thread Shapira, Yoav
Howdy, >I try to figure out how to make Tomcat 5 load resources externally to >the webapp, and failing over to loading them from the webapp if they are >not present in the external location. I figure I should subclass >BaseDirContext (or implement DirContext straight away), setting it in >the su

Re: Way to get Reference to Servlet from Filter?

2003-12-19 Thread Seth Ladd
Tim Funk wrote: You won't be able to get the servlet reference. A possibility is to define the filter multiple times with different parameters. For example, here is the same class name defined 4 times as 4 different filters. Good idea. Thanks for the helpful response. Since I can't get a refer

Re: Apache SSL again... those variables are getting me mad!

2003-12-19 Thread Mark W. Webb
I use mod_jk with tomcat 4.1.x and apache from source. I have not had any problems to date. Try mod_jk and see if that helps. Federico Fernandez Cruz wrote: Yes! It returns null. The servlet (jsp) that executes this code is running in Tomcat (obviously!) And the whole web application is ma

External resources with a fallback

2003-12-19 Thread Simon Tardell
Hello all, I try to figure out how to make Tomcat 5 load resources externally to the webapp, and failing over to loading them from the webapp if they are not present in the external location. I figure I should subclass BaseDirContext (or implement DirContext straight away), setting it in the sub-

Re: Start and stop server

2003-12-19 Thread Patrick Burma
There is a Startup and Shutdown batch scripts in your Tomcat's bin directory. Use these to start and stop the Server. You can use shortcuts of those two files and place them in the Program lists. You may need to define some variables in your Catalina.bat file or create environmental system vari

RE: WebDAV - Missing WAR

2003-12-19 Thread Shapira, Yoav
Howdy, >Yes, I have this. And maybe I'm being too detailed, but I can't see >where to deploy this at without a WAR file in Tomcat 5, at least not >without a WAR file. I'm using Tomcat Manager to look at this - if >there's another method, I'd certainly be open to hearing it. OK. In tomcat 4 th

Re: WebDAV - Missing WAR

2003-12-19 Thread Mike Reed
On Dec 19, 2003, at 11:40 AM, Shapira, Yoav wrote: is, I can't find the right "source" to deploy it from. There's no webdav.war file, and there's no webdav directory. I even re-downloaded the tomcat source to make sure I didnt' miss something in my install. There's a webdav directory under the

RE: setting opts to avoid OutOfMemory errors

2003-12-19 Thread Shapira, Yoav
Howdy, >You are right. It is there. I sincerely apologize but I have read only >http://jakarta.apache.org/tomcat/faq/memory.html >and it was not there, nore in the links mentioned there. Should have >searched longer ... I just added there as well, especially for this situation. >"prominent and

Re: WebDAV - Missing WAR

2003-12-19 Thread Mike Reed
On Dec 19, 2003, at 11:40 AM, Shapira, Yoav wrote: There's a webdav directory under the webapps directory in tomcat 4. In tomcat 5, see $CATALINA_HOME/server/lib/servlets-webdav.jar. There is no WAR file. I'm relatively new to the list, so if you'd be willing to cc: me directly on any replies, I

RE: WebDAV - Missing WAR

2003-12-19 Thread Shapira, Yoav
Howdy, >I understand that there's WebDAV support in Tomcat (v5), and I WebDAV support is also present in tomcat v4.x. >understand that I need to deploy it via the tomcat manager. Problem You don't have to deploy it via the tomcat manager, but that's one easy option. >is, I can't find the rig

Re: setting opts to avoid OutOfMemory errors

2003-12-19 Thread David Strupl
Shapira, Yoav wrote: The same is documented in the places I mentioned for the tomcat 4.1 versions, e.g. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html. You are right. It is there. I sincerely apologize but I have read only http://jakarta.apache.org/tomcat/faq/memory.html and it

Re: How can I compile Mod_jdk2 ?

2003-12-19 Thread William Marques
Hi, Chris! Well, I made it! Now I have my mod_jsk2.so. Then I copy to $APACHE_HOME/modules, and put a line in the end of my httpd.conf, just the same way I sought in the Apache-Tomcat HOWTO. >> Include $TOMCAT_HOME/conf/jk/mod_jk.conf-auto Then I'll have to start Tomcat before Apache 'cause thi

WebDAV - Missing WAR

2003-12-19 Thread Mike Reed
Hi folks - I'm relatively new to TOMCAT, and I'm having a problem figuring out how to install WEBDAV support. I have two machines - my local box is running Apache 1.3.x that ships with OSX. I have successfully modified it for WebDAV support and tested against it - it works great. I have anot

Re: Database Rollback doesn't work

2003-12-19 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 George Sexton wrote: > I thought transactions were one of those features MySQL decided that > real developers didn't need. Are you really certain mySQL Supports > transactions in the relatively low version you are using? I assume the poster meant MySQ

Start and stop server

2003-12-19 Thread Naimesh . V . Shah
How Can I start and stop tomcat 4.1.29 server on windows plateform. Can I make icon or include them in start/programs/list? Naimesh Shah [EMAIL PROTECTED]

tomcat config questions

2003-12-19 Thread Naimesh . V . Shah
I installed tomcat 4.1.29. I can see the page http://localhost:8080/index.jsp. I placed my application under webapps.I cannot see it's default page . It says requested resource not available. what's the solution? Naimesh Shah [EMAIL PROTECTED]

RE: setting opts to avoid OutOfMemory errors

2003-12-19 Thread Shapira, Yoav
Howdy, >Sorry - I was trying to use tomcat 4.1.29 and never looked at 5.0 docs. The same is documented in the places I mentioned for the tomcat 4.1 versions, e.g. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html. >In 4.1 ones there are really vague advices regarding memory ;-(

Re: Mime type for authorware content

2003-12-19 Thread Jon Wingfield
http://filext.com/detaillist.php?extdetail=AAS Sarel Bester wrote: Hi all I have 2 Tomcat servers - v3.3 and v4.1.27 - (on Windows and IIS) which host a webapp that plays Macromedia Authorware content. The content doesn't play through Tomcat. I suspect it is because of MIME type that is not d

Re: setting opts to avoid OutOfMemory errors

2003-12-19 Thread David Strupl
Hi, Shapira, Yoav wrote: Howdy, The fact that in the stock distribution the fork attrribute is set to false by default is IMHO not very good choice. Took me several days of headaches trying to find the leak in my code. When there is a disign choice "slow" versus "crash for 1% of users" I would c

two installations of Tomcat

2003-12-19 Thread L.Karam
Hi What i have to do to run two installations of Tomcat, using the same Apache Httpd ? I can do start both, but can't access the context one of them Tks Leandro

RE: Database Rollback doesn't work

2003-12-19 Thread George Sexton
I thought transactions were one of those features MySQL decided that real developers didn't need. Are you really certain mySQL Supports transactions in the relatively low version you are using? Also, I hope you don't need to scale. You are essentially locking the table until the mail goes or fails

Database Rollback doesn't work

2003-12-19 Thread monicaf
Hi! I have a simple webapp that allows users to register. The user is inserted in the DB and a confirmation mail is sent to the user. If the mail fails I'd like the DB to rollback the transaction, but it doesn't do it. The new user entry is kept in the DB. I'm using Tomcat 4.1 and mySQL 2.3.2. I

RE: Broken pipe exception

2003-12-19 Thread Shapira, Yoav
Howdy, Then perhaps as someone else suggested, look for a bug in the applet. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Markus Brigl [mailto:[EMAIL PROTECTED] >Sent: Friday, December 19, 2003 11:03 AM >To: Tomcat Users List >Subject: Re: Broken pipe exception > >

Re: java.net.BindException: Address in use: JVM_Bind

2003-12-19 Thread L.Karam
You need to change the port that one of them running, in server.xml !! - Original Message - From: Prasad Dhulipala To: [EMAIL PROTECTED] Sent: Friday, December 19, 2003 11:50 AM Subject: java.net.BindException: Address in use: JVM_Bind Hi I am trying to

Re: Broken pipe exception

2003-12-19 Thread Markus Brigl
Hi, I don't think the connectionTimeout is the problem. I tought more about corrupted connection than a lost connection, because the applet is made by more internal frames. This special frame will be closed after this error, but applet continues to work! Markus Shapira, Yoav wrote: Howdy,

RE: EJB Compliance

2003-12-19 Thread Shapira, Yoav
Howdy, Tomcat is not EJB-compliant. It is a servlet container, not a full J2EE server. You can use JBoss, Jonas, or any of the commercial J2EE servers if you need EJB features. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Tony Colson [mailto:[EMAIL PROTECTED] >Se

RE: java.net.BindException: Address in use: JVM_Bind

2003-12-19 Thread Shapira, Yoav
Howdy, Change the server shutdown port, 8005 by default, in the 2nd installation's server.xml file so that they don't both try to bind the same port 8005. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Prasad Dhulipala [mailto:[EMAIL PROTECTED] >Sent: Friday, Decembe

RE: A weird issue

2003-12-19 Thread George Sexton
Download the MS JDBC driver, and never use ODBJ-JDBC bridge. -Original Message- From: Cui Xiaojing-a13339 [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 8:36 AM To: Tomcat Users List Subject: A weird issue Hello All, Now my software platform as below: Windows 2000 JDK1.4.1_

RE: architecture advice

2003-12-19 Thread Shapira, Yoav
Howdy, Not a problem, good luck, have a good weekend, be cogent, and keep us updated on how it goes ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Dale, Matt [mailto:[EMAIL PROTECTED] >Sent: Friday, December 19, 2003 10:40 AM >To: Tomcat Users List >Subject: RE: a

java.net.BindException: Address in use: JVM_Bind

2003-12-19 Thread Prasad Dhulipala
Hi I am trying to simultaneously run two installations of Apache Tomcat 4.0.6 on my windows XP professional machine. Each is installed in a different folder. Each boots up and works fine independently. But when I try to start up one with the other instance already running, it fails with this me

EJB Compliance

2003-12-19 Thread Tony Colson
Is Tomcat 4.1 (or even 5.0) EJB Compliant? If so, is it compliant with the EJB 1.2 or 2.0 specification? I can't seem to find appropriate documentation. Also, in the Tomcat docs under the element, it doesn't even mention the element, but, of course, it is provided in the sample server.xml fi

Re: A weird issue

2003-12-19 Thread Tim Funk
Try again with a type 4 jdbc driver to SQL server and NEVER use Sun's odbc bridge. http://jakarta.apache.org/tomcat/faq/database.html -Tim Cui Xiaojing-a13339 wrote: > Hello All, > > Now my software platform as below: > > Windows 2000 > JDK1.4.1_02 > Tomcat 4.1.24 > Sql Server 2000 > > I hav

Re: Broken pipe exception

2003-12-19 Thread Tim Funk
The applet might be buggy and close the connection before the entire response is received. (Just a theory) -Tim Markus Brigl wrote: Hi, the client is an applet and the browser hasn't been closed! Could it be the applet goes in timeout? Because after this error on server side the applet throw

RE: architecture advice

2003-12-19 Thread Dale, Matt
Thanks, I think I'll take your advice, the apps guys are going to use J-Meter for app testing so I'll get them to use this for stress testing as well. Thanks for clearing up my misunderstanding, it came from my observations but they were hardly conclusive. Thanks Matt -Original Message---

A weird issue

2003-12-19 Thread Cui Xiaojing-a13339
Hello All, Now my software platform as below: Windows 2000 JDK1.4.1_02 Tomcat 4.1.24 Sql Server 2000 I have a piece of code as below: private String jdbcDriverClass="sun.jdbc.odbc.JdbcOdbcDriver"; private String jdbcURL="jdbc:odbc:cfdata"; private String jdbcUserName="ss

RE: architecture advice

2003-12-19 Thread Shapira, Yoav
Howdy, >I currently have a 6 processor Solaris box that we wish to turn into a >tomcat application server for 250-500 users. >My current plan would be to run two instances of tomcat 5 in a cluster with >the session replication enabled and load balance between these two using >the JK2 connector fr

Importing the Certificate?

2003-12-19 Thread Anibal Constante Brito
Please some one responde my question, I don't want somebody that just response "Go to verisign, there is a chain certificate somewhere on the site (I do not remember where)." I ask because I don't know, I want a somebody with really knowledge in the theme. Hello: A read this in ssl=howto: a.. I

JK connector / Tomcat 5

2003-12-19 Thread Dale, Matt
Hi, Recently I tried to use the last beta release of Tomcat 5 before it went to stable and found that the connector appeared to not be implemented or if it was then it was differently from Tomcat 4. Does anyone know if this has now been implemented or can point me towards some documentation o

RE: Broken pipe exception

2003-12-19 Thread Shapira, Yoav
Howdy, >the client is an applet and the browser hasn't been closed! Could it be >the applet goes in timeout? Because after this error on server side the >applet throws a an exception if we refresh the data! Yup, that's a good theory. Have you experimented with the connectionTimeout parameters

FW: mod_jk + Apache 1.3 & Tomcat 4.1.29 on OSX (Panther)

2003-12-19 Thread Michael Griffith
Here are the exact attributes of the /examples directory: drwxr-xr-x 6 griff staff 204 31 Jul 19:28 examples Am I missing something? Any other ideas? Thanks in advance! MG Bill, Thanks for chiming in -- forgive me for being so stupid, but if both executed as root, wouldn't those permi

architecture advice

2003-12-19 Thread Dale, Matt
Title: architecture advice I currently have a 6 processor Solaris box that we wish to turn into a tomcat application server for 250-500 users. My current plan would be to run two instances of tomcat 5 in a cluster with the session replication enabled and load balance between these two usin

Re: Broken pipe exception

2003-12-19 Thread Markus Brigl
Hi, the client is an applet and the browser hasn't been closed! Could it be the applet goes in timeout? Because after this error on server side the applet throws a an exception if we refresh the data! could not send requests to server (root exception: java.io.IOException: First header field do

RE: Way to get Reference to Servlet from Filter?

2003-12-19 Thread Shapira, Yoav
Howdy, >I don't think this is possible, but I'm giving it a shot anyway. :) > >I'd like to get ahold of a servlet reference from within a filter. Is >there a way? Your intuition is right in this case -- the above is impossible (using only the Servlet APIs -- it IS possible [though not trivial]

RE: Stupid servlet question...

2003-12-19 Thread Shapira, Yoav
Howdy, I'm not sure I understand your question, but there's no such thing as a stupid question ;) (Though a poorly-researched question is a different matter altogether). Others have shown how to get the server to initialize on server startup. What do you mean by "run it all the time"? BTW, than

RE: setting opts to avoid OutOfMemory errors

2003-12-19 Thread Shapira, Yoav
Howdy, >The fact that in the stock distribution the fork attrribute is set to >false by default is IMHO not very good choice. Took me several days of >headaches trying to find the leak in my code. When there is a disign >choice "slow" versus "crash for 1% of users" I would choose slow and put >in

RE: JNDI comp namespace - Tomcat Developers Please Read

2003-12-19 Thread Shapira, Yoav
Howdy, See, it's messages like these that annoy me. And on a Friday, too. I responded to one of your messages saying there might be a startup error with one of your contexts causing this behavior. (http://marc.theaimsgroup.com/?l=tomcat-user&m=107149495515920&w=2) But you never replied to that.

RE: Further details - RequestDispatcher in servlet is not working

2003-12-19 Thread Shapira, Yoav
Howdy, Just return; to exit the doGet method. Believe me, I know the doGet method returns void ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Teja Jo [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 18, 2003 11:17 PM >To: Tomcat Users List >Subject: RE: Furthe

RE: Broken pipe exception

2003-12-19 Thread Shapira, Yoav
Howdy, This is not related to your DB (at least, not likely to be related to your DB). It's probably your user closing the browser while the request is still processing. This issue in Coyote was fixed in Tomcat 4.1.24 I believe, so you should try upgrading to tomcat 4.1.29 or 5.0.16 and see what

Re: mod_jk + Apache 1.3 & Tomcat 4.1.29 on OSX (Panther)

2003-12-19 Thread Michael Griffith
Bill, Thanks for chiming in -- forgive me for being so stupid, but if both executed as root, wouldn't those permissions be default? I do think I have some sort of permissions problem -- my mod_jk log file is zero bytes (it is in /tomcat/logs/) and everything else looks like it is connecting up th

RE: tomcat 4.1 on JDK1.4

2003-12-19 Thread Kal Govindu
Thanks for the reply, I will give that a try. Kal -Original Message- From: Howard Jim [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 3:44 PM To: Tomcat Users List Subject: RE: tomcat 4.1 on JDK1.4 I had a similar problem, and although I don't feel that I figured it out compl

Re: Way to get Reference to Servlet from Filter?

2003-12-19 Thread Tim Funk
You won't be able to get the servlet reference. A possibility is to define the filter multiple times with different parameters. For example, here is the same class name defined 4 times as 4 different filters. filter1 more.Cowbell my attribute filter2 more.Cowbell fil

RE: Broken pipe exception

2003-12-19 Thread Edson Alves Pereira
Here we have Oracle9i and some time ago, we used to have this problem when too much connection were open with Oracle and some were too much network connection open. I don“t know this database, but maybe its a path to solve it. > -- > De: Markus Brigl[SMTP:[EMAIL PROTECTED] > Resp

Re: setting opts to avoid OutOfMemory errors

2003-12-19 Thread David Strupl
David Rees wrote: David Strupl wrote: Sorry but how do I "set the fork attribute of the JspServlet to true"? Look at Tomcat's conf/web.xml, and you will see it. Aha. I see. I was editing only server.xml previously. This seems like an obvoius memory leak in somewhere IMHO: Is this how is tomc

Re: Broken pipe exception

2003-12-19 Thread Markus Brigl
We use Versant 6.0.5 patch 10! Do you think the problem is connected to the database? Thank's for help! Markus Edson Alves Pereira wrote: Which database are you using? -- De: Markus Brigl[SMTP:[EMAIL PROTECTED] Responder: Tomcat Users List Enviada:sexta-feira, 19 de

Re: Stupid servlet question...

2003-12-19 Thread Ben Souther
Add that to your servlet node in web.xml 1 On Friday 19 December 2003 07:11 am, you wrote: > Hi ! > > I have an application scope servlet and it works fine, but I would like to > run it all the time as soon as tomcat starts, not just after the first use, > is this possible ? > > Mikael > >

Re: Stupid servlet question...

2003-12-19 Thread Antony Paul
What is an application scope servlet ?. You can ask the container to initialize a servlet at container start up by setting the parameter to 1 in web.xml. like this. action org.apache.struts.action.ActionServlet 1 Antony Paul - Original Message - From: "Mikael Aronsson" <[EMAIL PROTEC

Stupid servlet question...

2003-12-19 Thread Mikael Aronsson
Hi ! I have an application scope servlet and it works fine, but I would like to run it all the time as soon as tomcat starts, not just after the first use, is this possible ? Mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] F

RE: Broken pipe exception

2003-12-19 Thread Edson Alves Pereira
Which database are you using? > -- > De: Markus Brigl[SMTP:[EMAIL PROTECTED] > Responder:Tomcat Users List > Enviada: sexta-feira, 19 de dezembro de 2003 6:06 > Para: [EMAIL PROTECTED] > Assunto: Broken pipe exception > > Hi I received the following excepti

Re: Realms question

2003-12-19 Thread Duncan Smith
If you switch to using a realm, you can use wildcards in the constraints so that it applies to a whole directory? Whether this is useful obviously depend on whether you have all your JSPs in the same directory or you could have a *.jsp wildcard to cover all jsps. Will depend on your naming convent

RE: mod_jk installation

2003-12-19 Thread dhayalan
if i used what u given i ll getting checking for libtool... /usr/bin/libtool no apxs given checking for target platform... unix no apache given configure: error: Cannot find the WebServer error And also i am using apache 2.0 ver regards Dhayalan.G > Original Message > S

Re: mod_jk installation

2003-12-19 Thread Federico Fernandez Cruz
Dahyalan, If you have installed apache 2.0.x you should use ./configure --with-apxs2=/usr/sbin/apxs And make sure you can access it with your user rights! Maybe you can do a "su - root"... Let me know if you have any problem... [EMAIL PROTECTED] wrote: Hello Federico,

Re: Apache SSL again... those variables are getting me mad!

2003-12-19 Thread Federico Fernandez Cruz
Yes! It returns null. The servlet (jsp) that executes this code is running in Tomcat (obviously!) And the whole web application is mapped from apache to tomcat. The steps are the following: 1.- https:///UserMan (UserMan is a location in Apache that is mapped to my web application that is ca

Re: Apache SSL again... those variables are getting me mad!

2003-12-19 Thread Federico Fernandez Cruz
Thanks Bill! I will try but... I thought that mod_jk2 was the most advanced and that it was recommended for Apache 2. Moving to mod_jk 1.2.5 is a step back, isn't it? Thanks again! Bill Barker wrote: Can you try with mod_jk 1.2.5? I really don't know mod_jk2 that well to know if/how it s

jsp precompile problems

2003-12-19 Thread Riaan Oberholzer
I'm trying to precompile jsp's... I get a null pointer exception using the ant jspc taks, then the 2nd run it generates all .java files successfully (???). Now trying to javac these, I get: [javac] D:\projects\workdir\hv\obi\rts\service\jsp-compile\lidOpvragen_jsp.java:102: javax.servlet.jsp.Page

Re: precompile jsp

2003-12-19 Thread Hans Steinraht
That was it, I had the same har in my classpath, removed it ant jspc is running smoothly now. Thanks for (all) the Help I got, Hans On Wed, Dec 17, 2003 at 03:51:56PM +0100, Reinhard Moosauer wrote: > Hi Hans, > > your problem is a version conflict. > ant simply uses the wrong version of org.

mixed up pages

2003-12-19 Thread J D
I have a loadbalancer + apache 2.0.48 (mod_jk) + (JBoss 3.2 + tomcat 4.1.24) setup. Occassionally there are reports of pages intended for one user being served to another. The pages are stateful and we are trying to log the incoming jsessionid and the outgoing jsessionid in both tomcat and apach

Re: Further details - RequestDispatcher in servlet is not working

2003-12-19 Thread Basavaraju P. Banakar
Correct me if I am wrong Try Using... RequestDispatcher objReqDispatcher = getServletContext().getRequestDispatcher(strURL); instead of what u r using ... RequestDispatcher objReqDispatcher = request.getRequestDispatcher(strAddress); ( in this case all the paths are relative to the calling s

RE: JNDI comp namespace - Tomcat Developers Please Read

2003-12-19 Thread Tony Colson
I have filed this bug with Tomcat under Bugzilla as bug #25508. -Original Message- Sent: Saturday, December 13, 2003 12:09 AM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: JNDI comp namespace - Tomcat Developers Please Read I narrowed down the problem a bit more. I found 2

cluster problems on tomcat5.0.16

2003-12-19 Thread moch
tomcat-userHello, I am having trouble with tomcat 5.0.16 cluster under the following config: Apache2.0.48 + jakarta-tomcat-connectors-jk2.0.2-win32-apache2.0.43 :2 Tomcat servers on 1 machine. I just uncomment the and in server.xml, and change 8005 to 11005, 8009 to 11009. add jvmRoute="to

how to create a web and where to store the jsp and html files in APache with tomcat via mod_jk

2003-12-19 Thread dhayalan
Hi all, I am new ly installed apache and tomcat with mod_jk i would like to know where to create web and where to store JSP files and Html weather In Apache of Tomcat . how do i change server name in httpd.conf file Help me Regards Dhayalan.G

Broken pipe exception

2003-12-19 Thread Markus Brigl
Hi I received the following exception! We are using Tomcat 4.1.18, jre1.3.1_09 and explorer 6.0.2 The exception happens always if I'm adding elements to a table and I'm refreshing the data from server. The size of this list doesn't matter because I happens just with short lists: 2003-12-12 15:56

  1   2   >