Tomcat running as service on XP? Runtime.getRuntime().exec(commandLine)

2006-07-28 Thread Warren
me to a newsgroup where I can get an answer. Any help would be greatly appreciated. Thanks, Warren Bell - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Ant Build Problem Undeploying Struts App from Tomcat

2006-08-02 Thread Warren
ted to Tomcat 5.5.3 from 5.5.1. Everything worked correctly with 5.5.1, I just can't remember what I had set-up differently. Thanks, Warren - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mai

RE: Ant Build Problem Undeploying Struts App from Tomcat

2006-08-02 Thread Warren
That did the trick, Thanks > -Original Message- > > Could it be that you are missing a > antiJARLocking="true"somewhere in your tomcat config? > > Moises > > > "Warren" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED]

Session cookie location?

2006-08-08 Thread Warren
debug my app. I know this is more of a servlet question, but any help will be appreciated. Thanks, Warren Bell Systems Administrator Clark's Nutritional Centers 4225 Market St. Riverside, CA 92501 951-321-1960 ext. 142 909-645-8864 m

Ant Deploy Task Problem

2006-03-28 Thread Warren
wing in it: This use to work when I was using Tomcat 5.0.19 with the catalina-ant.jar that came with it. What am I missing? Thanks, Warren Bell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Ant Deploy Task Problem

2006-03-28 Thread Warren
I made the changes suggested and it works like a charm. As far as switching to Linux, I wouldn't want to do that, I enjoy banging my head up against the wall. Thanks all, > -Original Message- > From: Warren [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 28, 2006 11:14

java.io.FileNotFoundException: webapp not found

2006-11-22 Thread Warren
I keep getting a java.io.FileNotFoundException when Tomcat starts. I will get one for each app I have. My app still works though. I am running Tomcat on a Windows XP box.What do I need to do to fix this? Thanks, Warren Nov 22, 2006 6:55:44 PM org.apache.coyote.http11.Http11Protocol init INFO

RE: Newbie help with newly installed app

2008-04-11 Thread Warren
How are you installing your app. do you have a war file named magnolia that you are placing in the webapps directory? I am not familiar with magnolia but you should have a web.xml file. Are there any special settings that need to be set in it, like url mapping? > -Original Message- > From:

RE: Newbie help with newly installed app

2008-04-11 Thread Warren
FORWARD > ERROR > > > > info.magnolia.cms.servlets.MgnlServletContextListe > ner > > > > > > > > > > - Original Message - > From: "Warren" <[EMAIL PROTECTED]> > To: "Tomcat Users List" >

Re: Re: help getting jsvc up and running on sles9 on ibm pseries (power5)

2006-06-17 Thread Warren Pace
I know this doesn't address the compilation problems but why not run tomcat as a daemon in a chrooted jail? see: http://www.oreilly.com/catalog/tomcat/chapter/ch06.pdf > > From: Christian Andersson <[EMAIL PROTECTED]> > Date: 2006/06/15 Thu AM 06:36:47 EDT > To: Tomcat Users List > Subject:

Re: how to use jsvc to stop the tomcat service

2006-08-03 Thread Warren Pace
> > From: "Patrick Wang" <[EMAIL PROTECTED]> > Date: 2006/08/03 Thu PM 02:27:35 EDT > To: "'Tomcat Users List'" > Subject: how to use jsvc to stop the tomcat service > > Hi All: > > I am using TOMCAT 5.0.28, I found the following command to start a tomcat > instance on the documentation page,

Re: Re: how to use jsvc to stop the tomcat service

2006-08-03 Thread Warren Pace
Pat, See reply below. I left out the left curly brace in the if [ ! -x ${JSVC_BIN} ]; then statement. Sorry, didn't proof-read before I hit send... > > From: Warren Pace <[EMAIL PROTECTED]> > Date: 2006/08/03 Thu PM 05:20:47 EDT > To: "Tomcat Users List"

Re: Re: how to use jsvc to stop the tomcat service

2006-08-05 Thread Warren Pace
gt; > Date: 2006/08/04 Fri PM 03:23:39 EDT > To: "'Patrick Wang'" <[EMAIL PROTECTED]>, > > Subject: Re: how to use jsvc to stop the tomcat service > > > > Warren: > > > > Thanks for the help. I tried to run the comman

Re: Why cannot I put JSVC into a shell script to run

2006-09-01 Thread Warren Pace
Pat, Send us your entire script. Also, which Linux, Tomcat, and Java are you using? That'll help us, too. warren > > From: "Patrick Wang" <[EMAIL PROTECTED]> > Date: 2006/08/31 Thu PM 05:41:32 EDT > To: > Subject: Why cannot I put JSVC into a shell sc

