Re: Tomcat 5.0.27-r4 java.net.BindException

2004-12-04 Thread Parsons Technical Services
ginal Message - From: "Chris Stratton" <[EMAIL PROTECTED]> To: "Parsons Technical Services" <[EMAIL PROTECTED]> Cc: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Saturday, December 04, 2004 10:25 PM Subject: Re: Tomcat 5.0.27-r4 java.net.BindException

Re: Tomcat 5.0.27-r4 java.net.BindException

2004-12-04 Thread Parsons Technical Services
I wonder if tomcat is loading on startup? Then port 8005 would be in use by tomcat. See what is running and what is using which ports prior to trying a tomcat start. Do this after a reboot. Got to ask the basics. Doug - Original Message - From: "Chris Stratton" <[EMAIL PROTECTED]> To: <

Re: Where do I get mod_jk

2004-12-03 Thread Parsons Technical Services
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/proxy-howto.html - Original Message - From: "Warron French" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, December 03, 2004 5:15 PM Subject: RE: Where do I get mod_jk Sorry! LOL! NO WAY! Absolutely not. I a

Re: Tomcat/Java and SMP

2004-12-02 Thread Parsons Technical Services
lw performance. -Dan -----Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 10:18 PM To: Tomcat Users List Subject: Re: Tomcat/Java and SMP Dan, Did you start the second connection from the same machine? Doug - Original Message -

Re: Tomcat/Java and SMP

2004-12-02 Thread Parsons Technical Services
Dan, Did you start the second connection from the same machine? Doug - Original Message - From: "Dan Foreman" <[EMAIL PROTECTED]> To: "Tomcat-User" <[EMAIL PROTECTED]> Sent: Thursday, December 02, 2004 10:40 PM Subject: Tomcat/Java and SMP Hi, I have a setup of 10 application servers usi

Re: basic security tutorial

2004-12-02 Thread Parsons Technical Services
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html Is a start, but doesn't give a how to. From the web.xml for the examples with added comments. Example Security Constraint Protected Area /security/protected/* DELETE

Re: common image practice?

2004-12-02 Thread Parsons Technical Services
On Thu, Dec 02, 2004 at 12:51:21AM -0700, D. Stimits wrote: : I'm looking for a "good" or "best" practice to deal with site-wide logo : type files...things that will never change, and that every app will want : access to. This is on linux, but enabling sym links just seems to be an : admin/backu

Re: Cert. and accred. for gov't use.

2004-12-02 Thread Parsons Technical Services
Cert. and accred. for gov't use. Hi, Which mode is this? I'm shifting between all sorts of modes ;) Yoav Shapira http://www.yoavshapira.com -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 12:16 PM To: Tomcat Use

Re: License Reason using JRE(RE: Tomcat JRE vs JDK Issue)

2004-11-30 Thread Parsons Technical Services
With a lot of software that is free to download, the main point is that the end user agrees to the license of the original owner (in this case SUN). If one was to embed or include a package in such a way to circumvent the EULA, then the end user could reverse engineer protected software without

Re: OT Re: What's the defaukt Admin user id/password

2004-11-30 Thread Parsons Technical Services
ocally. Had I known how I can do the research myself, I would have searched that place first. Thanks. Venkat -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 5:19 PM To: Tomcat Users List Subject: OT Re: What's the defaukt Ad

OT Re: What's the defaukt Admin user id/password

2004-11-30 Thread Parsons Technical Services
Where shall I start: Without people like Yoav there would be no Tomcat. If I was in better financial shape, I would gladly contribute. The time and effort he and others have contributed has saved me considerable time, money and hairloss. If the poster had done a little research, he would have fo

Re: Tomcat Requirements?

2004-11-29 Thread Parsons Technical Services
Chris, You have two choices: Lighten the load on the server. OR Get a better machine. One simple method to determine load on the Win box is Task Manager. This will give you a feel for processor consumption and memory size. If the only loads are mysql and Tomcat then you are forced to consider you

Re: JDBC

2004-11-23 Thread Parsons Technical Services
Charles, Do a search of the archives. There were several threads in the last few months on SQL server. Some of them discussed this very issue. If price is an issue, is there any compelling reason that make it worth staying with SQL server? Doug - Original Message - From: "Charles P. Ki

