RE: Apache 2.0.50 - Tomcat 5.0.28 - Mod_jk - .htaccess

2006-02-07 Thread Manuel Nicolas Ortuño
This is the configuration httpd.conf IfModule !mod_jk.c LoadModule jk_module modules/mod_jk.so /IfModule JkWorkersFile /usr/local/apache/conf/workers.properties JkLogFile /usr/local/apache/logs/mod_jk.log JkLogLevel info JkLogStampFormat [%a %b %d %H:%M:%S %Y] JkOptions +ForwardKeySize

RE: mod_jk weirdness

2006-02-07 Thread Chris Pat
Hi Darren Thanks. That appears right, however I dont know how to make the worker resolve the Tomcat-Apache connection? Do I have to make some entry in http.conf for the Tomcat-Apache communication? Ideas? Thanks. --- Darren Hall [EMAIL PROTECTED] wrote: Chris, Not sure if this is helpful

Application specific tomcat recycle?

2006-02-07 Thread Biernesser, Beth
I am using tomcat 5.5.12 with java 1.4 on Linux 4.0. I believe it is possible to recycle tomcat for a specific application on this server without affecting the tomcat process on the other applications ... We have three applications sitting on the one physical server. Is it possible to configure

Re: wrapping manager undeploy Ant task

2006-02-07 Thread Glen Mazza
Tim Lucia wrote: Add: failOnError=false Works great--thanks. This is already in the documentation[1], but I missed it. Glen [1] http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant Hello, I'm using the manager tasks for Ant to

Tomcat + Linux Server + Jasper Reports problem

2006-02-07 Thread Letícia Álvares Barbalho
Hello everyone, I developed my webapp using netbeans and its embedded tomcat. I did some reports in jasper reports and they were working just fine with the embedded tomcat. Then, I moved my app to the tomcat directory in the server (which is the same machine) and the reports stopped working.

Re: multiple domain names

