Re: tomcat-users.xml config in tomcat 6

2007-03-12 Thread Parsons Technical Services
Jacob, Did you restart Tomcat? Can you post your tomcat-users.xml? Doug - Original Message - From: "Jacob Rhoden" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, March 12, 2007 11:12 PM Subject: tomcat-users.xml config in tomcat 6 This is probably something very dumb on

Re: tomcat inserts leading / on include file

2006-11-30 Thread Parsons Technical Services
What OS? Case sensitivity? Spelling? \ instead of a / ? Just thoughts. Doug - Original Message - From: "IT Desk" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, November 30, 2006 8:25 PM Subject: tomcat inserts leading / on include file In my jsp, I have: <%@ includ

Re: Stopping Tomcat

2006-10-19 Thread Parsons Technical Services
One approach that would work with any app is to use a set of lock files. Set a lock file say TomcatStart at the beginning of the start script. Delete it and set a TomcatRun file upon completion of the start script. Check for the presence of the files in the Java application. TomcatStart exists: T

Re: IPTABLES

2006-10-19 Thread Parsons Technical Services
So, if I read correctly you have no problems running you apps as root? If this is true, then I say you have a very weak security posture. Might I suggest you do some additional research on the subject. And that those who run things in a chroot jail must be real paranoid freaks. And now this p

Re: Problem Using Tomcat Connector on Windows 2000 Advanced Server

2006-10-18 Thread Parsons Technical Services
Darryl, Not a Tomcat on Windows myself, but a couple of things. Are you running a firewall on the box of any kind? What port do you have Tomcat configured to use? Past that I am sure the question of version will arise. Server (given) Tomcat Java You mentioned connector? Connector to what and wh

Re: IPTABLES

2006-10-18 Thread Parsons Technical Services
Rodrigo, Since it appears that you have not gotten an answer, I will take a stab at this. I am running CentOS 4 on one of my boxes and I used this method. I think you are running into the same issue I did with iptables. Open the iptables file in /etc/sysconfig. DO NOT edit it here. Just look a

Re: hardening and securing tomcat in a production environment

2006-10-16 Thread Parsons Technical Services
Hello, From my experience the server is pretty good out of the box. Of concern is what is done after it is installed as well as during the install. During the install, the typical issues of rights and such need addressed as far as securing the server. But putting the server aside and focusing

Re: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Parsons Technical Services
Try this: http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq_0.htm#05_03 Otherwise there is some differences in the parameter names. Others have used connectionUser and connectionPassword , I think it was. You can search the archives for OracleDriver to see what I mean. Sor

Re: Virtual Host related question

2006-07-24 Thread Parsons Technical Services
Not having done this myself I cannot swear to it, but I have seen similar questions and I think the suggested solution was usually a filter. You can grab the request, parse the url and re-write it to suite. As for details, others will have to fill in those. Search Google for filters and see wh

Re: Servlet on FileTypes

2006-06-09 Thread Parsons Technical Services
Try just using *.page only. - Original Message - From: "Kenneth Østby" <[EMAIL PROTECTED]> To: Sent: Friday, June 09, 2006 8:39 AM Subject: Servlet on FileTypes Hey.. I'm trying to map **/*.page to a spesific servlet, and I can't find any documentation about. Is there a way that

Re: tomcat doesn't deliver page on first call

2006-05-18 Thread Parsons Technical Services
And if it takes long enough the browser will give up and time out. Thus giving the appearance of Tomcat not serving on the first request. Doug - Original Message - From: "Hugh Morgan" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, May 18, 2006 6:59 AM Subject: Re: tomcat

Re: Help with Tomcat & MySQL using JNDI

2006-05-17 Thread Parsons Technical Services
There is no such critter. I wish it was that simple but due to the needed elements that lie outside the war you need to roll up your sleeves and dig in. First I need to let you know I may not be able to respond in a timely manner. Busy schedule. Now I will assume you have reviewed http://to

Re: More virtual hosting problems!!

2006-05-15 Thread Parsons Technical Services
app ROOT.war. Say I want to name my app under rizapps something like myapplication.war ...what would the settings be for docbase and path in this case? i.e there would be no ROOT application under rizapps. Thanks again! :) Parsons Technical Services wrote: I need to clarify that the context.xml shou

Re: Run class in the start up of Tomcat

2006-05-15 Thread Parsons Technical Services
Are you wanting to start a servlet or load a class? You can load a servlet at the application level. load-on-startup in the servlet class element in the web.xml of the app. Scored srm.Scored 1 The number indicates the order that the servlet is loaded. As for a class you will

Re: More virtual hosting problems!!

