Re: Context.xml error

2007-07-07 Thread Mark Thomas
Artur Rataj wrote: > Hello. I added a second context to Context.xml: > and tomcat stopped to work: Because each context.xml file can oly define a single context. Mark - To start a new topic, e-mail: users@tomcat.apache.org To u

Configure customized deny page for tomcat JDBCRealm authorization

2007-07-07 Thread EricKnight
Hi, Tow users, user1 and user2, are setup for tomcat. User1 can visit page1 and page2, but user2 can see only page2. Using the form based authentication and authorization, how to configure the denied page? It is not the error page. If the user types in wrong username/password, tomcat will display

Re: How to use connection pool with tomcat 1.2.9

2007-07-07 Thread Nhut Thai Le
Hi Johnny, The method i used is exactly what instuctructed in the http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html Except that i dont use JSTL. However, the Datasource should be available when application started. Is there any other suggestion? Thai Johnny Kewl <[EM

Re: How to use connection pool with tomcat 1.2.9

2007-07-07 Thread Nhut Thai Le
You are definitely right, i was sleepy while posting the question. The 1.2.9 is the struts version. The bundles tomcat is 5.5.17. But is it the cause of my problem? David Smith <[EMAIL PROTECTED]> wrote: Tomcat 1.2.9??? I doubt that's the real version number. Typical version numbers are 4.x

Problem Loading Page Connection was Reset

2007-07-07 Thread Nathan Bahr
Hi I have a small problem with accessing a webapp hosted by my tomcat 5.5.20 server. I have in webapps/ROOT a basic helloWorld.html file. The server starts and stops fine when running the shell scripts (using j2se 5.0 btw) however I cannot access helloWorld.html through the web browser. The log fil

Re: Tomcat Version problem

2007-07-07 Thread Christopher Schultz
Hanasaki, hanasaki wrote: > When you get things working... Please post the solution to the problem > so we can all learn. I believe the solution was already posted by Jon Wingfield on 2007-07-05 at 06:09: > You are using jdk1.5 features (autoboxing, for example ) in your JSP > pages. Early versi

Re: Character encoding

2007-07-07 Thread Christopher Schultz
Lightbulb, lightbulb432 wrote: > Why is the URIEncoding attribute specified on the connector rather than on a > host, for example? Because the host doesn't handle connections... the connectors do. > Does this mean that the number of virtual hosts that can > listen on the same port on the same bo

Session Tracking(URL rewriting) how to avoid session Id in URL

2007-07-07 Thread Dave
Hi, I am using JSF on JBOSS. I disabled cookies and use URL rewriting for session tracking. All URLs have session id that are added automatically. I like to the link to open in a new session. How to prevent session id on the URL? Thanks, dave - T

Re: jk or jk2

2007-07-07 Thread Juha Laiho
Rasmus - Next Stay A/S wrote: > Can anyone tell me which type of connector I should use? What exactly is > the difference between jk and jk2? > > I am running IIS 6.0 and tomcat 4.12 In short, you should use JK. JK2 was intended to replace JK, but became too complex to use, and lost developer int

Re: How to use connection pool with tomcat 1.2.9

2007-07-07 Thread Johnny Kewl
Nhut listen I think you mixing two different methods. You using a framework that works on Tomcat, and both Struts and Tomcat have a way of making a dB pool You need to choose one or the other. TC uses JNDI... most people I think do it this way, and it will work with or without

Re: How to use connection pool with tomcat 1.2.9

2007-07-07 Thread David Smith
Tomcat 1.2.9??? I doubt that's the real version number. Typical version numbers are 4.x, 5.0.x, 5.5.x, or 6.0.x. I think Netbeans bundles started with 5.0.x later upgraded to 5.5.x with Netbeans 5.5. Could you take another look? --David Nhut Thai Le wrote: Hi guys, I 'm developing a si

How to use connection pool with tomcat 1.2.9

2007-07-07 Thread Nhut Thai Le
Hi guys, I 'm developing a simple web app with netbeans with bundle tomcat 1.2.9. I want to use connection pooling fir my web app. Thus, i config as follow: Here is my server.xml:

jk or jk2

2007-07-07 Thread Rasmus - Next Stay A/S
Hi Can anyone tell me which type of connector I should use? What exactly is the difference between jk and jk2? I am running IIS 6.0 and tomcat 4.12 Thanks -Rasmus

Re: How to compile from source

2007-07-07 Thread Johnny Kewl
Marcello I've never built 5.5... have only built 6.013, and they completely different, so I just had a look at the SVN repositories and I'm going to guess It looks to me like there are 2 build scripts... So if you point ant at the build.xml in the src base folder it will use

Re: iPlanet / SunONE web server tomcat connector connection re-use disabled

2007-07-07 Thread Rainer Jung
Hi Dale, thanks for digging into this. In fact the Netscape/Sun connector is not in very good shape at the moment. The amount of work that will go into it, to bring it into a better shape depends on people like you, that are going to help us. The Netscape/Sun community seemed to almost non-ex

Re: Context.xml error

2007-07-07 Thread Juha Laiho
Artur Rataj wrote: > Hello. I added a second context to Context.xml: > > > WEB-INF/web.xml > > > docBase="/home/library/islib/Informacja_Ekspresowa/" >reloadable="true"> > > > > and tomcat stopped to work: > > > 2007-07-07 11:23:06 org.apache.tomcat.util.digester.Digester fatalErr

Context.xml error

2007-07-07 Thread Artur Rataj
Hello. I added a second context to Context.xml: WEB-INF/web.xml and tomcat stopped to work: 2007-07-07 11:23:06 org.apache.tomcat.util.digester.Digester fatalError SEVERE: Parse Fatal Error at line 20 column 2: The markup in the document following the root element must be well-formed. or

How to compile from source

2007-07-07 Thread Marcello Pucci
I've just completed the steps required to build apache-tomcat-5.5 from source, next step should be going to install all required binary files in the final distribution directory, e.g /opt/apache-tomcat-5.5/ How can i achieve this goal ? I won't copy all uncessary source (.java) files. I can't fi