Re: Filter versus Valve

2009-02-12 Thread Kees de Kooter
Could you post the code of your valve and your filter? Please also not that a Valve is a tomcat specific thing i.e. not portable to other app servers. A Filter is part of the servlet spec and portable. On Thu, Feb 12, 2009 at 06:13, Jake Vang vangj...@googlemail.com wrote: I've been looking

Re: Display URL without port

2009-02-04 Thread Kees de Kooter
Dear Rhandir, Why are you asking this question again today? I already answered the exact same question with a solution similar to Gregor's yesterday. Please do not pollute this mailing list. Cheers, Kees de Kooter http://www.boplicity.net On Wed, Feb 4, 2009 at 11:14, randhir.si

Re: java.lang.ClassNotFoundException when starting tomcat

2009-02-04 Thread Kees de Kooter
If I recall correctly Tomcat 5 and lower need a JDK to run, not a JRE. Cheers, Kees de Kooter http://www.boplicity.net On Wed, Feb 4, 2009 at 10:39, alex_m alexander.tolfmans-mar...@systeam.se wrote: Hi! I have a RedHat server that with Tomcat5.5.18 and java (JRE) 1.6.0. When i tries

Re: Setting a Different context path to webapp name

2009-02-04 Thread Kees de Kooter
In the context tag you need to add an attribute named docBase pointing to your warfile. Cheers, Kees de Kooter http://www.boplicity.net On Wed, Feb 4, 2009 at 11:05, James Hoare james.ho...@net-a-porter.com wrote: Hi, was hoping someone would help with the following. I have a webapp called

Re: Able to access URL without port

2009-02-03 Thread Kees de Kooter
You should configure mod_proxy in Apache for that. You basically proxy no port (is actually port 80) to your port 10080. The docs for mod_proxy can be found here: http://httpd.apache.org/docs/2.2/mod/mod_proxy.html Cheers, Kees de Kooter http://www.boplicity.net On Tue, Feb 3, 2009 at 09:57

Re: Copy Apache

2009-02-03 Thread Kees de Kooter
What is the operating system? 2009/2/3 randhir.singh randhir.si...@elitecore.com: I have a requirement to migrate our application to a better configuration server. For this, can I copy apache from the present server to the new server? So, my question is whether we can just copy the apache

Re: Error, source unknown

2009-02-03 Thread Kees de Kooter
Apparently you already have something running that is using port 8080. The Digester error means that an xml file that is being loaded contains characters after the closing root tag. Cheers, Kees de Kooter http://www.boplicity.net 2009/2/3 Dave Pawson dave.paw...@gmail.com: from catalina.out

Re: Tomcat 6 on Linux - session - DB connections and other shared resources

2009-02-02 Thread Kees de Kooter
Servlet filters are the best way to solve this. Where do you get stuck with filters? Cheers, Kees de Kooter http://www.boplicity.net On Sun, Feb 1, 2009 at 23:55, Ray Holme rho...@roadrunner.com wrote: I have a few web applications being moved to tomcat. They all share some commonality - I

Re: Why tomcat 6.0.18 looks for MySQL JDBC driver to be placed in CATALINA_HOME/lib folder?

2009-02-02 Thread Kees de Kooter
Hi Ramesh, Did you configure a JNDI datasource in tomcat? In that case the datasource exists outside your app. Cheers, Kees de Kooter http://www.boplicity.net On Mon, Feb 2, 2009 at 13:06, peterramesh ramesh.ramas...@gmail.com wrote: Hi, On reading Tomcat help doc http

Re: tomcat 5 and the JVM

2009-02-02 Thread Kees de Kooter
de Kooter http://www.boplicity.net On Mon, Feb 2, 2009 at 13:59, Ray Holme rho...@roadrunner.com wrote: I run tomcat 6 on Linux and have multiple applications in development mode. From my testing I have discovered that a Java bean shared by all applications and with ALL methods as static SEEMS

Re: Tomcat configuration on IIS 7

2009-01-26 Thread Kees de Kooter
Hi Raffee, You should read http://tomcat.apache.org/connectors-doc-archive/jk2/jk/iishowto.html on how to setup the connection between IIS and tomcat. As you will see you have to configure the connection per website in IIS. Cheers, Kees de Kooter http://www.boplicity.net On Mon, Jan 26, 2009

Re: How to prevent direct ip address

2009-01-23 Thread Kees de Kooter
You could create two virtual hosts, one 'default' that displays some error page and one for your domain that displays the app. Kees On Fri, Jan 23, 2009 at 10:52, Jaakko Taipale jaakko.taip...@dbmanager.fi wrote: I have specified domain eg. www.myapp.com and I have tomcat running my machine

Re: PostgreSQL vs MySQL with Tomcat

2009-01-19 Thread Kees de Kooter
the only really major difference I can think of is T-SQL stored procedures, which have no counterpart in Postgres. PostgreSQL does have support for stored procedures, you can even choose from 4 languages out of the box and 3 more from addons: http://www.postgresql.org/download/products/4.html.