Re: OFF TOPIC: Merging data into a PDF form

2004-11-23 Thread Parsons Technical Services
http://www.lowagie.com/iText/faq.html#template Doug, www.parsonstechnical.com - Original Message - From: "David Wall" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, November 23, 2004 11:29 AM Subject: OFF TOPIC: Merging data into a PDF form I have an exist

Re: Are all TC-managed DataSources pooled?

2004-11-10 Thread Parsons Technical Services
Is every container-managed DataSource configured in TC (e.g. via server.xml / context.xml) automatically made pooled using commons pooling? Yes. No additional code is needed (i.e. TC takes care of the pool.) Or can ordinary non-pooled connections be created too using this mechanism? No, as it woul

Re: jvm invisible to tomcat

2004-11-10 Thread Parsons Technical Services
Just a suggestion, try shutting off the firewall. SP2 enables it by default. Otherwise no ideas. Doug www.parsonstechnical.com - Original Message - From: "David Russo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 10, 2004 6:58 PM Subject: jvm invisible to tomcat R

Re: Counting Page Hits

2004-11-09 Thread Parsons Technical Services
The html manager has some page count reporting built into it. May not be as detailed as you need, but it is there. These counts are reset on restart of the context (I think) but definitely on restart of Tomcat. - Original Message - From: "Steven J. Owens" <[EMAIL PROTECTED]> To: "Tomcat

Re: password encryption JDBC connection pool

2004-11-02 Thread Parsons Technical Services
tion pool Hm are you saying that connection pool in tomcat doesn't support password encryption ? --- Parsons Technical Services <[EMAIL PROTECTED]> wrote: IP Sec, VPN Tunnel, etc Search the archives on this one. - Original Message - From: "Mark" <[EMAIL PRO

Re: password encryption JDBC connection pool

2004-11-02 Thread Parsons Technical Services
IP Sec, VPN Tunnel, etc Search the archives on this one. - Original Message - From: "Mark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 02, 2004 3:31 PM Subject: password encryption JDBC connection pool Can anybody point how to encrypt password and configure Tomcat

Re: Apache, Tomcat and mod_jk2 - question about layout

2004-10-26 Thread Parsons Technical Services
Unless you have a reason, why not let Tomcat do it all? Doug - Original Message - From: "footh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 26, 2004 5:13 PM Subject: Apache, Tomcat and mod_jk2 - question about layout After going through all the documentation, I hav

Re: IIS slow and fast

2004-10-19 Thread Parsons Technical Services
If this isn't it what version of XP are you testing with? Doug - Original Message - From: "Filip Hanik (lists)" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 19, 2004 6:17 PM Subject: RE: IIS slow and fast > rough guess, but never hurts to chec

Re: How do I configure Tomcat to write to a Serial Port?

2004-10-02 Thread Parsons Technical Services
What OS? - Original Message - From: "Donald Horrell (BT)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 02, 2004 9:04 AM Subject: How do I configure Tomcat to write to a Serial Port? > I've downloaded and installed the Java Communications API (version 2) and > Tom

Re: Tomcat Holding Database Open??????

2004-08-31 Thread Parsons Technical Services
Mike, You may want to post some code and let us take a look. May be the simplest solution to get you going. There is a chance that you are not closing the connection properly and it is being held open. There can also be database issues as well (I think someone mentioned this). Doug www.parsonstec

Re: JSP WhiteSpace

2004-08-21 Thread Parsons Technical Services
Then they are using a very odd or out dated browser. Thus a very small percentage of the users will have problems. Doug Parsons www.parsonstechnical.com - Original Message - From: "A" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Saturday, August 21, 2004 12:22 P

Re: PDF File on Documentation Web Site Corrupted?

2004-07-03 Thread Parsons Technical Services
Daniel, Just to let you know I get an error also. I am using Adobe reader 6.0 on WinXP and get an error about unable to extract font. Looks like they created the first document using a font named EHPFDM+Arial but failed to package it in the document. The second document gives unrecognized token sc

Re: Setup problem with Tomcat 5.0.25 running as a daemon under jsvc

