How to unsubscribe tomcat-user mailing list?

2001-10-02 Thread Sam
Hi everybody, how to unsubscribe this mailing list? thanks in advance. --sam

## What is the different of keystore and keypass!?

2001-10-03 Thread Sam
Hi all, What is the difference? keystore is the CA file keypass??? what is the function? thanks.

## Keystore Keytool problem!

2001-10-04 Thread Sam
Hi all, I try to make CA keystore file, == Enter keystore password: changit keytool error: KeyPairGenerator not available == What is the message mean? thanks all!

-- http 405, can not execute servlet

2001-10-04 Thread Sam
RELOAD is necessary. --Sam

## Reduce Tomcat Real memory used ##

2001-10-04 Thread Sam
S 0:046159 78386 8988 7.0 /home/sam/jdk/bin/i386/g... == It cost around 9M memory, so big How should I reduce and rebuild the main program.? any idea? REBUILD tomcat and objcopy --debug? Our Platform: tomcat 3.2.3;jdk 1.2.2;Mandrake 7.0 BY THE W

## Out of Environment space ##

2001-10-05 Thread Sam
Hi all, I want to run tomcat 3.2.3 on win98. the set environment as follows: ==C:\tomcat\bin>set TMP=C:\WINDOWS\TEMP TEMP=C:\WINDOWS\TEMP PROMPT=$p$g winbootdir=C:\WINDOWS COMSPEC=C:\WINDOWS\COMMAND.COM PATH=.;C:\JDK\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND CLASSOATH=.;c:\tomcat\lib\servlet.jar;c

Re: ## Out of Environment space ## Solution

2001-10-05 Thread Sam
as a switch for > this, I don't remember in my head what it is though, type command /? and you > should get info about it. Modify your config.sys so that this option is used > for the default command.com > > Mikael > > - Original Message - > From: "Sam"

Truncation when using getAttribute() from request object

2001-07-05 Thread sam
y configuration problems. Has anybody ran into this problem or have they got any idea how to fix this. I was hoping it was just a checkbox that says truncate CertificateSerialNumber to 46 characters but alas it isnt. (: Please help me! Thanks Sam

bean accessing bean

2001-03-27 Thread Sam
o do that?   Sam.

Re: bean accessing bean

2001-03-27 Thread Sam
e bottom of the tree. - Original Message - From: "Kris Gonzalez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 27, 2001 10:31 AM Subject: Re: bean accessing bean > Sam... > > I do the same thing, and accomplish this in JSP by impor

Re: bean accessing bean

2001-03-27 Thread Sam
D]> Sent: Tuesday, March 27, 2001 10:48 AM Subject: Re: bean accessing bean > Then why not import your connection bean directly into the beans' .java files > and instantiate your connection bean in the constructor for all of the other > beans which will use it? > > Sam wrot

Can't get ajpv13 to go

2000-12-19 Thread Sam
about this the right way? Or should I just specify things to ajp13 and not worry about ajpv13? Thanks, Sam

Config servlet parameters in Tomcat at run time

2002-08-30 Thread Sam Cheung
ot;REJECT". Is there a way to config the variable MAX_COUNT thru the JMX admin interface of Tomcat 4.1.x? Thank you. Sam __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: <

Using Tomcat as a server application framework

2002-08-30 Thread Sam Cheung
ust a servlet running on Tomcat. But what if I need to support a different protocl (e.g. UDP or even WAP) in the future, can I just add a Connector for that without changing my application (my serlvet). Thank you. Sam __ Do You Yahoo!? Yahoo! Fi

HTTP Keep Alive in Tomcat

2002-09-04 Thread Sam Cheung
config the HTTP keey alive timer value within Tomcat? Thanks for any help. Sam __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional comma

Using a different Xerces library in Tomcat 4.1 on jdk1.4

2002-09-06 Thread Sam Cheung
Hi, The Web Application I am running needs an old version of Xerces. I put that xerce.jar file in WEB-INF/lib, but I still get java.lang.NoClassDefFoundError: org/apache/xerces/framework/XMLParser? Could you please tell me how to fix that? type Exception report message description The serve

RE: Rpm start up scripts.

