Re: using a datasource connection pool resource with username and password supplied by user

2005-10-09 Thread Parsons Technical Services
Chuck is right in that it can't be done with the standard pool that Tomcat has. Due simply to the fact that the pool is established before anyone has made a call to the server. But what you could do is to create a connection for that user when they authenticate and hold on to the connection

Re: MyServlet as default servlet in tomcat 5.0.27

2005-10-02 Thread Parsons Technical Services
Rename your war to ROOT.war and deploy it. Or you can manually deploy the app and point the default Host element to the new appBase location. Doug - Original Message - From: Partheeban Boopathy [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Friday,

Re: Configure multiple number of aliases / sub-domains

2005-09-22 Thread Parsons Technical Services
I don't think that Tomcat can do that without some hacking. I think that you may be able to accomplish what you need by doing a little redirecting. You might be able to use a filter to parse and redirect the request to the base domain. Or use the default host as a catch all and the

Re: Create Valve and Deploy How to Help Please ????

2005-09-21 Thread Parsons Technical Services
Remove thyself. Look at the bottom of the email. Spamming the list will not help. The list admins are not on 24/7. Doug - Original Message - From: [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Wednesday, September 21, 2005 7:36 AM Subject: RE: Create Valve and Deploy

Re: Wher do I get binary of Tomcat

2005-09-15 Thread Parsons Technical Services
-alpha Potential for bugs and possibly lots of them and/or major ones. -beta They think that most of the bugs are squashed. No suffix stable and should run without major issues. As for the other extensions try the readme file at the top of each section.

Re: Wher do I get binary of Tomcat

2005-09-15 Thread Parsons Technical Services
That's why I don't gamble.:) Doug - Original Message - From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Thursday, September 15, 2005 9:29 PM Subject: RE: Wher do I get binary of Tomcat From: Parsons Technical Services [mailto

Re: How to change the SSL port

2005-09-15 Thread Parsons Technical Services
What OS are you on and what services are running? It sounds like something else has the port tied up. If you can post a list of the services maybe someone might spot it. If you are on windows there are some apps out that can map the app/service to the ports being used. If on Linux, which

Re: Problem making my servlet the default servlet (instead of ROOT)

2005-09-13 Thread Parsons Technical Services
If I do Context path=/ docBase=store., then http://localhost:8080/cart.faces returns an error 404. Yep. It will. Since you are using the path attribute I assume this is in the server.xml and to set it as the root you would use . If you specify a context path of an empty string (), you are

Re: No Host matches server name localhost error

2005-08-30 Thread Parsons Technical Services
Per the 5.5 doc you can't do it that way. You can only specify the path as a blank string when the context element is in the server.xml. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html Look at the path attribute. Doug - Original Message - From: Brian Moseley

Re: Database Pooling

2005-08-30 Thread Parsons Technical Services
MySQL shuts down the connections after 8 hours. Ran into this myself. Yes, Tomcat has pooling built in. Yes, it handles all aspects of the pool. Try this link to start with: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html It is directed more to the database

Re: No Host matches server name localhost error

2005-08-30 Thread Parsons Technical Services
somewhere there is someone who doesn't like it. Doug - Original Message - From: Thomas Corte [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, August 30, 2005 4:28 PM Subject: Re: No Host matches server name localhost error Hi, Parsons Technical

Re: Got trouble with virtual hosts

2005-08-29 Thread Parsons Technical Services
Unless there is another reason, why not drop Apache and run only Tomcat? It can handle the virtual hosts just fine. This would simplify the setup considerably. Doug - Original Message - From: rueh hänä [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Monday, August 29,

Re: Got trouble with virtual hosts

2005-08-29 Thread Parsons Technical Services
... --- Ursprüngliche Nachricht --- Von: Parsons Technical Services [EMAIL PROTECTED] An: Tomcat Users List tomcat-user@jakarta.apache.org Betreff: Re: Got trouble with virtual hosts Datum: Mon, 29 Aug 2005 07:41:50 -0400 Unless there is another reason, why not drop Apache and run only Tomcat? It can

Re: Please kill the MAIL FAILURE user

2005-08-24 Thread Parsons Technical Services
Yes there is one or more but they are not always online. Doug PS: As to the subject line, if I had his/her home address it would be very tempting. - Original Message - From: Larry Meadors [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday,

Re: Multiple virtual hosts NEWBIE (UNCLASSIFIED)

2005-08-17 Thread Parsons Technical Services
Start here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/engine.html Then read the link for host. Simply put, for each website put a host element in for that site. But make sure you understand the default host. Doug - Original Message - From: Hassan Schroeder [EMAIL

Re: virtual host memory usage

2005-08-13 Thread Parsons Technical Services
To my knowledge (sometimes limited but open to expansion) the answer is no. I base this on the understanding that each host loaded by Tomcat takes up memory space. Then add the application to that. Doug - Original Message - From: Oleg [EMAIL PROTECTED] To: Tomcat Users List

Re: Viewing Web Resource Updates without Restarting Tomcat

2005-07-28 Thread Parsons Technical Services
What version are you running? Doug - Original Message - From: Martyn George [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Wednesday, July 27, 2005 10:59 PM Subject: Viewing Web Resource Updates without Restarting Tomcat Currently, I wish to make minor changes to web

Re: help in setting up

2005-06-28 Thread Parsons Technical Services
It depends: 5.5.x only needs JRE 5.0.x and earlier versions needs full JDK As for version I recommend Java 1.5 and it is required for the 5.5.x version unless you use the compatibility patch for 1.4 Doug - Original Message - From: ganesan malairaja [EMAIL PROTECTED] To:

Re: Virtual hosts with standalone tomcat 5.5.9

2005-06-25 Thread Parsons Technical Services
You can't do it that way. At least the testing. You either have to set up DNS to resolve both names back to the IP or put entries in your host file. When you do a request to the server the header holds the URL and when you use the localhost that is what is sent in the header. Tomcat then will

Re: Where is Admintool?

2005-06-18 Thread Parsons Technical Services
http://apache.intissite.com/jakarta/tomcat-5/v5.5.9/bin/jakarta-tomcat-5.5.9-admin.tar.gz Look on this page under 5.5.9 the ninth bullet down has 5.5.9 Admin tar.gz The 10th one is the zip version. http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi Doug - Original Message

Re: Vexing problem with Tomcat 5.0.28/Pointbase/JNDI/ConnectionPooling

2005-06-11 Thread Parsons Technical Services
Try this: parameter namedriverClassName/name valuecom.pointbase.jdbc.jdbcUniversalDriver/value /parameter in place of: parameter namedriverClassName/name valuecom.pointbase.jdbc.jdbcDataSource/value /parameter Doug - Original Message -

Re: Turning off port 8080 but still need to access to admin pages

2005-06-09 Thread Parsons Technical Services
This will do what you need. Set it to only accept the IP of the machine or machines you wish to connect. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/valve.html#Remote%20Address%20Filter Another way that might work is to set the address element in the HTTP connector. You could try

Re: Issue with a class not being resolved with a strange error

2005-06-04 Thread Parsons Technical Services
Unless you made a typo in your email, you have a typo in index.jsp. The error says RidDB. The a is missing. Search the file for RidDB. Doug - Original Message - From: Thomas Polliard [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Saturday, June 04, 2005

Re: tomcat 5.5.9 does not read context.xml

2005-06-02 Thread Parsons Technical Services
The value of this field(Path) must not be set except when statically defining a Context in server.xml, This is found on this page under the Path attribute, http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html Doug - Original Message - From: teknokrat [EMAIL

Re: Slow shutdown in tomcat

2005-06-01 Thread Parsons Technical Services
Look at your server.xml You will find the references to the used ports there. I think the one you are looking for is the shutdown port at either 8005 or 8009. Have your firewall allow connections to this port from the IP defined as localhost as well as the IP of the machine if not the same.

Re: Problems with Tomcat 5.5.9 + Apache 2.0.49

2005-06-01 Thread Parsons Technical Services
As I do not use Mod_jk or jk2 and so I will not be able to help in that sense, but often I see the time spent on this when Apache is not needed. So I ask, why do you want Apache? If you have valid reasons, no problem, just trying to save you some time. A couple of points to consider: Mod_jk2

Re: Tomcat service terminated unexpectedly

2005-06-01 Thread Parsons Technical Services
What is in the logs? Did it start this at some point or has it been happening all along? Consider updating you JDK. You may even try 1.5 as it is faster. Check you debug settings and turn them up. Look in the logs for the last connection/request to see what was being asked for. If needed set

Re: Tomcat in chroot

2005-06-01 Thread Parsons Technical Services
Apparently you are seeing what users of some flavors of *nix see. That is you are seeing each thread as a separate process rather than one. When running a chroot environment things act a little differently. I would not be too concerned as long as top reports back proper memory usage. Note that

Re: Suddenly, can't access a tomcat

2005-06-01 Thread Parsons Technical Services
Are you running out of db connections? Add elements to your resource for the database connection to recover abandoned connections and to log them. Then see if any show in the logs. Poor way of profiling. If they do and your app continues to run you were running out of db connections. Note:

Re: Auto-Deployment Problems (Real Version)

2005-05-28 Thread Parsons Technical Services
Just a few suggestions. Check the logs. Turn up debugging if nothing shows. It sounds like something has a lock on a file and Tomcat can't remove it. If this is the case your next move is to look at your app. Are you creating any threads or objects that are not getting cleaned up by the

Re: Force Non-SSL

2005-05-25 Thread Parsons Technical Services
Since there is no way to maintain the session without hacking Tomcat, as Tim said no. But what you could try is a single use password. User hits the SSL encrypted login page. User authenticates with normal username and password. Random string password is created and stored in database and put

Re: Tomcat Training

2005-05-24 Thread Parsons Technical Services
I am in VA and the local Community College does a seminar on it. I am not aware of any formal training. I would suggest Google. Doug - Original Message - From: Tim Sodergren [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Sent: Monday, May 23, 2005 2:47 PM

Re: Can mulitple domains share one web app?

2005-05-24 Thread Parsons Technical Services
] Sent: Monday, May 23, 2005 3:42 PM Subject: RE: Can mulitple domains share one web app? So would this be an alias within apache or tomcat? Thanks Randy From: Parsons Technical Services [EMAIL

Re: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files?

2005-05-23 Thread Parsons Technical Services
Jack, To use the batch files you need to set it as an Environment Variable. The catalina.bat file will the pick it up and add it to command line. If you are wanting to do some quick testing, I think you MAY be able to include it on the command line with startup.bat. I don't run on Windows so

Re: 5.5.9 - ant deploy

2005-05-23 Thread Parsons Technical Services
Not having done this myself, try with no path attribute and a war file named a#b.war I think that was the recommendation from prior posts that worked. Doug - Original Message - From: Pfingstl Gernot [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Monday, May 23, 2005

Re: Reload on Tomcat 5.5

2005-05-22 Thread Parsons Technical Services
I don't run 5.5, but it sounds like you may be running into an issue that has plagued several others on the list. 5.5 has a hard time letting go of the cache/workfiles. I notice that you said the program updates fine, what are you doing that a reload should update? An undeploy will normally

Re: Reload on Tomcat 5.5

2005-05-22 Thread Parsons Technical Services
Robert, Now that Remy has tested it in his perfect world, this gives some direction to work in. It would appear that with a basic setup, which we can only assume since Remy assured you that it works, that there must be a OS issue. I wonder what Remy runs? If you decide to dig deeper, I

Re: Reload on Tomcat 5.5

2005-05-22 Thread Parsons Technical Services
- From: Remy Maucherat [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Sunday, May 22, 2005 12:03 PM Subject: Re: Reload on Tomcat 5.5 On 5/22/05, Parsons Technical Services [EMAIL PROTECTED] wrote: Robert, Now that Remy has tested it in his perfect world, this gives

Re: Environment in Tomcat 5.0.28 not working with multiple tomcat services in server.xml

2005-05-20 Thread Parsons Technical Services
You did specify a different IP for each connector? Else the 2nd one will fail because the port is in use. Unless the ports on all connectors are different. Doug - Original Message - From: Iannis Hanen [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Cc: [EMAIL PROTECTED] Sent:

Re: start tomcat-4.1.31 with jsvc?

2005-05-20 Thread Parsons Technical Services
http://jakarta.apache.org/commons/daemon/jsvc.html http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html Don't use the args from the website. I never got them to work. Use the script files included for jsvc, tomcat.sh . There is a note on the second link about changing the filename to

Re: Cannot Login After Upgrade From 4.0.4 to 5.0.28

2005-05-20 Thread Parsons Technical Services
Look at the admin app. It uses a form login. Also compare the web.xml of the admin app. Hopefully you can spot any differences. Doug - Original Message - From: John Lindley [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Thursday, May 19, 2005 5:51 PM Subject: Cannot Login

Re: DBCP Exception

2005-05-20 Thread Parsons Technical Services
Post the parts of your config files that pertain to the database and a code snippet where you are calling out the connection. Looks like a misconfiguration but only a guess until we see the configs. Don't forget to change passwords and user names before posting. Also what OS JVM and Tomcat

Re: Can mulitple domains share one web app?

2005-05-20 Thread Parsons Technical Services
Alias might do what you want with one reservation, you cannot have www.mydomain.com/bob www.yourdomain.com/bob as different folders. These will be the same folder. So each /folder will have to be unique even though the domain names are different. Doug - Original Message - From: Randy

Re: Tomcat vs Apache

2005-05-19 Thread Parsons Technical Services
Look here: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/default-servlet.html If you override the mapping by putting your own reference to the default in your web.xml for the app, you should be able to map it the way you want and then have a mapping to your servlet with the / path. Or have

Re: No suuuccchh llllliiiisssssttttttttttttt

2005-05-17 Thread Parsons Technical Services
And even higher on the list of to-do's is to prevent it in the first place. Would it be possible to force user intervention on the subscription confirmation? Rather than have a reply confirm it have a subject in the body that must be copied to the subject line to complete the confirm process.

Re: Sharing Data Sources

2005-05-13 Thread Parsons Technical Services
Just to clarify something: Where are you specifying the global data sources? In server.xml or ROOT.xml? It should be in root. Just checking. Second, what do you need to change? There is very little in the link to begin with. Since the change would affect all apps then I couldn't see needing to

Re: question about load-on-startup in web.xml

2005-05-10 Thread Parsons Technical Services
I may be off base on this one but I think that once Tomcat fires off the init method it doesn't care or monitor the progress of the servlet. Just think, some servlets may take several minutes to finish. If other apps had to wait then it could take a long time to get the server started. Now as

Re: Tomcat 5 slow, it's in production, please help!

2005-05-07 Thread Parsons Technical Services
127421 over what period of time? Without a profile it is impossible to say if Tomcat can handle the load. But if the memory consumption and the CPU usage is low (as noted) it is fairly safe to say that Tomcat itself is not the bottle neck. Quick question, why are you using Apache? Also what is

Re: Tomcat 5 slow, it's in production, please help!

2005-05-07 Thread Parsons Technical Services
PROTECTED] wrote: Please see the answer embedded below. --- Parsons Technical Services [EMAIL PROTECTED] wrote: 127421 over what period of time? It's about 6 hours. But most of them are at the first hour or so. Without a profile it is impossible to say if Tomcat can handle the load

Re: manager/admin login problem

2005-05-06 Thread Parsons Technical Services
Look in the server.xml That is where you will find where the username and password is being looked up at. If the comments are there then they will explain the configuration. If there are no comments then download the matching version of Tomcat and look at the virgin server.xml for the

Re: pdf not working

2005-05-04 Thread Parsons Technical Services
What browser are you using? Doug - Original Message - From: Maarten Janssen [EMAIL PROTECTED] To: Tomcat User List tomcat-user@jakarta.apache.org Sent: Wednesday, May 04, 2005 6:04 AM Subject: pdf not working Hi all, Iam trying to call a link to a new window and that's calling a pdf

Removal from List

2005-05-02 Thread Parsons Technical Services
Dear Sir, I am a user of the Tomcat List and noticed a large number of emails from you. It appears that someone subscribed you to the list and you inadvertently confirmed the subscription or someone has access to your email. As an IT person who deals with security I recommend you have someone

Re: Is 5.5.9 stable?

2005-04-30 Thread Parsons Technical Services
doing something other then what the instructions say. I also purchased a book on Tomcat 5.5 and it also instructed to put the Context in server.xml. Is there something I'm missing here? Thanks. - Original Message - From: Parsons Technical Services [EMAIL PROTECTED] Date: Friday, April

Re: DatasourceRealm for tomcat 5.5

2005-04-29 Thread Parsons Technical Services
There are seperate pages for 5.0 and 5.5 In the 5.5 the syntax for the elements changed. If you open both pages and look at the examples you will see the changes.

Re: Is 5.5.9 stable?

2005-04-29 Thread Parsons Technical Services
Both are latest and greatest. If 5.0.28 works fine for you then I don't see any reason not to stick with it for now. The main difference in the two (as I have read) is that 5.5 does not need the JDK and as such resolves some license issues for a lot of users who wanted to package and

Re: Jk and IIS 6 slow (resent)

2005-04-28 Thread Parsons Technical Services
A few questions: How many servers have this problem? You say you have a different server set up the same way and it has no problem, am I correct? Did you apply any updates to the server? Did you apply the same update to the server that is running OK? Have you rebooted the server? Has the load

Re: Change ROOT in Tomcat 5.5.9

2005-04-27 Thread Parsons Technical Services
RTFM or should I say rtm so as to be nice. You can't do that with 5.5.X . You must declare the default context in the server.xml http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html Doug - Original Message - From: Yuval Zantkeren [EMAIL PROTECTED] To:

Re: Cannot assign requested address

2005-04-27 Thread Parsons Technical Services
Do an ipconfig /all on Windoze or ifconfig on Linux and see what your IP is. Is there a reason you are having Tomcat only listen on a specific IP? Is your IP static? What OS are you running? Doug - Original Message - From: J S [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent:

Re: Change ROOT in Tomcat 5.5.9

2005-04-27 Thread Parsons Technical Services
, April 27, 2005 3:17 PM Subject: Re: Change ROOT in Tomcat 5.5.9 Parsons Technical Services wrote: You can't do that with 5.5.X . You must declare the default context in the server.xml No, I don't know how you're getting that out of the reference below but there's no requirement to have your

Re: Problem Binding Tomcat to Ports 80/443

2005-04-26 Thread Parsons Technical Services
Check to see if Tomcat is already running. Also the config you posted has the port at 8086. And something is listening on 8086. Do a reboot and look at your processes and netstat before doing anything else. Then take it from there. Doug - Original Message - From: Craig [EMAIL

Re: Why 8080 and 8443 ..?

2005-04-25 Thread Parsons Technical Services
Taking a wild stab at it, in the early days Tomcat was not as good of a http server as it is now and was thus put behind a real web server to do it's thing when needed and not mess with static stuff. Thus to avoid conflicts on install the ports were set to a different value from default. Then

Re: Missing JNDI resource params after deployment.

2005-04-24 Thread Parsons Technical Services
Which version of Tomcat are you running. There is a difference from the 5.0.x and 5.5.x tree. The setup you have listed is for the 5.0.x branch. Doug PS Didn't mean to not respond but I actually took a small vacation to Busch Gardens. Apollo's Chariot rocks, especially front row! And just now

Re: localhost Context files and path = /

2005-04-20 Thread Parsons Technical Services
This is not allowed in Tomcat 5.5.x http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html Do not declare the path if the path is null or / in the context unless you are doing a static in the server.xml With that in mind think about the fact that there is already a context element

Re: Tomcat and SSL

2005-04-19 Thread Parsons Technical Services
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html Set enableLookups to false. Doug - Original Message - From: Marcos Ferreira [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Tuesday, April 19, 2005 8:39 AM Subject: Tomcat and SSL Hi, I'm having problems using

Re: can't see a tomcat installation on home network

2005-04-19 Thread Parsons Technical Services
Is iptables running? ps ax If yes your firewall may be blocking the port. You will need to add port 8080 to the firewall. Doug - Original Message - From: Gurumoorthy [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, April 19, 2005 2:28 PM Subject: Re:

Re: Per Application JNDI/JDBC Configuration

2005-04-19 Thread Parsons Technical Services
For each app you have running you will need a context element in a xml file. This should reside in the war. In this file you can setup the resource which will be available only to that app. This will still give you pooling. If you follow the instructions on the Tomcat site for the JDBC How-To that

Re: Set group id using jsvc?

2005-04-18 Thread Parsons Technical Services
Why not make the user that Tomcat runs at a member of the group you need it in? Why do you need to change the group if it is set ahead of time? Doug - Original Message - From: QM [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Monday, April 18, 2005 9:25 PM

Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat 5.0.28

2005-04-15 Thread Parsons Technical Services
Do you have your resource link in the context element? And if you don't have a context for the app you need to create one. Doug - Original Message - From: Sevillano sevi llano [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Friday, April 15, 2005 5:34 AM Subject: can´t

Re: Servlet context problem

2005-04-15 Thread Parsons Technical Services
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Automatic%20Application%20Deployment Read section carefully. The warning at the end of the section describes your symptoms. Doug --snip-- When i deploy the war file to tomcat the application works fine. the context.xml file lists

Re: How to change a running Tomcat with root user to other user.

2005-04-15 Thread Parsons Technical Services
There are several options: 1. Keep running as root. (Bad as noted) 2. Listen on port above 1024. 3. Apache front end. 4. Use jsvc to start Tomcat as root. Bind to ports and change user. I think 4 is what you are looking for. http://jakarta.apache.org/commons/daemon/jsvc.html Doug - Original

Re: RES: How can I create a digest password - digest.bat is the key!

2005-04-13 Thread Parsons Technical Services
Dejavu In a properly configured system, if the attacker can read the server.xml or context element then he has OWNED your system and has free reign. If secured on windows then only two groups should have access, admins and the webadmins. If either of those have been compromised you got big

Re: tomcat example app corrupt

2005-04-13 Thread Parsons Technical Services
I am getting the same thing. When I download it, I cannot extract the files. The example on the 5.0 page is also semi broke. It doesn't have a war but drops you to a folder directory when you follow the link. If you browse around you can find the app. So it's not on your end. It is the file.

Re: tomcat 5.5.9 installlation doesn't seem to work

2005-04-11 Thread Parsons Technical Services
It appears you have two versions on your machine. And since you have not changed the defaults you cannot run both at the same time. Shut down the 5.0.28 version and try starting the 5.5.9 version. OR change the server xml to have the 5.5.9 listen on different ports. If the 5.0.28 is also

Re: change to server.xml requires restart 5.5.4

2005-04-11 Thread Parsons Technical Services
I don't think that has changed, but I could be wrong. One thought is that unless you have a lot of apps using the DB you could move the resource to the context for the app. Then only the app would have to be restarted. But that begs the question, if you are changing the global db resource what

Re: still not clear with connection pooling in tomcat

2005-04-08 Thread Parsons Technical Services
Since the Conn method is static you do not need to initialize it. The DBUtil class actually handles all that for you. Just send your query string to the method there and get back the instance of the data results class. No init needed. Doug - Original Message - From: Krishnakant Mane

Re: http://localhost:8081/manager/list

2005-04-08 Thread Parsons Technical Services
As a test, remove admin from the user and have only manager. I think I had that problem once. If it works, try to add a space after the comma or just add a second entry for the admin. You can list the same user/password as many times as you like. And remember to restart Tomcat each time(been

Re: Can you use Tomcat when you are not on line?

2005-04-08 Thread Parsons Technical Services
Question, if you allow IE to connect to the Internet, can you get to the page on localhost? Can you ping localhost? (I think you said yes.) Can you ping 127.0.0.1 ? What does netstat -ta show in a Dos window? Can you see the port listening? Does the computer have a network card in it, and is it

Re: Windows Installation - Tomcat Start and Stop in the Start menu

2005-04-08 Thread Parsons Technical Services
I don't run Tomcat on windows, but the batch files are in the $tomcat_home/bin folder. You can create shortcuts to them if needed. I think they will not work if Tomcat is running as a service. Doug - Original Message - From: Malvey, Ramesh (GE Consumer Industrial) [EMAIL PROTECTED]

Re: http://localhost:8081/manager/list

2005-04-08 Thread Parsons Technical Services
What OS are you running on? Did you make any changes to the server.xml other than changing ports? Post your server.xml Doug - Original Message - From: [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Friday, April 08, 2005 8:20 AM Subject: Re: http://localhost:8081/manager/list

Re: Help:java.lang.ClassFormatError: Invalid method attribute name index 10 in class file

2005-04-08 Thread Parsons Technical Services
Try changing the order of your elements. Put the servlet elements at together and then below that put your servlet-mappings together. The DTD has a set order for the elements in the xml. It needs to see all of one element the all of the next type and so forth and so on. That is if my wife

Re: http://localhost:8081/manager/list

2005-04-08 Thread Parsons Technical Services
Just as I was afraid of. Looks fine. Check the permissions on the file. It must be whoever Tomcat is running as. Also check your logs for any errors. It should be in Catalina.out Doug - Original Message - From: [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Friday, April

Re: http://localhost:8081/manager/list

2005-04-08 Thread Parsons Technical Services
Just ran across something. Remove the role elements from the xml file. So it would be this: user username=tomcat password=tomcat roles=tomcat/ user username=both password=tomcat roles=tomcat,role1/ user username=pgibbons password=tomcat roles=admin,manager/ Doug - Original Message - From:

Re: installation two TOMCAT versions on our server

2005-04-08 Thread Parsons Technical Services
There is a space between the words program and file. When you have a path the contains the space character it causes problems. SO: OK programfiles ProgramFiles program_files mydocuments anything somedirectory Bad program files my documents some directory any thing Doug - Original Message

Re: Can you use Tomcat when you are not on line?

2005-04-08 Thread Parsons Technical Services
Dang, I missed a question. Can you get to Tomcat when you are online? Turn off the firewall if the answer is no. Don't dial up with it off. In case you missed my other post go into IE under Tools and Options. On the connection tab set it to never dial up. Then if you get the prompt to work off

Re: problem configuring context resource in Tomcat 5.0 for mysql connector/j

2005-04-07 Thread Parsons Technical Services
You need to setup the user in the database. If you log into the database and switch to the mysql database. The do a select * from users you will see the users are defined with either localhost, %, or an IP. You will need to have the javauser setup to use the % (anywhere) or better the IP of the

Re: still not clear with connection pooling in tomcat

2005-04-06 Thread Parsons Technical Services
No problem. With a one to one, set up the dataresource in the context element of the app. Place this after your context element. You will need to either declare one in the server.xml, in your app war file or create a file yourapp.xml and place it in the Tomcat dir:

Re: Can you use Tomcat when you are not on line?

2005-04-06 Thread Parsons Technical Services
Assuming you are running this under IE: Tools Internet Options Connections (Tab) Change the setting to the second box. My guess is that you use a dialup connection. It wants to connect to lookup the DNS. Set it to the second one so it only dials when there is no network connection or the

Re: Can you use Tomcat when you are not on line?

2005-04-06 Thread Parsons Technical Services
If the browser is set to always dial a connection, it doesn't matter what the address is. Even if it is a local file. About the only way it doesn't prompt is if you open a html file directly. And sometimes even then it will, especially if the sync files setting is turned up. Every time IE opens

Re: Using JDBC with 5.5.x

2005-04-05 Thread Parsons Technical Services
I, for one, appreciate the follow up post as I have found several people with the same issue as I had, only to have no resolution in the post. As for the issue not showing up in the log, I think it is more a function of the driver sending back the information. Along with, what are you doing

Re: still not clear with connection pooling in tomcat

2005-04-05 Thread Parsons Technical Services
I hate to keep asking questions, but I want to make sure to give you the correct setup. Other wise you will have to change it later on. Let's say you have three databases: data1 data2 data3 And three apps: app1 app2 app3 If app1 hits data1 and app2 hits data2 and . You are on a one to one

Re: Source of tomcat.exe

2005-04-05 Thread Parsons Technical Services
http://jakarta.apache.org/site/downloads/downloads_tomcat.html Go to the section for your version and the link for the source download is towards the bottom. Doug - Original Message - From: :CI75-Support Technologies collaboratives [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org

Re: Host level JNDI Variable

2005-04-05 Thread Parsons Technical Services
To use pooling provided by Tomcat, one way to do it is to set up four Globalresources in the server.xml Then from your apps call the one you want. You will need the resource link in the context for each app for the matching Globalresource. So set up four globals: dataDev, dataSit, dataUat and

Re: still not clear with connection pooling in tomcat

2005-04-04 Thread Parsons Technical Services
Because there are different versions, and the setup is different, I need exact version of Tomcat. What was the file name you downloaded? Was it a 5.0.xx or 5.5.x for they are different? Doug - Original Message - From: Krishnakant Mane [EMAIL PROTECTED] To: Tomcat Users List

Re: still not clear with connection pooling in tomcat

2005-04-04 Thread Parsons Technical Services
Will more than one of the apps be using the same database? That is the same tables and data? Even if they are using the same database engine IE MySQL on the server, will it be the same database instance? Doug - Original Message - From: Krishnakant Mane [EMAIL PROTECTED] To: Tomcat

Re: still not clear with connection pooling in tomcat

2005-04-03 Thread Parsons Technical Services
In the beginning a programmer created ... Seriously it goes like this: To use pooling in Tomcat you can forget a lot of what is in the java api as Tomcat uses this to provide pooling for you. Steps to take: 1.Determine the database you are going to use. 2.Get the JDBC drivers for that

Re: tomcat 5.5/win loading external image files

2005-04-01 Thread Parsons Technical Services
Tomcat cannot serve up files outside the root of the app. To do what you want requires a work around that has been discussed and debated on this list several times. If this is what you have to have, then write a servlet that responds to a pattern setup for the images

Re: Cannot get a connection, pool exhausted

2005-04-01 Thread Parsons Technical Services
Try adding the abandoned connection recovery settings and have it log them. If they show in your log as abandoned, then they are not getting closed. Even if you wrote the code as recommended, I have found that it does not always work. I am still chasing the exact details of this and when I get

Re: tomcat 5.5.7 / windowsXP / access database

2005-03-26 Thread Parsons Technical Services
Luke, I should have read closer. What you have done is to create a connection without pooling. The language in the servlet does not call the resource that you created in the server.xml . If you don't need pooling you can remove the Global resource. If you want pooling, you need to change the

Re: tomcat 5.5.7 / windowsXP / access database

2005-03-25 Thread Parsons Technical Services
Check to see if you have a resource link in your context.xml . Without it your app can't see the resource. Doug - Original Message - From: [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Saturday, March 26, 2005 2:15 AM Subject: tomcat 5.5.7 / windowsXP / access database Hi,

Re: Redirect from one SSL port to another

2005-03-24 Thread Parsons Technical Services
This might work: http://www.boutell.com/rinetd/ Ran across it on Google Doug - Original Message - From: Jason Bainbridge [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Thursday, March 24, 2005 12:11 PM Subject: Redirect from one SSL port to another

  1   2   3   4   5   6   >