Re: Tomcat 3.3 deployment - last minute problem

2001-12-18 Thread timothy
Hi all, i also investigating this problem a little bit, my solution to this is use a filter to convert all the income request's data to UTF8. and generate JSP by UTF8 encoding. it work quite good. but the problem is my backend database must have UTF8 support >From Timothy -

Re: How often do I need to restart Apache

2002-03-13 Thread timothy
Hi experts, i want to use castor with tomcat but i know nothing from castor, where can i find some resource it is better to have working example with settings. even it is not related to tomcat, it is not a problem (the main point is to understand castor) thx for all expert - Original Messa

tomcat + castor

2002-03-13 Thread timothy
> Hi experts, > i want to use castor with tomcat > > but i know nothing from castor, where can i find some resource it is better > to have working example with settings. > > even it is not related to tomcat, it is not a problem > (the main point is to understand castor) > > > thx for all expert

read/write files for /WEB-INF/data

2001-12-28 Thread timothy
suggestion to do this without pass ServletContext to the helper class as variable? if i need to pass the ServletContext, what is the suitable way to do this? >From Timothy

Re: which is the current directory for Tomcat Server?

2002-01-31 Thread timothy
%TOMCAT_HOME%\bin >From Timothy - Original Message - From: "Santosh Varghese" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, February 01, 2002 6:37 AM Subject: which is the current directory for Tomcat Server? > Hi,

Re: Switching on UTF-8 Encoding

2002-02-07 Thread timothy
i did it by using filter, it works quite good >From Timothy - Original Message - From: "Antony Stace" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 07, 2002 9:45 PM Subject: Switching on UTF-8 Encoding > Hi > > What do I nee

Some help with jk2

2003-09-20 Thread Timothy
Hello all. I'm trying to setup jk2. Well, actually, I'm trying to acquire & build jk2. This is proving to be more than a little difficult. After going over the docs at http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/index.html I think I'm more puzzled than when

Removing default Contexts in production...

