Problem with Admin application

2002-12-24 Thread Mike Hedman
I've been having nothing but trouble getting Admin to work - ugh. I just re-installed 4.1.18, and Tomcat is running (the Manager app works). But when I run Admin I'm getting the following: org.apache.jasper.JasperException: Missing message for key application.title at

Re: How to configure JNDI resource with connection pool?

2002-12-24 Thread Andrew Guts
Craig, Thank you for your answer. Craig R. McClanahan wrote: On Mon, 23 Dec 2002, Andrew Guts wrote: Tomcat has a default resource factory for JDBC data sources (org.apache.commons.dbcp.BasicDataSourceFactory for Tomcat 4.1.x), so you don't need to specify this. What you do need to do is

Virtual server document root mapping

2002-12-24 Thread John Zoetebier
How can I map more than 1 Apache virtual server to root url path ? The syntax for WebAppDeploy is: WebAppDeploy [application name] [connection name] [url path] For example I have 2 virtual web servers example1.com and example2.com Now I cannot use: WebAppDeploy example1 warp / WebAppDeploy

login error: direct reference to form login page

2002-12-24 Thread Klaas van der Ploeg
Hi All, I'm using Tomcat 4.1.12/JDK1.4.0_01/Struts I have multiple webapps where one of the webapps is the main entry point for the other webapps (contains menu, etc...). I use security constraints and form-based login to control access to the applications with SingleSignOn. Customers

access denied