2006-02-07 Thread Martin Gainty
Alan - I thought for sure Apache was front-ending and not using the Tomcat standalone.. Thanks for the update, Martin- - Original Message - From: Parsons Technical Services [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org; Martin Gainty [EMAIL PROTECTED] Sent: Monday,

RE: Can we stop tomcat using System.exit(int)

2006-02-07 Thread kiran.tadepalli
Thank you David, change in security manager worked. I'm not sure whether I can change the java.policy file while the application is moved to production; However, including exitVM as one of the Runtime Permission in policy file made it possible. Thanks for the direction. Regards, Kiran

Tomcat and subdomain

2006-02-07 Thread Myatluk Andrey
Hi, all! I have an application, which may have many users. At this moment each of them can view their info at: http://www.example.com/user/john http://www.example.com/user/mary I would like to use subdomain for each user. So it may look like: http://john.example.com http://mary.example.com

Why JasperException Unable to compile

2006-02-07 Thread Ralph.Grothe
Hi Tomcatters, we run two Tomcats on two separate hosts which are assumed to be configured exactly the same (at least as far as Tomcat, Java env, and this webapp are concerned). I have no knwoledge of Tomcat webapps like JSPs and Jasper whatsoever (only administrating the server). While when

Is There a Howto - Again

2006-02-07 Thread Eugene Poole
What I should have asked was: Where can I find a 'HowTo' or a tutorial on HTTP 2.0.53 + Tomcat 5.0.28 + Oracle 10g R2 + Fedora Core 4? Gene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Is There a Howto - Again

2006-02-07 Thread Bjørge Solli
On Tuesday 07 February 2006 15:02, Eugene Poole wrote: What I should have asked was: Where can I find a 'HowTo' or a tutorial on HTTP 2.0.53 + Tomcat 5.0.28 + Oracle 10g R2 + Fedora Core 4? 42.. Both httpd(apache) and tomcat can be installed with yum on FC4. How to use them together

Re: Is There a Howto - Again

2006-02-07 Thread Philipp Jäggi
Don't work in a productive environment with the standard package installation of tomcat from fc4. It's not a so good implementation of tomcat. Especially when you work with Apache Axis. Best way is to remove you tomcat packages and install sun's java and the normal tomcat build. Much faster in

RE: Why JasperException Unable to compile

2006-02-07 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Why JasperException Unable to compile we run two Tomcats on two separate hosts which are assumed to be configured exactly the same (at least as far as Tomcat, Java env, and this webapp are concerned). And what would that

tomcat can't find tc library

2006-02-07 Thread Mark F
I've compiled the tc library and placed it in $DAEMON_HOME but for some reason Tomcat still does not recognize it. DEBUG main org.apache.catalina.core.AprLifecycleListener - The Apache Tomcat Native library which allows optimal p erformance in production environments was not found

Tomcat 5.5.15 Context Reloading issue

2006-02-07 Thread Joey Geiger
I've run into an issue with Tomcat 5.5.15 and the Context reloading. When I change a file in my application, I have the context set to automatically restart. This was working fine with 5.5.12, but there seems to be an issue after I upgraded to 5.5.15. The host is configured as: Host

Re: Can we stop tomcat using System.exit(int)

2006-02-07 Thread Mike Sabroff
when you call System.exit(), you shut down the jvm. It is no wonder that tomcat gets hung. you don't want to make your code specific to tomcat, but yet you want to shut tomcat down?? write a method that does a system call, kill -9 pid catalina.pid is a file containing the pid of the tomcat

RE: Tomcat 5.5.15 Context Reloading issue

2006-02-07 Thread Caldarale, Charles R
From: Joey Geiger [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5.15 Context Reloading issue The host is configured as: Host name=application.com appBase=C:\web\application unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false reloadable=true Context path=

Re: Is There a Howto - Again

2006-02-07 Thread Joe Plautz
You can find just about what ever you are looking for on the web, but I've found that there are several well written books on Tomcat. When I was getting started, I had a copy of Professional Apache Tomcat. It didn't have everything that I needed, but it was most certainly my first stop.

RE: Is There a Howto - Again

2006-02-07 Thread [EMAIL PROTECTED]
For the Oracle part, I can give you a brief coverage of what to expect ( based only upon what I have experienced ). You'll have to install it, I put it on the same machine as tomcat. Then you have to set up listeners on the Oracle instance; these are just the little servers that listen for

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-02-07 Thread Remy Maucherat
On 2/7/06, Remy Maucherat [EMAIL PROTECTED] wrote: For 1), it's simple: Resources are bound in comp/env, while the UserTransaction should go in comp. ResourceLink has a special case for UserTransaction, so it works. There's a special Transaction element which would avoid having to do that, but

Re: Is There a Howto - Again

2006-02-07 Thread Eugene Poole
Joe Plautz wrote: You can find just about what ever you are looking for on the web, but I've found that there are several well written books on Tomcat. When I was getting started, I had a copy of Professional Apache Tomcat. It didn't have everything that I needed, but it was most certainly my

RE: Why JasperException Unable to compile

2006-02-07 Thread Ralph.Grothe
-Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 3:34 PM To: Tomcat Users List Subject: RE: Why JasperException Unable to compile From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Why JasperException Unable

Re: Tomcat and client certificates

2006-02-07 Thread Markus
Ok, I just submitted the bugs #38553 and #38555 for both issues. If you need more information, please let me know via bugzilla. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is There a Howto - Again

2006-02-07 Thread David Smith
In that case, simplify your life by dropping Apache HTTPd from the equation. The only reason to keep Apache HTTPd in the equation is if you have content in other technologies and you don't want to bloody your head against the wall trying to make CGI work with tomcat. Tomcat can easily handle

Re: Calling Realm.authenticate() doesn't register Principal in with the Session??

2006-02-07 Thread Mark Thomas
Ken Johanson wrote: Mark, are you saying that you agree, or disagree, with the usefulness of the idea? I am -0 to the idea as a whole. I don't see the point but am happy to proivde pointers where I can. Mark - To

Re: Tomcat and client certificates

2006-02-07 Thread Mark Thomas
Markus wrote: Ok, I just submitted the bugs #38553 and #38555 for both issues. If you need more information, please let me know via bugzilla. 5.5.x CLIENT-CERT shoudl work with all realms. 5.0.x - don't hold your breath. Mark

MySQL Database / Tomcat Exceptions

2006-02-07 Thread Terence M. Bandoian
Hi- If it isn't already, enabling MySQL error log warnings may provide you with additional information. -Terence M. Bandoian From: Richard S. Huntrods [mailto:[EMAIL PROTECTED] Subject: RE: Would like to know what might be causing this exception in servlet I have one more. This *IS* a real

context.xml my old friend

2006-02-07 Thread Klotz Jr, Dennis
Sanity check please... (I seem to be saying that a lot -- hmm) I cannot get tomcat 5.5.15 to use: $CATALINA_HOME/webapp/Monitor/META-INF/context.xml If I take that same (unchanged) file, move and rename it to: $CATALINA_HOME/conf/Catalina/localhost/Monitor.xml It works fine. Here are the

RE: context.xml my old friend

2006-02-07 Thread George Sexton
It has been noted that the META-INF/context.xml is only read on server startup. It appears that deployment of a new host with a context in the AppBase does not work. http://issues.apache.org/bugzilla/show_bug.cgi?id=38351 George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438

RFC2268

2006-02-07 Thread Martin Gainty
Good Afternoon All I am attempting to locate RFC2268 (RC2) java security providers for J2SDK 1.42 Suggestions??? Thanks, Martin-

Re: RFC2268

2006-02-07 Thread Mike Fowler
Hello, Is this what you are after? http://rfc.net/rfc2268.html Best wishes, Mike Fowler Registered Linux user: 379787 I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round to it -PULP 'Glory Days'

Re: RFC2268

2006-02-07 Thread David Tonhofer, m-plify S.A.
This? http://rfc.net/rfc2268.html --On Tuesday, February 07, 2006 2:10 PM -0500 Martin Gainty [EMAIL PROTECTED] wrote: Good Afternoon All I am attempting to locate RFC2268 (RC2) java security providers for J2SDK 1.42 Suggestions??? Thanks, Martin-

FW: Wrapping Request/Response in a Valve (Tomcat 5.5)

2006-02-07 Thread Molinari, Guy
I'm writing a valve that translates cookies to a certain format. I have a servlet filter that does this by wrapping HttpServletRequest and HttpServletResponse. I want to rewrite this as a valve and want to know the best way to do this. I looked for an example in the code base but I

RE: context.xml my old friend

2006-02-07 Thread Caldarale, Charles R
From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] Subject: context.xml my old friend I cannot get tomcat 5.5.15 to use: $CATALINA_HOME/webapp/Monitor/META-INF/context.xml Do you mean webapp or webapps (the latter is the standard)? If the above was not just a typo, check that it matches