2004-06-23 Thread Parsons Technical Services
/opt/jakarta-tomcat-5.0.25/work/Catalina/subdomain.domain.com/_/org" > then the page starts working. So, I'm pretty sure Tomcat cannot define > those directories and therefore the jsp compile fails. > > Any help will be very much appreciated. > > Thanks, > > Ferna

Re: Setup problem with Tomcat 5.0.25 running as a daemon under jsvc

2004-06-20 Thread Parsons Technical Services
Do a chgrp -R youruser tomcatBaseDir and a chusr -R youruser tomcatBaseDir To have the tomcat directory structure that is owned and belongs to the user specified in jsvc. Doug www.parsonstechnical.com - Original Message - From: "Fernando Fernandez" <[EMAIL PROTECTED]> To: "Tomcat Use

Re: Tomcat, RedHat Linux & MySQL configuration urgent...

2004-06-08 Thread Parsons Technical Services
This is way to general a statement to get a direct answer. Search the archives. You will find lots of configs and talk on the webserver as well as some on MySQL. Here is a link to the archives. If you search on just me, You will get a lot of hits on configs as well as some code on database access

Re: unable to connect to mysql db on localhost

2004-06-08 Thread Parsons Technical Services
A few things to try. Replace localhost with IP (as a test). Log into mysql with username and password. MySQL requires a different entry in the user table for the local connection. Is MySQL running? (Had to ask.) Do you have a firewall running on the machine? Doug www.parsonstechnical.com --

Re: problems connecting to networked odbc data source

2004-06-07 Thread Parsons Technical Services
See this message for a link to a jdbc driver. http://marc.theaimsgroup.com/?l=tomcat-user&m=108354562017331&w=2 - Original Message - From: "David Smith" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, June 07, 2004 10:19 PM Subject: Re: problems connecting

Re: 2 War files for one Application

2004-06-02 Thread Parsons Technical Services
Mike, If you have control of the server you can try what I did. I needed to have a common directory to serve out pics for several of my apps. I set up a folder in the root of tomcat and created a servlet that intercepted any request for a .jpg file. It then read the file in using file IO and wrote

Re: SSL Client Authorization

2004-06-01 Thread Parsons Technical Services
Sander, If what you want is to have the client present a certificate for validation, then in your connector have something like clientAuth="true" See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html If you are looking for something different let us know. Doug www.parsonstechnical

Re: SSL Client Authorization

2004-06-01 Thread Parsons Technical Services
Sander, If what you want is to have the client present a certificate for validation, then in your connector have something like clientAuth="true" See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html If you are looking for something different let us know. Doug www.parsonstechnical

Re: Remote Start / Stop of tomcat

2004-06-01 Thread Parsons Technical Services
Uma, Set the communication type to ssh. This is much more secure than telnet. (Otherwise they work the same) You will be prompted about a certificate. If your IP is correct(Are you talking to the correct machine) then you should accept it. For a window user it is a strange world in the land of pro

Re: File writing using servlet

2004-05-31 Thread Parsons Technical Services
Use file IO. Please explain further what you wish to do and we can give you further directions. Doug - Original Message - From: "Teja Jo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 31, 2004 10:32 AM Subject: File writing using servlet > Hello everyone, > Please tel

Re: JSVC to run tomcat?

2004-05-28 Thread Parsons Technical Services
Justin, It is normal for there to be two processes running. As for exactly, I can't say, but my understanding is that jsvc start the process, in this case tomcat, then after tomcat has allocated the ports on 80 and/or 443 the privileges are then change to the level of the user specified in the st

Re: n00b cannot get jar files to work.

2004-05-27 Thread Parsons Technical Services
Yoav, So use to doing imports that I didn't think (key words here) about Tomcat making the servlets available from a jar. Was thinking that it would have to be imported to be used. Learn something new each day. Thanks Wonder if the manifest or index of the jar is not correct? That could cause pr

Re: n00b cannot get jar files to work.

2004-05-27 Thread Parsons Technical Services
Yoav, Trying to learn something here. From what I am reading, I can create several servlets, place them in a jar and put this jar in WEB-INF/lib . Then these servlets are available in my context? Just add mappings! That is what I am reading from this thread. My current understanding is different

Re: standalone production?