2002-12-24 Thread sunil . kumar
hi all, i tried this code.. the below mentioned error is coming pl help javax.naming.Context ctx = new javax.naming.InitialContext(); if(ctx == null ) System.out.println(Context is null); else { javax.sql.DataSource ds1 = (javax.sql.DataSource)ctx.lookup (java:comp/env/TestDB);

Re: access denied

2002-12-24 Thread Marc van de Geijn
What's the database you're using? MySQL? The other question is how you have defined the login for the database. Have you litterly stated [EMAIL PROTECTED] there? Marc - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, 24 December 2002 12:12 Subject: access

Trouble with JNDI (I'm getitng desperate too)

2002-12-24 Thread Iran Marcius
Now I really have a problem that is driving me crazy. I was trying to get a DataSource configured in GlobalNamingReasources, but while I was trying to solve it, I figured out that the problem is on the other side. I have a datasource configured in GlobalNamingResources, that is correct (according

RE: Tomcat-User Archives?

2002-12-24 Thread Shapira, Yoav
Hi, There are several, of differing completeness and friendliess. My favorite is AIMS: http://marc.theaimsgroup.com/?w=2 Yoav Shapira Millennium ChemInformatics -Original Message- From: Jason Pyeron [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 24, 2002 2:03 AM To: Tomcat Users

Tomcat and Apache | Performance

2002-12-24 Thread Rajesh B
Hi All, I am using tomcat 3.3.1 and apache 1.3.27 with mod_jk (ajp12 protocol). We are running it in Solaris 2.8 ( 4 CPU 4GB RAM ). At times when the system is under heavy load, apache simply stops processessing requests. And the hits/sec goes down. The system idle state is around 99%. At

RE: Tomcat and Apache | Performance

2002-12-24 Thread Venkat Reddy Valluri
There is a option in httpd.conf as well as server.xml(Ajp13Processor max processors) to set max clients to be served, incresing that size, may get it solved Make sure max Ajp13processors should be greater than or equal to max clients in httpd.conf Thks, --Venkat -Original

default servlet path?

2002-12-24 Thread John . E . Gregg
Hi all, If memory serves me correctly, once upon a time I could put a servlet called SomeServlet under webapps/abc/web-inf/classes/a/b and access it with the url http://localhost:8080/abc/servlet/a.b.SomeServlet. I could do this without explicitly naming the servlet in my web.xml. This doesn't

RE: default servlet path?

2002-12-24 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
John, From the release notes Enabling invoker servlet: Starting with Tomcat 4.1.12, the invoker servlet is no longer available by default in all webapp. Enabling it for all webapps is possible by editing $CATALINA_HOME/conf/web.xml to uncomment

Help Apache 1.3.26 + tomcat 4.0.6

2002-12-24 Thread Rahul Torvi
Hi All, I configured apache with tomcat using mod_webapp, The problem is I m now able to access all the example context without giving port 8080. Then I deployed my context on tomcat and tried to access it. I made and entry in apache-tomcat.conf file and included it in apache as per the

RE: Help Apache 1.3.26 + tomcat 4.0.6

2002-12-24 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Rahul, My first suggestion will be stop apache stop tomcat wait 60 seconds start tomcat wait 60 secs then verify that application works using port 8080 start apache try it through apache If that does not work I enclose an example on how I configure mod_webapp make sure that your path in the

Re: JK2 and SSL

2002-12-24 Thread Chris McCabe
I am happy to report that the new mod_jk2.so from version 4.1.18 of jakarta-tomcat-connectors fixed this problem. Chris Chris McCabe wrote: I got the JK2 connector module working fine with Apache2 and Tomcat, but when I try to access my secure server, I get a 404 Not Found error from

RE: another mod_jk attempt failing

2002-12-24 Thread Turner, John
Have you tried using the full path to apxs instead of ../../../.. ? I always use something like /usr/local/apache/bin/apxs. John -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Friday, December 20, 2002 9:12 PM To: Tomcat Users List Subject: another mod_jk

RE: Configuring mod_jk - Again!

2002-12-24 Thread Turner, John
Tomcat listening on port 8080 has nothing to do with mod_jk. The default port for JK on the Tomcat side is 8009. If you like, I can send you httpd.conf (relevant portion), workers.properties, and server.xml from a working installation if that will help. Based on your posts so far, I think

Re: Servlet API: how to obtain the roles list ?

2002-12-24 Thread Gary Gwin
Pierre, There is no way to do this using the servlet API but you could easily store your user and role information in a JDBC user repository and then query that repository for the user data you want. If you need to include the user repository with your webapp, we've used the Hypersonic SQL

mod_jk---still trying, getting closer

2002-12-24 Thread Jerry Ford
Thanks to some examples of working configs provided by several people here, I am making progress in getting Apache 1.3.27 and Tomcat 4.1.12 to work together through mod_jk, but it still isn't working yet. Tomcat and Apache run fine independently: http://localhost opens Apache's index.html

RE: mod_jk---still trying, getting closer

2002-12-24 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Jerry, given the directory structure you provide you might try chaging these /usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk/workers.propert ies config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.properti es to

RE: Mod_jk - won't execute jsp or servlets

2002-12-24 Thread Turner, John
Whew! Maybe I can shed some light on this. The whole Apache + JK + Tomcat process is a chain. The chain has links. If any of the links are broken or messed up (misconfigured), the process doesn't work. So, there are three macro links to the chain. Each macro link has a few micro links.

Re: Object Pooling

2002-12-24 Thread Will Hartung
Yes, there's a big difference between caching and pooling. Pooling is a case where you have several, essentially, identical object that you would like to reuse whereas caching is where you have several distinct objects that you would like to access faster than normal. A simple cache is really

RE: Mod_jk - won't execute jsp or servlets

2002-12-24 Thread Turner, John
Have you ever gotten just Tomcat's examples to work on port 80? My advice would be to get JK working for the examples, and worry about getting JK working for your app later. You have a working app now on Tomcat standalone. Get JK working for the examples, that has the least amount of

RE: Mod_jk - won't execute jsp or servlets

2002-12-24 Thread Turner, John
My apologies if any of my previous replies were sent in HTML format. Unfortunately, I am required to use Outlook by my employer, and I am not familiar with all of the configuration options and defaults. John -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED]] Sent:

using regexp in JSPs on Tomcat

2002-12-24 Thread Albert Wang
Hi all, I have a Java class which uses the Jakarta regexp package for some string parsing. It works perfectly fine on its own. I'm developing a set of JSPs, one of which instantiates this class and calls some methods. However, Tomcat is throwing me the following exception:

RE: using regexp in JSPs on Tomcat

2002-12-24 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Albert, The stack trace you show would imply that your class is indeed throwing the RESyntaxExeception. I would guess you class definition or class method allows the passing of the Exception to the invoking class, in this case Jasper. I would remove any Throws RESyntaxException from the

RE: mod_jk---still trying, getting closer

2002-12-24 Thread Justin L. Spies
Jerry, I've never used the auto/mod_jk stuff, so I can't comment on that. What is weird to me though, is the line that reads: JkLogFile /usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk/workers.pro perties That leads me to believe that mod_jk is configured to overwrite the

Can anyone running successfully tomcat and mod_jk on different machines with mod_jk for longtime

2002-12-24 Thread Venkat Reddy Valluri
Hi, Can Any body be running tomcat 4.0.4(redaht 7.3, j2sdk1.4.1) and apache 2.0.40 on different machines with mod_jk successfully in production environment without giving problems(broken pipe etc... kernel out of memory error) If anubody, could you please help in this regard Thks, --Venkat

Re: using regexp in JSPs on Tomcat

2002-12-24 Thread Albert Wang
Hi Jeff, PELOQUIN,JEFFREY (HP-Boise,ex1) wrote: Albert, The stack trace you show would imply that your class is indeed throwing the RESyntaxExeception. I would guess you class definition or class method allows the passing of the Exception to the invoking class, in this case Jasper. I would

Tomcat/thttpd

2002-12-24 Thread Joe Sheehan
Sorry to bother eveyone on this list but having trouble trying to get thttpd (www.acme.com) and tomcat to work together. Has anyone tried this? Thanks Joe _ Add photos to your e-mail with MSN 8. Get 3 months FREE*.

RE: using regexp in JSPs on Tomcat

2002-12-24 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
hmmm, do you use RE at all in the init method of your class? also now that I look more carefully at the stack trace, you might try looking at the compiled java for the calling jsp page. From your stack trace the calling jsp page is viewSample.jsp, do you use any RE's in this jsp? the compiled

NullPointerException on exception in ErrorPage.jsp

2002-12-24 Thread Guy Rouillier
I've been notified of a really weird exception. I've searched the archives to no avail. I provide the actual code at the bottom of this message. In summary, some error on our web site is causing invocation of the designated JSP error page. The error page is apparently getting a

RE: Urgent - Issue with Tomcat/mod_jk?

2002-12-24 Thread Venkat Reddy Valluri
Hi , Even I too getting the same problem(lots of broken pipe errors )with catalina 4.0.4(redhat 7.3, j2sdk1.4.1) connecting apache 2.0.40(redat 7.3) on diffrenet machine with mod_jk, But what happened is after it ran for cuople of hours, tomcat crases, giving kernel out of memory error

Re: mod_jk---still trying, getting closer

2002-12-24 Thread Jerry Ford
Justin: My bad. I didn't copy and paste, I retyped the JkLogFile reference. In the config, it correctly says mod_jk.log. I don't understand what would be accomplished by changing jakarta-tomcat-4.12.12-LE-jdk14 to simply tomcat. The name of the directory is the full name, as it was created

RE: mod_jk---still trying, getting closer

2002-12-24 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Jerry, The confusion as to the name arises from your printour of your directory structure drwxrwxr-x...usr/ drwxrwxr-x..local/ drwxrwxr-x.webserver/ drwxrwxr-xapache/ drwxrwxr-xtomcat/ drwxrwxr-x...conf/ drwxrwxr-x..jk/

Re: mod_jk---still trying, getting closer

2002-12-24 Thread Jerry Ford
Ooops, sorry, I was using shorthand in showing the directory gtree; actual name of the directory is the full jakarta-tomcat-4.1.12-LE-jdk14; same for apache, it's acutally apache_1.3.27 (whew, guess I need to change those anyway, that's a lot of typing!!! :) I just untarred them and kept the

