Re: Tomcat5 - MySql5.0.0a - apache2.0 - XP - JNDI connection problems

2004-03-31 Thread Parsons Technical Services
Tim, > I am following: > http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html Good start. > > I am running windows XP - have apache 2.0.48 and Tomcat 5.0.19 up and > running with j2sdk1.4.2_04. I am also running MySql5.0.0a > I recommend for the purpose of testing

Re: Installation Help Needed

2004-03-31 Thread Parsons Technical Services
Back to basics. Is it running? Look at your processes with something like >ps -ax Do you have a firewall running? Can you ping the machine? Do a netstat -an and see if port 8080 is active. Doug - Original Message - From: "Stormblade" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sen

Re: Re: Re: Installation Help Needed

2004-04-01 Thread Parsons Technical Services
I know it's simple but have you tried using the IP as in http://xxx.xxx.xxx.xxx:8080 ? Just a thought. Otherwise you might wish to confirm the port is open. No offense but sometimes we get burned by the silly little things. Since you are running from the command line you are starting as root (T

Re: Virtual Hosting Fails w/JSPs

2004-04-01 Thread Parsons Technical Services
Lisa, Without seeing your config files and since I run on Linux I may be off base. If you have both of these as a root context it may be that Tomcat is setting them up in the same temp dir. Try and use the workDir element of the host to use different temp directories. Not a 100% on this but give

Re: file uploading

2004-04-02 Thread Parsons Technical Services
What's your environment? OS version Tomcat version JVM version - Original Message - From: <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, April 02, 2004 10:07 AM Subject: Re: file uploading > What's a "cron" job?? How do I create/execute one? > > thanks! >

Re: file uploading

2004-04-02 Thread Parsons Technical Services
Hey Yoav, we got another one from that there windows place!! But seriously, a few years ago I had no I idea what one was either. It is akin to task scheduler in windows. That's why it is asked to put the environment information in to start with. It guides the list to suggest the appropriate infor

Re: any standart way to keep passwords encripted???

2004-04-02 Thread Parsons Technical Services
Emerson, > - Being in plain text in server.xml (as configured for tomcat) Protect the file with permissions. > - Read the web.xml by a standalone app and encript the password, in my > connection servlet I read it and decritp it. > > - Have a separate file for each pool, this file,encripted, woul

Re: any standart way to keep passwords encripted???

2004-04-02 Thread Parsons Technical Services
> > If I can read the server.xml then I can read your .class file the decrypts > > it and thus can still get your password. > I still can use certificate to encript decript... And if I am in control of the server, then I have access to that certificate as well. The point is simply that with prope

Re: A couple of performance related questions

2004-04-03 Thread Parsons Technical Services
Randy, Since David did 1 & 2 I'll give you 3. > 3) setting -Xmx ,-Xss. (what is the default? I noticed in the catalina.sh, > there is no -Xmx ,-Xss) If you are using catalina.sh then you set the enviroment settings by exporting a system variable in the shell. If you are running it as a daemon,

Re: mod_jk2 2.0.4 compiler error on RHEL 3.0, Apache 2.0.46

2004-04-06 Thread Parsons Technical Services
Chris, Check the version of gcc on each machine. Just a quick thought. Doug - Original Message - From: "Chris Egolf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 06, 2004 12:24 PM Subject: mod_jk2 2.0.4 compiler error on RHEL 3.0, Apache 2.0.46 > All - > > I've su

Re: Tomcat 5 admin application "403"

2004-04-06 Thread Parsons Technical Services
Raymond, You have user names and passwords defined. Now for each of these did you also define the role? For a user to access the administration page the role of admin must be added for that person. One thing, is if you did add roles, is to check the syntax. Try setting up a user with only the rol

Re: secure installation

2004-04-07 Thread Parsons Technical Services
Gianni, >From my experience: User tomcat is created for you. Place it in whatever directory makes sense to you.(Keep it simple) Keep the permissions on the tomcat directories tight. Make them only readable by tomcat etc. If you need port 80 and 443 start tomcat as a daemon. For details: http:/

Re: Tomcat 5 out of memory

