JDBCRealm

2002-03-23 Thread Softwareentwicklung Hauschel
Hey all, i've add trhe following lines to my server.xml Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=org.gjt.mm.mysql.Driver connectionURL=jdbc:mysql://localhost:3306/Fred userTable=user userNameCol=user_name

hack: custom error page for stopped web application

2002-03-23 Thread Taavi Tiirik
Hello Tomcat users, I wanted desperately to get better error page for a web application that is stopped using manager application. It turned out to be far more easier than I was afraid of. All that is needed is valve that does following in it's invoke method: Context context =

Session ID length

2002-03-23 Thread Gurmeet
Hi All, There is something like sessionidGenerator / in the server.xml Can anybody throw a bit light on this. How can I use it to specify my own sessionID generator. I actually want to reduce the length of the session Id which is generated by Tomcat automatically. Gurmeet -- To

ajp12.id

2002-03-23 Thread Neo Gigs
hi there, can anyone tell me whats the content of the file called ajp12.id? if using tomcat 3.3a, once there is a missing of this file before shutting down, what should i do about it except to restart server? neo

valueUnBound(....) methods is not called when i stop Tomcat Server or Servlet

2002-03-23 Thread Nwalal mi Nyom
Hi, I use Tomcat4.0.1,Apache1.3.22. in my servlet file i use class which implements HtppSessionBindingListener and I have implement valueBound() and valueUnbound(..) methods. when i load my jsp valueBound(... ) is called correctly But when l close my servlet or when i stop Tomcat

mod_jk seems to corrupt JPEGs

2002-03-23 Thread Reynir Hübner
Hi, The strangest thing is happening, some of the jpegs I have in my application are getting corrupted when they are viewed through Apache using mod_jk. What I am trying to say is if I use a normal URL, something like http://www.host.com/media/img/someimg.jpg I sometimes get corrupted images,

Smarter WebApp Configuration

2002-03-23 Thread Andrei POSTOLACHE
Hi! So i do the classical .. WebAppConnection warpConnection warp localhost: WebAppDeploy examples warpConnection /xxx .. And that tells apache to map /xxx to tomcat's examples. But what if i want all jsp and class files everywhere to be processes by tomcat and the rest to be handled by

Re: mod_jk seems to corrupt JPEGs

2002-03-23 Thread Jason Hendriks
You should use Apache to serve static HTML pages and JPGs and files and whatnot, and use Tomcat purely to handle dynamic content. That being said, I've never experienced your problem serving images with Tomcat via mod_jk. - Original Message - From: Reynir Hübner [EMAIL PROTECTED] To:

Re: How to define multiple sites (VIRTUAL HOSTS)

2002-03-23 Thread Jason Hendriks
Check out tomcat/conf/apps-examples.xml. If you have a virtual host, then add apps-foo.xml into the tomcat/conf directory. Very basically you specify the settings of the virutal host into apps-foo.xml: Server Host name=foo.com Alias name=www.foo.com / Context path=/

Re: mod_jk seems to corrupt JPEGs