2004-05-27 Thread Parsons Technical Services
If this is the case, then why not fix the http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html page to show the correct(updated) information? Doug - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, May 27, 2004

Re: How to force only page login SSL and rest NON SSL

2004-05-27 Thread Parsons Technical Services
Mariano, Two thing come to mind: 1. Why not just leave it in SSL? 2. You have a problem of losing the session. When you move from SSL to NON SSL page you lose the session and create a new one. This is for security reasons. Past that the only thing that come to mind is Single sign on. There are

Re: standalone production?

2004-05-27 Thread Parsons Technical Services
Justin, http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html and http://marc.theaimsgroup.com/?l=tomcat-user&m=108373546715111&w=2 and http://jakarta.apache.org/commons/daemon/ Use directions from the first two. The third is for description of product. Doug www.parsonstechnical.com -

Re: A newbie here. Looking for information

2004-05-26 Thread Parsons Technical Services
Jerome, The Apache referred to here is actually HTTPD and is a different product than Tomcat. They are both from the Apache Organization but serve different roles. So for question 1. the answer is NO. For question 2, IF you do not have Apache HTTPD running you can run Apache Tomcat. IF you have

Re: Tomcat as 'root' insecure? (again)

2004-05-26 Thread Parsons Technical Services
To address this a little further. Think about this, if a new hole is found that allow the attacker to put code on your machine, then think about all the possibilities of what that code could be programmed to do. Write files, read file, delete files or even run native code, just to name a few. As ro

Re: Tomcat 4.1.30 Hung!!! With High Traffic

2004-05-24 Thread Parsons Technical Services
What does top show? Is the cpu loaded? Is the memory maxed? Is the database on the same machine? When you say hang it can have many meanings. When it "hangs" does the process die, or does it simply stop responding? Is it a true stop responding or just a very long delay? With that level of traffic

Re: problem with JSP -> no data returned

2004-05-22 Thread Parsons Technical Services
Just a few curious questions. Are you running this as a service, from the console or from the shortcut? Are you logged in as an administrator? Where you when you installed? What are the permission setting on the directories that you installed to? Just thinking of a far fetched idea. If the perm

Re: running Tomcat from jsvc daemon under Linux as user tomcat

2004-05-21 Thread Parsons Technical Services
tion > jsvc.exec debug: Checking library /usr/lib/java/jre/lib/i386/green/libjvm.so > jsvc.exec debug: Checking library /usr/lib/java/lib/i386/green/libjvm.so > jsvc.exec debug: Cannot locate library for VM green (skipping) > jsvc.exec debug: Java Home located in /usr/lib/java >

Re: running Tomcat from jsvc daemon under Linux as user tomcat

2004-05-20 Thread Parsons Technical Services
Bob, It sounds like a permissions problem. Check the settings in the context for "workdir=..." If you have set this, then you must ensure that your tomcat user has rights to that directory also. Read through the following to see if you missed anything in your setup: http://marc.theaimsgroup.c

Re: upgrade to Tomcat 5.0+

2004-05-19 Thread Parsons Technical Services
Simon, TAO Linux (RHEL 3 clone) TC 5.0.19 JDK 1.4.2 MySQL PIII 733 512 Meg Although my setup is small in comparison, it has run for the last month without a problem from TC. I just had a trial by fire on a new app in which I had a design flaw that ate cpu like crazy as well as maxed the memory. E

Re: Database backups initiated from Tomcat

2004-05-19 Thread Parsons Technical Services
Frank, Not having done this myself (yet), There are a few options that come to mind. 1. Set up a backup database (unless you plan to store it in the same one). Read the metadata for the table you wish to copy, create a backup table, and then do a select * and write the result set into the new tab

Re: Vedr.: Say it ain't so... (JRE needed to run Tomcat as a service on win2k)

2004-05-19 Thread Parsons Technical Services
Hello, Not running TC on windows myself, but noted that a lot of talk about the registry settings have been made on the list in the past I thought that this line was noteworthy: "The private J2RE is required to run the tools included with the Java 2 SDK. It has no registry settings and is contain

Re: Datasource to MYSQL

2004-05-14 Thread Parsons Technical Services
Devlin, >From my understanding, this is not a function of Tomcat. The appending is MySQL looking up who is sending. If you use the MySQL prompt to access MySQL it will only prompt you for a user name and password, but MySQL check for the location. Try logging in to MySQL directly on the machine u

