Re: Bug in c:url taglib

2006-07-13 Thread Giorgio Ponza
Hi Martyn This is not a bug but a feature. Infact when you specify an absolute path for the value attribute, the JSTL will prepend it with the context of the web-app. In your case, i think you have a context with path / in your server.xml (or context.xml etc) From the spec, section 7.5:

Tomcat 5.5 load balancing URL redirefction not transparent to client

2006-07-13 Thread Madhur K Tanwani
Hi, I'm separating this question from my earlier thread on load balancing rules - it seems that it was over-looked there since it did not fit in there :(. My question is that when I use the default balancer webapp from Tomcat 5.5 the redirection rules redirect me to either jakarta, cnn or

RE: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable

2006-07-13 Thread simon jones
Hi David, Ok I did as instructed and tried the admin. Now I get the Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it. error. No entries in the log either, where next? Cheers, Simon -Original Message- From:

Re: Tomcat 5.5 Load Balancing Rule Classes

2006-07-13 Thread welcome77in
you can refer workers.properties file in apache and this file can be created in apache_home/conf/ path workers.tomcat_home=/tomcat workers.java_home=$JAVA_HOME ps=/ worker.list=tomcat,loadbalancer worker.tomcatC.port=8009 worker.tomcatC.host=192.168.1.80 worker.tomcatC.type=ajp13

Re: Bug in c:url taglib

2006-07-13 Thread Martyn Hiemstra
Hi Giorgio Thanks for your explanation. After reading your explanation I looked at my Tomcat server.xml. I use host tags to attach hostnames to contexts. My code was: Host name=acc.test.com debug=10 appBase=/opt/tomcat/webapps/Test unpackWARs=true autoDeploy=true xmlValidation=false

Re: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable

2006-07-13 Thread David Smith
There has to be some messages about the admin webapp. The only way to not have any is if admin.xml is not stored in the correct place. Even bad permissions should generate an exception of some sort attempting to read it. So to recap, here's how your file structure looks and all the

RE: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable

2006-07-13 Thread simon jones
Think it is most likely me having the files in the wrong place by the looks of it, here's my dirs with file list: /usr/local/jakarta/jakarta-tomcat-5.5.9/conf/Catalina/localhost drwxr-xr-x 2 tomcat nobody 4096 Jul 12 15:27 ./ drwxr-xr-x 3 tomcat nobody 4096 Mar 26 2005 ../ -rw--- 1 root

Re: Tomcat shutdowns unexpectedly - Please help

2006-07-13 Thread Arunan Kannan
Hi, Even after making the timeout parameter to 0, still the problem exist. Even I ran a continous polling application in the tomcat and still the problem exist. The tomcat server gets shutdown unexpectedly after some irregular period of time 3 or 4 or 6 hrs. However this problem doesn't exists

Re: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable

2006-07-13 Thread David Smith
Look at permissions for admin.xml -- root.root and read/write only by owner? Try doing this: (from /usr/local/jakarta/jakarta-tomcat-5.5.9) chown tomcat.nobody conf/Catalina/localhost/admin.xml chown -R tomcat.nobody server/webapps/admin Then restart tomcat --David simon jones wrote:

Run shell script when web application start/restart

2006-07-13 Thread Tom Potter
The JSP pages in the Web application I install under Tomcat 4.1.30 are based on some configuration files the user wants to modify, thus I wrote a shell script to rebuild the JSP pages and repopulate the webapps folder. My question is that is there a way to hook up my shell script with the webapp

RE: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable

2006-07-13 Thread simon jones
You sir are a star! Well spotted, that did the trick. Thanks very much. Simon -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: 13 July 2006 13:01 To: Tomcat Users List Subject: Re: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable Look

RE: RE: XML Fileupload 8k with mod_jk

2006-07-13 Thread Thilko Richter
Hi Martina, I´ve get now some debug informations from mod_jk. As far as I´ve understand them, apache sends 8K of data, which should be the packet size. It seems that no packets follow? = [Wed Jul 12 16:38:44 2006] [3928:3136] [debug] jk_handler::mod_jk.c (1839): Into

RE: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable

2006-07-13 Thread simon jones
Don't suppose you know how to give customers with jsp enable space access to the error logs too do you? -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: 13 July 2006 13:01 To: Tomcat Users List Subject: Re: HTTP Status 503 - Servlet admin.login_jsp is

RE: Run shell script when web application start/restart