2006-05-14 Thread Parsons Technical Services
each app under rizapps)?? Hope my question is clear and that you can help me here. Thanks, -Riz. Parsons Technical Services wrote: First to your issue below. Problems: The workDir belongs in the Host section and not in the context. The path to the workDir end in an underscore. The defaul

Re: More virtual hosting problems!!

2006-05-12 Thread Parsons Technical Services
n the example from the OP... The above statement is exactly opposite of what you posted, is it not? To my recollection, and despite the fact that it is (now) frowned upon, path="/something" has always worked in server.xml... since my days with Tomcat 3.x. Tim -Original Message-

Re: More virtual hosting problems!!

2006-05-12 Thread Parsons Technical Services
case in the example from the OP... The above statement is exactly opposite of what you posted, is it not? To my recollection, and despite the fact that it is (now) frowned upon, path="/something" has always worked in server.xml... since my days with Tomcat 3.x. Tim -Original Message-

Re: More virtual hosting problems!!

2006-05-12 Thread Parsons Technical Services
path in the context and it was respected. Tim -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 11:12 PM To: Tomcat Users List Subject: Re: More virtual hosting problems!! One issue is that the path element can only be set to

Re: More virtual hosting problems!!

2006-05-11 Thread Parsons Technical Services
One issue is that the path element can only be set to "" when you use it in the server.xml. Doug - Original Message - From: "Rizwan Merchant" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, May 11, 2006 1:37 PM Subject: Re: More virtual hosting problems!! I got this w

Re: Tomcat config with APACHE and mutliple VHOST

2006-05-05 Thread Parsons Technical Services
Any reason you need Apache? You can do the Vhost with Tomcat alone. Just an option. Doug - Original Message - From: "Pascal" <[EMAIL PROTECTED]> To: Sent: Friday, May 05, 2006 9:03 PM Subject: Tomcat config with APACHE and mutliple VHOST Hello, I not really found revelant info on

Re: Easy Tomcat Linux/Unix Platform

2006-04-30 Thread Parsons Technical Services
If you would like to use a current version of RedHat there are several clones. One that I use is TAOLinux. It is currently RHEL4. The goal of this project was to create as close to a RedHat release as possible. If you set up the GUI there is a very straight forward security tool to do the firew

Re: Daily log rotation?

2006-03-29 Thread Parsons Technical Services
Write a patch and submit it. - Original Message - From: "David Kerber" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, March 29, 2006 9:21 PM Subject: Re: Daily log rotation? Boy, log rotation sure seems like it would be a reasonable function to have built into tomcat

Re: Tomcat 5.5.16 Virtual Hosting Bug ?

2006-03-24 Thread Parsons Technical Services
Since no one has tackled this yet, I will give you my take on it. I think that you have an issue in using the same domain name on the virtual host. What you may want to do is try it with two different domain names. test1.myserver1.com test2.myserver2.com See if you get the same results. If ye

Re: Is this tomcat or my app?

2006-03-09 Thread Parsons Technical Services
Or if your situation allows run Tomcat without Apache. Doug - Original Message - From: "Filip Hanik - Dev Lists" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, March 09, 2006 12:00 PM Subject: Re: Is this tomcat or my app? there are two answers, one easy and one diffic

Re: Invoker servlet

2006-03-08 Thread Parsons Technical Services
Do a search on servlet mapping. It will go in your web.xml. Doug - Original Message - From: "Devireddy, Nagendra Reddy (STSD)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Tomcat Users List" Sent: Wednesday, March 08, 2006 12:57 AM Subject: RE: Invoker servlet Hi Wendy, Thanks

Re: DataSourceRealm Configuration Question (5.5.15)

2006-03-02 Thread Parsons Technical Services
As other's have noted, both. The difference is that "in the context" will limit to just that app being able to access it and "in the server" is global so that all apps can access it. Doug - Original Message - From: "James Reynolds" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent:

Re: Java Question

2006-02-22 Thread Parsons Technical Services
Okay. Now for a few of my hair brain ideas. Every once in a while I get lucky and actually suggest something that works. As for the files returning to the original state: I am totally ignorant on JBoss. If there is an archive of any type present my guess is that either the app is running from

Re: JNDI Datasource Problem

2006-02-19 Thread Parsons Technical Services
Look up resource link. It goes in the context.xml Also only put the jar file in the common/lib and no where else. - Original Message - From: "Mark Whitby" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, February 19, 2006 12:53 PM Subject: JNDI Datasource Problem Hey guys,

Re: Assistance required