Re: RE: Why cannot I put JSVC into a shell script to run

2006-09-05 Thread Warren Pace
IR" > echo "CLASSPATH: $CLASSPATH" > ./bin/jsvc -jvm server -Djava.endorsed.dirs=./common/endorsed -classpath > /usr/tomcat/bin/bootstrap.jar -outfile ./logs/catalina.out -errfile > ./logs/catalina.err org.apache.catalina.startup.Bootstrap > > > > Thanks &g

threads, performance, and exceptions

2006-10-01 Thread Peter Warren
I have an application that links users so they can chat. My client operates within a browser. To be firewall friendly and avoid client server sockets listening for incoming requests, I implemented the client so that it makes http requests and sits and waits (maybe for minutes on end) until it get

Re: CGI vs SMTP vs Tomcat

2006-10-17 Thread Warren Halstead
nd it worked. So ActivePerl is not messed up in the head. Is Tomcat running the script in some sort of container that restricts what it can connect to? I hope this helps. Thank you in adavance. V/R Warren Halstead Christopher Schultz-2 wrote: > > Warren, > >>> I am runn

Re: Please Help Me

2005-12-02 Thread Warren Pace
What operating system are you using? > > From: Teh Noranis Mohd Aris <[EMAIL PROTECTED]> > Date: 2005/12/02 Fri AM 04:09:38 EST > To: tomcat-user@jakarta.apache.org > Subject: Please Help Me > > Dear All, > I've installed tomcat version 4.1.31 and tried to > start tomcat but the Tomcat window dis

Re: RE: JSP on apache