2004-04-07 Thread Parsons Technical Services
Ross, If my memory serves me right (which is rarely) there was a discussion on the list about this. I believe the comment was that during reloads there are references to objects that don't get released when a context is undeployed. The memory is lost until a restart. In production this should not

Auto Responder / Auto Annoyer

2004-04-07 Thread Parsons Technical Services
Does anyone else have the pleasure of recieving this as a direct response to sending emails to the list? Can we have the offender remove, pleeeaassseee? When you can get to it. Thanks Doug PS Didn't see any recent post on this but then again you know what they say about it "If it was a sna

Re: Tomcat (4.1) doesn't answer

2004-04-07 Thread Parsons Technical Services
Gianni, Try using the IP. If you can get to it with an IP then your issue is with the DNS otherwise you have an issue with your network. What OS are you running? What error number are you getting? Doug www.paarsonstechnical.com - Original Message - From: "Gianni Pucciani" <[EMAIL PRO

Re: Known problem with tomcat, jndi datasourc - PLEASE HELP

2004-04-08 Thread Parsons Technical Services
First check you logs and see if any error messages are showing up. As a just for kicks try thing, move the username up in the configuration to before the password. Crazy thing but it caused mine to not see the password. I don't think you will get back any indications in the java trace that the pas

Re: Known problem with tomcat, jndi datasourc - PLEASE HELP

2004-04-09 Thread Parsons Technical Services
Prasad, I DID. Did you miss it? Here it is again. First check you logs and see if any error messages are showing up. As a just for kicks try thing, move the username up in the configuration to before the password. Crazy thing but it caused mine to not see the password. I don't think you will ge

Re: JNDI/MYSQL - Too many connections

2004-04-09 Thread Parsons Technical Services
Josh, Two things come to mind: 1. You are running out of connections. DUH What I mean is that you have more requests for connections than connections. Probably not your case but had to point it out. 2. You have a leak and are not recovering the abandoned connections fast enough. Going on point

Re: No Suitable Driver Problem

2004-04-09 Thread Parsons Technical Services
Sohil, At what line in your code is it blowing up? As a follow up, once you have it all fixed would try the username back at the bottom to see if it breaks it again? I'm running MySQL so I didn't spot the error, sorry. Doug - Original Message - From: "MARU, SOHIL (SBCSI)" <[EMAIL PROTE

Re: RE: can iframe include files in web-inf folder?

2004-04-09 Thread Parsons Technical Services
bjyang, The jvm running under Tomcat can read any file with the standard file read/write operations provided in the Java api as long as the user that the jvm is running as has rights to that file. So write a servlet that receives the request reads the file from the directory and the streams it bac

OT How many subscribers to the list?

2004-04-09 Thread Parsons Technical Services
How many subscribers are there to the list? Just a ballpark idea. I have a idea but before I get athletes mouth I thought might see if it's feasible. Doug - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: Yoav -->RE: TC 5 production use

2004-04-09 Thread Parsons Technical Services
Since the fire is burning I'll add my load (of what you can decide). Equate it to buying a vehicle. Car SUV Truck Van Motorcycle Tractor-Trailer 2wd 4wd Awd Each has features the other don't. Each can serve multiple purposes. NONE can serve ALL purposes. Look at your needs. Pick the best one. Te

Re: Yoav -->RE: TC 5 production use

2004-04-09 Thread Parsons Technical Services
Having something implies that you could lose that something and not change what it is. Thus Tomcat would *be* a web server. For without it , it would not be fundamentally the same. As said this is a "Purely a philosophical question" . And as I said in other post, this is my opinion. Feel free to

Re: Can someone help me to fix the soft link problem in Tomcat 4.1.27

2004-04-09 Thread Parsons Technical Services
Kam, The existence of a context in the server.xml will not prevent Tomcat from unpacking a war. I have a development box that has the context defined and the manager can undeploy and deploy the war just fine. Also restart is not required. What Tomcat will not do is unpack any war for which a matc

Re: tomcat as deamon

2004-04-12 Thread Parsons Technical Services
Emerson, It depends. If you need to run tomcat on port 80, then you will need jsvc otherwise calling startup.sh should work. Doug www.parsonstechnical.com - Original Message - From: "Emerson Cargnin" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, April 12

Re: tomcat as deamon

2004-04-12 Thread Parsons Technical Services
M Subject: RE: tomcat as deamon > Doug... > > I tried to figure out how to use the jsvc...I have it configured but I > not sure how to use in in a class...any ideas' > > Allen > > -Original Message- > From: Parsons Technical Services [mailto:[EMAIL

Re: Can someone help me to fix the soft link problem in Tomcat 4.1.27

2004-04-13 Thread Parsons Technical Services
omcat unpack > the myApp.war and everything is OK. I may missing something in the server.xml > file. Can you provide a server.xml file that contains a simple Context > definition that I may use to setup my myApp.war. > > Thank you in advance, > Kam > > On Fri, 9 A

Re: Tomcat and DataSource JNDI

2004-04-13 Thread Parsons Technical Services
Paul, Several questions: What version of Tomcat is this? What platform/OS are you on? Which JDK version? Typically this error is from a mis-configuration for the jndi. Here are my configuration files or parts of for my development box. First in the server.xml set up a GlobalResource such as th

Re: Tomcat and DataSource JNDI

2004-04-13 Thread Parsons Technical Services
calls the database. Doug - Original Message - From: "Paul Richards" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, April 13, 2004 4:12 PM Subject: Re: Tomcat and DataSource JNDI > On Tue, 2004-04-13 at 13:35, Parsons

Re: Tomcat and DataSource JNDI

2004-04-13 Thread Parsons Technical Services
Paul, Everything looks okay until here: > > DataSource ds = null; > try { > Context ctx = new InitialContext(); > ds = > (DataSource)ctx.lookup("java:comp/env/jdbc/PhoenixDB"); > if (ds == null) > throw new Exception("DS was null"); > ds.getConne

Re: Relative directory addressing to parent directory

2004-04-14 Thread Parsons Technical Services
There are two other possible solutions. 1. Have a servlet respond to all calls for an image and read it from an external directory then stream it back to the client. 2. Store it in a database as a blob. Then stream it back to the client. I have not done this myself yet. But am planning the datab

Re: emergency - need to get into admin app

2004-04-19 Thread Parsons Technical Services
NOTE: This is an emergency fix only and will leave you wide open. Edit the admin web.xml to allow no authentication. DO NOT LEAVE IT THIS WAY. What do you logs say? What does the server.xml look like? Please post it. Doug - Original Message - From: "Stephen Charles Huey" <[EMAIL PROT

Re: emergency - need to get into admin app

2004-04-19 Thread Parsons Technical Services
need at least a gig! > Thanks... > > > - Original message - > From: "Parsons Technical Services" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Date: Mon, 19 Apr 2004 14:01:14 -0400 > Subject: Re: emergency - need

Re: How to hide files by extension under Tomcat 5?

2004-04-19 Thread Parsons Technical Services
Steve, Since you don't like that you might try this. Set security-constraints for all the file types you want to protect. Then do NOT set an auth-constraint for it. Thus no one will be able to access it from outside. Have not done this myself, but read it in the docs somewhere. Doug www.parsons

Re: Configuration Issue? HELP!

2004-04-19 Thread Parsons Technical Services
What jdk? - Original Message - From: "Jerry Jalenak" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 19, 2004 5:19 PM Subject: Configuration Issue? HELP! > Hi All, > > At my wits end on this, so thought I'd ask the guru's. 8-) > > We are running an Apache HTTP 2.0.4

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

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-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: 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: 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: 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: 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: 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: 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: 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: 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: 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
gt; <% Hashtable lhs=dbSearch.getLocationNames(); String lval=((String)lhs.get(request.getParameter("Location"))).trim(); %> !!! No Races available for Betting at <%=lval%>

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: 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: 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: 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: [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: 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: 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: 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: 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: 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: 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: 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: 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: 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

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: 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: 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: 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: 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: ?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: 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: 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: 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: 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: ¿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

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
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

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: 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: 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: 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
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: 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: 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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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
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: 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: 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: 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

  1   2   3   4   5   6   >