RE: context.xml my old friend

2006-02-07 Thread Klotz Jr, Dennis
Thanks George. In my case, the server restart doesn't help. But that might be because I've changed my Engine parameters from the default. I've turned off autoDeploy. Here is an excerpt from server.xml: Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=false

RE: context.xml my old friend

2006-02-07 Thread Caldarale, Charles R
From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] Subject: RE: context.xml my old friend I've turned off autoDeploy. That should not affect deployment of apps that are already in the webapps directory, only deployment of ones added after Tomcat starts. It's the deployOnStartup attribute that

RE: context.xml my old friend

2006-02-07 Thread Klotz Jr, Dennis
Thanks Chuck. And yes the webapp was a typo. :) So perhaps I need to file a bug on this, because this seems to be a different problem than: http://issues.apache.org/bugzilla/show_bug.cgi?id=38351 -Dennis -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent:

turning off sessions

2006-02-07 Thread David Durham
Anyway to configure a Tomcat 5.5 app to not create sessions through META-INF/context.xml? The closest thing I've found was the maxInactiveInterval attribute of the manager element. E.g., Context path=/app manager maxInactiveInterval=6/ /Context But, even that doesn't work properly.

Re: SSL with Tomcat 55

2006-02-07 Thread Patrick Lacson
Wes, Can you post instructions on how you got tomcat 5.5 to work with the trial test cert from Verisign? I've followed the tomcat-5.5 ssl how to docs and no success. Thanks. On 8/19/05, Hayes, Wes [EMAIL PROTECTED] wrote: Good Morning, I am the Network Admin working with a programmer

Verisign SSL on Tomcat 5.5.9

2006-02-07 Thread Sycamore Days
Tomcat experts: I'm on a windows xp SP2 system running jdk 1.5 with tomcat 5.5.9 and trying to test SSL functionality. Getting a self-signed certificate is trivial enough via the online 5.5 SSL HOWTO. But trying to get the verisign SSL (free trial) cert to work has been impossible. I've

RE: context.xml my old friend

2006-02-07 Thread Klotz Jr, Dennis
Well actually, that is good news to hear! When you did this, do you get a copy of the context.xml within Catalina/localhost renamed to probe.xml? -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 3:28 PM To: Tomcat Users List

RE: Application specific tomcat recycle?

