RE: Tomcat - username/password

2003-08-26 Thread Steve Kelem
I've followed this thread for a while. I have the same problem. I have read at least some of TFM, specifically, Configuring Manager Application Access I have added a user with manager role. I have restarted the tomcat server. When I try to access http://localhost:8080/manager/html, I get: HTTP

The tag handler pooling issue in the current 4.1.27

2003-08-26 Thread Vernon Smith
To my knowledge, up to the 4.1.24 version of TC 4.1 has a tag handler pooling issue which leads to malfunctioning of tags. Does anyone know what is the situation in the 4.1.27 right now (fixed or not)? Whether it is still advisable to disable the option in the system configuration? Thanks

[SOLUTION] Script to precompile JSPs into Tomcat work folder

2003-08-26 Thread Filip Hanik
I know for a fact that I myself has been looking for a solution where I can precompile my JSPs without having to enter them as servlets into the web.xml this script will allow you to do that, what you do beyond that is up to you, http://cvs.apache.org/~fhanik/precompile.html enjoy Filip

Re: The tag handler pooling issue in the current 4.1.27

2003-08-26 Thread Tim Funk
Is it this http://jakarta.apache.org/tomcat/faq/misc.html#tagbroken or http://jakarta.apache.org/tomcat/faq/misc.html#tagpool -Tim Vernon Smith wrote: To my knowledge, up to the 4.1.24 version of TC 4.1 has a tag handler pooling issue which leads to malfunctioning of tags. Does anyone know

The tag handler pooling issue in the current 4.1.27

2003-08-26 Thread Vernon Smith
To my knowledge, up to the 4.1.24 version of TC 4.1 has a tag handler pooling issue which leads to malfunctioning of tags. Does anyone know what is the situation in the 4.1.27 right now (fixed or not)? Whether it is still advisable to disable the option in the system configuration? Thanks

Re: The tag handler pooling issue in the current 4.1.27

2003-08-26 Thread Vernon Smith
Thanks, Tim, for your informaiton. The applicaiton is getting by the issue with tag pool disabled. What the page and link page say the situation is as what it is. Is it this http://jakarta.apache.org/tomcat/faq/misc.html#tagbroken or http://jakarta.apache.org/tomcat/faq/misc.html#tagpool

Re: The tag handler pooling issue in the current 4.1.27

2003-08-26 Thread Vernon Smith
Thanks, Tim, for your informaiton. The applicaiton is getting by the issue with tag pool disabled. What the page and link page say the situation is as what it is. Is it this http://jakarta.apache.org/tomcat/faq/misc.html#tagbroken or http://jakarta.apache.org/tomcat/faq/misc.html#tagpool

JSP vs C#/.NET

2003-08-26 Thread Xingqun Jiang
Hi, I am a pure java supporter. I don't like C# or .Net because of Microsoft's monopolization (sorry, kind of prejudice). However, I notice that more and more people pick up C#/.NET due to their new advantages. I also heard that C# is much faster than Java. My concern is, can Java/JSP still

Re: Can not load JNDI DataSource in Servlet.init()

