Please Help

2001-12-19 Thread Designing Department
Hi To All, What is TC Stand alone Servlet Contairs Please help Vikas -- To unsubscribe: For additional commands: Troubles with the list:

McClanahan Hints

2001-12-19 Thread Micael Padraig Og mac Grene
At 06:31 PM 12/19/01 -0800, you wrote: >Craig McClanahan > > >-- Craig have you thought of putting together a compilation of your answers? I think it would be a very helpful addition to the jakarta suite. -- To unsubscribe: For additional commands:

AW: mod_jk / EAPI for Win NT

2001-12-19 Thread Lauer, Oliver
Laryy, I understand, so the given warning while starting up Apache/TC doesn't matter at all ? Oliver > AXA eSolutions GmbH > AXA Konzern AG Germany > Oliver Lauer > Web Architect > Wörthstraße 34 > D-50668 Köln > Germany > Tel.: +49 221 148 31277 > Fax: +49 221 148 43963 > Mobil: +49 179 59 06

Re: mail.jar

2001-12-19 Thread Nikola Milutinovic
> Why is mail.jar put in common/libs ? To allow all servlets and JSP to use mail interface. There's no reason for it to be server specific (lib) or to be copied over and over in each WebApp's installation (WEB-INF/lib). Nix.

Re: Apache/Catalina Problem:java.lang.IllegalArgumentException: addChild: Child name 'myhostname' is not unique

2001-12-19 Thread Nikola Milutinovic
> Hello folks: > >I ran into an Apache/Catalina problem and need help. > >I was trying to set up Apache 1.3.22 and Catalina 4.0.1. Intitially > everything seemed fine and I could test all > the examples. Then, when I checked Catalina log file > "apache_log.2001-12-19.txt"

SSL and W2K vs. Solaris - SOLVED

2001-12-19 Thread Richard S. Huntrods
Greetings! I have solved the problem I was having with getting SSL to work on Solaris. As you may recall, I had it all working on W2K with Tomcat 4.0.1, but could not get it to run under Solaris 8 (SPARC). The problem was simple, as was the solution. Java 1.2 (default Java on Solaris 8) is mis

mail.jar

2001-12-19 Thread E B
Why is mail.jar put in common/libs ? __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe: For additional commands:

Problems running Tomcat4.0 under WindowsXP

2001-12-19 Thread Paul Bundick
Has anyone experienced problems with the following command in the shutdown.bat file: C:\Tomcat40\bin>"C:\Tomacat40\bin\catalina" stop basically, CATALINA_HOME is set to C:\Tomcat40 and once it gets to this point in the shutdown.bat process (or startup.bat process for that matter) it bombs becau

Newbee - how does tomcat 3.1 know the names of the jar files to load

2001-12-19 Thread Scott Eade
Hi, I have had a brief look at the archives, but I can't find this particular needle in the haystack. I am trying to get an servlet up and running at an ISP that has tomcat 3.1 and I am running into a couple of problems. (The ISP will soon be upgrading to 4.01 but for now I have to make do with

Re: RMI error (SocketException: socket write error) on Tomcat 4.0, NT4/Win2K

2001-12-19 Thread Tee Chee Han
I have found the solution. It turns out that RMI fails if Tomcat is installed in directory with white spaces. Before my original posting, I had actually seen this bug in the tomcat-dev mailing list: http://www.mail-archive.com/tomcat-dev%40jakarta.apache.org/msg17201.html But I thought my probl

HELP - URGENT : Stability of Tomcat if compare with JBOSS or JRUN

2001-12-19 Thread Frans Thamura
Dear All, I am in a decision to buy a software or use tomcat in real production.. I am very familiar with tomcat 3.2, but never try 3.3, and tomcat 4 still in progress (i cannot recommended tomcat 3.3 and 4 because i still cannot install cocoon 1.8.2, and the cocoon list still not response)..Beca

Re: Problems executing Conn Pool example that comes with JSQLConnect

2001-12-19 Thread Mark
At 11:05 AM 12/20/2001 +1000, you wrote: >Hi Mark, > >Thanks for the prompt response. The files you suggested i add (fscontext.jar >& providerutil.jar) are not in the jndi1_2_1.zip. I am searching for them at >the sun site. Any ideas where I can get them? > >Cheers, >Rudi This is one of the odd

Re: Tomcat 4.01 tag renders in wrong place