Re: Trying to connect to DB2 usning JNDI

2004-05-12 Thread Parsons Technical Services
Vickie, 1. Look for an error in the server.xml. When you moved the context section you may have left out or added in something that messes up the format of the file. Use a viewer like IE to look at the file and see what is wrong. 2. Check your log and if nothing shows up the turn up debugging. 3

Re: Muiltipul Tomcat 5.19 Servers on the same machine.

2004-05-10 Thread Parsons Technical Services
What OS? Doug - Original Message - From: "Bond" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, May 10, 2004 10:18 PM Subject: RE: Muiltipul Tomcat 5.19 Servers on the same machine. > > Ok, I now understand that I can either define unique > ports or new I

Re: JDBC Source getting null url

2004-05-10 Thread Parsons Technical Services
For the global to work you must place a link in the context. As for the web.xml this is the wrong tags for that file. Doug - Original Message - From: "Richard Calosso" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Monday, May 10, 2004 7:01 PM Subject: RE: JDBC

Re: Cannot access certian jar files in common/lib

2004-05-10 Thread Parsons Technical Services
Also delete upload.jar, and the /work dir and see if your manager app still works without the upload.jar. -Yan -----Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: May 9, 2004 11:47 To: Tomcat Users List Subject: Cannot access certian jar files in common/l

Cannot access certian jar files in common/lib

2004-05-09 Thread Parsons Technical Services
TAO Linux (Redhat clone) Tomcat 5.0.19 JDK 1.4.2 I have a problem that bugging me to death. I have 4 applications that are loaded along with some static files in ROOT. In each of my applications I use a globalresource to do database connections. The jar is in common/lib. I also use iText in seve

Re: Help with Simple JDBC Connection (sry, kinda long)

2004-05-08 Thread Parsons Technical Services
mple JDBC Connection (sry, kinda long) > Parsons Technical Services wrote: > > Keg, > > > > Link entry in the context for the app. > > > > If not then post it and the code snip that you are using in the jsp. > > > > Doug > > www.parsonstechnical.c

Re: Help with Simple JDBC Connection (sry, kinda long)

2004-05-08 Thread Parsons Technical Services
Keg, Link entry in the context for the app. If not then post it and the code snip that you are using in the jsp. Doug www.parsonstechnical.com - Original Message - From: "Keg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, May 08, 2004 6:22 PM Subject: Help with Simple JDBC

Re: the requested resource is unavailable

2004-05-07 Thread Parsons Technical Services
John, See: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html#Configuring%20Manager%20Application%20Access Same process applies to the admin app with a user role of admin. Doug www.parsonstechnical.com PS Please start a new thread on future post. It makes searching cleaner. Ofte

Re: verify database connection pool

2004-05-07 Thread Parsons Technical Services
Daxin, That somebody is referring to the connection pool api available in the j2se. What they are not picking up on is that you are requesting the connection from the datasource. And under tomcat this is a connection pool. And what you are receiving in fact is a connection but one from the pool th

Re: the requested resource is unavailable

2004-05-07 Thread Parsons Technical Services
Just be thankful you saw it before you stepped in it. Been there. Done that. Doug - Original Message - From: "Matt Tucker" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, May 07, 2004 12:34 PM Subject: Re: the requested resource is unavailable > > aa

Re: the requested resource is unavailable

2004-05-07 Thread Parsons Technical Services
Matt, What is the other part of you mapping in the web.xml? Doug - Original Message - From: "Matt Tucker" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, May 07, 2004 12:17 PM Subject: the requested resource is unavailable > > Ok, this is driving me nuts.

Re: (newbie q) Connector vs running standalone Tomcat as root

2004-05-06 Thread Parsons Technical Services
commons daemon three machines two TAOLinux Tomcat 5.0.19 one RH9 Tomcat 4.1.29 Working fine. For overkill here is a write-up I did for another poster. How To set up RH9 and clones to start automatically and use port 80 with a non root user. If you have not created the user that you plan to sp

Re: ¿how to use tomcat.sh for starting Tomcat automatically at boot time?