2006-02-16 Thread Parsons Technical Services
Search the archives as this has been done many times on the list. Links are available on the website along with some basic instructions. Secondly we would also need the Tomcat version you are running in order to assist you. Doug - Original Message - From: "Medha Parathasarathy" <[EM

Re: is it ok to run tomcat 3.3 in jre 1.4?

2006-02-16 Thread Parsons Technical Services
Yes. By the nature of the design, Java is almost always backward compatible in that older software will run on newer versions. As usual there are sometimes exceptions to this. If you are going to change Java version, you may wish to change it to the current version. 1.5 is very stable, compati

Re: Tomcat5.15 basic setup question

2006-02-12 Thread Parsons Technical Services
Bob, Not a very good application if they are doing that. Hard coding things such as IP addresses is just asking for headaches. I take it that you have a link or a button with an action that is sending you to the desired page. Remove the "http://mirc.10.x.x.x.com:8080/mirc/"; and simply leave

Re: Encrypting ajp13 traffic

2006-02-12 Thread Parsons Technical Services
Sasha, There are several ways to accomplish this, and I think it has been mentioned on the list before but I don't remember a "best way" if it was decided there is one. Options include: VPN IPSec (part of VPN) ssh isolated lan segment (if feasible, IE your side of network) There may already

Re: install tomcat under linux (java problem)

2006-02-12 Thread Parsons Technical Services
May I suggest you start a new thread (new email) with the appropriate subject? It helps prevent the erroneous replies as well as helps in future searches through the achieves. Additionally many list members watch the threads by the subject and may be ignoring this thread and yet have the answer

Re: Using Tomcat over NFS over multiple hosts, want to separate locations of directories

2006-02-09 Thread Parsons Technical Services
"Mark Demma" <[EMAIL PROTECTED]> To: "Tomcat Users List" Cc: "Parsons Technical Services" <[EMAIL PROTECTED]> Sent: Thursday, February 09, 2006 11:02 PM Subject: Re: Using Tomcat over NFS over multiple hosts, want to separate locations of directories

Re: Using Tomcat over NFS over multiple hosts, want to separate locations of directories

2006-02-09 Thread Parsons Technical Services
What version of java are you running? - Original Message - From: "Mark Demma" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, February 09, 2006 10:38 PM Subject: Re: Using Tomcat over NFS over multiple hosts, want to separate locations of directories -BEGIN PGP SI

Re: Problem with setting up an SSL secure page

2006-02-08 Thread Parsons Technical Services
What is in the logs? - Original Message - From: "Mark Whitby" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 08, 2006 11:02 AM Subject: Problem with setting up an SSL secure page Dear all, I am currently designing a final year project for my University course and I am having p

Re: Is this achievable with TC? - A domain-subdomain configuration question

2006-02-08 Thread Parsons Technical Services
Yes, it is achievable. But may not be worth it. Only you can decide that. Take a look at the Host element. There is a feature called alias that allow you to point all subdomains to the same application. From there it is up to you to parse out the information to determine the appropriate response

Re: Tomcat and subdomain

2006-02-07 Thread Parsons Technical Services
You can use an alias to point them all to the same host. From there you will need to parse out the url to direct them to the proper information. - Original Message - From: "Myatluk Andrey" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, February 07, 2006 8:46 AM Subject: T

Re: multiple domain names

2006-02-06 Thread Parsons Technical Services
ary 06, 2006 8:13 PM Subject: Re: multiple domain names Take a look at http://httpd.apache.org/docs/1.3/mod/core.html#virtualhost Martin- - Original Message - From: "Parsons Technical Services" <[EMAIL PROTECTED]> To: "Tomcat Users List" ; <[EMAIL PROTECTED]>

Re: Tomcat stops automatically

2006-02-06 Thread Parsons Technical Services
Check you logs. Decipher the script to determine exactly what it did. Check the FAQ for Tomcat Crash. If no one is browsing does it still crash? Watch your processes and see which one is using processor when Tomcat crashes. - Original Message - From: "netsonic netsonic" <[EMAIL PR

Re: multiple domain names

2006-02-06 Thread Parsons Technical Services
Yes. Virtual Hosts - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Monday, February 06, 2006 1:22 PM Subject: multiple domain names I can read the tomcat docs myself to figure out the details, but I just want to know if this is something done within tomcat or not. I

Re: MySQL Database / Tomcat Exceptions

2006-02-06 Thread Parsons Technical Services
How are you creating the connection and are you trying to maintain it? Unless you are using a pool that is designed to deal with MySQL you need to handle the timeout of the connection to the db. If you are trying to hold onto the connection, MySQL will drop it after some time. To you app it will

Re: Re: Apache + Tomcat, Tomcat only handles JSP in localhost

2006-01-10 Thread Parsons Technical Services
Don't forget the alternate trick of port(s) redirection. For some it is simpler. I use jsvc on TAO Linux, a RedHat clone. Doug - Original Message - From: "Warren Pace" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, January 10, 2006 9:50 PM Subject: Re: Re: Apache + Tomcat