2001-12-19 Thread Craig R. McClanahan
On Wed, 19 Dec 2001, Bill Pfeiffer wrote: > Date: Wed, 19 Dec 2001 21:44:14 -0500 > From: Bill Pfeiffer <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Tomcat 4.01 tag renders in wrong place > > David, > > My archi

Re: Tomcat 4.01 tag renders in wrong place

2001-12-19 Thread Bill Pfeiffer
David, My architecture is pretty straightforward. I have a jsp page. It contains my tag. My tag does a RequestDispatcher.inlcude() to another jsp page based on whether a user is logged in. Nothing tricky here. Well, except for the trick of the included content magically appearing in the wron

Re: AW: Classloader question

2001-12-19 Thread Craig R. McClanahan
On Wed, 19 Dec 2001, David Morsberger wrote: > Date: Wed, 19 Dec 2001 21:19:16 -0500 > From: David Morsberger <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]>, > "Lauer, Oliver" <[EMAIL PROTECTED]> > Subject: Re: AW: Classloa

Re: AW: Classloader question

2001-12-19 Thread Jan Labanowski
Rename zip to jar and put it in lib Jan On Wed, 19 Dec 2001, David Morsberger wrote: > I ran into a similar problem today that I can not explain while upgrading to > tomcat 3.3. The JSP we created accesses a bean that uses the oracle 1.2 JDBC > driver, classes12.zip. > > I placed the Oracle cla

Re: AW: Classloader question

2001-12-19 Thread David Morsberger
I ran into a similar problem today that I can not explain while upgrading to tomcat 3.3. The JSP we created accesses a bean that uses the oracle 1.2 JDBC driver, classes12.zip. I placed the Oracle classes12.zip file in the myapp/WEB-INF/lib directory and then I got the NoClassDef exception. I un

Re: Clear Cache In IE5

2001-12-19 Thread Yiu Wing
> Go to server.xml and add this property to your reloadable="true" .../> Actually, I've already got that in place. Here's what I have in the server.xml file but TomCat still gives me the old page. Maybe someone on the list can tell me why. Anyway, thanks all the same. > -Original

Re: Problems executing Conn Pool example that comes with JSQLConnect

2001-12-19 Thread Rudi Doku
Hi Mark, Thanks for the prompt response. The files you suggested i add (fscontext.jar & providerutil.jar) are not in the jndi1_2_1.zip. I am searching for them at the sun site. Any ideas where I can get them? Cheers, Rudi _ Get y

Re: Why do all requests have the same HttpRequestFacade

2001-12-19 Thread Craig R. McClanahan
On Wed, 19 Dec 2001, Casey Bragg wrote: > Date: Wed, 19 Dec 2001 16:24:17 -0600 > From: Casey Bragg <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Why do all requests have the same HttpRequestFacade > > Using Tomcat 4.0.1 latest release

Re: Contrary Login Use Case

2001-12-19 Thread Craig R. McClanahan
On Wed, 19 Dec 2001 [EMAIL PROTECTED] wrote: > Date: Wed, 19 Dec 2001 17:19:20 -0500 > From: [EMAIL PROTECTED] > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Contrary Login Use Case > > In the standard use case for declarative security: > > 1. The user ac

Re: Problems executing Conn Pool example that comes with JSQLConnect

2001-12-19 Thread Mark
>Greetings, > >I'm currently evaluating the JSQLConnect Driver. I downloaded jndi1_2_1.zip >from the sun site, followed the instructions and installed it in the >following directory - C:\jdk1.3\jre\lib\ext\jndi.jar; I also added this path >to my classpath. > >My problem is that I get the follow

RE: Imported classes run, but not under Tomcat