2002-09-09 Thread Sam Ward
will start on next reboot. If you have already done all this, then please ignore this. Regards Sam -Original Message- From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 10 September 2002 11:29 AM To: [EMAIL PROTECTED] Subject: Rpm start up scripts. Is anyone having issues

How can I send respond incrementally in a Servlet

2002-09-10 Thread Sam Cheung
tell me how I can do it? Thanks for your help. Sam __ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional comma

Re: How can I send respond incrementally in a Servlet

2002-09-10 Thread Sam Cheung
Donie, Yes, this is what I want and I don't want to close the socket since I have more response to send. Sam -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 10:48 AM To: 'Tomcat Users List' Subject: RE: How can

How can i send respond incrementally in a Servlet

2002-09-10 Thread Sam Cheung
Thanks. I try setting the buffer to 0, but it still does not work. Sam -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 11:06 AM To: Tomcat Users List Subject: Re: How can I send respond incrementally in a Servlet How about setting your

unable to read() request.getInputStream

2002-10-08 Thread Sam Seaver
Im using TomCat 4.1.12 (Standalone) on redhat linux 7.2 (kernel 2.4.7-10): jsp: <% xmlHandler.doUpload(request); %> bean: blah blah.. public void doUpload(HttpServletRequest request) throws IOException { ServletInputStream in = request.getInputStream();

error with doUpload() in bean

2002-10-08 Thread Sam Seaver
ing)enum.nextElement()); setFileName(mpRequest.getFilesystemName(name)); setType(mpRequest.getContentType(name)); } } anyone? S 2002-10-08 16:39:54 StandardContext[/sam]: Reloading this Context has started 2002-10-08 16:39:54 WebappLoader[/sam]: Deploying class repositories to

Error with multipartParser

2002-10-09 Thread Sam Seaver
I cannot work this out as I get no more in my error messages despite trying to use the usual ways of debugging the bean. Basically I'm using a bean that extends HttpServlet and uses Hunter's MultipartParser, and the error ALWAYS occurs when I try to create an instance of the parser... Error:

RE: Error with multipartParser

2002-10-09 Thread Sam Seaver
quot;Tomcat Users List" <[EMAIL PROTECTED]> >Subject: RE: Error with multipartParser >Date: Wed, 9 Oct 2002 17:14:03 -0400 > > > MultipartParser mpParser = new MultipartParser(req, > > 10*1024*1024); > >try to use a smaller number and see what happens,

Re: reloading of jsp page...

2002-10-10 Thread Sam Seaver
I had this problem with galeon and simple html files, it should be in the settings somewhere in your browser, that you can force it to actually reload the page rather than look in the cache, even though I was pressing the RELOAD button. once i made the change, RELOAD really RELOADed... Sam

Re: reloading of jsp page...

2002-10-10 Thread Sam Seaver
maybe even a samba fix... - Original Message - From: "Padhu Vinirs" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, October 10, 2002 8:59 AM Subject: Re: reloading of jsp page... > > I think I founf out what the problem is. My jsp page is on Linux. I hav

RE: Error with multipartParser

2002-10-10 Thread Sam Seaver
}catch(Exception e){ e.printStackTrace(): } } } the log gave very little, what i cut and pasted was from the log, but with the stacktrace this is what it did: 2002-10-10 14:09:29 StandardContext[/sam]: Mapping contextPath='/sam' with requestURI='/sam/jgu

RE: Error with multipartParser

2002-10-10 Thread Sam Seaver
ECTED]> >Subject: RE: Error with multipartParser >Date: Wed, 9 Oct 2002 23:03:24 -0500 > >Can you give the full exception stacktrace?? That might help us figure it >out. try e.printStackTrace() instead of creating the printwrite and >printing >to standard error. Send the

RE: Error with multipartParser

2002-10-10 Thread Sam Seaver
nasankaran [mailto:[EMAIL PROTECTED]] >Sent: Thursday, October 10, 2002 2:50 PM >To: Tomcat Users List >Subject: RE: Error with multipartParser > > >Its is working fine for me!! The file is getting uploaded and I don't get >an >error at all..What version of Tomcat are

RE: Error with multipartParser

2002-10-15 Thread Sam Seaver
sses and your >application jar files (ie cos.jar) under >CATALINE_HOME/webapps/YOUR_WEBAPP_NAME/WEB-INF/lib (where YOUR_WEBAPP_NAME >is sam, i think) > >Take a look at this doc >http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html > >-Original Message---