2006-07-13 Thread Mead, Jennifer L - VSCM
On my box the start and stop scripts are just that. .sh shell scripts. In your case I would just copy them to a save file and put in an execution string. The start scripts are in tomcat_home/bin. Jen -Original Message- From: Tom Potter [mailto:[EMAIL PROTECTED] Sent: Thursday, July

RE: Tomcat shutdowns unexpectedly - Please help

2006-07-13 Thread Mead, Jennifer L - VSCM
It sounds like that SUN box is either configured different than the other SUN machines or you have some bad memory modules in it. Jen -Original Message- From: Arunan Kannan [mailto:[EMAIL PROTECTED] Sent: Thursday, July 13, 2006 4:59 AM To: Tomcat Users List; Martin Gainty Subject: Re:

Re: Tomcat shutdowns unexpectedly - Please help

2006-07-13 Thread Arunan Kannan
Can you please let me know how to diagnoise the issue further please help thanks again, arunan On 7/13/06, Mead, Jennifer L - VSCM [EMAIL PROTECTED] wrote: It sounds like that SUN box is either configured different than the other SUN machines or you have some bad memory modules in it. Jen

Re: Run shell script when web application start/restart

2006-07-13 Thread Tom Potter
Jen, Just to make sure that we both talk about the same events : I don't want to restart the whole tomcat, only one web application, that is, by clicking on the start link(or restart) in on the admin page. I don't see how your suggestion would help me... if I'm missing something please make it

Re: Run shell script when web application start/restart

2006-07-13 Thread Avi Deitcher
I don't think so. You could, theoretically, have a context listener that then executes a shell script, but that is really messy, and the security manager probably won't even allow it. If I understand correctly, you want to have the following happen on context restart: - JSP pages get rebuilt from

RE: Tomcat shutdowns unexpectedly - Please help

2006-07-13 Thread Mead, Jennifer L - VSCM
Are you the unix admin? Or do you have an unix admin to help out? There is limited things one can do without being root. The easy stuff to do is check out how much memory there is, how much Gig on that particular machine, look at the swap size that is configured, run ipcs to look at what memory

Re: Run shell script when web application start/restart

2006-07-13 Thread Tom Potter
The reason for me choosing the first, messy solution was that this had to be a quick fix, rewriting the logic in the JSP pages was out of the question (and way above the allocated budget ;) ). Of course I had the shell scripts and configuration files so it seemed just the right solution to use

Re: Run shell script when web application start/restart

2006-07-13 Thread Avi Deitcher
Well, if you have to, from the shell script, you can probably connect to the tomcat manager URL and tell it to do the right thing. Still, all and all, it is hard to believe it isn't faster to refactor the JSP pages. Tom Potter wrote: The reason for me choosing the first, messy solution was that

HowTo configure IP Filter XOR User Login

2006-07-13 Thread Peter . Neu
Hello, I need to configure two different ways to login to an app. The first one is an ip filter which lets users with certain ip's enter withouth authentication. The second one is the usual user login. Both authentications must work on an XOR basis. How can this be done? I recall in apache

Re: Tomcat 5.5 load balancing URL redirefction not transparent to client

2006-07-13 Thread Filip Hanik - Dev Lists
redirection, as the name tells you, doesn't balance, it redirects, and there is nothing transparent about a redirection. what you are looking for is called proxying, and the best example for that, would be mod_proxy in the Apache httpd web server. Filip Madhur K Tanwani wrote: Hi, I'm

Filter IP

2006-07-13 Thread ngolehung84
Hi, How can I configure the Tomcat to filter the IP that can access my web site? Thanks, Hung. -- View this message in context: http://www.nabble.com/Filter-IP-tf1938118.html#a5310734 Sent from the Tomcat - User forum at Nabble.com.

Re: Filter IP

2006-07-13 Thread Markus Schönhaber
ngolehung84 wrote: How can I configure the Tomcat to filter the IP that can access my web site? Thanks, http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html#Remote%20Address%20Filter Regards mks - To start a new topic,

Re: Filter IP

2006-07-13 Thread Grant Johnson
Create a firewall rule. ngolehung84 wrote: Hi, How can I configure the Tomcat to filter the IP that can access my web site? Thanks, Hung. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: HowTo configure IP Filter XOR User Login

2006-07-13 Thread David Smith
I know of nothing built-in to tomcat for that. You could implement a request filter to handle the job although it would mean implementing your own authentication. --David [EMAIL PROTECTED] wrote: Hello, I need to configure two different ways to login to an app. The first one is an ip

Tomcat and OCSP

2006-07-13 Thread Mark Claassen
Does the new support for OCSP in Java 5.0 have any impact on how certificates are handled in Tomcat? http://java.sun.com/j2se/1.5.0/docs/guide/security/pki-tiger.html It looks like it might just work if it is set up right in the java property files. I checked the mailing list archives and found

Deploying web application thats not located in the webapps directory

2006-07-13 Thread tomjerry
How can I deploy a web application that's not located in the webapps directory in tomcat.My scenario is I have my app sitting in my folder say C:\myfolder\myapp. I have installed tomcat 4.1 on C:\myfolder. I have modified the server.xml file Context path=/myapp docBase=c:\myfolder\myapp\webapp

Frustrated by NoClassDefFound errors

2006-07-13 Thread Timothy Collett
Greetings. I've been using Tomcat for some time now, but recently I started getting a series of intermittent NoClassDefFound errors. They were first occurring with the Commons Configuration package (specifically, org.apache.commons.configuration.PropertiesConfiguration), though I was

Re: starting with windows service

2006-07-13 Thread Vinu Varghese
Hi Sk, Have u tried with the windows binary of tomcat ? - regards Vinu Shinya Koizumi wrote: Any word on this problem. SK. - Original Message - From: Shinya Koizumi [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, July 10, 2006 3:22 PM Subject: starting with windows

Re: starting with windows service

2006-07-13 Thread Filip Hanik - Dev Lists
http://people.apache.org/~fhanik/wrapper.html Vinu Varghese wrote: Hi Sk, Have u tried with the windows binary of tomcat ? - regards Vinu Shinya Koizumi wrote: Any word on this problem. SK. - Original Message - From: Shinya Koizumi [EMAIL PROTECTED] To: users@tomcat.apache.org

JDBC Realm error

2006-07-13 Thread Propes, Barry L
I'm not sure if this is the method of which to go about posting my problem or issue, but here goes. I've tried configuring my JDBC realm in Tomcat 4.0.1 the last 2 days with no success. Sure, I can mess up the app or get the protection to engage and kick to a login page, but my Oracle

using addRepository to add additional classpaths

2006-07-13 Thread Barrie Selack
Is there an example of using this __ addRepository() __ either in a web application, or a way to configure it at startup? I need to have additional classpaths for migrating from Resin to Tomcat. Any help is appreciated. Barrie Selack

Tomcat Not An App Server

2006-07-13 Thread Mike Wannamaker
I know that Tomcat is not really an App Server like JBoss etc... However, if I had a component that was not a web application and I wanted to start it inside tomcat how could I do that ? Is there some configuration file I would need to add something to in order to have a component started and

Re: JDBC Realm error

2006-07-13 Thread David Smith
Why don't you try using the same dbURL you use in the java code -- jdbc:odbc:DSNName. Also add in the attributes connectionName for the auth username to the database and connectionPassword for the auth password to same. --David Propes, Barry L wrote: I'm not sure if this is the method of

Re: Tomcat Not An App Server

2006-07-13 Thread Christopher Schultz
Mike, I know that Tomcat is not really an App Server like JBoss etc... Some may argue with me, but I would consider Tomcat an app server. JBoss happens to be an EJB container as well as a servlet container (and provides some other services as well), while Tomcat provides only the servlet

Re: Tomcat Not An App Server

2006-07-13 Thread David Smith
Tomcat's not really an app server? Geee really, I feel so inadequate now. :-( Seriously, I think I've seen this religious war around here somewhere and it really depends on definition. No, it's not a full J2EE container, but it's definitely an app server in my opinion. Have you read the

RE: JDBC Realm error

2006-07-13 Thread Propes, Barry L
well, Tomcat didn't like that at all! It tries to come up (the console) and then quickly disappears! -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, July 13, 2006 3:00 PM To: Tomcat Users List Subject: Re: JDBC Realm error Why don't you try using the same

JTA?

2006-07-13 Thread Avi Deitcher
Does Tomcat have any native JTA support? I know 5.5 has the Transaction tag in the context, which should make it easier (as far as I understand it) to use JTA factories, but does Tomcat have any built-in support, or is it planning? -- __ Avi Deitcher [EMAIL PROTECTED]

RE: Tomcat Not An App Server

2006-07-13 Thread Mike Wannamaker
Sorry guys I didn't mean to offend anyone. I know that Tomcat offers a lot but what I meant is as you said, it's not a full J2EE App Server, like JBoss, WebSphere ... What I have is a large enterprise application that does have a web application. In fact it has many. These web apps rely on our

Re: JDBC Realm error

2006-07-13 Thread David Smith
Is your Realm configured as follows: Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=sun.jdbc.odbc.JdbcOdbcDriver connectionURL=jdbc:odbc:DSNName connectionName=user_name connectionPassword=password userTable=chg_users userNameCol=user_name

RE: JDBC Realm error

2006-07-13 Thread Propes, Barry L
precisely it is, as you typed below. I'd actually like to toss the JDBC-ODBC bridge software, as I've heard some unstable things about it, maybe this included, but am a little uncertain as to how to truly go about getting the Oracle driver I need. I don't claim to be an expert on Oracle, but

Re: Tomcat Not An App Server

2006-07-13 Thread dhay
I agree with you - an app server without EJB. And with Spring framework and the like, you rarely need EJB any more. But that might start a flame war!! ;-) cheers, David |-+-- | | Christopher Schultz| | | [EMAIL

RE: Tomcat Not An App Server

2006-07-13 Thread dhay
How do your webapps communicate with the core services? cheers, David |-+-- | | Mike Wannamaker| | | [EMAIL PROTECTED]| | | ngbird.com| | |

Re: JDBC Realm error

2006-07-13 Thread Mark Shifman
The oracle driver library that seems to work is ojdbc14.jar http://download.oracle.com/otn/utilities_drivers/jdbc/9205/ojdbc14.jar I just set up a JDBCRealm the other day using it following the realm howto http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html and it worked like a charm. You

RE: JDBC Realm error

2006-07-13 Thread Propes, Barry L
thanks, Mark. What about ojdbc14_g? That's what I have. Would that work? -Original Message- From: Mark Shifman [mailto:[EMAIL PROTECTED] Sent: Thursday, July 13, 2006 5:03 PM To: Tomcat Users List Subject: Re: JDBC Realm error The oracle driver library that seems to work is ojdbc14.jar

RE: Run shell script when web application start/restart

2006-07-13 Thread Richard Mixon
Maybe I'm missing something, but if you re-generate the pages, and have Tomcat in development mode, the new pages will automatically be re-compiled the next time they are accessed. -Original Message- From: Tom Potter [mailto:[EMAIL PROTECTED] Sent: Thursday, July 13, 2006 7:59 AM To:

Re: Run shell script when web application start/restart

2006-07-13 Thread Avi Deitcher
Richard, I think he is discussing a 2-step process. First the JSP pages are *generated* via some shell script, then they are *compiled* from the JSP source by Tomcat. that is why I suggested inverting it, having the JSPs fully formed, but have them pull config info as necessary. Richard Mixon

Re: Run shell script when web application start/restart

2006-07-13 Thread Ibrahim . Siddiqui
a 'pstc' reveals 'vignette' as the user, which is the same for the internals file. startup is thru a alias command: starttcmcm and can be done in any directory Avi Deitcher [EMAIL PROTECTED] 07/13/2006 04:19 PM Please respond to Tomcat Users List To: Tomcat Users List

DigestAthenticator and session registeration

2006-07-13 Thread Alex Jalali
Hello, I have extented the DigestAthenticator and everything is working fine. but after the first authentication the register(...) method of the base class does not create the internal session and set the cookie. So for every request I have to go to database and re-authenticate. This is version

RE: Tomcat's scalability

2006-07-13 Thread Biernatowski Bartosz J
To follow up and close the Tomcat scalability thread I opened a while ago It turned out the bottleneck was on the database hardware end. Reducing disk utilization resolved our performance issues. BJ Biernatowski This e-mail, including attachments, may include confidential and/or proprietary

Re: DigestAthenticator and session registeration

2006-07-13 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread.

RE: DigestAthenticator and session registeration

2006-07-13 Thread Alex
Sure, I am sorry I didn't know about emails being grouped as threads. This was my first question on the list. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, July 13, 2006 6:16 PM To: Tomcat Users List Subject: Re: DigestAthenticator and session

Ajp connector attributes *Processors vs *Threads

2006-07-13 Thread Fred K
Hello: One of my colleagues had a good question today. On the document about the Ajp connector (mod_jk ): http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html minProcessors and maxProcessors are said to be deprecated Apparently these atributes are replaced by *Threads. So the

Re: Tomcat 5.5 load balancing URL redirefction not transparent to client

2006-07-13 Thread Madhur K Tanwani
Thanks Filip. I understand now that Tomcat performs redirection - which implies that the URL must change. Then, I suppose I must ask - Is something like mod_proxy available in Tomcat? - Is it possible to emulate the same behavior in Tomcat? After my discussion on the Tomcat 5.5 load balancing

Re: Tomcat 5.5 load balancing URL redirefction not transparent to client

2006-07-13 Thread Filip Hanik - Dev Lists
Madhur K Tanwani wrote: Thanks Filip. I understand now that Tomcat performs redirection - which implies that the URL must change. Then, I suppose I must ask - Is something like mod_proxy available in Tomcat? - Is it possible to emulate the same behavior in Tomcat? not really, Tomcat isn't