2003-08-26 Thread Peter Harrison
On Tue, 26 Aug 2003 09:04, Madere, Colin wrote: Well then it may be something else. I'm essentially doing what you are with a JNDI datasource defined in the DefaultContext with nothing in the web.xml (except to pass along the JNDI name so it's not hard-coded). It breaks for me (and a bunch

[ot] Re: JSP vs C#/.NET

2003-08-26 Thread Tim Funk
Please don't start a flame war. Please do that in Usenet. This group is for solving tomcat problems, not discussing the merits of one technology over another. -Tim Xingqun Jiang wrote: Hi, I am a pure java supporter. I don't like C# or .Net because of Microsoft's monopolization (sorry,

Periodic Closed Socket Exception with Tomcat Oracle

2003-08-26 Thread Tristan Stephens
Hi I am using Tomcat 4.1 with Oracle 9i as the datasource. I can connect and use the database just fine for a few hours, but then I always get a IO Exception: Socket Closed Error. After this point because the socket is closed, I can no longer access the database, and can't even reconnect to it.

Re: [ot] Re: JSP vs C#/.NET

2003-08-26 Thread rufio
on Mon, 25 Aug 2003 20:26:50 -0400 Tim Funk [EMAIL PROTECTED] wrote: Please don't start a flame war. Please do that in Usenet. This group is for solving tomcat problems, not discussing the merits of one technology over another. Oh, so Usenet is for flame wars now? Thanx Rufio, the Usenet

Re: Servlet re-load question - install fix

2003-08-26 Thread Luke Vanderfluit
Hi, There's a bug in 4.1.27 there's a fix at the tomcat site, 4.1.27-hotfix-22096.tar.gz I unzipped the fix somewhere neutral then created the directories by hand and copied the class file in (otherwise tomcat would complain a bit when starting) Also you can use the manager app, from the

SSI includes

2003-08-26 Thread Luke Vanderfluit
Hi, I'm running Java 1.4.2 on RedHat 9 I have enabled SSI in tomcat 4.1.27 SSI directives work, for example: !--#echo var=DATE_LOCAL -- but apparently you can call a servlet from a servlet block. I can't get the servlet code=ServletName /servlet block to work, any ideas on what I might be

The tag handler pooling issue in the current 4.1.27

2003-08-26 Thread Vernon Smith
To my knowledge, up to the 4.1.24 version of TC 4.1 has a tag handler pooling issue which leads to malfunctioning of tags. Does anyone know what is the situation in the 4.1.27 right now (fixed or not)? Whether it is still advisable to disable the option in the system configuration? Thanks

RE: Java/JSP vs C#/.NET

2003-08-26 Thread Shawn Zernik
Lance: 100% Multi-Platform Support: Microsoft doesn't have it. Shawn Zernik Internetwork Consulting www.internetworkconsulting.net -Original Message- From: Xingqun Jiang [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 4:57 PM To: Tomcat Users List Subject: Java/JSP vs C#/.NET

Any contractors from HK, S.E.Asia or India in this forum ?

2003-08-26 Thread achana
Hiya, all. Any contractors in this forum specializing in java applet/servlet, a2s, jndi in an apache2/tc4 environment and are from HK/China, S.E.Asia or India ? Got a website? TIA :-) - To unsubscribe, e-mail: [EMAIL PROTECTED]

Periodic Closed Socket Exception with Tomcat Oracle

2003-08-26 Thread Tristan Stephens
Hi I am using Tomcat 4.1 with Oracle 9i as the datasource. I can connect and use the database just fine for a few hours, but then I always get a IO Exception: Socket Closed Error. After this point because the socket is closed, I can no longer access the database, and can't even reconnect to it.

RE: crypto problem

2003-08-26 Thread Rudolf Schamberger
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 11:23 PM To: [EMAIL PROTECTED] Subject: Re:crypto problem Maxime Colas des Francs wrote: I attempt to use openpgp in my web application For that i use an external provider.

HttpServletResponse.encodeURL breaks form post

2003-08-26 Thread Neil Aggarwal
Hello: I am getting this error from Tomcat when I submit a form with cookies turned off: HTTP Status 404 - /gen;jsessionid=B5604E6D2313D02F2DFB59E7D1B63324 type Status report message

No need for catalina.policy?

2003-08-26 Thread achana
Hi Please tell me once more. Am I right in assumng that I don't really need catalina.policy if I use httpd.conf to control access ? If t, how do they interact ? TIA :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Connector or Apache and Tomcat

2003-08-26 Thread Madere, Colin
If you're not concerned with having lots of users hitting the static content, you can serve it with Tomcat (meaning not use Apache and a connector), though there may be reasons of performance and security that you may want to have Apache in front anyway. To set up what you want just with Tomcat,

RE: Modjk2 error log

2003-08-26 Thread Thébault, Médérick
To follow the thread, It is not compulsory to set uri mapping in workers2.properties file. Just adding jkuriset in host section (virtual as well) of httpd.conf will do the job. But one more thing please, With httpd.conf having # VirtualHost * ServerName

Re: mysql connection pooling problem