RE: Error with multipartParser

2002-10-16 Thread Sam Seaver
input field on >your form or set the path explicitly via a scriptlet. > >-Original Message- >From: Sam Seaver [mailto:[EMAIL PROTECTED]] >Sent: 15 October 2002 15:26 >To: [EMAIL PROTECTED] >Subject: RE: Error with multipartParser > > >Jon, > >Thank you,

classpaths again

2002-10-16 Thread Sam Seaver
OK I have a package created by JAXB called sam.xml within my WEB-INF/classes folder, this is an uncompressed package, thus it's the directories 'sam/xml/*.class' in my jsp page within the same web application, I call: <%@page "import javax.xml.bind.*,sam.xml.*"

Re: classpaths again

2002-10-16 Thread Sam Seaver
gt;Subject: Re: classpaths again >Date: Wed, 16 Oct 2002 20:02:00 -0400 > >Can you give more information about how you try to get sam.xml file? > >Are you using something like: > >yourClass.class.getResource("sam.xml") > >or getResourceAsStream ? > >--

nullpointerexception in bean

2002-10-18 Thread Sam Seaver
I'm sure i've misunderstood beans, but if I write a standalone java application that does the same thing, i dont get the error... the pointer that is null is the pointer to the List called moYe, which is filled in the beans constructor. Also, if I try to access the LabNews object, that also pro

unknown variable and scope

2002-10-21 Thread Sam Seaver
ok i've got this, which is more of a jstl thing, but might be TC related... labnews doesn't exist thing is, i do NOT declare the variable labnews ANYWHERE else in my jsp page, and yet, the test always passes false, in other words, 'labnews' is NOT null Even more confusingly, if I change

[JSP:PLUGIN] Applet in JSP using wrong version

2002-10-28 Thread Sam Seaver
OK, in my normal html file, which I use to run my applet, I have version 1.4 of the JRE coded in, and the java plug-in works well, and the applet is fine. classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" codebase = "http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i

RE: Connecting to mysql - Server configuration denies accessto data source

2002-10-30 Thread Sam Taylor
you might also want to check that you haven't exceeded your max connections to mysql... -Original Message- From: Larry Meadors [mailto:Larry.Meadors@;plumcreek.com] Sent: Wednesday, October 30, 2002 8:31 AM To: [EMAIL PROTECTED] Subject:RE: Connecting to mysql - Server con

HELP for novice

2002-11-06 Thread Sam Harris
I installed tomcat 4.1.12 on Solaris 8, the intent here is to integrate the functionality with apache, so far the first thing is that the conf file is not being generated. Then when I do an include httpd.conf complains about the missing ".so" file. Please help. thanks Sam Harri

Re: Java q: round to n decimal points?

2002-11-14 Thread Sam Seaver
Ya, you have to create a DecimalFormat, and then set it with 2 decimal places, and then create a string, with the double as the parameter, where the string will be the 'parsed' double. S - Original Message - From: "Josh G" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> S

Tomcat 4.1/4.0 manager application

2002-06-14 Thread Sam Ewing
I'm facing a few problems with the Tomcat manager application.. 1. In 4.0.4, the install command copies the web app into the appBase directory.. in 4.1.3, the install does not do this; however the installed application is availble for use. After restarting Tomcat 4.1, the newly installed applicat

Re: Tomcat 4.1/4.0 manager application

2002-06-14 Thread Sam Ewing
"Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > > > On Fri, 14 Jun 2002, Sam Ewing wrote: > > > Date: Fri, 14 Jun 2002 13:00:25 -0700 (PDT) > > From: Sam Ewing <[EMAIL PROTECTED]> > > Reply-To: Tomcat Users List > <[EMAIL PROTECT

Re: accessing servlets from webapps like my-webapp/sub-dir/

2002-06-18 Thread Sam Joseph
need ot be able to generate new directories automatically and call servlets from within them. CHEERS> SAM Sam Joseph wrote: > Hi There, > > [Apologies for potential repeat posting - I sent this main yesterday, > but I wasn't subscribed to the list and I can't seem to acce

Two Tomcat 3.3.1 issues; SSL and Coyote

2002-06-24 Thread Sam Ewing
I had a couple of problems with Tomcat 3.3.1. Any help appreciated!! 1. I was trying to use PureTLS with the standand HTTP/1.0 Tomcat connector. I copied over the three jar file - cryptix32.jar, cryptix-asn1.jar and puretls.jar into %JAVA_HOME%\jre\lib\ext I get the exception- "org.apache.t

webapp + apache (1.3/2.0) + ssl

2002-07-08 Thread Sam Ewing
Anyone with experiences to share? >From what I could figure out, I need to do a 'SSLEngine on' in the virtualhost in httpd.conf. Do I need to have two WARP connectors defined? On for the SSL and one for non-SSL servlets? __ Do You Yahoo!? Sign u

Fwd: Re: deploy manager task in ant

2002-07-13 Thread Sam Ewing
addressed to the TOMCAT-USER mailing list. On Sat, 13 Jul 2002, Sam Ewing wrote: > Date: Sat, 13 Jul 2002 15:45:45 -0700 (PDT) > From: Sam Ewing <[EMAIL PROTECTED]> > Reply-To: Tomcat Developers List <[EMAIL PROTECTED]> > To: Tomcat Developers List <[EMAIL PROTECTED]

RE: Re: deploy manager task in ant

2002-07-14 Thread Sam Ewing
Hi Clay, Sorry for the lack of clarity. What I'm trying to do is deploy a web application, and I get the following execption. I checked file:D:/sam/build.xml:79: java.net.UnknownHostException: D My deploy task looks like this: I checked the URL- it is fine (http://loca

A bunch of webapp questions!

2002-07-18 Thread Sam Ewing
More Webapp questions.. Pier ? :-) 1. I have the following directive in my httpd.conf WebAppDeploy examples conn /examples I find that if I start Tomcat and then Apache, for a little while Apache cannot even serve up content outside the web application path (eg. http://localhost/) *until

Tomcat 4.x/PureTLS

2002-07-27 Thread Sam Ewing
It works with Tomcat 3.x.. however the 4.x documentation is silent on this. Anyone with experience with PureTLS/Tomcat 4.x? Thanks! __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail:

Apache-SSL or Mod-ssl

2001-04-16 Thread Sam Newman
stronghold, are there any issues I should be aware of with using mod_sll as opposed to Apache-SSL?   sam

Apache/Tomcat integration issues

2001-04-16 Thread Sam Newman
o likewise display the html sourcecode. Any ideas?   Thanks in advance,   sam newman   p.s. I'm tempted to buy redhat's strongohld out of my own pocket rather than spend another week of hell getting SSL working myself!    

Re: Tutorial about cookies and sessions

2001-04-16 Thread Sam Newman
f an e-commerce app) or servlet tutorial. sam

Re: Where does System.out.println go under Tomcat

2001-04-16 Thread Sam Newman
look at the docs for HttpServletContext sam - Original Message - From: Brian Burridge To: [EMAIL PROTECTED] Sent: Monday, April 16, 2001 3:02 PM Subject: Where does System.out.println go under Tomcat I've put some system out prints in my JSP pages, but I cannot find the error log

Re: packages under WEB-INF/classes

2001-04-16 Thread Sam Newman
Does your entry in the web.xml for your context reference the servlet using its full path? Also, double check the case of the packages - the entry web.xml, the package declaration and the actual directory strucutre all have to match. sam - Original Message - From: "Mark&quo

Re: Apache/Tomcat integration issues

2001-04-16 Thread Sam Newman
ss I could simply overide this after I include the file. My question was as much why, if ajpv13 is theprefered method, can't tomcat include this information in the mod_jk it generates? Thanks for the help though - I'll stick those ajpv13 lines after the include. sam

Re: support

2001-04-16 Thread Sam Newman
I believe tomcat is being deployed as part of companies overall j2ee solutions. For example, our EJB container, Orcas, bundles and supports Tomcat as their solution for servlets and jsp support. Orcas are now owned by Cape Clear and costs the earth if all you want is Tomcat support. sam

Re: Require help

2001-04-16 Thread Sam Newman
being run by tomcat. This class could be accessed outside of tomcat, and so wouldn't be a servlet. Esentially whilst you cannot directly access non-servlet classes, you can do it using a simple servlet wrapper. sam

Re: Randy - RE: How can I run Batch file from servlet ??

2001-04-16 Thread Sam Newman
ly qualified paths throughtout. That will at least eliminate the sql command as the problem area. sam

Re: Apache-SSL or Mod-ssl

2001-04-16 Thread Sam Newman
...or summat.... sam - Original Message - From: Jeff Kilbride To: [EMAIL PROTECTED] Sent: Monday, April 16, 2001 5:48 PM Subject: Re: Apache-SSL or Mod-ssl Actually, mod-ssl is the preferred way to add SSL to Apache these days. Apache-SSL is an older solution. Most of the commercial ssl pro

Re: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Sam Newman
> > >Any opinions are wellcome Beyond the fact that Apache will give you a wealth of options for configuration, it serves static pages MUCH faster than tomcat. Once you get SSL working with Apache, its pretty transparent to tomcat for example - your servlets will use SSL without any extra work by yourself. sam

Re: I need a working mod_jk.so for Linux

2001-04-17 Thread Sam Newman
Yowser! I have downloaded a version a few days back which works fine (from apache.org). Do you want me to mail it to you? sam - Original Message - From: "Farrell, Sarah" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 17, 2001 2:06 AM Subject: I ne

Re: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Sam Newman
Well, I have run my servlets over SSL. They use session tracking using the HttpSession object and it works fine. I haven't had to change ANY configuraation files at all. sam - Original Message - From: "Christopher Kirk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]&

Re: Apache-SSL or Mod-ssl

2001-04-17 Thread Sam Newman
I'll use that. As to why anyone would use strongolhd, the fact that it doesn't involve rebulidng apache, and that it comes with commercial support will be enough for a lot of people.   sam - Original Message - From: GOMEZ Henri To: [EMAIL PROTECTED] Sent: Tues

Apache/Tomcat issue

2001-04-17 Thread Sam Newman
fine. MSIE has no problems with the servlet. I'm guessing its something to do with the http header I'm sending, but what? Thanks in advance, sam

Re: Apache-SSL or Mod-ssl

2001-04-17 Thread Sam Newman
t for admin stuff c) They release new versions pretty frequently sam

Re: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Sam Newman
HmmI thought the use of HttpSession worked independantly of cookies settings? I assumed it is something very different to the Cookie object. That said, I'll give it a go and let you know. sam - Original Message - From: "Christopher Kirk" <[EMAIL PROTECTED]>

Re: Newbie question with classpath and WEB-INF/lib and WEB-INF/classes

2001-04-17 Thread Sam Newman
You should just put the jar file in the lib directory try doing it unpacked, so you have: WEB-INF/classes - your servlets/jsp's WEB-INF/lib - your jar I'm not too hot on jsp's,but this works with servlets sam - Original Message - From: "Chris Williams&quo

Re: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Sam Newman
There are some issues depending on the protocol you are using. Apparently ajpv12 couldn't correctly determine which mechanism was being used. Are you using ajpv13? Also, check the config settings for SSL in the server.xml. sam - Original Message - From: "Christopher Kir

Re: include a file in a servlet

2001-04-17 Thread Sam Newman
Do you mean include the contents of a file as a string? - Original Message - From: "Georges Boutros" <[EMAIL PROTECTED]> To: "Tomcat (E-mail)" <[EMAIL PROTECTED]> Sent: Tuesday, April 17, 2001 2:46 PM Subject: include a file in a servlet > hi, > > i wanna know how can i include a js

Re: WAR deployment

2001-04-17 Thread Sam Newman
Thrid party libs and the like should be in WEB-INF\lib. Tomcats classloader will automatically pick up and load these jars. Your webapps classes should indeed be in WEB-INF\classes. sam - Original Message - From: "Jim Willeke" <[EMAIL PROTECTED]> To: <[EMAIL PROTEC

Re: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Sam Newman
typing in the index.jsp explicitly does, I'd guess is a problem with the ajpv13 connector (or which ever one you are using). sam - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 17, 2001 4:06 PM Subject: Re: Asking for an Opionio

Re: Logging, server.xml and so on

2001-04-17 Thread Sam Newman
an tailor this logging to reflect the debug level set for your context (ala log4j), I don't know. This works a treat in all my stuff anyway. sam - Original Message - From: "Will England" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 17,

Re: Followup: WAR deployment with JSP's

2001-04-17 Thread Sam Newman
directory structure under classes). So if I had a support class call com.mycomp.UserValidator.class, I would put it in WEB-INF/classes/com/mycomp/. If I had a jar file I use called validator.jar, it would be in WEB-INF/lib Hope this helps, sam - Original Message - From: "Chris Williams&quo

Re: Asking for an Opionio on Apache & Tomcat or Just Apache

2001-04-17 Thread Sam Newman
d by tomcat in httpd.conf should get you started. try the Tomcat-Apahe howto, and the mod_jk howto included in the tomcat distro HTH, sam

Re: question about CLASSPATH

2001-04-17 Thread Sam Newman
Tomcats special classloader should only access classes for each webapp under your webapp directory. You don't have to worry about classes in webapps/bob/WEB-INF/classes picking up webapps/fred/WEB-INF/classes for example.   sam - Original Message - From: Kresimir (B

Re: mod_jk - DEAD END!

2001-04-18 Thread Sam Newman
As I said, check the mod_jk howto (included in the tomcat distro under docs). sam - Original Message - From: "Raj Subramani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 17, 2001 7:38 PM Subject: mod_jk - DEAD END! > Hi, > > I have been

Re: Where does System.out.println go under Tomcat

2001-04-18 Thread Sam Newman
e of the calling servlet into method calls. doing something like 'this.getServletContext().log("msg")` in a servlet will stick stuff in the log files under tomcat/log. I belive you can also specify different log files for each web context.   sam - Original Message -

Re: ServletOutputStream

2001-04-18 Thread Sam Newman
Couldn't you try creating the jpg on the server side, then supply an IMG link to it when you provide the page? sam - Original Message - From: "Georges Boutros" <[EMAIL PROTECTED]> To: "Tomcat (E-mail)" <[EMAIL PROTECTED]> Sent: Tuesday, April 17, 2001

Re: Servlet reloading problems

2001-04-18 Thread Sam Newman
ets running under certain browsers under certain configs. I basically never trust it. Given that tomcat takes less than a minute to restart I always tend to do this to reload servets. The only annoying part being the initial time for calculating session ID's. sam

Re: How to read property files?

2001-04-18 Thread Sam Newman
. If I strip off the package names and the Bob.class I'd get the path to a props file in the root. You'll have to play around with this if the class is in a jar file. Likewise, when loading the props file using the string name, remember to use File.seperator rather than hardcoding a forward s

Re: Servlet reloading problems

2001-04-18 Thread Sam Newman
es in the same place, and server.xml would look like a generic Orcas config file rather than a tomcat specific one. sam - Original Message - From: "CPC Livelink Admin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 17, 2001 9:36 PM Subject: RE:

Re: Hiding JSPs from Public Access

2001-04-18 Thread Sam Newman
it at the top of each page. sam - Original Message - From: "Tim Coultas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 17, 2001 11:42 PM Subject: Hiding JSPs from Public Access > > Folks - > > I have run into the common problem where vi

Re: Apache-SSL or Mod-ssl

2001-04-18 Thread Sam Newman
0 pages of documentation. sam - Original Message - From: "GOMEZ Henri" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 17, 2001 11:20 PM Subject: RE: Apache-SSL or Mod-ssl > >We're deploying on SuSE 7.0 anyway. I prefer SuSE purely because: &g

Re: Servlet jar files

2001-04-18 Thread Sam Newman
You should bundle servlets in a .WAR file. This is the same as a jar file. It contains the WEB-INF directory for your webapp. See the docs for details on deplolyment. This .WAR file will sit directly in the webapps directory. sam - Original Message - From: "David DELGRANCHE&quo

Re: Tomcat and RMI

2001-04-18 Thread Sam Newman
in conf to allow RMI access for your webcontext. sam - Original Message - From: "David Cummins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 18, 2001 8:55 AM Subject: Tomcat and RMI > Has anyone had to build a tomcat application (or any J2EE

Re: Tomcat with Apache/URLRewritting and mod_rewrite

2001-04-18 Thread Sam Newman
It can (see the Apache-tomcat readme in the tomcat distro), but it is strongly suggested that you use mod_jk & tomcat instead of using JServ as it has less bugs, is faster, and I believe is also better maintained. sam - Original Message - From: "Tassilo Pilati" <[EMA

Re: TOMCAT 3.2.1 and mod_jserv for FreeBSD

2001-04-18 Thread Sam Newman
For a comparison of mod_jk and mod_jserv have a look at the Apache-tomcat & mod_jk howto's. sam - Original Message - From: "Detlev Schlereth" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 18, 2001 11:16 AM Subject: TOMCAT 3.2.1 and mod_jserv for

Re: WEB-INF/lib vs. TOMCAT_HOME/lib

2001-04-18 Thread Sam Newman
I'm afraid to say its not a problem I've seen here. Which platform are you running on? sam > -Original Message- > From: Chris Bailey [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 17, 2001 7:32 PM > To: [EMAIL PROTECTED] > Subject: WEB-INF/lib vs. TOMCAT_

Re: Very Basic question about Apache-Tomcat configuration

2001-04-18 Thread Sam Newman
tically let you access the example servlets via apache with the minimum effort. I take it you have consulted the Apache-tomcat howto? sam - Original Message - From: "Gerry Duhig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 18, 2001 12:11 PM Subj

Re: IE problem or tomcat bug?

2001-04-18 Thread Sam Newman
ser do you yourself use? sam - Original Message - From: "Michael Stacey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 18, 2001 12:15 PM Subject: IE problem or tomcat bug? > We've recently moved to a tomcat/apache server under linux using th

Re: IE problem or tomcat bug?

2001-04-18 Thread Sam Newman
ke it the problem context hash debuing turned on? I would still suggest droping the mod_jk developers a line, at least they can add it to thier bug database. sam - Original Message - From: "Michael Stacey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 18

Re: Very Basic question about Apache-Tomcat configuration

2001-04-18 Thread Sam Newman
rectives apache needs to recognise your new context. Let us know if you have any more problems with it. sam

Re: Tomcat with Apache/URLRewritting and mod_rewrite

2001-04-18 Thread Sam Newman
pv13 protocl for connection? I'm using mod_jk and ajpv13, and am session tracking using the HttpSesession class and it works fine, as does parameter passing. I don't know too much about URL reqritting though. sam

Re: worker.properties

2001-04-18 Thread Sam Newman
ou'll get a syntax error on a non-PC platform if you forget to edit this file and try and include it in the Apache directives. See the workers.properties howto for more information (its in the Tomcat docs somewhere). sam - Original Message - From: "Tassilo Pilati" <[EMAIL

Re: Servlet jar files

2001-04-18 Thread Sam Newman
t think you can access anything outside the servlets web context. Alternatively you could deply the webapp unpacked (e.g. not use the WAR file). As far as I can see the only benifits of using a .WAR file is it looks a little neater, hides some of the internals and makes deployment a littl

Re: How to read property files?

2001-04-18 Thread Sam Newman
I suspect getResourceAsStream can only locate property files in your classpath. You will probably have to search the classpath yourself to do it. Check the sorucecode for getResourceAsStream (assuming its not in native code) and see how its done sam - Original Message - From: &quo

Re: How to read property files?

2001-04-18 Thread Sam Newman
You'll want to use getResource when your in a jar file. I've found the safest way is just to know where the property file will be in relation to the class loading it, and get the URL resource for the class itself. This URL will differ for a class in a jar, but its still do

Re: Problem with connection pool

2001-04-18 Thread Sam Newman
I suspect that the servlet is trying to open aoscket or something to talk to the other server to access the database? If so, the servlet security manager may be stopping it. Make sure the security settings in tomcat.policy allow you to open sockets for the servlet codebase. sam - Original

Re: Accesslog in the style of Apache

2001-04-18 Thread Sam Newman
I think if you change the debug setting for the app in question and redirect output of tomcat you should get this displayed. Try setting the debug level to 9 and redirect the stdout and stderr of the tomcat process and have a look. It might also go to a file in the tomcat/logs directory sam

Sorry for double posting

2001-04-18 Thread Sam Newman
Our mailserver is currently playing up, and as a result is sometimes double posting. I applogies for this and am currently trying to work out whats wrong. How I wsh we could afford a system admin! sam

Getting the query string in a tag handler

2001-04-18 Thread Sam Newman
HttpServletRequest object and get the query string that way? sam

  1   2   3   >