2004-05-04 Thread Parsons Technical Services
start/stop tomcat manually by > $CATALINA_HOME/bin/startup.sh > $CATALINA_HOME/bin/shutdown.sh > ¿? > > - Original Message - > From: "Parsons Technical Services" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: T

Possible wrong link on binaries page to daemon

2004-05-04 Thread Parsons Technical Services
Yoav or site guru, On the binaries page the link for the commons daemon is pointing to the = Alpha package. If I ftp into a server there is an Alpha version and a = regular version 1.0. Which file should the link point to? The plain 1.0 = has been updated for TC5 and contains two different startup

Re: ¿how to use tomcat.sh for starting Tomcat automatically at boot time?

2004-05-04 Thread Parsons Technical Services
What command are you using to start and stop it manually? >From your post it appears that you are running jsvc. Is this correct? Let me know and I will walk you through what to do. If you get it going in the mean time post to the list. >From a prior post you said you are running on port 80. I

Re: Strange message : [Fatal Error] :2:1: Content is not allowed in prolog.

2004-05-04 Thread Parsons Technical Services
Raymond, I don't know the meaning, sorry. But: If I were in your shoes I would replace the server.xml and web.xml with default. And I would do it one at a time. If it fixes it then add your changes a section at a time and continue until you find it. Also a trick is to use a xml viewer like Inter

Re: Re: Tomcat cannot unpack war files

2004-05-04 Thread Parsons Technical Services
Lars, Turn up debug and check the logs. If Tomcat runs into an error during the deploy, it can prevent it from being expanded. Are you using the HTML Manager to deploy? I had a jar conflict that stopped one of my jars from deploying. So I know it can happen. Doug - Original Message -

Re: Tomcat cannot unpack war files

2004-05-03 Thread Parsons Technical Services
Lars, Does the folder name matching the war file name exist? If it has been created and not removed then Tomcat will not Deploy the war. Doug www.parsonstechnical.com - Original Message - From: "Lars Ole Ruben Christoffersen" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTE

Re: Help with manager app

2004-05-03 Thread Parsons Technical Services
Richard, Use a remote address valve. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html Set it up for allow and the IP ranges you want to get in. Doug www.parsonstechnical.com - Original Message - From: "Richard S. Huntrods" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> S

Re: ?how configure tomcat to auto startup in linux?

2004-05-03 Thread Parsons Technical Services
Give some more information. Linux version? Machine?(Intel?) JDK version? Tomcat 5 Correct? Planned use? Develop Production Internet Intranet Will port 8080 serve your needs or do you need port 80? With this we can guide you as to which method to use. Doug www.parsonstechnical.com - Or

Re: Please help on my DB pool problem --- I followed the struction on the web

2004-05-02 Thread Parsons Technical Services
Daxin, I think this would be well worth your time and effort to change to this. I was unaware of it or I would have recommended it. The reason for the other stuff you were asking about was because that is how microsoft had set it up to be used. This should give much cleaner and portable code. As

Re: Please help on my DB pool problem --- I followed the struction on the web

2004-05-02 Thread Parsons Technical Services
>SQLServerDataSource temp = > (com.microsoft.jdbcx.sqlserver.SQLServerDataSource)ds; > con = temp.getPooledConnection(user,pswd).getConnection(); > now the error occurs at envCtx.lookup. the error is: Cannot create resource > instance > > Thanks. > > -Original M

Re: writing to File-System; IOException on File.mkdirs() and/or File.createNewFile()

2004-05-02 Thread Parsons Technical Services
own. > > > >Next look at the directories and see if the command mkdirs() created any of > >the levels. > > > >Also what are the permissions set for on the catalina_5_19 directory? > > > >I am no expert on this by far and it is possible that I am missing > &

Re: In tomcat 5.0.19 doesn't found the driver into the localhost declaration but yes into one virtual domain

2004-05-01 Thread Parsons Technical Services
me > dd > > > password > user > > > maxActive > 100 > > > maxIdle > 20 > > > maxWait > -1 > > > removeAbandoned > true > > > removeAbandonedTimeout > 300 > > > logAbandoned > true > > > > >

Re: Tomcat stops loading when I run my servlet with