Re: JPA/Hibernate persistence and MySQL connection timeout

2008-12-29 Thread Kees de Kooter
Why don't u use the existing datasources for JPA (instead of setting the hibernate.connection properties)? Kees On Mon, Dec 29, 2008 at 00:50, Ken Bowen kbo...@als.com wrote: Hi All, I'm using: Tomcat 6.0.18; Mysql 5.0.51a; Java 1.5; Hibernate 3.2; (no spring) MyApp utilizes five (5)

Re: Tomcat 6, log4j and security manager

2008-12-29 Thread Kees de Kooter
It usually means that the log4j properties file cannot be found on the classpath. Kees On Mon, Dec 29, 2008 at 11:44, Korobitsyn Roman k...@dtnm.ru wrote: Hello! I use Win XP JDK 1.5.0_13 Tomcat 6.0.16 Log4J 1.2.14 I set up logging as described on

Re: Tomcat 6, log4j and security manager

2008-12-29 Thread Kees de Kooter
In WEB-INF/classes of your application. On Mon, Dec 29, 2008 at 12:37, Korobitsyn Roman k...@dtnm.ru wrote: Hello Kees, And where should I put log4j.properties in that case? Roman KdK It usually means that the log4j properties file cannot be found on the KdK classpath. KdK Kees

Re: JPA/Hibernate persistence and MySQL connection timeout

2008-12-29 Thread Kees de Kooter
Hi Ken, Take a look at this page: http://www.hibernate.org/hib_docs/entitymanager/reference/en/html/configuration.html As you can see the datasource is obtained using JNDI: jta-data-sourcejava:/DefaultDS/jta-data-source Cheers, Kees de Kooter http://www.boplicity.net On Mon, Dec 29, 2008

Re: Recurrent OutOfMemoryError during Eclipse publish operation to test environment

2008-12-18 Thread Kees de Kooter
Did you try doubling the permsize? -XX:PermSize=256m Cheers, Kees de Kooter http://www.boplicity.net On Thu, Dec 18, 2008 at 11:38, bemmi barbara.mcin...@s1.com wrote: Hi, I'm using Tomcat 6.0.18, Eclipse 3.3.2 and JDK 1.5.0_14. I've created a test server using my Tomcat installation

Re: Aid: Tomcat/Apache redirect (or forwarding).

2008-12-16 Thread Kees de Kooter
You can use apache's mod_proxy module for this: http://httpd.apache.org/docs/2.0/mod/mod_proxy.html. Cheers, Kees de Kooter On Tue, Dec 16, 2008 at 12:26, TiredMan soulscaven...@gmail.com wrote: Hi. Gentlemen, I have a mission, but I have no idea how to do it. I have: 1. A server

Re: How to setup Authentication for Tomcat integrated with IIS

2008-12-15 Thread Kees de Kooter
In that case you need to use NTLM authentication. You might want to take a look at this: http://jcifs.samba.org/src/docs/ntlmhttpauth.html On Mon, Dec 15, 2008 at 15:37, mcarter19 mk_car...@hotmail.com wrote: Hi, I am basically a noob when it comes to Tomcat so I hope someone can help me

Re: HTTP 400 Error when trying to check Tomcat installation

2008-12-11 Thread Kees de Kooter
Did you try to access the manager application at http://localhost:8080/manager/html? If that works your tomcat is running fine. I suggest you read up on building and packaging java web applications. You can deploy your .war files using this manager application. On Thu, Dec 11, 2008 at 11:51,

Re: Tomcat resources

2008-12-09 Thread Kees de Kooter
Is this some would-be turing machine babbling away or is there are genuine question here? On Wed, Dec 10, 2008 at 00:31, tomkitten [EMAIL PROTECTED] wrote: I would like a web application to read in some data from a text file (I tried using .class.getResourceAsStream). I am not sure how to

Re: SSL/Apache and Proxy

2008-12-08 Thread Kees de Kooter
Could you post your apache proxy configuration? On Mon, Dec 8, 2008 at 15:38, Doctor Khumalo [EMAIL PROTECTED] wrote: Anyone know anything about this or will my post be ignored? From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: RE: SSL/Apache and Proxy Date: Fri, 5 Dec 2008

Re: Pointing domain to a context in tomcat

2008-12-04 Thread Kees de Kooter
On Thu, Dec 4, 2008 at 08:32, nitingupta183 [EMAIL PROTECTED] wrote: Hi all, I have recently started using Apache web server with Tomcat. I need to have something like this: www.mydomain.com maps to something like www.mydomain.com:8080/mycontext With the help of mod_jk i am now able to

Re: Login config

2008-12-04 Thread Kees de Kooter
I installed a tomcat 5.5.27 with an application and I configure the web.xml of the application by introducing a security constraint and a login config with a form. My login page is not in the security directory. So when I launch Tomcat and I access to my application with restriction, the