2001-12-19 Thread Kendal L. Montgomery
Put your compile class file in c:\progra~1\tomcat4\webapps\sqaa\web-inf\classes\classes\test.java. Since you used classes as your package name you have to put it in the classes package. The WEB-INF\classes directory is a "root" or just the beginning of where Tomcat looks for standalone classes (

Problems executing Conn Pool example that comes with JSQLConnect

2001-12-19 Thread Rudi Doku
Greetings, I'm currently evaluating the JSQLConnect Driver. I downloaded jndi1_2_1.zip from the sun site, followed the instructions and installed it in the following directory - C:\jdk1.3\jre\lib\ext\jndi.jar; I also added this path to my classpath. My problem is that I get the following exce

Imported classes run, but not under Tomcat

2001-12-19 Thread Gilmore, Phil
I have a class method that works under a container class, but Tomcat returns NoClassDefFound on the imported class method when it's called from a servlet (which is nearly identical to the container class) inside Tomcat. I searched the archive before subscribing here, but couldn't find any que

Why do all requests have the same HttpRequestFacade

2001-12-19 Thread Casey Bragg
Using Tomcat 4.0.1 latest release (nightly 12/18/01 build)... I'm trying to save each user's last request for later review. I'm capturing the request with a Request Filter (implements Filter). For example, I store the ServletRequest coming into the filter's doFilter method. This is actually an

Contrary Login Use Case

2001-12-19 Thread Churchjr
In the standard use case for declarative security: 1. The user accesses a page 2. Tomcat uses web.xml-based Security Constraints and session data about authenticated users to determine whether to fulfill the request or redirect to a login or error page. This is good. But let's say a busines

error on tomcat startup

2001-12-19 Thread Peter Georgiou
HI I'm running Tomcat 4 on Win2k and get the following error when I try to start Tomcat. Tomcat has always worked fine for me, so I don't know why this error has suddenly appeared. Any help please. Here is the error: Starting service Tomcat-Standalone Apache Tomcat/4.0 ERROR reading java.io.F

Re: Tomcat 4.01 tag renders in wrong place

2001-12-19 Thread David M. Karr
> "Bill" == Bill Pfeiffer <[EMAIL PROTECTED]> writes: Bill> The page buffer/autoFlush tag worked like a charm: Bill> <%@ page buffer="0" autoFlush="true" %> Bill> Big Thanks!! Bill> I will research into why I have to add this tag to get my include to work Bill> correctly

RE: Clear Cache In IE5

2001-12-19 Thread Guido Medina
Go to server.xml and add this property to your -Original Message- From: Yiu Wing [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 12:19 AM To: Tomcat Users List Subject: Re: Clear Cache In IE5 > 1)Tools/Internet Options/Temporary Internet Files/Settings/Every Visit to > the

Re: Clear Cache In IE5

2001-12-19 Thread Yiu Wing
> 1)Tools/Internet Options/Temporary Internet Files/Settings/Every Visit to > the Page. > > 2)Tools/Internet Options/Temporary Internet Files/Delete Files/All offline > content. > > And after Refresh for every page. Do it, I had that problem before and more > if you use any caching server like squ

apache running dog slow with jboss+tomcat

2001-12-19 Thread dgruber
I am trying to get apache setup with to handle all my static content in cooperation with jboss & tomcat. I have it all setup and running fine, with the exception of my jsps (which is another thread entirely), but the static content is DOG slow. It runs, but you can see the images loading one by

RE: How to unsubscribe?