2002-11-12 Thread Stone, Timothy
ooking for. Is this correct? May I also remove the Manager context/webapp without adversely affecting deployment? Thanks for your feedback in advance. Warmest Regards, Tim -- /** * Timothy Stone . Sun Certified Java Programmer * Web Master . tstone at cityofhbg dot com * City of

RE: Tomcat 4.x as NT service

2002-11-12 Thread Stone, Timothy
dmond-and-my-life-would-be-much-simpler-Stone -- /** * Timothy Stone . Sun Certified Java Programmer * Web Master . tstone at cityofhbg dot com * City of Harrisburg . 717.255.7297 * Pennsylvania USA . 717.903.9162 * * "This Satan's drink [coffee] is so delicious, * we sha

RE: Removing default Contexts in production...

2002-11-12 Thread Stone, Timothy
gards, Tim -- /** * Timothy Stone . Sun Certified Java Programmer * Web Master . tstone at cityofhbg dot com * City of Harrisburg . 717.255.7297 * Pennsylvania USA . 717.903.9162 * * "This Satan's drink [coffee] is so delicious, * we shall cheat Satan and baptize it."

RE: Tomcat -> Access Connection.

2002-11-12 Thread Stone, Timothy
Ditto. I believe JDBC-OBDC bridge (sun.jdbc.odbc.JdbcOdbcDriver) is the MS-Access option (I have two O'Reilly books here that present this class as the MS-Access option). Tim > -Original Message- > From: Jeanfrancois Arcand [mailto:jfarcand@;apache.org] > Sent: Tuesday, November 12, 200

RE: OFF_TOPIC: How to convert JSP page into an EXCEL format

2002-11-12 Thread Stone, Timothy
Vikas Nagpal, Hmmm... someone correct me if I'm wrong, but can't you do this by setting the MIME type javax.servlet.ServletResponse.setContentType(String s)? ... response.setContentType("application/vnd.ms-excel"); ... One could generate the response to a file (myExcelResponse.xls) and mail it

RE: Tomcat -> Access Connection.

2002-11-12 Thread Stone, Timothy
aigmcc@;apache.org] > Sent: Tuesday, November 12, 2002 14:32 > To: Tomcat Users List > Subject: RE: Tomcat -> Access Connection. > > > > > On Tue, 12 Nov 2002, Stone, Timothy wrote: > > > Date: Tue, 12 Nov 2002 13:25:03 -0500 > > From: "St

RE: OFF_TOPIC: How to convert JSP page into an EXCEL format

2002-11-13 Thread Stone, Timothy
ot work as expected (not to disparage Corel fans, only used as an example. Of course betting on client side support is risky anyway. Unless your environment is homogenous and allows you a "guarantee" of support.) Hope this helps, Tim > -Original Message- > From: Stone, Ti

RE: [offtopic] IDE for Tomcat?

2002-06-13 Thread Timothy Fisher
I like the combination of ANT with JEdit (www.jedit.org). JEdit is an open source code editor written in Java with an extensible framework. There are many great plugins which can be used to make use of it as a Java IDE environment. Timothy Fisher

Re: [offtopic] IDE for Tomcat?

2002-06-14 Thread Timothy Fisher
I thnk you'd like JEdit better than UltraEdit, and its free. Tim --- David Hladky <[EMAIL PROTECTED]> wrote: > Umberto Nicoletti wrote: > > >I use Eclipse (www.eclipse.org) which has very cool > support for > >refactoring: I use Struts so I do more > >bean coding than HTML editing and I do need

RE: Servlet registration

2001-04-11 Thread Julien, Timothy
The whitespace in your in your web.xml could be leading to the failure you see. try: SimpleServlet /simple what URL are you attempting to hit from your browser? Tim Julien HP middleware -Original Message- From: Chris Andreou [mailto:[EMAIL PROTECTED]] Sent: Wednes

RE: WAR deployment

2001-04-17 Thread Julien, Timothy
Title: RE: Servlet Chaining... inside .war:   /WEB-INF/classes/ /WEB-INF/lib/*.jar /WEB-INF/web.xml   any thing else is up to you.  typically jsps are in top level, but can also extend into subdirectories. typically your app resides in classes, with its dependencies in lib.   Tim Julien Hp Mid

Default web.xml

2001-06-15 Thread Timothy Shadel
I have a quick question about how the default web.xml found in the conf directory is supposed to act. The Tomcat User's guide says it acts as a default web.xml for all web applications. I tried to add the following to it: jsp *.jsp

Re: Default web.xml

2001-06-15 Thread Timothy Shadel
MAIL PROTECTED]] > Sent: Friday, June 15, 2001 3:05 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Default web.xml > > > What version of tomcat are you running? > > > --- > Michael Wentzel > Software Developer > Software As We Think - http://www.aswethink.com

Writing to files from Servlets

2001-10-04 Thread Timothy Fisher
I have a servlet in which I save some data to a file. I open the file just using the file name, with no path information. By default, I notice the file is being put into the TOMCAT_HOME/bin directory. How can I change the default "working" directory to be that of the current web application? Th

Re: question

2001-10-25 Thread Timothy Fisher
Make sure the directory structure under the WEB-INF/classes directory mirrors your package names. Tim --- Dmitri Colebatch <[EMAIL PROTECTED]> wrote: > they should go in the WEB-INF/classes, or as a jar > in WEB-INF/lib. You > have got them in the correct directory structure > dont you? > > ht

Tomcat vs. Apache/Tomcat

2001-10-25 Thread Timothy Fisher
Can someone explain the advantages of using Tomcat with Apache, as opposed to using Tomcat as both web server and app server? Thanks, Tim

RE: *** HELP *** mySQL connectivity problems

2001-10-31 Thread Timothy Fisher
You might consider the book titled: "JSP, Servlets, and MySQL" by David Harms. It seems like a pretty descent book. Tim --- "Swart, James (Jim) ** CTR **" <[EMAIL PROTECTED]> wrote: > Does any one know of a good book, tutorial or URL > for Java and mySQL > connectivity? I run Tomcat & mySQL on

RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.

2001-11-01 Thread Timothy Fisher
I think the forums are a GREAT addition! --- "Mangi, Rick" <[EMAIL PROTECTED]> wrote: > Pier, > > I don't think this makes a whole lot of sense. I > understand the advantages > of a forum vs. a mailing list, but requiring people > to look for a link at > the bottom and then register to reply...

Re: Form authentication/ password changing

2001-11-01 Thread Timothy Fisher
The answer will depend on where you are storing your user credentials (names, and passwords). Are you using a flat file, LDAP directory, database??? Tim --- [EMAIL PROTECTED] wrote: > I'm not sure if this is the right mailing list to > post to... > > I use form authentication to authenticate ce

Re: Form authentication/ password changing

2001-11-01 Thread Timothy Fisher
thentication, wherein I dont have to write > the code for security. > > - Sujay > > Quoting Timothy Fisher <[EMAIL PROTECTED]>: > > > The answer will depend on where you are storing > your > > user credentials (names, and passwords). > > Are you using a

Re: Form authentication/ password changing

2001-11-01 Thread Timothy Fisher
> be necessarily a .xml file ? Isnt saving the > password in ascii form less secure > (?) > > Thanks again. > > Sujay > > Quoting Timothy Fisher <[EMAIL PROTECTED]>: > > > Form-authentication is a good way to go. Make > sure > > that the form is

Re: Form authentication/ password changing

2001-11-01 Thread Timothy Fisher
argue that they are more vulnerable sitting in a flat file than in a database. But I"m sure this could be debated on an on... Tim --- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > > > On Thu, 1 Nov 2001, Timothy Fisher wrote: > > > Date: Thu, 1

Re: Form authentication/ password changing

2001-11-02 Thread Timothy Fisher
Experiencing what??? --- Micael Padraig Og mac Grene <[EMAIL PROTECTED]> wrote: > Are you experiencing the same thing? > -Original Message----- > From: Timothy Fisher <[EMAIL PROTECTED]> > To: Tomcat Users List > <[EMAIL PROTECTED]> > Date: Thursday, Nove

Dynamic Email

2001-11-14 Thread Timothy Shadel
Hi, I'd like to generate dynamic e-mail content, typically based on some parameters stored in the current HttpSession. JSP seems like a great tool for this. I can easily edit the "static" portion of the e-mail, and have non-technical personnel work with it. I'd get all the advantages JSP gi

RE: Dynamic Email

2001-11-14 Thread Timothy Shadel
n of handguns and tequila." - D.W. McArthur > -Original Message- > From: Timothy Shadel [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 4:42 PM > To: [EMAIL PROTECTED] > Subject: Dynamic Email > > > Hi, > > I'd like to generate dynamic e-mail co

RE: Byte Serving PDF's

2001-11-14 Thread Timothy Shadel
I wrote a small servlet that went through PDF's byte by byte sending them to the output stream. It also looked for default values in PDF form fields and replaced them with parameters sent in by the request. Here's a slice of the code, but it's the part that loads the PDF file. The actual wri

RE: Dynamic Email

2001-11-15 Thread Timothy Shadel
you want (i.e. request the page through the Tomcat server). Copy the result text into the body of the email message. Send the email message. Randy > -Original Message- > From: Timothy Shadel [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 5:

RE: Dynamic Email (Workaround)

2001-11-15 Thread Timothy Shadel
Java, but most technologies would work. Use HttpURLConnection to open the page you want (i.e. request the page through the Tomcat server). Copy the result text into the body of the email message. Send the email message. Randy > -Original Message- > From: Timothy Sha

Re: JSP/Servlet Web Hosting?

2001-11-20 Thread Timothy Fisher
are you sure thats the right URL.. I cant get it to come up --- Allan Kamau <[EMAIL PROTECTED]> wrote: > www.aoindusties.com web hosting with > TC,Cocoon,JBoss,PostgreSQL/Interbase/mySQL might be > a > good try. > > > --- C Cayetano <[EMAIL PROTECTED]> wrote: > > Anyone know or can recommend a

RE: JSP/Servlet Web Hosting?

2001-11-20 Thread Timothy Fisher
ahh, thanks for pointing that out! --- "McDowell, Mark" <[EMAIL PROTECTED]> wrote: > http://www.aoindustries.com does work... (left out > the r in industries :) > > -Original Message- > From: Timothy Fisher [mailto:[EMAIL PROTECTED]] > Sent: Tuesd

Re: vurtual hosting

2001-12-07 Thread Timothy Fisher
Yes it does support virtual hosting... You need to configure that in the server.xml file. On the tomcat site there is documentation for how to do this. Tim --- Rams <[EMAIL PROTECTED]> wrote: > Hi, > > Does Tomcat support Virtual Hosting? > lf yes, how? > could anyone please give the config. s

Re: Should I use Apache + Tomcat or just Tomcat?

2001-12-13 Thread Timothy Fisher
What will you be using the server for? Like, what type of applications will you be running? How many people do you anticipate using them? Tim --- [EMAIL PROTECTED] wrote: > Hi, I have been trying to use webapp_mod to connect > Apache to Tomcat 4.0.1 > with no luck. I'm running Solaris 8 7/01

Redirecting to a home page after form-based authentication

2002-04-05 Thread Timothy Fisher
home.html. I know this can be done. Just dont remember how. Sincerely, Timothy Fisher __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For addi

Re: Redirecting to a home page after form-based authentication

2002-04-05 Thread Timothy Fisher
Where are you suggesting that code go? You don't want to forward from the login page, because the form on that page is submitted to j_securitycheck. Tim --- [EMAIL PROTECTED] wrote: > How about this? > > String s = "/home.html"; > RequestDispatcher disp = > getServletContext().getRequestDispat

RE: Redirecting to a home page after form-based authentication

2002-04-05 Thread Timothy Fisher
Good point, but I was hoping to find a solution that would be compatible across a variety of app servers. Most commercial app servers do not yet support filters, as they are part of the 2.3 servlet spec. Tim --- Alvin Wang <[EMAIL PROTECTED]> wrote: > Timothy, can you use a filter t

RE: Money for Projects

2002-04-17 Thread Timothy Fisher
Do you know how much they skim off the top for their "service" fee? --- Jay Gardner <[EMAIL PROTECTED]> wrote: > O.K., my bad! I went and looked and this looks like > a reputable site. I hope > the money does indeed go to the right places. > > --Jay Gardner > > -Original Message- > From

Re: Security

2002-04-22 Thread Timothy Fisher
I think that most of the responses I've seen here to the original question are missing the point. I understand the question as he's wondering whether or not you could programatically authenticate a user, such that the container would then recognize the user as being authenticated and not require

Re: Security

2002-04-23 Thread Timothy Fisher
The feature that your describing is the standard J2EE security model. This is a part of any servlet container. Tomcat by itself, without struts or turbine, offers you the same container managed authentication features. Tim --- Joel Rees <[EMAIL PROTECTED]> wrote: > Oki DZ commented: > > > On

Re: Security

2002-04-23 Thread Timothy Fisher
ff based on the value returned by request.getRemoteUser() or request.getUserPrincipal() if it has not been done yet. > Thanks in advance, > > Ben Drasin > Craig --- Timothy Fisher <[EMAIL PROTECTED]> wrote: > The feature that your describing is the standard > J2EE > securit

Re: Security (Struts/Turbine)

2002-04-23 Thread Timothy Fisher
I"m not real familiar with Turbine either... But based on your description of it, you point out that it does not use JSPs for view, which Struts does. I"m curious, what does Turbine use/recommend for creating the view? Surely it does not reccommend putting all of the view into a servlet??? FYI

Re: multithreaded beans, struts, doing it right...

2001-06-20 Thread Timothy Shadel
One option the Struts framework offers to deal with this is generating an MD5 hash (token) on some fairly unique data (current time and Session object ID), and then placing that hash in both the HTML sent to the browser and the Session object. When a request comes in, the MD5 hash from the bro

Re: Tomcat & Mysql

2002-03-05 Thread Timothy Fisher
Setting up Tomcat & Mysql is documented on the Tomcat website. Look at the documentation link and then under realms. There is a discussion of using database for authentication and MySQL is the example they show for the deployment descriptors. There is also an excellent book out called "JSP, MYS

How do I connect JNDI in Tomcat 4.0 to JNDI in JBoss?

2001-02-13 Thread Tye, Timothy
I am trying to run Tomcat 4.0 and JBoss on separate virtual machines. How do I get the JNDI context in Tomcat to look in JBoss JNDI context for the Remote object ? Tim Tye Computer Associates Senior Software Developer tel: +1 972 801-6436 fax: none pager: none mobile: +1 214 924-6396 [EMAIL PR

jasper in another container

2001-03-20 Thread Julien, Timothy
Has anyone gotten Jasper to run in another container? I'm getting a missing resource bundle during init of org.apache.jasper.servlet.JspServlet: java.lang.Error: Fatal Error: missing resource bundle: org.apache.jasper.resources.messages_en_US at org.apache.ja

RE: auth-method

2001-03-28 Thread Julien, Timothy
there are: 1. FORM: FORM login.jsp error.jsp login.jsp needs an html form with action='j_security_check' and inputs named: 'j_username' and 'j_password' 2. BASIC: BASIC default for this you will most likely need to configure your web server to accept BASIC header i

RE: auth-method

2001-03-28 Thread Julien, Timothy
there are: 1. FORM: FORM login.jsp error.jsp login.jsp needs an html form with action='j_security_check' and inputs named: 'j_username' and 'j_password' 2. BASIC: BASIC default for this you will most likely need to configure your web server to accept BASIC header informa

RE: Monitor Connection Pool

2002-12-11 Thread Stone, Timothy
Can you elaborate a little more? My guess is that you want to monitor the connection pool as connection objects are used or freed. You might want to look at http://www.javaexchange.com/ and Mark Mnich's DBConnectionBroker. It provides a logging facility that can tell report this information to

Building JK2 on Mac OS X...

2002-12-17 Thread Stone, Timothy
Anybody familiar with this scenairo? I have a friend that has gotten a lot of help from John Turner's work (are you listening John :) ) but has gets the following near the end of the build: ... cc: unrecognized option `-shared'ld: -L: directory name missingmake[1]: [../../../build/jk2/apache13

jsp:include behavior... help needed.

2003-01-24 Thread Stone, Timothy
List, We have recently been alpha testing an application that must run over a wireless network still running at Flintstone speeds (at best 19.2 but closer to 4800~9600!) As faster wireless is out of the question (management, funding and other obstacles are factors), we have implemented the Comp

jdbc:odbc bridge and CSV/Excel

2003-06-06 Thread Timothy Stone
I've used the jdbc:odbc bridge for Access. Is it possible to do the same with comma-seperated text files and excel documents? The details I'll work out. For a simple web page. nothing exciting or robust. just need to do something quick and dirty with some exported data. Thanks, Tim

placement of properties files

2003-05-28 Thread Timothy Stone
Q: where is the proper place for [props].properties files? such as something that might store username and password pairs. Not the best practice, but if one wanted to. Thanks, Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: placement of properties files

2003-05-28 Thread Timothy Stone
Shapira, Yoav wrote: Howdy, I agree with under WEB-INF as that's a directory the servlet container will protect for you. I don't like to put configuration information on the classpath however. I prefer to access them via other mechanisms, such as the ServletContext. So I would create a directo

[OT] jdbc connections open?

2003-05-30 Thread Timothy Stone
I'm debugging an web app that seems to hang after three to four logins are initiated. One possible item to look at is the number of open connections to the MySQL database. The app was built around a number of Jakarta technologies about 8 months ago. What's the quickest way to check the number o

CATALINA_BASE --help

2003-06-10 Thread Timothy Stone
Gurus, I'm trying to get a better understanding of the CATALINA_BASE variable. Here is my dilemma (with ASCII art): I have a load balanced Tomcat (v4.0.6) configuration on Win2k using mod_jk + Apache 2. It's all working in a production environment. However, on occassion, about once a month, I have

getResourceAsStream and relative paths in web.xml

2003-06-13 Thread Timothy Stone
List, I'm following a twist on some advice that I got from Yoav Shapira. But in playing to learn more I ran across something that I have not been able to solve from reading the documentation. I want to put the relative path to a user=password property file in the web.xml. Given: #web.xml ...

Re: getResourceAsStream and relative paths in web.xml

2003-06-13 Thread Timothy Stone
1. Certainly, using a FileXXX class will attempt to interpret the init parameter value (/WEB-INF...) is an absolute path, because that's how absolute paths are defined for files. Thank you again Yoav. The recommendation then is to skip trying to use a FileInputStream (because the String provided i

RequestDispatcher anomolies (Tomcat v4.1.24)

2003-06-16 Thread Timothy Stone
List, I'm having some trouble with using a RequestDispatcher, it works and doesn't work. #doPost( req, res ) ... 50 Customer customer = 51 Customer.findCustomer( emailAddress, custData); 52 53 if(( customer == null ) || 54( password == null ) || 55( !password.equals( cus

Re: RequestDispatcher anomolies (Tomcat v4.1.24)

2003-06-16 Thread Timothy Stone
Tim Funk wrote: It should blow up at line 61. customer is null. Add a line 57.5: return; -Tim I know it's null :) That's the idea of checking to see if the customer or the password on the request is null, or if the password is incorrect. Forward the user to the "/move/accounts.jsp". The forward i

Re: RequestDispatcher anomolies (Tomcat v4.1.24)

2003-06-16 Thread Timothy Stone
Shapira, Yoav wrote: Howdy, The return; that Tim added is just as important as the null check... Yoav Shapira Millennium ChemInformatics Tim Funk wrote: It should blow up at line 61. customer is null. Add a line 57.5: return; -Tim I guess that the way I understood forward( req, res) was that con

Re: RequestDispatcher anomolies (Tomcat v4.1.24)

2003-06-16 Thread Timothy Stone
Shapira, Yoav wrote: Howdy, I'm attaching a .zip file containing a .war that should help you convince yourself. I'd attach the .war or the source files directly but the listserv doesn't like that. Note the Servlet Specification, v2.3, does not mention whether/when method the method should return c

Re: RequestDispatcher anomolies (Tomcat v4.1.24)

2003-06-17 Thread Timothy Stone
This issue is archived at: http://marc.theaimsgroup.com/?l=tomcat-user&m=105578975520239&w=2 Timothy Stone wrote: I have to say, the behavior seems almost identical to the described behavior of RequestDispatcher#include since control is given back to the forwarding servlet. Th

Re: Alternatives to DBCP

2003-06-23 Thread Timothy Stone
[EMAIL PROTECTED] wrote: Has anyone used any alternatives to the DBCP with Tomcat because it seems to get worse and worse as I use it more. Pete, Are you asking if there are other connection pool managers other than DBCP? Yes. Many. Unfortunately, I can only name a couple off the top of my hea

Re: [OT] how to pronounce Apache ?

2003-08-14 Thread Timothy Stone
John Turner wrote: Sheesh...that wasn't the poster's point. The point was: "the pronunciation is the same as the pronunciation of "Apache" when the context is "a Native American people". John [EMAIL PROTECTED] wrote: Apache has NOTHING to do with indigenous American people. It stands for "a

Re: [OT] how to pronounce Apache ?

2003-08-14 Thread Timothy Stone
Madere, Colin wrote: Anyone smell revisionist history? :P Who's revising history? I first heard the "A PAtCHy server" story in a course on implementing web security. I found it humorous, but recall thinking at the time that I had read elsewhere that it was definitively named for the native Am

mod_jk2, load balancing and TC:TDC

2003-09-04 Thread Timothy Stone
List, O'Reilly's new /Tomcat:The Definitive Guide/ is worth the purchase. But something seems a miss in the chapter on load balancing Tomcats with mod_jk2. I want to provide load balancing and failover as illustrated in the book (pg. 237, fig. 10-2). For those without the book, here's the ASC

Re: mod_jk2, load balancing and TC:TDC

2003-09-11 Thread Timothy Stone
-Original Message- From: Timothy Stone [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 5:45 PM To: [EMAIL PROTECTED] Subject: mod_jk2, load balancing and TC:TDC What's not clear in the book, or the documentation, is if mod_jk2 on a given httpd instance "autodiscov

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Timothy Halloran
this work (don't try to run them together)? If so...save your XML and WEBAPP directories and reinstall Tomcat. Good Luck. -- Timothy Halloran <[EMAIL PROTECTED]> Carnegie Mellon University - To unsubscribe, e-mail: [EMAI

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Timothy Halloran
change ports and such). > Thanks! > > Denise Mangano > Complus Data Innovations, Inc. > 914-747-1200 > > > -Original Message- > From: Timothy Halloran [mailto:[EMAIL PROTECTED] > Sent: Friday, September 19, 2003 10:43 AM > To: Tomcat Users List > Subje

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Timothy Halloran
.start(UserDatabaseRealm.java > :302) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) > at > org.apache.catalina.core.StandardService.start(StandardService.java:497) > at >

RequestDispatcher and pageEncoding question...

2004-04-15 Thread Timothy Stone
List, A servlet I am debugging and trying to understand sets the response's contentType as follows: response.setContentType( "text/html;charset=UTF-8" ); Shortly following the following forward is done: request.getRequestDispatcher( jspPage ).forward( request, response ); response.getWriter().

Re: RequestDispatcher and pageEncoding question...

2004-04-15 Thread Timothy Stone
Timothy Stone wrote: List, A servlet I am debugging and trying to understand sets the response's contentType as follows: response.setContentType( "text/html;charset=UTF-8" ); Shortly following the following forward is done: request.getRequestDispatcher( jspPage ).forward( re

Re: RequestDispatcher and pageEncoding question...

2004-04-15 Thread Timothy Stone
Timothy Stone wrote: Timothy Stone wrote: List, A servlet I am debugging and trying to understand sets the response's contentType as follows: response.setContentType( "text/html;charset=UTF-8" ); Shortly following the following forward is done: request.getRequestDisp

Re: RequestDispatcher and [contentType] question...

2004-04-16 Thread Timothy Stone
any work done prior to the forwarding of the request. Thank you, Yansheng. Tim -Original Message- From: Timothy Stone [mailto:[EMAIL PROTECTED] Sent: April 15, 2004 14:45 To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: RequestDispatcher and pageEncoding question... Timothy St

apache2+tomcat5.0.19+mod_jk in-process

2004-05-26 Thread Timothy Suh
Subject: apache2+tomcat5.0.19+mod_jk2 in-process Date: 5/26/2004, 11:19 AM From: Timothy Suh <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Organization: AOL Can someone help me with setting up apache2 to start tomcat5 in-process using mod_jk2? out-of-process was straight forward but I am

Re: apache2+tomcat5.0.19+mod_jk in-process

2004-05-26 Thread Timothy Suh
led=0 [worker.jni:onShutdown] class=org/apache/jk/apr/TomcatStarter ARG=stopd disabled=0 Peter Rossbach wrote on 5/26/2004, 12:27 PM: > Hello Timothy, > > the JNI integration works only with Tomcat Release greater 5.0.20 > and the commands changed to (startd and stopd) > >

Starting Tomcat as nobody...

2003-11-21 Thread Timothy Stone
I have been devouring /Tomcat: TDG/ by Brittain and Darwin. I have regularly been using Tomcat for years, but some of security tips found in this book are valuable gems indeed. One such as installing Tomcat as a low- or non-privileged user like nobody. I know about the nobody user, starting Apa

Re: Starting Tomcat as nobody...

2003-11-22 Thread Timothy Stone
On Nov 21, 2003, at 9:42 PM, Timothy Stone wrote: Now, how do I start Tomcat as said user? It seems defeatist, at best, to have to login as root to start Tomcat. If I set permissions say 750 (rwxr-x---, this permission is shown in the aforemention Mac OS X directory listing) when I login as a

Re: How to set the user runnig tomcat ? ( + start/stop problem)

2003-11-24 Thread Timothy Stone
Julien, If I can just provide you some feedback, at least if only to let you know that someone is reading and following this thread. :) I'm am trying to do the same, not on Linux but Mac OS X. I'm very interested in this as well. That said, allow me to provide some comments on your post: Juli

Re: Apache2 + Tomcat4 + mod_jk2 success

2004-01-05 Thread Timothy Stone
...snip instructions... Ian, Thank you! Just want'd to pass along some notes from the field on this: 1. Works on RHL8 (psyche). 2. Config: Binary Tomcat in /usr/local/jakarta-tomcat-4.1.29 Source build of Apache 2.0.48 in /usr/local/httpd-2.0.48 # maybe not the most effective/ef

Re: Building jakarta-tomcat-connectors-jk2-2.0.2-src [HOW?]

2004-01-12 Thread Timothy Stone
Carlos Cajina - Hotmail wrote: Hi everyone. Tryin' to build mod_jk2 for my Slackware box (version 9.1 with reiserfs) I've come to a dead-end, and I would appreciate any help since the documentation I've looked into (including the mailing lists) seems to be out of date regarding the building proce

Successful build of mod_jk2 on Mac OS X Panther

2004-01-15 Thread Timothy Stone
List, I have successfully built mod_jk2 on Mac OS X Panther (10.3.2). I document my success at: http://forums.serverlogistics.com/viewtopic.php?t=644 *where comments are welcome.* NB: My success in part may be due to using ServerLogistic's Complete Apache 2.0.48 distro, so it is somewhat spec

Re: virtual hosting and tomcat wt Apache 2 and JK2

2004-01-16 Thread Timothy Stone
Brennon Obst wrote: Dear usergroup, ... When I activated the apache<-->tomcat connection it took over ALL of the virtual hosts and was routing them through Tomcat, does anyone know how to stop that? Is it my Apache 2 and JK2 connectors, where do I turn now? Thank you in advance, I saw this

Re: jk2 for Apache 2.0.43 (and only 2.0.43)

2004-01-20 Thread Timothy Stone
Brennon Obst wrote: Why does it say the following. start This is the 2.0.2 release of JK2 You'll find here binaries for Apache 1.3, 2.0 and IIS. Build under Windows XP, Apache 1.3.27 and 2.0.43, IIS 5.1 * isapi_redirector2.dll is for Microsoft's IIS web server * mod_jk2-1.3.27.dll

Re: Connecting Tomcat to Apache

2004-01-22 Thread Timothy Stone
David Grant wrote: Hello, I am using a preety good but rather old HOWTO and I now need to connect apache to tomcat, so that apache acts as the web server and tomcat handles jsp's and servlets. I've tested it all up to this point and everything is up and running. I am using IBM Java2 1.4.1, tomcat

Re: Connecting Tomcat to Apache

2004-01-23 Thread Timothy Stone
Yiannis Mavroukakis wrote: Install the pcre (Perl Compatible Regular Expressions)libs..either via rpm *retch* or download and build the source from sourceforge(http://sourceforge.net/projects/pcre/) Yiannis PCRE should build out of the box in Red Hat 8+. It did on Mac OS X. For Mac OS X, it was a

Windows XP, TC 4.1.29 and logging question (catalina.out)...

2004-02-12 Thread Timothy Stone
List, I must be too close to the problem, having a background in managing Tomcat on Linux, I can't seem to figure out what is so drastically different about Tomcat on Windows that logging doesn't behave the same. Specifically: c:\%tomcat_home%\bin\startup.bat runs in a separate window (expect

FAIL - Application at context path /[context] could not be started ???

2004-03-02 Thread Timothy Stone
List, I did an archive search. Nothing meaningful returned, so I'm posting what must be a regular question. I can get a development tree to install via the Manager interface, but I can't get it started. This seems to be a UNIX problem at the moment. For example on Windoze: Install directory o

Re: FAIL - Application at context path /[context] could not be started ???

2004-03-03 Thread Timothy Stone
Timothy Stone wrote: List, I did an archive search. Nothing meaningful returned, so I'm posting what must be a regular question. I can get a development tree to install via the Manager interface, but I can't get it started. This seems to be a UNIX problem at the moment. For

Re: FAIL - Application at context path /[context] could not be started ???

2004-03-03 Thread Timothy Stone
not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext. java:193) ... *The very same app runs from /tmp* Any ideas... as I said, I 777 the dev tree, no luck. Many thanks, Tim -Original Message- From: Timothy Stone [mailto:[EMAIL PROTECTED] Sent: Wednesday

[CLOSED] Re: FAIL - Application at context path /[context] could not be started ???

2004-03-03 Thread Timothy Stone
Timothy Stone wrote: Yansheng Lin wrote: What's the console output? how far did you get before you encounter that specific error? Sounds to me like a mis-configuration of the context path problem. You sure you have the right deploy descriptor in your war file? well, it some so

Manager servlet authenticaion using jdbcRealm fails

2002-09-09 Thread Timothy D Martin
ss? Any help appreciated. Thanks, Tim [EMAIL PROTECTED] ----- Timothy DD Martin CSC - GreenTec IV (301) 794-2815 [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: chart in jsp

2001-03-30 Thread Simon Timothy McMenzie
Jeff, do you have any examples we all could take a look at please? Regards, Simon Mc Cheshire, UK. - Original Message - From: "Noll, Jeff HS" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 27 March 2001 16:15 Subject: RE: chart in jsp With a little bit of effort, you can make some

RE: How to set access restriction to servlets in tomcat?

2001-04-26 Thread JULIEN,TIMOTHY (HP-NewJersey,ex2)
use the security-constraint element in web.xml:           Secure Servlets /main/secure       /main/secure     main servlet       main servlet     org.foo.Servlet   Tim Julien HP Middleware   -Original Message-From: Xiaofeng Chen [mailto:[EMAIL PROTECTED]]

  1   2   >