Re: mod_jk---still trying, getting closer

2002-12-24 Thread Milt Epstein
On Tue, 24 Dec 2002, Jerry Ford wrote: Ooops, sorry, I was using shorthand in showing the directory gtree; actual name of the directory is the full jakarta-tomcat-4.1.12-LE-jdk14; same for apache, it's acutally apache_1.3.27 (whew, guess I need to change those anyway, that's a lot of

Re: NullPointerException on exception in ErrorPage.jsp

2002-12-24 Thread Guy Rouillier
I figured this one out. Somebody had coded a sendRedirect(errorpage.jsp). Sorry for the noise. - Original Message - From: Guy Rouillier [EMAIL PROTECTED] To: Tomcat User [EMAIL PROTECTED] Sent: Tuesday, December 24, 2002 2:20 PM Subject: NullPointerException on exception in ErrorPage.jsp

Re: mod_jk---still trying, getting closer

2002-12-24 Thread Jerry Ford
Yes, good idea about the symbolic links. I have done now so---sym links for both apache and tomcat. I have also moved all mod_jk configs into httpd.conf. And I'm still getting the same results---catalina.out says Jk is okay, apache works, tomcat works (with servlets) but the apache

Security constraint problem with v4.1.18

2002-12-24 Thread Peter Lee
I upgraded from 4.1.12 to 4.1.18, but I got some problems with security constraints. I have applied a security constraint on a particular url pattern. Only certain users with a special rolename can access that link. It used to work but now the page does not load with v4.1.18. Is SSL implemented

Re: Virtual server document root mapping

2002-12-24 Thread John Zoetebier
Found a simple solution to virtual host root mapping. For each virtual host in Apache configuration file define 1 webapp pointing to root path. No changes required to server.xml Tomcat file ! For example: VirtualHost 192.168.1.10 ServerName banking.tsl010 DocumentRoot

Re: Can anyone running successfully tomcat and mod_jk on different machines with mod_jk for longtime

2002-12-24 Thread Sagara Wijetunga
I use jakarta-tomcat-4.1.12-LE-jdk14, jakarta-tomcat-connectors-4.1.12-src, Apache-2.0.39,2sdk1.4.1 on Red Hat Linux 8.0. No problem. Pls refer for this for mod_jk configuration: http://www.johnturner.com/howto/apache-tomcat-howto.html Sagara --- Venkat Reddy Valluri [EMAIL PROTECTED] wrote:

tomcat ssl problems( no cihpher suites in common)

2002-12-24 Thread ningr
Hello all, I use jakarta-tomcat-4.0.6, jdk 1.4.0 on windows xp home edition, I want to use the tomcat with ssl, I modified the server.xml according to the how-to on the jakarta site, I start the tomcat and get no error, but when I use IE to connect the https://localhost:8443/,

Re: How to configure JNDI resource with connection pool?

2002-12-24 Thread puneet sachar
To All, Jai shri Ram, Merry christmax..to all. Enjoy the day(Bara -Din) in a bindas style and spread love and peace. Regards Puneet Sachar __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To

Re: How to configure JNDI resource with connection pool?

2002-12-24 Thread Steve R. Burrus
Hello Puneet, aren't u a Christian??? What the hell do u mean anyway, Enjoy the day(Bara -Din) in a bindas style? I personally don't believe in taking even today off, lemme tell you. It's just another day in the year!! puneet sachar wrote: To All, Jai shri Ram, Merry christmax..to all.