2001-12-19 Thread Bongiorno.Christian
click the link at the bottom of this (or any) email -Original Message- From: Siomara Pantarotto [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 2:03 PM To: [EMAIL PROTECTED] Subject: How to unsubscribe? Help Please ... How do I unsuscribe This list is killing my email

How to unsubscribe?

2001-12-19 Thread Siomara Pantarotto
Help Please ... How do I unsuscribe This list is killing my email account sio _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe:

Apache/Catalina Problem:java.lang.IllegalArgumentException: addChild: Child name 'myhostname' is not unique

2001-12-19 Thread Cui, Ping
Hello folks: I ran into an Apache/Catalina problem and need help. I was trying to set up Apache 1.3.22 and Catalina 4.0.1. Intitially everything seemed fine and I could test all the examples. Then, when I checked Catalina log file "apache_log.2001-12-19.txt" and found Catalina kept

Re: RMI error (SocketException: socket write error) on Tomcat 4.0, NT4/Win2K

2001-12-19 Thread RSEQUEIRA
Turn on logging on the RMI server process: java -Djava.rmi.server.logCalls=true -Djava.rmi.server.logLevel=VERBOSE -Djava.rmi.loader.logLevel=VERBOSE where, java.rmi.server.logCalls=true -> will log all incoming calls and exceptions java.rmi.server.logLevel=VERBOSE -> will log details of out

Re: Tomcat 4.01 tag renders in wrong place

2001-12-19 Thread RSEQUEIRA
My theory is that the JSP page buffering with Tomcat 3.2.2 (and I say Tomcat 3.2.2, since I haven't tried this out with another servlet container like JRun) is the culprit. The JSP compiler generates the servlet code in the correct order. But during execution of the servlet, the output from certa

RE: Multiple root context applications

2001-12-19 Thread Bongiorno.Christian
I dont' see why you can't just org.apache.catalina.startup.Bootstrap.main() twice just change the system hash to change the catalina.base and catalina.home ...so System.getProperties().put("catalina.base","/home/tomcat1"); System.getProperties().put("catalina.home","/home/tomcat1"); // start

RE: VERY VERY URGENT!!!!

2001-12-19 Thread Dave Cramer
#1) This is a well documented problem with sun's jdk. Have a look on their website, the bottom line is that you need a new jdk Dave -Original Message- From: Hunter Hillegas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 11:43 AM To: Tomcat User List Subject: Re: VERY VERY

Multiple root context applications

2001-12-19 Thread manjuls
Hi, I have an application which deploys in the root context of Tomcat. Now the problem is that I want to deploy multiple instances of this application on one machine only. One way is to run multiple tomcats on different ports. Is there any other better way ? Tomcat 4.x supports different insta

Re: No examples with 4.0.1 install on OSX

2001-12-19 Thread Steven O'Toole
At 1:33 PM + 12/19/01, Peter Reynolds wrote: > >Has any one had any success with 4.0.1 on OSX? If so do they know why it >might not be working for me? Most likely the files were corrupted by Stuffit after the download. Re-install according to the instructions on this page: http://www.geekt

Re: VERY VERY URGENT!!!!

2001-12-19 Thread Hunter Hillegas
Can't comment on #1 but #2 is set in your Web Apps war file. > From: Catalin <[EMAIL PROTECTED]> > Organization: Quattrosoft International > Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> > Date: Wed, 19 Dec 2001 15:14:28 -0800 > To: [EMAIL PROTECTED] > Subject: VERY VERY URGENT > > >

RE: Illegal State Exception - Further information.

2001-12-19 Thread Larry Isaacs
The Servlet spec says that you can not call HttpServletResponse.sendError() once output has been committed to the browser. If you do so, you get the IllegalStateException you are seeing. With content already sent, it is too late to do a redirection. Content will automatically be committed once

RE: Illegal State Exception

2001-12-19 Thread SHeyns
I would begin by examining the form on which the error occured as indicated by the message. You should locate the source code under the TOMCAT_HOME/work/{webcontext}/.../form_jsp_{Highest number}.java That should show the source of the problem form and from there you should be able to determine th

SSL on Tomcat 4.0 with IBM JDK 1.3.0

2001-12-19 Thread Mihai Gheorghiu
I managed to start Tomcat 4.0.1 on my RH 7.0 box only after I replaced Sun's JDK 1.3.1 with IBM's JDK 1.3.0. This also avoids errors in some other packages (I'm experimenting with Velocity). So, if I want to have an SSL connection to TC 4.0.1 on IBM JDK 1.3.0, what do I need to do? Thank you all.

SV: JNDI resource for connection pooling

2001-12-19 Thread Niclas Rothman
Amin! I´ve experienced the same problem as you but I´m trying with a MS Sql Server. Could you maybe send me or the list the code for the workaround? Niclas -Oprindelig meddelelse- Fra: Amine AMAR [mailto:[EMAIL PROTECTED]] Sendt: 19. december 2001 17:50 Til: Tomcat Users List Emne: Re

RE: Illegal State Exception

2001-12-19 Thread Justin Rowles
> You are doing something like res.getOutputStream().write(data); twice > within the same request. This could be for several reasons > and it general > occurs when you include a page in your response and then try > to use the > above - you can do a response.isCommited() to check the state of th

Re: JNDI resource for connection pooling

2001-12-19 Thread Amine AMAR
Hi Rich, I still have no clean working solution. for the server.xml stuff, I have no clue why we should put config there. The docs says so, so I did give it a try. I have a workaround for my problem which is to write the registration in a stand alone class with the init() method registring the

Stronghold and Tomcat 4.0.1

2001-12-19 Thread Robert D. Morse
Are there any problems/issues with integrating Tomcat 4.0.1 and Stronghold 3.0? A search through the last several months of e-mail on this list didn't turn up anything, so I thought I'd ask before trying it. Thanks. --- Robert D. Morse [EMAIL PROTECTED]

RE: Embedding Tomcat 4

2001-12-19 Thread Bongiorno.Christian
Glad I could help. I am finding I enjoy responding to this news group. -Original Message- From: Jean-Robert Haddad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 10:39 AM To: Tomcat Users List Subject: RE: Embedding Tomcat 4 Thanks Christian. This is just what I needed

Tomcat 4, IIS, ISAPI redirector

2001-12-19 Thread Dean H. Saxe
I have run across an interesting problem with Tomcat4/IIS. I have written a servlet which proxies TIFF images to a user for diaply in a web page. My application works fine as long as I use MSIE to connect directly to Tomcat and retrieve the TIFF images from the servlet. However, when I conne

RE: Illegal State Exception

2001-12-19 Thread SHeyns
You are doing something like res.getOutputStream().write(data); twice within the same request. This could be for several reasons and it general occurs when you include a page in your response and then try to use the above - you can do a response.isCommited() to check the state of the response.

RE: Illegal State Exception - Further information.

2001-12-19 Thread Justin Rowles
> At intervals I get this error (or very similar). I have > previously got rid of it by removing what I last did! I have commented out all my recent additions, and the system worked again. I then uncommented all my comments, one by one, and guess what? It still works. Anyone got any ideas?

AW: How to Increasing Tomcat memory?

2001-12-19 Thread Ralph Einfeldt
Depends on how you configured tomcat. If each port is served by one tomcat, each has its own value, because they use different VM's. If you configured one tomcat to server each port the value is shared between the ports (Just one instance of the VM) > -Ursprüngliche Nachricht- > Von:

Illegal State Exception

2001-12-19 Thread Justin Rowles
At intervals I get this error (or very similar). I have previously got rid of it by removing what I last did! Last time, it appeared to be caused by calling the first() method on a ResultSet. This time I have made several changes and have no idea what the cause is. How can I pursue it through

AW: Code request; Code to reveal a DB schema

2001-12-19 Thread Ralph Einfeldt
That was/is not the problem. All other methods we use in DatabaseMetaData work. (Like getTables(), getPrimaryKeys(), getCrossReference() and several other methods that wouldn't work without the stored procedures). > -Ursprüngliche Nachricht- > Von: James Chuang [mailto:[EMAIL PROTECTED]

RE: How to Increasing Tomcat memory?

2001-12-19 Thread Greg Jones
What if I had a few connection-instances running on the same machine on different ports. If I setup the TOMCAT_OPTS value wouldn't restrict the entire environment to that heap size, or would each connection get the value of the TOMCAT_OPTS value? Need some .EDU on this one. Thanks. - Greg ---

Error instantiating servlet class org.apache.jasper.servlet.JspServlet- HELP?

2001-12-19 Thread Caroline Clewlow
Hi I'm running Tomcat 4.0.1 on NT and the following errors occur in the logs when I invoke the server. The it won't run any of the JSP files. Anyone know whats happening ? javax.servlet.ServletException: Error instantiating servlet class org.apache.jasper.servlet.JspServlet Root Cause java.la

RE: Embedding Tomcat 4

2001-12-19 Thread Jean-Robert Haddad
Thanks Christian. This is just what I needed. Jean-Robert Haddad Directeur R&D KHEOPS technologies tél.: 514.285.1211 -Original Message- From: Christian Bongiorno [mailto:[EMAIL PROTECTED]] Sent: 18 décembre, 2001 21:18 To: Tomcat Users List Subject: Re: Embedding Tomcat 4 I have em

Re: Session

2001-12-19 Thread Stephen D Brown
Hi Jon, You can just write your own auth module, overriding BaseInterceptor, and adding an entry to modules.xml or interceptors.xml. This could be a little cleaner, as you don't have to add code to every servlet and jsp. //steve Jayson Yu wrote: > You are right, this is not very efficient,

Re: How to find a file from a class with Tomcat

2001-12-19 Thread Bo Xu
- Original Message - From: "Stephan Wiesner" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, December 19, 2001 9:36 AM Subject: How to find a file from a class with Tomcat > I have a Servlet S.java which uses a class C.java (not a servlet itself, > could

Re: Code request; Code to reveal a DB schema

2001-12-19 Thread Igor Fedulov
> *Totally* DB specific. For Oracle try searching http://technet.oracle.com; > for anything else try asking on a database list? ;-) For code examples I would poke around Netbeans code they have some cool functionality in Runtime tab of the explorer, i.e. database browser of some kind. Try to dow

Re: How to find a file from a class with Tomcat

2001-12-19 Thread Stephan Wiesner
Thanks for all the quick tipps! Okay, here is what works for me: InputStream in = this.getClass().getResourceAsStream("1.txt"); int c = 0; out.println(""); while(( c = in.read()) != -1) out.print(((char)c) + ""); out.println(""); Stephan - Original Message - From: "Ralph Einfeldt" <[

AW: How to find a file from a class with Tomcat

2001-12-19 Thread Ralph Einfeldt
You have several Options. Just one: getResourceAsStream(). I think others will provide other solutions. which is the best, depends on your needs. > -Ursprüngliche Nachricht- > Von: Stephan Wiesner [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 19. Dezember 2001 15:36 > An: Tomcat Users

RE: How to find a file from a class with Tomcat

2001-12-19 Thread Randy Layman
If you only need a stream (and not FileInputStream) you can use getResouceAsStream, which will return an InputStream, from which you can create just about any other stream that you want. Randy > -Original Message- > From: Stephan Wiesner [mailto:[EMAIL PROTECTED]] > Sen

RE: How to Increasing Tomcat memory?

2001-12-19 Thread Randy Layman
You need to put the -Xms (for minimum Java Heap memory) and -Xmx (for maximum Java Heap memory) where ever you start up Tomcat. You can hard code it into the tomcat.bat/tomcat.sh/wrapper.properties file as appropriate, or you can set environment variable TOMCAT_OPTS (for TC 3.x) or CATAL

Tomcat 4 & IIS 5

2001-12-19 Thread Chen, Gin
Hi All, 2 Questions: I followed instructions that I found on the internet for integrating IIS and TOMCAT. I finally got it to work for the examples directory that those instructions are used for. I cant, however, get it to work with other contexts in my server.xml. Question

RE: How to find a file from a class with Tomcat

2001-12-19 Thread Barney Hamish
Why don't you put it in the web.xml directory [my directory] Then you can grab it from your servlet with a get Context Parameter call. -Original Message- From: Stephan Wiesner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 3:36 PM To: Tomcat Users List Subje

RE: How to find a file from a class with Tomcat

2001-12-19 Thread Bongiorno.Christian
Stick the resource in along with the JAR. Then they will be loaded together and a simple call to the file without a path should discover it -Original Message- From: Stephan Wiesner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 9:36 AM To: Tomcat Users List Subject: How

How to find a file from a class with Tomcat

2001-12-19 Thread Stephan Wiesner
I have a Servlet S.java which uses a class C.java (not a servlet itself, could make it one if I had too). C.java needs to read a config file. The problem is that this class thinks it is in c:/ or wherever I started the tomcat server from. I can use this.getClass().getResource(fileName); but that o

RE: Can anyone give me an answer?

2001-12-19 Thread Brian Adams
Hi Ed, I do mine via apache httpd.conf Alias /catgraphics/ "C:/Apps/Apache/catgraphics/" Options FollowSymLinks AllowOverride None here is an alias... now my web-app gets it like: here -Original Message- From: Ed Turner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, De

RE: How to Increasing Tomcat memory?

2001-12-19 Thread Greg Jones
It goes in the server.xml file in your connector section. i.e. I use the -mx extention, but I believe you can use the -Xms and get the results you need. - Greg -Original Message- From: Jack Li [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 4:44 PM To: '[E

Re: Can anyone give me an answer?

2001-12-19 Thread Ed Turner
These files are actually being displayed in a window with javascript. The filename is passed to a javascript function when a button is clicked. The script loads the file into a window. I was unable to successfully load the files without actually locating them under my web app directory. I

RE: Tomcat4 index.html redirection problem - different to 3.2.x

2001-12-19 Thread Larry Isaacs
FWIW, Tomcat 3.3 redirects using a status code of 301. I believe Tomcat 4.x redirects using a status code of 302. I don't know if that could be making a difference. Cheers, Larry > -Original Message- > From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 19, 2001 7

RE: mod_jk / EAPI for Win NT

2001-12-19 Thread Larry Isaacs
You can try mod_jk.dll from Tomcat 3.3, found at: Cheers, Larry P.S. EAPI doesn't apply to Win32 platforms. It's all DLL's. > -Original Message- > From: Lauer, Oliver [mailto:[EMAIL PROTECTED]] > Sent: Wedn

RE: No examples with 4.0.1 install on OSX

2001-12-19 Thread Peter Reynolds
Thanks for the suggestion. I'll check them. Although it does seem a little odd that 3.3 would work is this were the problem?! Peter > -- > From: Bongiorno.Christian > Reply To: Tomcat Users List > Sent: Wednesday, December 19, 2001 14:00 PM > To: Tomcat Users List >

Re: JNDI resource for connection pooling

2001-12-19 Thread Rich Baldwin
Amine Been playing around w/ the same thing as you. Have you figured it out yet? I am a bit baffled by the role of setting the context in server.xml. Without making any changes to server.xml, I downloaded and installed poolman and can run the database client, querying any of my oracle tables.

Re: Code request; Code to reveal a DB schema

2001-12-19 Thread James Chuang
For sybase, it used to be that you have to run a SQL script to load some system procs before the MetaData stuff would work. Their jConnect driver used to document this pretty well. jchuang - Original Message - From: "Ralph Einfeldt" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PR

RE: Can anyone give me an answer?

2001-12-19 Thread Bongiorno.Christian
Get??? Who is "Getting" them? The web browser or the server? If it is the web-browser you can just upload with http -Original Message- From: Ed Turner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 9:09 AM To: [EMAIL PROTECTED] Subject: Can anyone give me an answer? I am

RE: Can anyone give me an answer?

2001-12-19 Thread Guido Medina
Yes, java.io.File, java.io.FileReader, read a litle bit about and that's it, after set up in your servlet (or jsp) the context type eg: context-type/image-gif, and that's it, noone of course will write for you that servlet but that's the way it could be done. Guido. -Original Message- Fr

RE: jkconf? Does it work in 4.0.1? Where's workers.properties?

2001-12-19 Thread Larry Isaacs
There is are some examples of the file contents which may be found at: Bill Barker has ported the ApacheConfig to jakarta-tomcat-connectors, so some configuration file generation should be available in the next release of Tom

Can anyone give me an answer?

2001-12-19 Thread Ed Turner
I am running a web application under Tomcat 3.2.3 and would like to access existing jpeg files from the server's local disk. Is there a way to get to these files from my JSP without putting them under the web app directory?? Any hints? Ed -- To unsubscribe: For

RE: No examples with 4.0.1 install on OSX

2001-12-19 Thread Bongiorno.Christian
I don't know much about mac X, but, did you check the hosts.allow and hosts.deny ? Maybe only 127.0.0.1 is allowed. Given this is unix for COMPLETE PC rookies (let alone unix rookies) they probably don't want people shooting themselves in the foot -Original Message- From: Peter Reynolds

RE: VERY VERY URGENT!!!!

2001-12-19 Thread Randy Layman
I would suggest that you read the mailing list archives, since this is a common problem with an easy solution (even though those presented so far are not correct). Hint, it involves editing the wrapper.properties file to include the command line switch that Sun provides to avoid this "fe

Tomcat 3.3 Testimonial

2001-12-19 Thread Mauricio Nuñez
Hi! I want to tell you about my experience! I finish to migrate from 3.2.4 to 3.3 ( about 2 hours yesterday). I'm impressionated with its performance. My homepage receive 3000 hits per hours, and under 3.2.4 my servlet can't work, been replaced for a crontab every 5 min generating a static i

RE: JNDIRealm and Interbase - step 3

2001-12-19 Thread Michael Weissenbacher
you must be sure that interserver is started and responding (try telnet localhost 3060 to test it). interserver is the server-side part of interclient. i'm afraid i've never used interbase with JDBCRealm so i cannot give you advice for that michael -Original Message- From: Diego Novati [

RE: mod_jk for NT and EAPI

2001-12-19 Thread Diego Castillo
I do not get a warning myself, Apache refuses to start-up without mod_webapp being compiled with the -DEAPI option. I am currently using mod_proxy as a workaround, but I would rather use mod_webapp if I could find a version compatible with mod_ssl. Diego -Message d'origine- De : Lauer, O

AW: VERY VERY URGENT!!!!

2001-12-19 Thread Lauer, Oliver
Yes, I start it as administrator and it stays alive even if I log off. > AXA eSolutions GmbH > AXA Konzern AG Germany > Oliver Lauer > Web Architect > Wörthstraße 34 > D-50668 Köln > Germany > Tel.: +49 221 148 31277 > Fax: +49 221 148 43963 > Mobil: +49 179 59 064 59 > e-Mail: [EMAIL PROTECTED

RE: VERY VERY URGENT!!!!

2001-12-19 Thread Justin Rowles
> 1. I want the Jakarta service keep functioning when an user > logoff from NT (now it is stopping). Start ->Settings ->Control Panel ->Services ->Jakarta ->Settings (or something like that) ->Run as... Enter administrator and the admin password. Then it will run as admin and continue when you

AW: VERY VERY URGENT!!!!

2001-12-19 Thread Teinert, Arndt
Hi, you can control the session-timeout via the web.xml file: ... 10 ... this sets session timeout to 10 minutes. You can also use: HttpSession.getMaxInactiveInterval(); With the service problem: Perhaps you have to modify the rights for the user who starts the service. Perhaps its eno

RE: PLEASE HELP: Apache+Tomcat - Virtual hosts + separate VMs

2001-12-19 Thread Larry Isaacs
There is a little documentation about this, which is found at the following online locations. Context configuration: Apache mod_jk.conf generation:

No examples with 4.0.1 install on OSX

2001-12-19 Thread Peter Reynolds
Hello everybody, Having successfully installed a 3.3 distribution of Tomcat on OSX10.1.1 I attempted a 4.0.1 install. However whilst the welcome page and manual pages are successfully displayed by Tomcat at 127.0.0.1:8080 the attempt to view any of the examples or servlets results in a 'Resource

Re: mod_jk for NT and EAPI

2001-12-19 Thread Pae Choi
I have a compiled version of mod_jk.dll that I have compiled with the EAPI option. Would you two like to have a copy of it. Let me know if you do. Pae > I have the same problem with mod_webapp! > I have Apache 1.3.22 on Win2k and I do not manage to compile with the -DEAPI > option... > > Diego

AW: mod_jk for NT and EAPI

2001-12-19 Thread Lauer, Oliver
Hi Diego, at least there's someone else on this earth who has the same problem as I have :-)) Did you encounter any problems working with this warning ? Sometimes I get exceptions in apache.dll (Access violation). Oliver > AXA eSolutions GmbH > AXA Konzern AG Germany > Oliver Lauer > Web A

RE: Clear Cache In IE5

2001-12-19 Thread Guido Medina
1)Tools/Internet Options/Temporary Internet Files/Settings/Every Visit to the Page. 2)Tools/Internet Options/Temporary Internet Files/Delete Files/All offline content. And after Refresh for every page. Do it, I had that problem before and more if you use any caching server like squid, etc. Guid

VERY VERY URGENT!!!!

2001-12-19 Thread Catalin
Hi to all! I have an problem and I'm running out of time: I have an jakarta-tomcat-3.3-m4 running as an service on an NT 4.0 server. 1. I want the Jakarta service keep functioning when an user logoff from NT (now it is stopping). 2. I want to set the timeout of the session to 1 hour or more (n

Clear Cache In IE5

2001-12-19 Thread Yiu Wing
Hello all, This is a little bit off topic. Can you tell me how can I clear the cache in IE so that I can see the change I've in made in my webapp after invoking TomCat4.0 again? Thanks in advance. _ Do You Yahoo!? Get your free @yahoo.

RE: mod_jk for NT and EAPI

2001-12-19 Thread Diego Castillo
I have the same problem with mod_webapp! I have Apache 1.3.22 on Win2k and I do not manage to compile with the -DEAPI option... Diego -Message d'origine- De : Lauer, Oliver [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 19 décembre 2001 13:36 À : Tomcat Users List (E-Mail) Objet : mod_jk f

mod_jk for NT and EAPI

2001-12-19 Thread Lauer, Oliver
Hi, does somebody has compiled mod_jk with EAPI for NT and could share this one with me ? :-) Until now I didn't manage to compile it on my own and I've mod_ssl installed with Apache1.3.22 (NT) and the start-up states: "...[Wed Dec 19 13:35:23 2001] [warn] Loaded DSO modules/mod_jk.dll uses pl

RE: Tomcat 3.3 vs. 4.0: TELL US NOVICES WHAT IS GOING ON

2001-12-19 Thread Randy Layman
TC 3.x supports one version of the JSP/Servlet spec and TC 4.x support a later version. Due to a number of reasons, the developers decided to start developing TC 4 from scratch. TC 3.x was already well under way so they have a huge head start. Assuming that web developers (that

  1   2   >