2003-08-26 Thread Christopher Garrett
This is an absolute shot in the dark, but I believe you might have to put a JAR with JDBC drivers into WEB-INF/lib. Christopher Garrett III Inixoma, Incorporated - Original Message - From: Eugene Lee [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, August 25, 2003

Tomcat 4.1.27 rpm files

2003-08-26 Thread Purvis Robert
I have been waiting for the RPM format files to appear on the Tomcat download site, but they don't seem to be there yet. Is there any plan to make Tomcat 4.1.27 available as RPMs? I personally always prefer installing from RPM as its much easier to control the uninstall process. Rob

Webdav and security

2003-08-26 Thread Duncan Strang
Hi I have included the org.apache.catalina.servlets.WebdavServlet in the web.xml descriptor for my application servlet servlet-nameWebdavServlet/servlet-name servlet-classorg.apache.catalina.servlets.WebdavServlet/servlet-class ... reading the minimal documentation I have

RE: mysql connection pooling problem

2003-08-26 Thread Purvis Robert
Or put it into tomcat4/common/lib - because then all web applications can access the JDBC driver. Rob -Original Message- From: Christopher Garrett [mailto:[EMAIL PROTECTED] Sent: 26 August 2003 10:43 To: Tomcat Users List Subject: Re: mysql connection pooling problem This is an

RE: Tomcat 3.2.4 behind a proxy

2003-08-26 Thread Armenio Pinto
Hi there, I'm replying because I haven't received any answers yet. Is the list working correctly (I received the e-mail, so...)? Is the question confusion in any way? I really need to solve this problem, because currently I can't make Tomcat available to the users. Thanks in advance,

Re: Tomcat 4.1.27 rpm files

2003-08-26 Thread Tarun Gandhi
You can download the tar file and extract in a directory. At any time if you want to uninstall tomcat, just remove that directory. - Original Message - From: Purvis Robert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 3:46 PM Subject: Tomcat 4.1.27 rpm files I

RE: [ANN] Apache Tomcat 5.0.9 Beta released

2003-08-26 Thread Johan Wasserman - CPX Mngd Services
HOT! Any spec's available on setting up and running under Apache? Did it really change all that much? Thanks from a loyal supporter. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 4.1.27 rpm files

2003-08-26 Thread John Turner
To uninstall Tomcat: rm -rf $CATALINA_HOME John Purvis Robert wrote: I have been waiting for the RPM format files to appear on the Tomcat download site, but they don't seem to be there yet. Is there any plan to make Tomcat 4.1.27 available as RPMs? I personally always prefer installing from

IncompatibleClassChangeError when in Action class but not in a JSP for ResultSet

2003-08-26 Thread Allistair Crossley
I have a Struts / Tomcat 5 setup and I use the same JDK 1.4.1 to compile classes as Tomcat uses to run. I have the following code in the action class DBConnectionFactory db = (DBConnectionFactory)getServlet().getServletContext().getAttribute(db); Connection c = db.getConnection();

Re: mysql connection pooling problem

2003-08-26 Thread Eugene Lee
On Tue, Aug 26, 2003 at 05:43:02AM -0400, Christopher Garrett wrote: : : This is an absolute shot in the dark, but I believe you might have to : put a JAR with JDBC drivers into WEB-INF/lib. Hi Christopher, Thanks for the suggestion. But as I mentioned in my original message, I already tried

Re: mysql connection pooling problem

2003-08-26 Thread Eugene Lee
On Tue, Aug 26, 2003 at 11:24:21AM +0100, Purvis, Robert wrote: : : Or put it into tomcat4/common/lib - because then all web applications can : access the JDBC driver. Hi Rob, Thanks for the suggestion. But as I mentioned in my original message, I already tried this to no avail. I went

RE: Java/JSP vs C#/.NET

2003-08-26 Thread Shapira, Yoav
Howdy, I don't want to pollute this list further with another flame war, especially since responses you'll get here might be biased (tomcat being a java product...). Check TheServerSide, any number of articles comparing the two. As always, each has pros and cons. Yoav Shapira Millennium

RE: Question about Tomcat serving HTML pages

2003-08-26 Thread Shapira, Yoav
Howdy, The only Tomcat built-in protection is Realms: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html That's a misleading statement. Tomcat supports the full set of security access controls as defined in the Servlet Specification, v2.3, chapter 12. Realms are merely an

RE: No need for catalina.policy?

2003-08-26 Thread Shapira, Yoav
Howdy, No, you're not right. The two provide different views of security. Httpd.conf controls apache, not tomcat, and does nothing to prevent, for example, the execution of malicious applets. Catalina.policy or whatever you want to call the policy file is used by the JVM security manager to

The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available

2003-08-26 Thread L.Karam
Hi, When I try to access a servlet I get the following message: HTTP Status 404 - /admsite/servlet/servlet.servletAdmSite type Status report message /admsite/servlet/servlet.servletAdmSite description The requested

RE: The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available

2003-08-26 Thread Shapira, Yoav
Howdy, With your mapping the URL to access your servlet is simply /admsite not /admsite/servlet/servlet.servletAdmSite. Yoav Shapira Millennium ChemInformatics -Original Message- From: L.Karam [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 9:17 AM To: [EMAIL PROTECTED]

Re: mysql connection pooling problem

2003-08-26 Thread Paul
Did you try this directory (to place jdbc jar files)? %CATALINA_HOME%\shared\lib\ojdbc14.jar I have a connection pool setup for Oracle, and the .jsp pages (and/or tomcat) can find the classes used if the jdbc drivers are placed in the above directory. -pl - Original Message - From:

Tomcat locks jar of undeployed contexts

2003-08-26 Thread Jeroen Breedveld
Hi all, Tomcat seems to lock some jars (in my case struts.jar) it uses in a context after that context has been removed. Can someone please tell me if it is suppose to do this? It keeps me from cleaning up the directory I deployed the context in. The deploy and undeploy proces of my webapp looks

Re: mysql connection pooling problem

2003-08-26 Thread Eugene Lee
On Tue, Aug 26, 2003 at 09:28:14AM -0400, Paul wrote: : Eugene Lee responded: : On Tue, Aug 26, 2003 at 11:24:21AM +0100, Purvis, Robert wrote: : : : : Or put it into tomcat4/common/lib - because then all web : : applications can access the JDBC driver. : : Thanks for the suggestion. But as

Re: The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available

2003-08-26 Thread L.Karam
Well, my servlet is in the directory: /admsite/servlet and is named servletAdmSite. What should be typed here: url-pattern???/url-pattern And what is the URL to be adressed to, i.e: http://localhost:8080/??? Tks - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat

Re: The requested resource (/admsite/servlet/servlet.servletAdmSite)is not available

2003-08-26 Thread John Turner
??? = whatever you put in url-pattern. That is Yoav's point...it is up to you. Your choice. John L.Karam wrote: Well, my servlet is in the directory: /admsite/servlet and is named servletAdmSite. What should be typed here: url-pattern???/url-pattern And what is the URL to be adressed to,

Upgrading Tomcat to 4.1.27

2003-08-26 Thread Bond
Hello Everyone, I have a question, I want to upgrade our current Tomcat instalation 4.1.14 to the newer 4.1.27. However I can't find any How Tos on this topic. Do I just install the new version on top of my old one or is it a new install??? Not sure how to proceed, any advice would be

Re: JK2, JNI, Apache2, Tomcat4.1, JDK1.4 setup problem

2003-08-26 Thread Paul
So, does anybody know, is this a bug in Tomcat, or in Apache, or is there a fix to it, because i am having the same problem??? -pl - Original Message - From: Atreya Basu [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, August 25, 2003 4:08 PM Subject: RE: JK2,

Configuring Tomcat to NOT run as Root

2003-08-26 Thread Scott W Ricketts
I am helping set up a Citrix NFuse server running on Solaris, using Tomcat and Apache 1.3. The default install for NFuse 1.7 does not fire up Apache, rather it calls Tomcat to start alone. The default also has this running as root, something I am very uncomfortable with. I have Googled and

RE: 2 VirtualHosts now work, mod_jk not

2003-08-26 Thread David Wynter
Hi, Thanks for the example. One final thing is puzzling me. I have 2 webapps under my domain so if I use this DocumentRoot /some/path/to/tomcat/webappname1 How do I then reach the second webappname2? Ideally I want to have www.stpenable.com hit www.stpenable.com/se/servlet/se/templates/index.vm

RE: Upgrading Tomcat to 4.1.27

2003-08-26 Thread Purvis Robert
Its best to uninstall before installing the new version. But you must make sure you keep copies of server.xml, web.xml, webapps, and things you've put into common/lib and common/classes so you ca restore these into the new Tomcat directories. Don't just copy your old conf/server.xml and

RE: The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available

2003-08-26 Thread Mike Curwen
It looks like you're confusing an older way of invoking servlets (by using a /servlet/class.name technique) and the more appropriate, newer way (through mappings). There is also one other confusing factor. First.. your web app name is admsite (I assume this, because that's your folder name). So

RE: Configuring Tomcat to NOT run as Root

2003-08-26 Thread Purvis Robert
But if you don't run as root then you won't be able to use ports 80 or 443 because only root can grab those. Maybe this isn't a problem though, if you are using 8080 and/or 8443. Rob -Original Message- From: Scott W Ricketts [mailto:[EMAIL PROTECTED] Sent: 26 August 2003 12:59 To:

Re: Configuring Tomcat to NOT run as Root

2003-08-26 Thread John Turner
Tomcat runs as whatever user executes the startup scripts in $CATALINA_HOME/bin. If that user is root, then Tomcat runs as root. If that user is nobody, then Tomcat's effective user is nobody. There's no (current) facility in Tomcat to switch UID as Apache does after startup. As root,

Re: 2 VirtualHosts now work, mod_jk not

2003-08-26 Thread John Turner
The DocumentRoot is /. Host name=myHost appBase=myHost Context path= docBase=se ($CATALINA_HOME/myHost/se) Context path=/rwtransform docBase=rwtransform ($CATALINA_HOME/myHost/rwtransform) DocumentRoot /some/path/to/myHost Please understand that DocumentRoot is for Apache only. It instructs

RE: mod_jk and Tomcat Lose Touch

2003-08-26 Thread Ben Ricker
On Mon, 2003-08-25 at 13:08, Fred Whipple wrote: Ah, the symptoms, of course ;-) There actually aren't any errors AFAIK. Perhaps there's a more verbose logging level? I couldn't find any obvious info on this in the manual. In the settings you put in httpd.conf, you should have added a

RE: Upgrading Tomcat to 4.1.27

2003-08-26 Thread Shapira, Yoav
Howdy, Always do a new clean install. Don't overwrite the old one, don't simply copy jars from one place to another. If you don't need the old one, remove it. Install the new one as if you didn't have a tomcat installation before. This is the safest route. Yoav Shapira Millennium

RE: Java/JSP vs C#/.NET

2003-08-26 Thread Kannan Sundararajan
I agree. Where is Java++ from microsoft?. C# is going to go this place. -Original Message- From: Shawn Zernik [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 8:09 PM To: Tomcat Users List Subject: RE: Java/JSP vs C#/.NET Lance: 100% Multi-Platform Support: Microsoft doesn't

Re.: request.getRemoteUser() only non-null on protected pages

2003-08-26 Thread pste
I cannot be the only one ever expirienced this problem. Any comments, PLEASE... - Per Steffensen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: crypto problem

2003-08-26 Thread Maxime Colas des Francs
Thks for your help ! I use jdk 1.4, i can register the provider statically in java.security file but it will be registred for all web application ... (I thought also to put it in $CATALINA_HOME/shared/lib/) But my sytem works great when i start manually tomcat (startup.sh), i encrypt, i have

mod_jk load balancing with multiple apache servers

2003-08-26 Thread Peter Anning
Hi, I am trying to implement the following configuration: +++ Cisco Load Balancer +++ | | (http) |

Re: Upgrading Tomcat to 4.1.27

2003-08-26 Thread Tarun Gandhi
Hi, You can take the backup of your existing directory and install the 4.1.27 version . After installing you can move your webapps, modjk conf, libs etc from the earlier version to this one. Tarun - Original Message - From: Bond [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday,

Re: mod_jk load balancing with multiple apache servers

2003-08-26 Thread jerome moliere
Peter Anning wrote: Hi, I am trying to implement the following configuration: +++ Cisco Load Balancer +++ | | (http) |

Re: Java/JSP vs C#/.NET

2003-08-26 Thread rwim
Shapira, Yoav wrote: Howdy, I don't want to pollute this list further with another flame war, especially since responses you'll get here might be biased (tomcat being a java product...). Check TheServerSide, any number of articles comparing the two. As always, each has pros and cons. Yoav

Re: mod_jk load balancing with multiple apache servers

2003-08-26 Thread Peter Anning
...getting knowledge from implementations (other tomcats from your second Apache server) will break those abstractions You may be right about this. However as I add Apache servers to the Apache layer without some kind of colaboration between the servers it would seem that the problem

RE: 2 VirtualHosts now work, mod_jk not

2003-08-26 Thread David Wynter
Hi John, Thanks very much, all is working now. I now have an index.html in each of the webapp directories that doe san onload to pick up the full path to the appropriate Turbine webapp index page. It refers to no particualr port so the JkMount is working. One thing I did have a problem with was

Is this the correct place to ask questions about WebDAV

2003-08-26 Thread Duncan Strang
Hi Is this the correct place to ask questions about getting the WebDAV functionality working the way I would like on Tomcat 4.1. Many Thanks D.Strang

RE: request.getRemoteUser() only non-null on protected pages

2003-08-26 Thread robert.tomlin
Any comments, PLEASE... Could this be relavant ? http://marc.theaimsgroup.com/?l=jboss-userm=103680567313168w=2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: 2 VirtualHosts now work, mod_jk not

2003-08-26 Thread David Wynter
I just found your reply to this question (preempting it) amongst all the Compuserve emails. I have the Tomcat applications working fine, it is just the httpd.conf I am having problems with. I thought of another way of addressing the second webapp on the stpenable domain name, setup a separate sub

mod_jk forwarding scheme problems - https requests

2003-08-26 Thread Rudolf Schamberger
Hello, did anyone ever solve problems with mod_jk which was forwarding https://foo.bar requests as http://foo.bar requests to tomcat? Help appreciated. regards Rudolf S. (detailed problems I have been described in my posting yesterday)

Re: newbie - finding class files

2003-08-26 Thread P . van Kemenade
Hi I found this old thread about extending WebdavServlet, in which Andreas Probst notes his webapp cant load classes from the $CATALINA_HOME/servlet/lib/ dir. this url http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html makes it clear why. but now: how should I

Re: 2 VirtualHosts now work, mod_jk not

2003-08-26 Thread Fred Kreek
I did not get the mail, but i've got it working with more than 1: (part of) httpd.conf -- VirtualHost my.real.host ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/webmaster/www/v1/webapps ServerName my.first.virtualhost Port 80

Re: mod_jk load balancing with multiple apache servers

2003-08-26 Thread Ben Ricker
I have the exact same configuration but I do not do session replication because of the fact that our app was not written correctly (something about serializing variables and ours are not serialized; it will take a code audit and rewrite to accomplish it). Anyway, here is what you can do:

ContextConfig.tldScanJar error on Linux but not Solaris

2003-08-26 Thread kosh.podder
Hi, I am getting the following error with Tomcat 4.1.24, with the struts-example webapp, when running on Linux but not Solaris - I am using the same Sun JDK 1.3.1_04, same build of Tomcat and the webapp. -- Starting service Tomcat-Standalone Apache Tomcat/4.1 An unexpected exception

Re: mysql connection pooling problem

2003-08-26 Thread Steve Wilkinson
Eugene, I followed the example at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/printer/jndi-datasource-examples-howto.html#MySQL%20DBCP%20Example. The only thing I see wrong is the following line of code: DataSource ds = (DataSource)ctx.lookup(java:/comp/env/jdbc/testdev) should be

RE: Is this the correct place to ask questions about WebDAV

2003-08-26 Thread Shapira, Yoav
Howdy, It's the right place. I don't know if you'll get many responses, as WebDAV seems to be one of the least used features. Yoav Shapira Millennium ChemInformatics -Original Message- From: Duncan Strang [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 10:37 AM To: [EMAIL

mod_jk2 LVS load balancing

2003-08-26 Thread jerome moliere
Hi all, I'm about deploying a web-app in a multi-layered netword, with LVS clustering Does someone has some significant experience in such context ? problems or any other feedback greatly appreciated Cheers jerome - To

Re: apache2, mod_jk2, tomcat4.1.27: server has been restarted or reset this connection

2003-08-26 Thread Chris Joelly
Hello again! anybody any idea about this behavior? thx, Chris Am Wed, Aug 20, 2003 at 03:42:55PM +0200, Chris Joelly meinte: i have setup apache2 with mod_jk2 and tomcat4.1.27 and all works fine, but the following log messages is written to the mod_jk log file: 19.08.2003 16:43:05

RE: newbie - finding class files

2003-08-26 Thread P . van Kemenade
Hi I found this old thread about extending WebdavServlet, in which Andreas Probst notes his webapp cant load classes from the $CATALINA_HOME/servlet/lib/ dir. this url http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html makes it clear why. but now: how should I extend

JAR file symlink weirdness

2003-08-26 Thread Simon Brooke
I've always used symlinks for most of the JAR files in /webapps/mywebapp/WEB-INF/lib directories, and it's always worked. I've got a show-and-tell for a customer coming up on Thursday, and had been getting stuff ready for that, when suddenly the critical webapp just stopped working, and on

RE: newbie - finding class files

2003-08-26 Thread P . van Kemenade
Hi I found this old thread about extending WebdavServlet, in which Andreas Probst notes his webapp cant load classes from the $CATALINA_HOME/servlet/lib/ dir. this url http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html makes it clear why. but now: how should I extend

RE: newbie - finding class files

2003-08-26 Thread P . van Kemenade
Hi I found this old thread about extending WebdavServlet, in which Andreas Probst notes his webapp cant load classes from the $CATALINA_HOME/servlet/lib/ dir. this url http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html makes it clear why. but now: how should I extend

Re: JK2, JNI, Apache2, Tomcat4.1, JDK1.4 setup problem

2003-08-26 Thread Jason Symons
I'm not sure if this helps at all, but here is the output of the stderr.log from when one of the tomcat-handled pages is loaded first... Anybody have an idea of what might be causing the java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: inprocess error? TomcatStarter:

Re: apache2, mod_jk2, tomcat4.1.27: server has been restarted orreset this connection

2003-08-26 Thread Eric J. Pinnell
Hi, I get this too. You can add a connectionTimeout to the Connector (I use 12) and you will no longer get a reset INFO message but a connection timed out INFO message. I know that it is possible for the user to get a 400 or 500 error due to these resets. I haven't ran a test with the

RE: crypto problem

2003-08-26 Thread Cox, Charlie
You are running into a classloading problem. put your crypto jars in /common/lib and you can restart your app without any problems. When you reload(or stop/start), the classloader for your app is destroyed and all the classes are lost. So when you are using libraries that use loadlibrary(), they

RE: JAR file symlink weirdness

2003-08-26 Thread Shapira, Yoav
Howdy, So there's some weirdness in the load-and-deploy-jar-files-for-webapp stuff, and it's related to symlinks. I'll try to produce a more complete characterisation of the bug and file a bug report, but in the mean time if you're struggling with wierdness about jar file loading check your

Re: apache2, mod_jk2, tomcat4.1.27: server has been restartedorreset this connection

2003-08-26 Thread Jeff Tulley
I've seen it on other OS's. Well, the one I develop for, at least -- NetWare. We are using Apache 2.x, mod_jk, and Tomcat 4.1.18 (happens in 4.1.27 too, I think). I don't run enough serious apps on Windows to know if it happens there as well. My guess is that it would. Jeff Tulley ([EMAIL

Re: Tomcat cannot find subclass

2003-08-26 Thread James C. McMaster (Jim)
In message [EMAIL PROTECTED], Bill Barker said: Unlike Tomcat 4, Tomcat 3 uses a delegating ClassLoader. This means that jars in lib/apps can't see classes in WEB-INF/classes. Also, as long as the jar is in lib/apps, Tomcat 3 will load classes from there in preference to the same jar in

Re: The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available

2003-08-26 Thread L.Karam
The problem with the Servlet was solved . But now when I execute a RequestDispatcher.forward, inside of the Servlet, tomcat does not find the folder with jsp's. I get the following message: description: The requested resource (/admsite/jsp/principal.jsp) is not available. What it can be?

RE: The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available

2003-08-26 Thread Shapira, Yoav
Howdy, Don't include the context's docBase in your request dispatcher arguments: drop /admsite from the resource dispatcher calls. Yoav Shapira Millennium ChemInformatics -Original Message- From: L.Karam [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 2:55 PM To: Tomcat

classpath error when changing context

2003-08-26 Thread rmusser
My web app is up and running, but when I added a context definition (Context.../) for it suddenly the jsp compiler can't find the classes in WEB-INF/classes. What gives? My jsp files are in a subdirectory of the web app, like such: $CATALINA_HOME/webapps/foo/bar/index.jsp. I added an xml

Re: The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available

2003-08-26 Thread L.Karam
Tks..!!! - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 3:59 PM Subject: RE: The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available Howdy, Don't include the context's

Dynamically update server.xml httpd.conf

2003-08-26 Thread Lars Nielsen Lind
Hi. Is it possible to update and implement changes in server.xml and httpd.conf while Apache/Tomcat is running? I want to be able to add 'sites' to my server without restarting Apache/Tomcat. Are there other solutions? Lars Nielsen Lind

Re: Dynamically update server.xml httpd.conf

2003-08-26 Thread L.Karam
You can use the Manager application of Tomcat !! - Original Message - From: Lars Nielsen Lind [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 4:17 PM Subject: Dynamically update server.xml httpd.conf Hi. Is it possible to update and implement

Re: Dynamically update server.xml httpd.conf

2003-08-26 Thread John Turner
Tomcat 4 = no Tomcat 5 = I believe so Apache = yes ($APACHE_HOME/bin/apachectl graceful OR $APACHE_HOME/bin/apachectl restart) John Lars Nielsen Lind wrote: Hi. Is it possible to update and implement changes in server.xml and httpd.conf while Apache/Tomcat is running? I want to be able to

RE: Dynamically update server.xml httpd.conf

2003-08-26 Thread Shapira, Yoav
Howdy, Modifications to server.xml can be made while tomcat is running, but tomcat must be restarted for these changes to take effect. I can't speak for httpd.conf with the same certainty but from what I remember it's the same story. Yoav Shapira Millennium ChemInformatics -Original

RE: Dynamically update server.xml httpd.conf

2003-08-26 Thread Shapira, Yoav
Howdy, Apache = yes ($APACHE_HOME/bin/apachectl graceful OR $APACHE_HOME/bin/apachectl restart) But doesn't this do an apache restart, i.e. doesn't swap the changes in-memory? Of course, the apache restart is so quick it might not matter ;) Yoav Shapira This e-mail, including any

Re: tomcat - request thread pool question

2003-08-26 Thread Rau NF
Hi - I was referring to the HTTP 1.1 Connector. Thanks for the information but I am a bit puzzled as to why the threads should go away (ie die) on getting an exception. On a heavily loaded server, we can have different IO exceptions being generated all the time and the pool will be too busy

Re: Dynamically update server.xml httpd.conf

2003-08-26 Thread John Turner
Yep, its a restart. If you use restart then all open connections will be dropped. If you use graceful, Apache will block new requests, and wait until all open connections are closed before restarting. So yes should probably be maybe. :) John Shapira, Yoav wrote: Howdy, Apache = yes

web.xml file in jsp-examples/WEB-INF

2003-08-26 Thread Vaidya, Maulik
Can someone please send me the sample web.xml file which comes under jsp-examples/WEB-INF directory. Someone deleted it from my directory structure :( TIA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: tomcat - request thread pool question

2003-08-26 Thread Shapira, Yoav
Howdy, A typical pool implementation attempts to guarantee that poolable objects handed out to clients are valid. If an exception occurs in a pool object it's a legitimate strategy to discard that object and create a new valid one, so that a corrupt object will never be handed out to

Debug tomcat session serialization

2003-08-26 Thread Sasha Borodin
Where do I have to up the debug level to get some error/debug/trace messages for session serialization when I reload a context? I'm having an issue with Struts ActionForm's bound to a session becoming null after a context/container reload, but I see no messages in localhost_log_date.txt or

  1   2   >