2004-04-23 Thread Parsons Technical Services
Look at listeners. I think there was a similar thread a while back and the solution was to have a listener kick off the servlet after all the other processes were done. You could also have your servlet start and then wait for a certain amount of time, to allow time for all other processes to start.

Re: A word of caution upgrading Tomcat

2004-04-23 Thread Parsons Technical Services
John, I am in no way an expert on Tomcat, but I do know that some things are driven by the spec and not the developers. I am also sure that some things have come and gone in versions. For feature one, I would submit a bug report on the documentation, not the software, and outline in detail as you

Re: JSPs not compiled under different instances of Tomcat

2004-04-23 Thread Parsons Technical Services
Did you set CATALINA_BASE= not CATALINA_HOME= ? Look in the RUNNING.txt at step 4. Doug - Original Message - From: "Marco CAMPIGLIO" <[EMAIL PROTECTED]> To: "tomcat-user" <[EMAIL PROTECTED]> Sent: Friday, April 23, 2004 10:57 AM Subject: JSPs not compiled under different instances of

Re: Accessing Dll's

2004-04-23 Thread Parsons Technical Services
Malai, Until Wade can answer with some more assistance, I wanted to let you know that you "should" be able to run any code developed on previous versions of java on the newer JDK. If you look up the release information on Suns site for 1.4 it should have notes on any issues for moving from 1.3 to

Re: Tomcat and restricting the size of HttpServletRequest

2004-04-23 Thread Parsons Technical Services
Roger, With an applet there would be no URL. The applet would handle the file transfer and thus control the upload. It could even go as far as to authenticate the user and log the user information. If it is a big concern protect it and force the users to request a username and password. Then email

Re: Tomcat and restricting the size of HttpServletRequest

2004-04-23 Thread Parsons Technical Services
I remember a previous discussion on this and one of the solutions was to use an applet that would check the file size prior to transmission. Can't remember if there were others. Is there anyway to monitor the size of the object as it is uploaded and terminate it if it exceeds a certain size? Just

Re: Memory problem with tomcat 4130

2004-04-23 Thread Parsons Technical Services
Fabian, I am not sure if I have the answer to your memory problem but let me give you some information to get more help from others. 1. Where are you looking to see this memory use? 2. Does Tomcat stop responding? 3. Have you loaded any of your applications? No 4. Are you using a database? 5.

Re: [newbie] tomcat5+apache2 virtual hosting

2004-04-22 Thread Parsons Technical Services
What was it - Original Message - From: "Mark Page" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, April 22, 2004 1:24 PM Subject: Re: [newbie] tomcat5+apache2 virtual hosting > I've sorted it - thanks anyway :) > > On Thu, 2004-04-22 at 17:59, Mark

Re: connection Poll

2004-04-22 Thread Parsons Technical Services
- Original Message - From: "Emerson Cargnin" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, April 22, 2004 1:25 PM Subject: Re: connection Poll > 5.0.19. > > > > Parsons Technical Services

Re: connection Poll

2004-04-22 Thread Parsons Technical Services
Yes. What version of Tomcat? - Original Message - From: "Emerson Cargnin" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, April 22, 2004 12:52 PM Subject: connection Poll > is there a way to create connection pools per app just with files inside > the

Re: serving static HTML pages from a servlet

2004-04-22 Thread Parsons Technical Services
Pete, Read the spec. Files under WEB-INF cannot be served directly by Tomcat. You need a security constraint on a folder under your doc root. See the code in the manager for some ideas. Or have your servlet stream the file back to the client, but this is not recommended as it can cause security

Re: Is it Tomcat problem or my problem?

2004-04-22 Thread Parsons Technical Services
Uma, At this point I am out of ideas. I have not worked with sessions and thus am not strong in this area. I am sorry that I am unable to help further at this point. Hopefully someone else on the list will pick up on something. You may wish to look into the IO error that you had on shutdown as it

Re: Is it Tomcat problem or my problem?

2004-04-22 Thread Parsons Technical Services
gt; <% Hashtable lhs=dbSearch.getLocationNames(); String lval=((String)lhs.get(request.getParameter("Location"))).trim(); %> !!! No Races available for Betting at <%=lval%>

Re: Apache2 encryption to Tomcat5