2005-12-06 Thread Warren Pace
Mukesh, Did you also edit your httpd.conf file and workers.properties? I've attached some snippets from mine as text files. Once you've configured everything, restart the servers first tomcat and then apache. Regards Warren > > From: "mukesh" <[EMAIL PROTE

Re: Start Tomcat as a Linux daemon

2005-12-07 Thread Warren Pace
Which tomcat version? On Wed, 2005-12-07 at 12:35 +, Mário Gamito wrote: > Hi, > > I'm trying to start Tomcat as a linux daemon at server boot, but i don't > have jsvc (although i've installed package admin), like explained in > Tomcat's page. > > An year ago or so, i had this ctl script tha

Re: Start Tomcat as a Linux daemon

2005-12-07 Thread Warren Pace
Mario, Have you recently installed ver 5.5.12 and created symlinks to "jakarta-tomcat"? If not your script needs to be edited to reflect the new directory structure - CATALINA_HOME=/usr/local/apache-tomcat-5.5.12 DAEMON_HOME=/usr/local/apache-tomcat-5.5.12/bin Otherwise, just strip the /bin o

Re: install tomcat daemon on linux

2005-12-10 Thread Warren Pace
ody, Since Linux distributions vary so much, it's up to the user to write his own script. Look in $CATALINA_HOME/bin/jsvc-src-native for an example. Better yet, there should be a script called skeleton in /etc/init.d you can use as a guide to write a proper LSB-conforming script for your fedor

RE: Tomcat 5 error 404

2005-12-14 Thread Warren Pace
Just a shot in the dark . . . is TC4 still listening on port 8080? On Wed, 2005-12-14 at 17:32 -0600, Bliesner, Christopher P wrote: > Yes, I will check on that...thanks for the direction and the link below > has the same 404 effect. > > -Original Message- > From: Caldarale, Charles R [m

Re: Re: MultipartRequest problem

2005-12-16 Thread Warren Pace
Is the servlet part of a "package" in your webapp? MultipartRequest may be another java class on your box. > > From: Franklin Phan <[EMAIL PROTECTED]> > Date: 2005/12/15 Thu PM 06:57:12 EST > To: Tomcat Users List > Subject: Re: MultipartRequest problem > > I downloaded Tomcat 3.3.2 and extra

Re: Add application

2005-12-18 Thread Warren Pace
either create a subdirectory of the top-level directory of your webapp named META-INF and place your context-specific information in a file named "context.xml" or create an xml file with the same name as your webapp (i.e. BookApps.xml ) in $CATALINA_HOME/conf. Both methods have worked for me in

Re: Re: problem with stopping Tomcat

2005-12-18 Thread Warren Pace
And one other question - is any other app listening in on port 8080? I seem to remember the Debian distributions using that port for another app . . . > > From: Steve Dodge <[EMAIL PROTECTED]> > Date: 2005/12/18 Sun PM 04:39:00 EST > To: Tomcat Users List > Subject: Re: problem with stopping To

Re: Re: problem with stopping Tomcat

2005-12-18 Thread Warren Pace
And one other question - is any other app listening in on port 8080? > From: Steve Dodge <[EMAIL PROTECTED]> > Date: 2005/12/18 Sun PM 04:39:00 EST > To: Tomcat Users List > Subject: Re: problem with stopping Tomcat > > What's you environment? What version of Tomcat? What command are you > u

Re: RE: Add application

2005-12-19 Thread Warren Pace
Yep! Thanks, Chuck. > > From: "Caldarale, Charles R" <[EMAIL PROTECTED]> > Date: 2005/12/18 Sun PM 04:58:05 EST > To: "Tomcat Users List" > Subject: RE: Add application > > > From: Warren Pace [mailto:[EMAIL PROTECTED] > > Subject: Re:

Re: Re: problem with stopping Tomcat

2005-12-19 Thread Warren Pace
Did you originally install Tomcat using apt? The Debian package configures Tomcat to listen on port 8180. > > From: marju jalloh <[EMAIL PROTECTED]> > Date: 2005/12/18 Sun PM 04:52:50 EST > To: Tomcat Users List > Subject: Re: problem with stopping Tomcat > > Sorry that I did`nt include thes

Re: Re: problem with stopping Tomcat

2005-12-20 Thread Warren Pace
> begin with either a single or double quote character. > org.xml.sax.SAXParseException: The system identifier must begin with either a > single or double quote character. > at > org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown > Source) >

Re: Re: problem with stopping Tomcat

2005-12-20 Thread Warren Pace
Marju, Glad to hear that. Warren > > From: marju jalloh <[EMAIL PROTECTED]> > Date: 2005/12/20 Tue PM 01:49:31 EST > To: Tomcat Users List > Subject: Re: Re: problem with stopping Tomcat > > Warren I have solved it. The server.xml and web.xml were currupt

Re: Re: access denied to Tomcat manager

2005-12-21 Thread Warren Pace
Could be as simple as not having added a user with manager role to tomcat-users.xml. > > From: vineesh kumar <[EMAIL PROTECTED]> > Date: 2005/12/21 Wed AM 12:58:08 EST > To: Tomcat Users List > Subject: Re: access denied to Tomcat manager > > you may not have access permission to the directory

Re: RE: Error - processCallbacks status 2

2005-12-21 Thread Warren Pace
Is the LoadModule jk_module line in your httpd.conf commented out? > > From: "LEBLANC, Damiens" <[EMAIL PROTECTED]> > Date: 2005/12/21 Wed AM 11:11:47 EST > To: "Martin Gainty" <[EMAIL PROTECTED]> > CC: > Subject: RE: Error - processCallbacks status 2 > > Thank you for your response, > > But,

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Warren Lewis
You probably will need to update the setting of -XX:MaxPermSize= I believe the default value is 64m. cheers - Warren -Original Message- From: Mike Dippold [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 1:57 PM To: users@tomcat.apache.org Subject

Re: Admin Utility Install

2005-12-23 Thread Warren Pace
What operating system? > > From: "Jason Shadonix" <[EMAIL PROTECTED]> > Date: 2005/12/23 Fri PM 03:04:23 EST > To: > Subject: Admin Utility Install > > Any pointers on installing the Admin Utility on Tomcat 5.5. > > > > I don't see any obvious documentation on it. The download gives you a

Re: Re: Tomcat Datasource , can we define them in war file (whithout

2005-12-27 Thread Warren Pace
I'd like to know the answer to this one as well. Does Tomcat allow for per-application realms and can they be of different types (datasource realm, memory realm, etc.)? > > From: Legolas Woodland <[EMAIL PROTECTED]> > Date: 2005/12/27 Tue AM 04:29:37 EST > To: Tomcat Users List > Subject: Re:

Re: Jsvc jar

2005-12-29 Thread Warren Pace
Which tomcat version are you running and on what 'nix? > > From: Marco Rossi <[EMAIL PROTECTED]> > Date: 2005/12/29 Thu AM 08:09:31 EST > To: users@tomcat.apache.org > Subject: Jsvc jar > > Hi all, > > I'm newbie to jsvc, I've found in list archive a past discussion on the > topic[1]. I'm using

Re: Re: users Digest of: get.137891

2006-01-01 Thread Warren Pace
> From: Marco Rossi <[EMAIL PROTECTED]> > Date: 2005/12/30 Fri PM 12:37:06 EST > To: users@tomcat.apache.org > CC: [EMAIL PROTECTED] > Subject: Re: users Digest of: get.137891 > > Hi Warren, > Thanks for your script in tomcat users archive. > > I'

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

2006-01-10 Thread Warren Pace
> > From: Oded Arbel <[EMAIL PROTECTED]> > Date: 2006/01/10 Tue AM 06:59:08 EST > To: users@tomcat.apache.org > CC: "Caldarale, Charles R" <[EMAIL PROTECTED]> > Subject: Re: Apache + Tomcat, Tomcat only handles JSP in localhost > > On Tuesday, 10 ?January 2006 02:35, Caldarale, Charles R wrote:

Two tomcat executables in Windows XP Task Manager

2006-01-10 Thread Warren Pace
OS: Windows XP Professional SP2 Tomcat Version 5.5.12 isapi_redirect.dll I recently installed Tomcat 5.5.12 on my machine at work. I had to front-end tomcat with IIS because of an existing ASP intranet site that I'm just not willing to rewrite. In Windows task manager, I notice that both tomcat

Re: Re: Two tomcat executables in Windows XP Task Manager

2006-01-10 Thread Warren Pace
and tomcat5.exe is the actual tomcat > server. if you stop the service tomcat5.exe will go. > > rgds, > Hardik Tank > > > --- Warren Pace <[EMAIL PROTECTED]> wrote: > > > OS: Windows XP Professional SP2 > > Tomcat Version 5.5.12 > > isapi_redirect.d

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

2006-01-10 Thread Warren Pace
> > From: Oded Arbel <[EMAIL PROTECTED]> > Date: 2006/01/10 Tue PM 12:46:14 EST > To: users@tomcat.apache.org > CC: Warren Pace <[EMAIL PROTECTED]> > Subject: Re: Apache + Tomcat, Tomcat only handles JSP in localhost > > On Tuesday, 10 ?January 2006 14:3

Re: (newb) Tomcat servlet mapping problem

2006-01-21 Thread Warren Pace
mod_jk. It's simple enough to download and build. 1) Is your servlet in a package (us.souther.simple)? Did it compile without error? 2) Generally the directory tree for servlets in packages = WEB-INF/classes/us/souther/simple (which is where your web.xml is telling tomcat to lo

Re: J2EE Security roles

2006-01-24 Thread Warren Pace
> > From: "Venkat Reddy Valluri" <[EMAIL PROTECTED]> > Date: 2006/01/24 Tue AM 11:08:24 EST > To: > Subject: J2EE Security roles > > Hi, >I am using catalina-4.0.4 and Form based authentication with JDBCRealm. >I would like to get the roles of a user from session object in which I

Re: Re: Are servlet name and class name required in web.xml for tomcat 5.5?

2006-01-25 Thread Warren Pace
Deployment Descriptor Element Ordering: icon display-name description distributable context-param filter filter-mapping listener servlet servlet-mapping session-config mime-mapping welcome-file-list error-page jsp-config resource-env-ref message-destination-ref resource-ref security-constr

Re: mod_jk / 503 Error

2006-01-25 Thread Warren Pace
> > From: Neal Whitley <[EMAIL PROTECTED]> > Date: 2006/01/24 Tue PM 05:40:53 EST > To: users@tomcat.apache.org > Subject: mod_jk / 503 Error > > I have mod_jk / tomcat and apache somewhat working together but I am > getting an error when displaying pages via the connector. > > Tomcat is set u

Re: context.xml

2006-01-30 Thread Warren Pace
> > From: "Klotz Jr, Dennis" <[EMAIL PROTECTED]> > Date: 2006/01/30 Mon PM 07:00:03 EST > To: "Tomcat Users List" > Subject: context.xml > > I thought the name of the xml file located in : > > $CATALINA_HOME/conf/[enginename]/[hostname]/ > > had to match the name of your webapp directory. >

Re: RE: context.xml

2006-01-31 Thread Warren Pace
> > From: "Klotz Jr, Dennis" <[EMAIL PROTECTED]> > Date: 2006/01/30 Mon PM 08:28:10 EST > To: "Tomcat Users List" > Subject: RE: context.xml > > Thanks Warren for the reply. > > Wouldn't that version of the file be deleted when I undep

RE: RE: context.xml

2006-01-31 Thread Warren Pace
> > From: "Klotz Jr, Dennis" <[EMAIL PROTECTED]> > Date: 2006/01/31 Tue AM 08:01:01 EST > To: "Tomcat Users List" > Subject: RE: RE: context.xml > > Thanks again Warren. > > I guess I must be approaching this from the wrong perspective o

Re: Catalina vs. jsvc stand alone daemon

2006-02-03 Thread Warren Pace
> > From: <[EMAIL PROTECTED]> > Date: 2006/02/03 Fri AM 07:16:32 EST > To: > Subject: Catalina vs. jsvc stand alone daemon > > Hello Tomcatters, > > finally I solved my Tomcat docs perusal ignorance owed > difficulties, > and could successfully make Tomcat highly available. > Only thing that w

Re: Tomcat Startup Messages

2006-02-06 Thread Warren Pace
.sh? Did you happen to edit either of these files? Sounds as if classpath has been changed. warren > > Feb 6, 2006 4:55:17 PM > org.apache.catalina.core.AprLifecycleListener lifecycleEvent > INFO: The Apache Tomcat Native library which allows optimal > performance in production

Re: Tomcat 5.5 documentation: how to update website?

2006-02-14 Thread Warren Pace
> > From: Steve Meredith <[EMAIL PROTECTED]> > Date: 2006/02/14 Tue AM 03:50:19 EST > To: users@tomcat.apache.org > Subject: Tomcat 5.5 documentation: how to update website? > > Hi all > > Just spent time getting the Tomcat5.sh script to work as a daemon > under linux following the advice on

Re: Re: Tomcat 5.5 documentation: how to update website?

2006-02-14 Thread Warren Pace
> > From: Steve Meredith <[EMAIL PROTECTED]> > Date: 2006/02/14 Tue AM 06:27:52 EST > To: "Tomcat Users List" > Subject: Re: Tomcat 5.5 documentation: how to update website? > > > On 14 Feb 2006, at 11:05, Warren Pace wrote: > > > > >&g

Re: Re: context error

2006-02-15 Thread Warren Pace
> > From: "jacky" <[EMAIL PROTECTED]> > Date: 2006/02/14 Tue PM 08:32:56 EST > To: "Tomcat Users List" , > <[EMAIL PROTECTED]> > Subject: Re: context error > > hi, Mike, >Do you mean put all directories together? > No, we need to separate them. So, any other suggestions about this pr

Re: Website on Tomcat- few problems

2006-02-16 Thread Warren Pace
> > From: "harmeek singh jhutty" <[EMAIL PROTECTED]> > Date: 2006/02/16 Thu PM 03:57:49 EST > To: users@tomcat.apache.org > Subject: Website on Tomcat- few problems > > Hi Friends, > I have a JSP/Java/Tomcat website on which I am able to view the images from > the outside world but for some rea

Re: Re: context error

2006-02-16 Thread Warren Pace
uot; > enableLookups="true" > acceptCount="10" debug="0"/> > > > name="Apache" debug="0" appBase="webapps"> > > > prefix="apache_log." suffix=".txt"

Re: Re: context error

2006-02-17 Thread Warren Pace
> Subject: Re: Re: context error > > > > server.xml is the default server.xml: > > > > > > jacky The you have before and after the default context descriptor are commenting it out. Remove those. I sent you a snippet to try earlier.

Re: Does mod_jk work with Tomcat 5.5?

2006-02-21 Thread Warren Pace
> > From: Brad O'Hearne <[EMAIL PROTECTED]> > Date: 2006/02/21 Tue PM 03:35:52 EST > To: Tomcat Users List > Subject: Does mod_jk work with Tomcat 5.5? > > I downloaded the mod_jk binary for my distribution, and the filename was: > > jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-worke

Re: init.d Tomcat5 file modifications

2006-02-21 Thread Warren Pace
> > From: [EMAIL PROTECTED] > Date: 2006/02/21 Tue PM 03:18:27 EST > To: users@tomcat.apache.org > Subject: init.d Tomcat5 file modifications > > Hi all, > I am a newbie (really new) to the world of java, tomcat, etc. I have a > medical program for teaching cases called MIRC installed on Tomc

Re: Re: init.d Tomcat5 file modifications

2006-02-21 Thread Warren Pace
> > From: [EMAIL PROTECTED] > Date: 2006/02/21 Tue PM 05:46:43 EST > To: "Tomcat Users List" > CC: [EMAIL PROTECTED] > Subject: Re: init.d Tomcat5 file modifications > > Warren, > I would appreciate a copy of your tomcat init file. I will have tomorrow t

Re: Tomcat5.5 init script on FC4 revisited

2006-02-23 Thread Warren Pace
> > From: Bob Hartung <[EMAIL PROTECTED]> > Date: 2006/02/22 Wed PM 05:35:05 EST > To: TomcatUsers > Subject: Tomcat5.5 init script on FC4 revisited > > Hi all, > I have modified a file from Warren Pace. After running, I can ps ax > | grep jsvc and

Re: Re: Tomcat5.5 init script on FC4 revisited

2006-02-23 Thread Warren Pace
> > From: Warren Pace <[EMAIL PROTECTED]> > Date: 2006/02/23 Thu PM 06:43:49 EST > To: "Tomcat Users List" > Subject: Re: Tomcat5.5 init script on FC4 revisited > > > > > > From: Bob Hartung <[EMAIL PROTECTED]> > > Date: 20

Re: Re: Problems Starting Tomcat

2006-03-03 Thread Warren Pace
> > > > > >>Hi all > >> > >>I'm having problems starting Tomcat after my home account (in which > >>Tomcat is installed) was moved from one server to another. > >> > >>The most visible thing that has changed is that my home directory now > >>has a different path. Before the move, my installation

Re: mod jk

2006-03-06 Thread Warren Pace
> > From: "Kaushal Shriyan" <[EMAIL PROTECTED]> > Date: 2006/03/06 Mon AM 05:08:31 EST > To: users@tomcat.apache.org, users@httpd.apache.org > Subject: mod jk > > HI All > > I am getting > > [EMAIL PROTECTED]/apache/bin# ./apachectl start > Syntax error on line 212 of /home/qrq/suds_20_dir/ap

Re: Re: access control

2006-04-06 Thread Warren Pace
> > From: "Zohar" <[EMAIL PROTECTED]> > Date: 2006/04/06 Thu AM 11:46:27 EDT > To: "Tomcat Users List" , > > Subject: Re: access control > > Can I grant access to some jsp pages and deny access to others (in the same > context)? > Yes. I've done it by creating a subdirectory within th

Re: Easy Tomcat Linux/Unix Platform

2006-04-30 Thread Warren Pace
SUSE 10 would be a good choice. It's the Novell group's open source offering. After installation & updates you'll have the latest sun jvm (you'll want to add inst-source.java to your install sources list), and a very recent MySQL. The only problem is with Tomcat. I know of no Linux distribut

Re: Re: Easy Tomcat Linux/Unix Platform

2006-04-30 Thread Warren Pace
lrnobs - need to make a correction to my reply. Regarding versions of Tomcat offered as packages with Linux distributions. Change that to read 5.0.3 not 5.3.0. > > From: Warren Pace <[EMAIL PROTECTED]> > Date: 2006/04/30 Sun PM 01:39:40 EDT > To: "Tomcat Users Lis

Re: Connecting Apache2.2 with Tomcat 5 using mod_proxy_ajp

2006-05-19 Thread Warren Pace
> PROXY_AJP_.CONF *** > > ProxyPass /contact/*.jsp ajp://localhost:8080/contact/ > ProxyPassReverse /contact/*.jsp ajp://localhost:8080/contact/ Use port 8009 (the ajp connector uses 8009) instead of 8080 Add a line in your HTTPD.conf to incl

RE: tomcat 5 not starting

2006-05-25 Thread Warren Lewis
Take a peek at this bugzilla entry that addresses your problem: http://issues.apache.org/bugzilla/show_bug.cgi?id=28988 cheers - Warren -Original Message- From: ahum [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 4:21 PM To: users@tomcat.apache.org Subject: tomcat 5 not

Re: Re: HTTPD with Tomcat

2006-06-08 Thread Warren Pace
Depending on your layout, with httpd 2.2 there should be a subdirectory named extra within the conf directory. Create an httpd-ajp.conf file inside the extra subdirectory. The following example httpd-ajp.conf file assumes mod-proxy-ajp is statically linked. It should get you started... # Examp

Re: Re: HTTPD with Tomcat

2006-06-08 Thread Warren Pace
> > From: [EMAIL PROTECTED] > Date: 2006/06/08 Thu PM 06:41:54 EDT > To: Tomcat Users List > Subject: Re: HTTPD with Tomcat > > Aye, Marc, I saw that. I'm not using proxy_balance, and the server.xml > file you posted looks almost exactly like mine (the main difference > being the port). Cur

JNDI Realm and Active Directory root search

2006-10-31 Thread Matt Warren
I'm trying to get a JNDI Realm working as one might expect with Active Directory. Tomcat 5.5.20 Java 1.5.06 Windows 2000 Server The basic issue is that searching from a domain root "dc=company,dc=com" and using userSubtree="true" results in: Oct 31, 2006 3:18:20 PM org.apache.catalina.realm.JNDI

Re: JNDI Realm and Active Directory root search

2006-11-01 Thread Matt Warren
With that lead, I figured out what was going on. Two issues: - referrals="follow" is required if you search from the top of an ldap tree instead of a specific OU. That property is not documented in Tomcat docs as it might be: http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#JNDIRealm Wit

virtual host getRealPath

2006-11-03 Thread Peter Warren
I'm trying to figure out why I get repeated directory names when calling "application.getRealPath(request.getRequestURI())" from an index.jsp file. Clearly there's something about virtual hosts and contexts that I'm missing. Using Tomcat 5.5 & 6.0 in standalone mode under Windows XP, I see the fo

Re: virtual host getRealPath

2006-11-04 Thread Peter Warren
Hi Chris, Thanks for your response. After poking around a little more, it seems that the call application.getRealPath(request.getServletPath()) provides the proper local file path for me. Any reason not to use that? Peter Christopher Schultz <[EMAIL PROTECTED]> wrote: Peter, > I'm tr

Re: virtual host getRealPath

2006-11-05 Thread Peter Warren
Chris, The application is an image gallery. I want to be able to drop images into directories anywhere underneath the "gallery" webapp directory and have the images automatically displayed as thumbnails in a table. Users can click on a thumbnail for the full-size image. I have an index.

Re: question about context file entries and TC 5.5

2006-12-12 Thread Warren Pace
look in the META-INF folder inside your webapp's directory maybe > > From: "Michael Hencin" <[EMAIL PROTECTED]> > Date: 2006/12/12 Tue AM 10:47:58 EST > To: "'Tomcat Users List'" > Subject: question about context file entries and TC 5.5 > > I am starting to use TC 5.5, JVM 1.5.0_06-b05 on XP. I

Re: JDBCRealm

2006-12-19 Thread Warren Pace
> > From: Wojtek Kusch <[EMAIL PROTECTED]> > Date: 2006/12/19 Tue AM 11:52:20 EST > To: users@tomcat.apache.org > Subject: JDBCRealm > > Hallo! > > I am a newbie. I am defining a JDBCRealm for my web application in the > server.xml: > > driverName="sun.jdbc.odbc.JdbcOdbcDriver"

Cool SSL/TLS Deployment Trick! How Does It Work?

2008-08-04 Thread Warren Killian
py one web application's deployment directory directly "into" another web application's deployment directory? Does this violate the J2EE spec? Is it recommended practice? Can you see anything particularly "wrong" with it? I'd love to hear some comments as this sounds like a strange and interesting trick to me. -- Cheers, Warren Killian [EMAIL PROTECTED]

Re: Virtual Host

2008-08-05 Thread Warren Killian
- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Cheers, Warren Killian [EMAIL PROTECTED]

Re: #of Site can be run on single Tomcat Instance?

2008-08-05 Thread Warren Killian
Hi, I don't know of any specific limit to the number of web apps you can run on a single instance of Tomcat. I think it may only be limited by the amount of system resources you can sweat out of your hardware. Where I work, we have one instance of Tomcat which has probably 30 distinct web applic

Re: cant run servlets

2008-08-06 Thread Warren Killian
Hi Swechha, I don't exactly know of a solution to your problem. I'd need more information. But I think that you do not have to set an explicit $CLASSPATH to include the servlet-api and jsp-api jar files. Tomcat automatically includes the jars in [Tomcat]/common/lib without you needing to specif

Re: How to programmatically add parameters to ServletRequest objects?

2008-08-06 Thread Warren Killian
Hi Jonathan, About ServletRequest and ServletResponse Interfaces not having a "setParameter(name, value)" method...depending on your situation, you may not need to do that. Are you forwarding to another URI within your web app? If so, you could use request/session.setAttribute( String name, Obje

Re: Cool SSL/TLS Deployment Trick! How Does It Work?

2008-08-07 Thread Warren Killian
ce to (think I) understand what is going on now. :-) Cheers! On Thu, Aug 7, 2008 at 10:36 AM, Patrick Markiewicz < [EMAIL PROTECTED]> wrote: > Hi Warren, >It is my understanding that all tomcat does with a WAR file is > unjar it. I.e. whatever is in the war becomes extracte

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-08 Thread Warren Killian
Hi, If you can't get past this limitation, you might look into the Apache Commons "file upload" utility. It is an API specifically for allowing (large) file uploads to a server. It works great, has a simple API and some decent documentation as well. Hope this helps. On Thu, Aug 7, 2008 at 2:18

Possible virus uploaded to Tomcat 5.5.3

2008-08-08 Thread Warren Bell
} }catch(Exception e) { result="Failure!throws Exception - "+e.getMessage()+"! "; } request.setAttribute("result",result); } else { request.setAttribute("result","Failure!Because Remote computer

Re: Possible virus uploaded to Tomcat 5.5.3

2008-08-08 Thread Warren Bell
Mark Thomas wrote: Warren Bell wrote: I have found a war file on my server that appeared around July 14. I am the only one that has access to this machine and I did not put it there. It consists of a jsp that downloads a program named init.exe and then executes it. This server is on a private

Re: Possible virus uploaded to Tomcat 5.5.3

2008-08-08 Thread Warren Bell
Mark Thomas wrote: Warren Bell wrote: Mark Thomas wrote: - What other webapps are installed on the Tomcat instance? Several, they are all intranet apps that do not have any download/upload capabilities and there is no possible sql injection vulnerabilities either. And none of the apps

Re: Possible virus uploaded to Tomcat 5.5.3

2008-08-08 Thread Warren Bell
Mark Thomas wrote: Warren Bell wrote: Mark Thomas wrote: Warren Bell wrote: Mark Thomas wrote: - What other webapps are installed on the Tomcat instance? Several, they are all intranet apps that do not have any download/upload capabilities and there is no possible sql injection

Re: Possible virus uploaded to Tomcat 5.5.3

2008-08-08 Thread Warren Bell
Peter Crowther wrote: From: Warren Bell [mailto:[EMAIL PROTECTED] [details of attack elided] The network that the server is on has a Lynksys RV082 small business router with the firewall completely locked down except for port 8080 available only to the networks with the kiosks. The

Re: Struts vs JSF (poll?)

2008-08-25 Thread Warren Bell
ut either just plain HTML. It has a large community and a helpful mailing list. I have been very happy with it. Hope this helps you. Warren Tommy Pham wrote: Hi everyone, This maybe out of scope for this list but I wanted to know more about Struts vs JSF other this old article [1]. Whi

RE: Replacing tomcat-users.xml

2007-03-28 Thread Warren Lewis
Take a look at this HOWTO. It describes how to configure security/realms to fit your needs: http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html cheers - Warren -Original Message- From: Jean-Sebastien Pilon [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007 12:08 AM To

comet read event

2007-05-22 Thread Peter Warren
The following client code generates a comet BEGIN event on the server but not a subsequent READ event, as I was expecting. How come? Is my code wrong? Are my expectations wrong? See sequence of events commented in code below. // client test method that sends messages to server and listens

comet read event

2007-05-22 Thread Peter Warren
anik wrote: > > it could be because the data from the request already came in with the request. > when the BEGIN happens, perform the actions as if there was a READ as well, ie, empty out the buffer. > > Filip Peter Warren wrote: > The following client code generates a comet BEGIN ev

Re: comet read event

2007-05-23 Thread Peter Warren
utBuffer.toString(); } Filip Hanik - Dev Lists wrote: > take a look at the documentation, the way you are reading it is > incorrect. > you need to take advantage of the available() method > > Filip > > Peter Warren wrote: >> My BEGIN block in my comet servlet now loo

Re: comet read event

2007-05-23 Thread Peter Warren
Yes, I'm using the NIO connector. Here is the config line from my server.xml: Are there any other configuration options I need to set? Peter Filip Hanik - Dev Lists wrote: > and you are using the APR or the NIO connector right? > > Filip > > Peter Warren wrot

Re: tomcat comet, not working...

2007-05-29 Thread Peter Warren
Filip, could you post some client code that sends two separate messages to the server on the same output stream and generates both a begin event and then a subsequent read event. Thanks, Peter (I'm the guy who started the "comet read event" thread. I never heard back after you asked me which conn

Re: [solved] comet read event

2007-06-01 Thread Peter Warren
ystem.out.println(line); out.close(); urlConn.disconnect(); } Peter Warren wrote: > Thanks for the suggestion. I changed the comet test servlet to read > directly from the input stream as shown in the advanced io example. I'm > still seeing the same behavior. No comet read event g

Re: [maybe not solved] comet read event

2007-06-01 Thread Peter Warren
gerous waters my friend. the comet is somewhat like > a real socket, and sending up new HTTP headers might end up just being > data for the Comet servlet. > > Filip > > Peter Warren wrote: >> My client code was the problem. I had been thinking of the comet >> interaction

Re: comet read event

2007-06-04 Thread Peter Warren
.getSession(true).getId()); } else if (n < 0) { log("comet read error"); } } while (is.available() > 0); return inputBuffer.toString(); } } Filip Hanik - Dev Lists wrote: > why don't you make your test available,

  1   2   >