2002-03-23 Thread Matt Egyhazy
what do you mean by corrupted? also, if you are changing the size of the img, using size controls in the img tag, it might make your image blurry and ugly. matt - Original Message - From: Reynir Hübner [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, March 23,

petstore 1.3 on Tomcat 4 as J2EE server

2002-03-23 Thread robert rowntree
without running the J2EE server that comes with the J2SDKEE1.3 download, I tried deploying the Petstore app. directly to a running instance of Tomcat 4.04. and got ANT 1.4.1 deployment errors like: [java] Error: Could not connect to localhost - javax.naming.ConfigurationException:

Re: Debian Woody / Tomcat / Example JSPs

2002-03-23 Thread Jason Hendriks
Regarding: *** Error: beans is either a misplaced package name or a non-existent entity. An expression name is expected in this context. when atempting to compile a JSP with a useBean tag. I found the problem, I was right, it was the compiler. I copied the entire Tomcat instalation from machine

Re: valueUnBound(....) methods is not called when i stop Tomcat Server or Servlet

2002-03-23 Thread Nwalal mi Nyom
I would like to invalidate the current session when the window close() or when the server stop thanks - Original Message - From: robert rowntree [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 23, 2002 4:32 PM Subject: RE: valueUnBound() methods is not called when i

RE: mod_jk seems to corrupt JPEGs

2002-03-23 Thread Reynir Hübner
thanx for the reply, I've isolated this problem to being either the mod_jk or the apache. As I can see the pictures correctly My problem anyhow lies in the fact it only does this sometimes and sometimes it doesn't, so it is hard for me to point out one url where you can check it out. here is

Where can I find Administrator Documentation for Tomcat 4.03?

2002-03-23 Thread Alexander Höglind
Hi, in http://localhost:8080/tomcat-docs/appdev/deployment.html in section Deployment With Tomcat 4 there is a reference to the Administrator Documentation. Where can I find it? Thanks in advance, Alexander Höglind

Re: Httpd.conf for Tomcat 4

2002-03-23 Thread Alan Pogrebinschi
I got the solution to my post (google searching a lot)! Since someone else may browse the archives in the future with a similar question, I'll post here what I found. What helped me out with apache-tomcat 4 integration was the tutorial at http://dcb.sun.com/practices/howtos/tomcat_apache.jsp .

Re: Where can I find Administrator Documentation for Tomcat 4.03?

2002-03-23 Thread Dave Minter
Is this what you're after ? http://localhost:8080/tomcat-docs/manager-howto.html On Saturday 23 Mar 2002 6:02 pm, you wrote: Hi, in http://localhost:8080/tomcat-docs/appdev/deployment.html in section Deployment With Tomcat 4 there is a reference to the Administrator Documentation. Where can

Trying to get tomcat 4.0.3 and Apache 1.3.24 to co-operate.

2002-03-23 Thread Robert Nicholson
Currently they both run and I can access examples in standalone but when I try to do so via Apache I get The requested URL /examples was not found on this server. My logs contain [Sat Mar 23 10:13:21 2002] [error] [client 127.0.0.1] File does not exist: d:/apache/apache/htdocs/examples

Re: mod_jk seems to corrupt JPEGs

2002-03-23 Thread Neil Streeter
That is wierd... I would suggest making sure that your system is up to date (libraries and such) then recompile apache and mod_jk and re-install as long as your config is solid... this shouldn't be happening. Take care, ns Reynir Hübner wrote: thanx for the reply, I've isolated

Questions about WebAppDeploy functionality

2002-03-23 Thread Robert Nicholson
So the problem I was having it seems was that I didn't have VirtualHost localhost DocumentRoot D:\java\jakarta\jakarta-tomcat-4.0.3\webapps ServerName localhost WebAppConnection myconn warp localhost:8008 WebAppDeploy examples myconn /examples /VirtualHost and what surprises me is the need to

Re: Where can I find Administrator Documentation for Tomcat 4.03?

2002-03-23 Thread Alexander Höglind
I don't think that's it, Look at this, *** a.. Add a Context entry in the $CATALINA_HOME/conf/server.xml configuration file. This approach is described briefly below, and allows you to position the document root of your web application at some point other than the $CATALINA_HOME/webapps/

Tomcat and Apache?

2002-03-23 Thread Søren Neigaard
I have just installed Tomcat :) Can I get Apache to call Tomcat if it get a request for a special VirtualHost on /servlet/*, so that I can have Apache running on port 80, Tomcat on port whatever, and the user only sees port 80 (the only hole in my firewall)? Oh and where is this documentet :)

Apache and Tomcat contexts

2002-03-23 Thread Robert Nicholson
What are some scenarios where you split dynamic and static content b/w tomcat and apache? if my app's context is /examples I therefore have to accept that any path under /examples has to have it's content avaliable via the web app? How do I have static content under Apache's doc root but

Re: Apache and Tomcat contexts

2002-03-23 Thread James Williamson
Hi Robert, I've just hacked together a patch which gives a IgnoreUrl directive for the mod_webapp connector. It's pretty ugly as it operates at the virtual host level, especially since there's unimplemented slots for ignore urls at the application level in the mod_webapp code. However, if you

Re: tomcat does not support JavaScript

2002-03-23 Thread Scott Ahten
There are many application servers that support Java and Javascript as a servler side languages - Netscape Enterprise Server 3.x-4.x and Resin, to name a few. If someone has exisiting applications developed in Javascript and are planing to migrate to Tomcat, this would be an important issue.