2004-04-22 Thread Parsons Technical Services
Pete, I know it can be done, but I don't have the experience to tell you how. What will work is to set up a vpn/encrypted connection between the two machines. Googling I found this site: http://ringstrom.mine.nu/ipsec_tunnel/ Also I saw a lot of hits on FreeSwan. As for if it can be done from

Re: Is it Tomcat problem or my problem?

2004-04-22 Thread Parsons Technical Services
Uma, Only cause you asked nicely. Not sure on this one. It may be that you have two problems or one causing both issues. Lets look at the IO error first. I am going to assume a windows environment from the E:\ prompt. You need to check the disk and the path to see if they are still valid. Do th

Re: Connection pooling

2004-04-22 Thread Parsons Technical Services
Is this a direct cut and paste? If yes you are missing a > at the end of the Logger. Otherwise watch the order of the elements in the Resource. It can make a difference in some cases. What are the errors? What does the web.xml look like? Doug www.parsonstechnical.com - Original Message ---

Re: JSP work dir problem running Tomcat 5 through jsvc

2004-04-22 Thread Parsons Technical Services
04 6:16 AM Subject: Re: JSP work dir problem running Tomcat 5 through jsvc > Hello, > > Parsons Technical Services wrote: > > When using jsvc it will not picking up the shell variables. Set the data > > manually in the script header. Mine looks like this: > &

Re: Your document

2004-04-21 Thread Parsons Technical Services
Just a virus/worm spreading it's joy. If you look it say's it is "from" Tomcat Users List (Or what ever you called the email address for the list) rather than from a real user. In the 14000 messages over the last five months, no one has [EMAIL PROTECTED] in the from except for the virus junk. Set

Re: Jaas and Jndi problem

2004-04-21 Thread Parsons Technical Services
Ok, first I have no clue on JAAS as I have not used it. From the trace you are missing the resource link in the context declaration. With a global you have to provide a link in the context segment. Doug www.parsonstechnical.com - Original Message - From: "Beloglazov Maksim" <[EMAIL PROT

Re: SSL and sessions

2004-04-21 Thread Parsons Technical Services
Glen, This was on the list a while ago. It is by design that this happens. It is for security reasons as I understand it. It is considered safe to move from http to https but not the other direction. Doug www.parsonstechnical.com - Original Message - From: "Drinkwater, GJ (Glen)" <[EMA

Re: JSP work dir problem running Tomcat 5 through jsvc

2004-04-21 Thread Parsons Technical Services
When using jsvc it will not picking up the shell variables. Set the data manually in the script header. Mine looks like this: JAVA_HOME=/tomcat/java CATALINA_HOME=/tomcat/tc DAEMON_HOME=/tomcat/tc/bin TOMCAT_USER=tomcat TMP_DIR=/var/tmp CATALINA_OPTS= CLASSPATH=\ $JAVA_HOME/lib/tools.jar:\ $CATALI

Re: the pain of choice

2004-04-20 Thread Parsons Technical Services
Chris, I hope you got enough information to help you decide. It seems this thread has taken on a life of its own and pushed the boundaries of being on topic for the thread. Anyway, if you have any further questions or if anyone can see any pitfalls please advise. If you still need Apache for some

Re: the pain of choice

2004-04-20 Thread Parsons Technical Services
At this point it looks like tomcat 5 will handle your needs. Look at this for cgi: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cgi-howto.html > > > > What JDK are you developing against? -- 1.4.2 But not crucial > > What is you platform? -- What do you mean by that? By pla

Re: Configuration Issue? HELP!

2004-04-19 Thread Parsons Technical Services
TECTED]> Sent: Monday, April 19, 2004 5:43 PM Subject: RE: Configuration Issue? HELP! > Java 2 SE 1.4.2_02 > > Jerry Jalenak > Development Manager, Web Publishing > LabOne, Inc. > 10101 Renner Blvd. > Lenexa, KS 66219 > (913) 577-1496 > > [EMAIL PROTECTED]

Re: the pain of choice

2004-04-19 Thread Parsons Technical Services
I don't know if you will get much response with this request. What you may wish to do is define your requirements for your application and environment. Then set back and take in all the opinions on which way is best. Here are a few questions to start with: What JDK are you developing against? What

<    1   2   3   4   5   6   >