2006-02-07 Thread Biernesser, Beth
Thanks, Tim. -Original Message- From: Tim Lucia [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 3:04 PM To: 'Tomcat Users List' Subject: RE: Application specific tomcat recycle? The manager app provides independent application stop, start, reload, and undeploy operations.

Basic modjk + ssl + tomcat question

2006-02-07 Thread Ed
Hi! (modjk newbie) I'm using a modjk+SSL config (I did not make myself) that is mapped to a single worker. Behind, a single AJP connector recieves everything. The question is : how do I know from my webapp that a request is using SSL or not. I saw the secure configuration attribute to the

Re: turning off sessions

2006-02-07 Thread David Durham
Tim Lucia wrote: Tomcat doesn't create sessions. Web applications create sessions. I.e., code says: HttpSession session = ((HttpServletRequest)request).getSession({true|false}); // true for create if not exist, false for don't create); That's strange because there is no call to getSession()

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-02-07 Thread Matt Raible
Thanks Remy - this is good stuff, I didn't know about the Transaction element. Is that new in 5.5.x? Is it documented anywhere? As far as the JARs location - this shouldn't matter should it? I can put it in $CATALINA_HOME/common/lib *or* in WEB-INF/lib - right? I've tried changing my context,

RE: turning off sessions

2006-02-07 Thread Tim Lucia
Interesting. You are right. A trivial jsp with only text inside produces a session. I am fairly certain I have seen servlets (not JSPs) behaving without any session tracking at all. -Original Message- From: David Durham [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 4:37

RE: turning off sessions

2006-02-07 Thread Tim Lucia
/** * Process HTTP request * @param request HTTP Request object * @param response HTTP Reqponse object */ public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {

RE: context.xml my old friend

2006-02-07 Thread Caldarale, Charles R
From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] Subject: RE: context.xml my old friend When you did this, do you get a copy of the context.xml within Catalina/localhost renamed to probe.xml? Nope - no extra copies of the file containing the Context tag were created. - Chuck THIS

RE: context.xml my old friend

2006-02-07 Thread Klotz Jr, Dennis
I have more information. Apparently, with 5.5.15 the webapps/Monitor/META-INF/context.xml works when run under windows xp but not under linux. :( I've been trying to figure out what we are doing different but I haven't figured it out yet. -Dennis -Original Message- From: Caldarale,

RE: turning off sessions

2006-02-07 Thread Ed
Yep, JSPs automatically create sessions (part of the JSP spec certainly). To turn session off put %@ page session=false % in your JSP. Beware, that web frameworks such as struts may also create sessions for other purposes (eg, storing the locale). you may also turn this off Hope it helps

RE: turning off sessions

2006-02-07 Thread Tim Lucia
Thanks! Now I do remember seeing this. Been a long time since I have created a stateless application, I guess ;-) -Original Message- From: Ed [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 6:15 PM To: users@tomcat.apache.org Subject: RE: turning off sessions Yep, JSPs

anyway to disable undeploy link in manager app?

2006-02-07 Thread Gary
Is there a way to configure tomcat or the web app so that the tomcat manager disables the undeploy command for that application? I'd like to prevent some of my apps from being undeployed from the web manager. Thanks, Gary -

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-02-07 Thread Remy Maucherat
On 2/7/06, Matt Raible [EMAIL PROTECTED] wrote: Thanks Remy - this is good stuff, I didn't know about the Transaction element. Is that new in 5.5.x? Is it documented anywhere? No. It's not useful to anyone (well, almost) either. As far as the JARs location - this shouldn't matter should

Re: Calling Realm.authenticate() doesn't register Principal in with the Session??

2006-02-07 Thread Ken Johanson
Mark Thomas wrote: Ken Johanson wrote: Mark, are you saying that you agree, or disagree, with the usefulness of the idea? I am -0 to the idea as a whole. I don't see the point but am happy to proivde pointers where I can. Mark Okay - do you have any pointers for this need?: (please

Re: anyway to disable undeploy link in manager app?

2006-02-07 Thread Glen Mazza
Gary wrote: Is there a way to configure tomcat or the web app so that the tomcat manager disables the undeploy command for that application? I'd like to prevent some of my apps from being undeployed from the web manager. You know that you can limit the users who are authorized to access the

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-02-07 Thread Matt Raible
On 2/7/06, Remy Maucherat [EMAIL PROTECTED] wrote: On 2/7/06, Matt Raible [EMAIL PROTECTED] wrote: Thanks Remy - this is good stuff, I didn't know about the Transaction element. Is that new in 5.5.x? Is it documented anywhere? No. It's not useful to anyone (well, almost) either. Just

Re: newbie:access tomcat virtual host via apache

2006-02-07 Thread matador
Dieter Schicker [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: If you can't mount / because you also run php on apache, you can afaik only mount specific directories of tomcat in Apache, e.g. http://foo.bar.com:8080/jsp-examples = http://foo.bar.com/jsp-examples. In Google you can find

RE: newbie:access tomcat virtual host via apache

2006-02-07 Thread Tim Lucia
I used Apache's mod_rewrite and some rewriting rules, like this: # This 'works' except that cookies are set by tomcat under /v31 (JSESSIONID) NameVirtualHost www.mysite.test:80 VirtualHost www.mysite.test:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/local/mysite/v31 ServerName

Re: Why JasperException Unable to compile

2006-02-07 Thread Bill Barker
From the format of the error message, this is some version of Tomcat 3.3.x. To get more information, add the attribute debug=99 to the JspInterceptor / element in server.xml (and, of course, restart Tomcat :). [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Tomcatters, we run two

RE: Virtual Directory

2006-02-07 Thread Caldarale, Charles R
From: sumesh [mailto:[EMAIL PROTECTED] Subject: Virtual Directory How can I create a Virtual Directory in Apache Tomcat? I have installed tomcat in C:\Program Files\Apache Group\Tomcat 4.1 and I have some Tutorials in E:\Tutorial .I want to publish the same using the same Web

Having problem with special characters

2006-02-07 Thread Randy Paries
Hello, Please help I have to tomcat servers. Same version of OS fedora 4 and apache-tomcat-5.5.15 this is driving me crazy i am in a form, it calls a servlet and the servlet writes a file the character i am trying to write is £ on one machine it writes a £ but on the other machine it writes a

get element by long name

2006-02-07 Thread Tony Smith
in my jsp, there is something like: html:text property=plateDetail.name value=${plateDetailEditForm.plateDetail.name} / How can I get this element in javascript? the following code does not work: var name = document.getElementByName(plateDetail.name).value; I think it is because there is a

Disable Low stregth encryption in Tomcat 4.1.30

2006-02-07 Thread reyus1
Hi All, I am using Tomcat 4.1.30 stand-alone with j2re1.4.2_04 to serve HTTPS connections. I would like to disable the support for low encryption ciphers like SSL_RSA_EXPORT_WITH_RC4_40_MD5. I have seen from the following page that these are the supported ciphers:

RotateLogs in Apache 2.0

2006-02-07 Thread Nehal Sangoi
Hi I need to rotate logs in apache 2.0 once they reach the size limit of 5 MB. What commands would work to carry out the reqd. job? Thanks Nehal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: RotateLogs in Apache 2.0

2006-02-07 Thread Caldarale, Charles R
From: Nehal Sangoi [mailto:[EMAIL PROTECTED] Subject: RotateLogs in Apache 2.0 I need to rotate logs in apache 2.0 once they reach the size limit of 5 MB. What commands would work to carry out the reqd. job? Why would you be asking an Apache httpd question on the Apache Tomcat mailing

RE: RotateLogs in Apache 2.0

2006-02-07 Thread Nehal Sangoi
My Apologies !! - Nehal -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 11:47 AM To: Tomcat Users List Subject: RE: RotateLogs in Apache 2.0 From: Nehal Sangoi [mailto:[EMAIL PROTECTED] Subject: RotateLogs in Apache 2.0 I

Re: anyway to disable undeploy link in manager app?

2006-02-07 Thread Amila Suriarachchi
Is there a way to configure tomcat or the web app so that the tomcat manager disables the undeploy command for that application? I'd like to prevent some of my apps from being undeployed from the web manager. you can do this by changing the source code. you have to change the

WG: Tomcat Administrator Web Application was not found

2006-02-07 Thread Andre Doeking
Hello! I've installed the Tomcat 5.5.15 on RedHat 4 working with Java 1.5.06 (Core + Administration Web Application). The Core + Administration Web Application were unpacked in the same directory. The installation was successfull, so that I can see the Tomcat Welcome-Page in the browser. I have

Antwort: WG: Tomcat Administrator Web Application was not found

2006-02-07 Thread Andre Doeking
Hello! Sorry, after stoping the service, deleting the contents of the working directory of Tomcat and starting the service, it seems that it is still don't working. But after reloading the page in Mozilla Firefox I can see the Administration Web Application. Yours sincerely Andrè Döking