RE: Precompiled jsp's

2001-10-25 Thread Alex Colic
Hi, I am figuring this out myself. I used the -webxml flag to create a new web.xml file. It takes the jsp files and creates servlet and servlet mapping entries. I then copied these entries over to my original web.xml file. I then started my app. It worked fine. Although in the servlet mappings,

Running Tomcat 3.2.3 (or 4.0) on a multi-homed machine.

2001-10-25 Thread Prasanna Uppaladadium
Hello. Is there a way to run Tomcat 3.2.3 or 4.0 so that the server will listen on a specific host interface (IP address)? For example, my machine has two IP addresses (123.123.123.123 and 111.111.111.111). I would like to run two instances of Tomcat on port 80 each one listening on one of

RE: Compilation Error when building Tomcat

2001-10-25 Thread Nitin Vira
Hi Craig, The build is finally successfull,there was an old version of ant.jar in jre/lib/ext, but i dont know where did it place the build files and i dont see the binary distribution structure replicated. Thanks, Nitin -Original Message- From: Nitin Vira Sent: Wednesday, October

RE: Looking for informations Apache/EAPI

2001-10-25 Thread Martin van den Bemt
It is pretty well explained in the building documents of apache. mvgr, Martin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jean-Luc BEAUDET Sent: Wednesday, October 24, 2001 2:40 PM To: Tomcat USER Subject: Looking for informations Apache/EAPI

Re: Precompiled jsp's

2001-10-25 Thread Oskar Zinger
need to do servlet and servlet-mapping tags in your web.xml filr for each jsp Thys De Wet (ZA) wrote: Ok so I got my JSP's compiled into class files.. Placed them in /WEB-INF/classes.. Now how do I tell Tomcat 3.2.3 to use these class files ... ANy help PLEASE .. *begs on knees*

Re: JDBC Problem

2001-10-25 Thread James Chuang
Can't see how this is a tomcat question, but the Oracle connect string should be: jdbc:oracle:thin:@hostname:port:DBID so using your example, it should be something like: jdbc.oracle:thin:@hostname:1521:dbname - Original Message - From: The Duke [EMAIL PROTECTED] To: Tomcat-user

XML ClassCastException and tomcat 4.0 documentation

2001-10-25 Thread Joel P. Worrall
I am facing a terrible dilemma and in need of accurate information. I believe my issue deals with the Tomcat 4 class loaders and my problem surrounds the use of Tomcat 4.0.1 on jdk 1.4 with the JDOM beta 7 jar. 2 scenarios: 1. unpack tomcat 4, configure the server.xml to look to my webapp.

Re: CATALINA_BASE

2001-10-25 Thread Lloyd H. Meinholz
I'm using Solaris 8 on a Sparc, using jdk1.3.1_01 and tomcat 4.0.1-b1. I seem to have totally misunderstood CATALINA_BASE and CATALINA_HOME. I have set CATALINA_BASE to the dist dir that I built and set CATALINA_HOME to a different dir that contains conf, logs, webapps and work dirs (copied from

Win2K IIS/Tomcat hangs

2001-10-25 Thread Dan Rasmussen
Hello, if (true == repeate message) { Sorry this is a repeat... I just joined the list yesterday and sent this to the list at the same time but didn't get confirmation that I joined until this afternoon. I just started seeing traffic on the list and I'm afraid that I might have missed any

Re: Why can't I connect

2001-10-25 Thread Pier Fumagalli
Kemp Randy-W18971 at [EMAIL PROTECTED] wrote: Can someone explain why I can't connect in Windows 2000 with Tomcat 4.01 and Apache 1.3.22? 1. I am using all binaries, and I put mod_webapp.so and libapp.dll in Apache directory Modules. 2. I put this entry in Tomcat server.xml after the EJB

File Download - CSV question

2001-10-25 Thread Evan Swanson
I wrote an application that for Tomcat 3.2 running on window. In the HTML the is a reference ( A HREF=/filname.csv ) to the filename. When I run this on windows I get a popup save as selection box. When I run this on Tomcat4.0 on Unix it no longer gives me the selection box but instead

isapi_redirect does not pass certificate in javax.servlet.request.X509Certificate

2001-10-25 Thread Kar YEOW
How do you get isap_redirect to pass the client certificate to tomcat? Anyone? TIA. Kar

Re: how to keep form data

2001-10-25 Thread Siomara Pantarotto
If you do the validation in the client side (using java script) you do not lose the information. Besides this is a better approach once you don't want your code to do the avalidation in the server side and then post that the user made a mistake. Keep validation in the client side always

Update JSP

2001-10-25 Thread Claudia Sarmiento
Hello: I'm using tomcat 3.2.1, and i want to change a JSP page, but i don't know how i do that, i tried to compile in my app dir with the build.bat but i received the error : NoClassDefFound Error /org/apache/tools/ant/main Thanks in advance. Claudia

Re: tomcat 4.0: Plug in custom Realm

2001-10-25 Thread Dmitri Colebatch
yep, see http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html for details on how to create one. Depending one what you need to do, it may be easier to subclass the JDBC realm and override the getStatement (? I think thats it) methods... hth dim On Tue, 23 Oct 2001, Maneesha Jain

Re: tomcat 4.0: Plug in custom Realm

2001-10-25 Thread Dmitri Colebatch
sorry - I just realised that url doesn't actually contain info on writing your own. hopefully the second part of my email is still useful (o: cheers im On Thu, 25 Oct 2001, Dmitri Colebatch wrote: yep, see http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html for details on how

Re: tomcat 4.0: Plug in custom Realm

2001-10-25 Thread Craig R. McClanahan
On Tue, 23 Oct 2001, Maneesha Jain wrote: Date: Tue, 23 Oct 2001 17:39:37 -0700 From: Maneesha Jain [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: tomcat 4.0: Plug in custom Realm Hi, I want to plug in a custom Realm class in server.xml in tomcat 4.0 ?

Question

2001-10-25 Thread jan . ruessel
I'm a total Newbie and am looking for a Tomcat - and - IIS - Documentation for Tomcat 4. It cant be the same, since workers.properties etc. dont come with Tomcat 4. Thx for help Grtz Jan

Re: Precompiled jsp's

2001-10-25 Thread Thomas Crook
You need to include the URL to servlet mappings in your web.xml file. The -webinc switch will generate the mappings. Here's the command line I use: jspc -d jsp2java -p com.myco.myapp.jsp -webinc WEB-INF/jspc.xml -webapp . After Ant runs the jspc command I have it run a javac task which places

Re: Automatic Application Deployment

2001-10-25 Thread Craig R. McClanahan
What you are describing should work. Are there any messages in the log files that might point at problems in deploying the app? Craig On Wed, 24 Oct 2001 [EMAIL PROTECTED] wrote: Date: Wed, 24 Oct 2001 11:07:11 -0500 From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL

Re: Questions on tomcat heap usage and garbage collection(avoiding OutOfMemoryError exceptions)

2001-10-25 Thread Pier Fumagalli
Bang, Steinar at [EMAIL PROTECTED] wrote: Which brings us to question 2: tuning apache/tomcat: When reading the documentation, I thought that there was supposed to be a single tomcat process, serving all requests. However top reports a lot of tomcat processes, when I'm stresstesting the

Launching subprocess under Tomcat as a Service

2001-10-25 Thread Robert Casto
To all, I have a servlet that spawns a process to generate PDF reports. When I run Tomcat 3.2.3 using the startup.bat method, everything works fine. The subprocess runs, completes its task, and my Servlet returns and completes its processing. The problem comes when running Tomcat as a service

Re: question

2001-10-25 Thread Dmitri Colebatch
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? hth dim On Wed, 24 Oct 2001, Pal, Anshu wrote: Hi! I recently installed Tomcat ( ver 3.3) . Where should I put the non -servlet class files required by the

how to configure mod_jk for multiple hosts?

2001-10-25 Thread Sebastian Schulz
hi, i need information on how to enable loadbalancing in a one to many scenario (one apache - many tomcats at different hosts) using apache 1.3.20, tomcat 3.3 and mod_jk. i successfully enabled loadbalancing on one machine (different ajp13-workers at the same port), but don't know exactly how

Re: File Download - CSV question ****

2001-10-25 Thread Dmitri Colebatch
Are you using the same client between the two servers? IE seems to consider itself more important than mimetypes, and if it sees a file extension it recognises it treats it as it deems fit, regardless of the mimetype. So one possibility is that you have just installed excel or something on the

Re: Precompiled jsp's

2001-10-25 Thread Nikola Milutinovic
Why are you pre-compiling the JSP's? Doesn't Tomcat do that automatically? How do you precompile JSPs on startup? I know they can be precompiled if called with that precompile URL. But suppose I had a lot of JSPs and I would like to tell Tomcat to precompile a defined portion of them into

Re: sourcepath problem in building tomcat (apxs pb building mod_jk.so)

2001-10-25 Thread Bill Cai
I think the problem is it didn't like the ;s in the value of sourcepath. It no longer complains after I changed them to :s. I guess the source was for Windows platform. On Solaris ; means end of the command... However, it still complains about srcdir in the following block: target

Re: Memory settings problem

2001-10-25 Thread Jeff Turner
On Wed, Oct 24, 2001 at 02:14:38PM +0100, Hornsby Peter wrote: In order to start Java with increased memory settings, which of the following is correct in tomcat.bat - set _STARTJAVA=start %JAVA_HOME%\bin\java -Xms64m -Xsx120m set _RUNJAVA=%JAVA_HOME%\bin\java -Xms64m -Xsx120m Neither.

Re: servlet upload

2001-10-25 Thread E B
--- Bo Xu [EMAIL PROTECTED] wrote: E B wrote: In my webapp under tomcat, I am using oreilly's cos.jar for uploading files. I observe that repeated uploading of same file fails. ie., when I upload a file for second time(different content, same file name), in my servlet I am getting

Re: servlet upload

2001-10-25 Thread E B
--- Pier Fumagalli [EMAIL PROTECTED] wrote: E B at [EMAIL PROTECTED] wrote: In my webapp under tomcat, I am using oreilly's cos.jar for uploading files. I observe that repeated uploading of same file fails. ie., when I upload a file for second time(different content, same file

AW: tomcat session problem

2001-10-25 Thread Ralph Einfeldt
It's not a tomcat issue, it more an issue of your application. If you open a second windows from a running session, the windows will share the session from tomcat. From the view of tomcat the windows are indistinguishable from each other. Tomcat even can't recognize that there are two windows

RE: Why I can't connect - part 2

2001-10-25 Thread Martin van den Bemt
First start tomcat, wait a bit, then start apache. try the url hostname/webapp-info/ to see if the DEPLOYED is set to true in both cases. If you start it the other way around or start apache to soon, only the /webapp-info/ is set the true and the rest is set to false. Mvgr, martin

RE: Questions on tomcat heap usage and garbage collection (avoidi ng O utOfMemoryError exceptions)

2001-10-25 Thread Bang, Steinar
Randy Layman [mailto:[EMAIL PROTECTED]] writes: I think the best thing you can do is to determine where the memory is going and fix your leaks. I say your leaks because in my experience, Tomcat doesn't leak memory and doesn't take a lot of memory for each connection. I perhaps wasn't too

RE: tomcat session problem

2001-10-25 Thread Shah, Chintan V (Chintan)
Hi Rinku, Your application should work fine in both the browsers opened simultaneously...only if the second browser window is not opened from the first browser window using Ctrl+N If you are opening the 2nd browser window from 1st one only... as said above, then the session object will be

RE: **** File Download - CSV question ****

2001-10-25 Thread Shah, Chintan V (Chintan)
one simple thing, just try it out on ur windows machine, in browser window...location bar... write the url u r trying to open thru anchor link.. i.e. in browser window location bar : http://servername/direcorypath/filename.csv and see, if it opens up the file in browser or pops up 'save as'

how to configure mod_jk (tomcat 3.3) for multiple hosts?

2001-10-25 Thread Schulz, Sebastian
hi, i need information on how to enable loadbalancing in a one to many scenario (one apache - many tomcats at different hosts) using apache 1.3.20, tomcat 3.3 and mod_jk. i successfully enabled loadbalancing on one machine (different ajp13-workers at the same port), but don't know exactly how

Re: Questions on tomcat heap usage and garbage collection (avoiding OutOfMemoryError exceptions)

2001-10-25 Thread Bang, Steinar
Craig R. McClanahan [mailto:[EMAIL PROTECTED]] writes: The most important task in a situation like this is to find out why memory is being consumed in the first place. Generally, this is caused by one of the following types of factors: * Creating lots and lots of session attributes in

Re: X Windows and Tomcat

2001-10-25 Thread Nikola Milutinovic
Krasi, you need to install a dummie Xserver named Xvfb. With this Xserver running you can shut your Xwindows without stopping tomcat. Shouldn't Tomcat keep on running? Or better yet, daemonize itself? Nix.

important: help needed with servlets path

2001-10-25 Thread mperreno
(apache 1.3.12 tomcat 3.3) As seen in the doc, an url path can be sliced in context path + servlet path + path info what's not said is that once the context path is matched, the servlet path must contain /servlet/ for the servlet path to be interpreted as a servlet! Actually I use jserv and

Class partially reloaded even after restarting Tomcat

2001-10-25 Thread Cathy Ooi
Hi, I don't know if anyone have come across this ... I'm running a Tomcat-3.3-m4, with Apache 1.3 on Red Hat Linux release 7.0. My JVM is Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20010329 (JIT enabled: jitc)). I have 2 JSP pages menu.jsp and data.jsp that called a class DBManager

mod_webapp not forwarding

2001-10-25 Thread Frank Niedermann
Hallo! I have a problem with Apache Webserver and Tomcat 4.0.1 on my Linux- Server. I installed the module webapp for apache and it seems to be working because httpd -t says it's all ok: httpd -t: dettlx07:/var/log # httpd -t [Wed Oct 24 17:48:40 2001] [warn] Loaded DSO

Tomcat shutdown destroy not called

2001-10-25 Thread Erik B
With small or medium load destroy is called at shutdown. With heavy load destroy is not called at shutdown. I have also tried ContextListeners and with heavy load contextDestroyed is not called either. What can I do to ensure that either destroy or contextDestroyed is called before tomcat is

Javaservice

2001-10-25 Thread Mithu Chowdhury
The link to javaservice is not working. Thanks, Mithu Chowdhury GIS Programmer/Analyst Ducks Unlimited, Inc. Ph: (734) 623-2000, ext 139

JNDI question

2001-10-25 Thread Jaime Garcia Bonis
Hi evryone I have a question about how JNDI works in Tomcat 4.0.1 How can i set up a JNDI naming repository in order to create a datasource??? In the server.xml i have this: Resource name=jdbc/FtcAppDb auth=CONTAINER type=javax.sql.DataSource/

Where to place the Login.html file

2001-10-25 Thread raj
Due to the bug (yet unresolved) in Tomcat 3.x, the Login.html and Error.html files cannot be placed inside the servlets dir. For instance: My servlet is inside the dir called foo (i.e webapps/foo) and is called bar. URL pattern is /* for security. This means Login.html and Error.html cannot be

JSP-JDBC-Problem

2001-10-25 Thread Hostmaster of the day
Hi there ! I got the following problem : Our Tomcat 3.2.1 (RH 6.2) server is located in New York. twz1jdbcForMysql-1.0.4-GA is installed. Our mySQL 3.23. (RH 6.1) server is located in Baltimore. Remote '%' access is enabled. I'm trying to access from our NY server to the mySQL db in Baltimore

RE: XML ClassCastException and tomcat 4.0 documentation

2001-10-25 Thread Dan Silcox
I don't remember exactly what my error was but I rolled my JDOM 7 upgrade back to JDOM 6 because I was having some compatibility problems. You may want to see if that helps. I know JDOM6 works with the latest xerces.jar. -Original Message- From: Joel P. Worrall [mailto:[EMAIL

RE: Precompiled jsp's

2001-10-25 Thread Randy Layman
-Original Message- From: Barry White [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 1:16 PM To: [EMAIL PROTECTED] Subject: Re: Precompiled jsp's Why are you pre-compiling the JSP's? Doesn't Tomcat do that automatically? Tomcat does to it automatically, but

RE: Can't get precompiled JSP to be welcome page?

2001-10-25 Thread Randy Layman
The problem seems to be that Tomcat is scanning the file system for the welcome pages, not including the servlet mappings. What I do is create a zero length file of the file name. Tomcat will see this and redirect the / request to /whatever.jsp (the welcome file), which is then

Problems with PostgreSQL + Tomcat solved - sort of

2001-10-25 Thread Nikola Milutinovic
Hi all. Now it's working all of a sudden. I have made three changes: - removed $CATALINA_OPTS=-Djdbc.drivers=org.postgresql.Driver - removed: import=javax.sql.* from page directive - added: Class.forName( org.postgresql.Driver ) to my code Could someone answer these questions:

RE: tomcat session issue

2001-10-25 Thread Larry Isaacs
I'm not aware of any session bugs in Tomcat 3.2.3 that would explain this. It is more likely to be some sort of user error. Can't tell if browser caching would be involvled. Perhaps you could post some simplified code that demonstrates the problem. Larry -Original Message- From:

the meaning of message WebappClassLoader: Lifecycle error

2001-10-25 Thread Kamil Kukura
I have database connection pooling that runs in background in application scope. From time to time I can found strange error message in catalina.out logfile: WebappClassLoader: Lifecycle error : CL stopped java.lang.NoClassDefFoundError: java/lang/System at

JSP - How do I make it invisible to the browser's back button?

2001-10-25 Thread Navarro, Jose
Hi! I have developed a JSP page which in turns invokes a servlet used to keep track of the number of times a certain page in my web is visited. In other words, when I have a link to some page, I do not link the target page directly but execute the JSP instead. More or less it goes this way: a

Should I switch to tomcat 4.0

2001-10-25 Thread Tarek M. Nabil
Hi everyone, I haven't been doing any server side java development for a while, so I installed tomcat to get to do some development on it every now and then as not to forget and stay updated. Which version do you recommend, I don't wanna use tomcat 3.3 and then discover that the new

jasper directory missing in distribution

2001-10-25 Thread Joel P. Worrall
Is it my imagination or is the jasper directory under CATALINA-HOME missing from the 4.0.1 distribution. I am still having an issue with the xerces parser, so I read the docs on using other XML parsers. The docs mention removing files from the jasper directory, but when I download the

Can't open InputStream to manager??

2001-10-25 Thread Yoav Shapira
Hi there, I have a servlet that tries to do something like: URL url = new URL(http://manageruser:[EMAIL PROTECTED]:myport/manager/list;); URLConnection con = url.openConnection(); BufferedReader bin = new BufferedReader(new InputStreamReader(con.getInputStream); The third line throws an

Servlet Mapping -- Servlet getting called twice

2001-10-25 Thread Smith, Lawrence T (Lance)
Please HELP: I don't know if what I am seeing is standard behavior or something I am doing wrong. I have the following in my web.xml file: servlet-mapping servlet-nameCardServlet/servlet-name url-pattern/Cards/*/url-pattern /servlet-mapping The servlet at this point only

Questions on tomcat heap usage and garbage collection (avoiding OutOfMemoryError exceptions)

2001-10-25 Thread Bang, Steinar
I wrote earlier: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] writes: [snip!] But it doesn't address my real worry at the moment: that a script kiddie armed with nothing more than the httperf testing tool can bring my tomcat to crash. and/or whether your test JSP page can temporarily

Servlet Mapping -- Servlet getting called twice

2001-10-25 Thread Smith, Lawrence T (Lance)
Please HELP: I don't know if what I am seeing is standard behavior or something I am doing wrong. I have the following in my web.xml file: servlet-mapping servlet-nameCardServlet/servlet-name url-pattern/Cards/*/url-pattern /servlet-mapping The servlet at this point only

RE: tomcat session problem

2001-10-25 Thread Geoff Howard
just out of curiosity, what browser are you using, and how are you beginning the second browser session? Geoff -Original Message- From: Rinku Randhawa [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 2:46 PM To: [EMAIL PROTECTED] Subject: tomcat session problem Hi there,

RE: Update JSP

2001-10-25 Thread Barney Hamish
You shouldn't actually need to do anything to get tomcat to recompile the page (assuming you don't have automatic compilation turned off). Just request the page and tomcat should recompile it for you. If that doesn't work shutdown tomcat, delete all the files in the $tomcat_home/work directory

Re: Win2K IIS/Tomcat hangs

2001-10-25 Thread Dan Rasmussen
I got this privately from Larry but I would like to publicly thank him for nailing it on the head and solving this problem for me. Using the 3.2.3 redirector with 3.3 is what caused my problem. Simply dripping in the 3.3 version instantly solved the problem. Thanks very much. Dan Rasmussen

RE: Running Tomcat 3.2.3 (or 4.0) on a multi-homed machine.

2001-10-25 Thread Larry Isaacs
On Tomcat 3.2.3, try: Connector className=org.apache.tomcat.service.PoolTcpConnector ... Parameter name=inet value=123.123.123.123/ ... /Connector On Tomcat 3.3 (and I believe 4.x) add: address=123.123.123.123 to the

RE: tomcat 4.0: Plug in custom Realm

2001-10-25 Thread Barney Hamish
You'll notice in the realm file there is a line that gives the class of the JDBC Realm interceptor you're using. You should replace this class name with the name of whatever inteceptor you want to use. ie, change the line: className=org.apache.catalina.realm.JDBCRealm to className=my.FooBarRealm

switch between http and https. how?

2001-10-25 Thread Taavi Tiirik
I have Tomcat 4 running fine with both http and https protocols. I would like to use http for serving most of the documents and only j_security_check (form based login) should be done over https. How can I configure this? with best wishes, Taavi

RE: how to keep form data

2001-10-25 Thread Mehdi
Ooh.. i have issue with this. Validation should always be carried out on the server side. If validation is done on the client side, that is good, but server side validation is always a must, especially if data being entered could cause problems with data integrity ( i have seen this happen

Re: driver configuration with DB2 and tomcat

2001-10-25 Thread Barry White
I don't think you can use .zip files in the lib directory. Try renaming it to .jar. Barry - Original Message - From: Lawrence Louie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 21, 2001 11:31 PM Subject: driver configuration with DB2 and tomcat Hi, I am having DB2

Re: XML ClassCastException and tomcat 4.0 documentation

2001-10-25 Thread Frank Lawlor
Joel, You asked for help from Someone who knows what they're doing so I probably don't qualify, but you might try putting the xerces jar in your jre/lib/ext and see if it helps. Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned consulting firm integrating

RE: Compilation Error when building Tomcat

2001-10-25 Thread Craig R. McClanahan
Did you download the optional.jar file that goes with Ant, and put it in the $ANT_HOME/lib directory? Did you add xalan.jar (from JAXP/1.1) to the $ANT_HOME/lib directory? Both of these requirements are documented on the BUILDING.txt step about downloading and installing Ant. Craig On Wed,

Re: tomcat session problem

2001-10-25 Thread Craig R. McClanahan
It's more likely to be a problem with your application, or a misunderstanding of how browsers handle cookies. In general, cookies are *not* specific to a particular browser window. Therefore, all windows that the client has open are part of the same session. This is the way Netscape (at least

Re: Running Tomcat 3.2.3 (or 4.0) on a multi-homed machine.

2001-10-25 Thread Craig R. McClanahan
On Wed, 24 Oct 2001, Prasanna Uppaladadium wrote: Date: Wed, 24 Oct 2001 15:43:52 -0400 From: Prasanna Uppaladadium [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Running Tomcat 3.2.3 (or 4.0) on a multi-homed machine. Hello. Is there a way to run Tomcat

RE: Help ... Weird Problem

2001-10-25 Thread A.L.
Randy, After reinstalling bot JVM and Tomcat everything worked fine. I appreciate your response. Thank you, -Amos --- Randy Layman [EMAIL PROTECTED] wrote: Depending upon which version of Tomcat you are using: 1. TC 3.2 and previous have a bug where a misconfiguration

Strange problems happening with virtualhosting: URGENT

2001-10-25 Thread Gabriel J Zimmerman
Hi, I am using Tomcat 3.2.3 on a Linux system with a setup of multiple virtual hosts. Most of my class files are in the TOMCAT_HOME/lib directory, but when I move them out, I still get these problems. I am having two very strange problems: First, the java classes do not seem to be able to

Re: how to keep form data

2001-10-25 Thread David Smith
I would like to add to that. It's a better user experience to do the validation on the client side since they don't have to actually submit and then wait for a reply, but definitely still validate on the server side as well. All data coming into a web server should be considered untrusted

Re: Tomcat 4.0.1 Final and Xerces Parser

2001-10-25 Thread Frank Lawlor
Have you read http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html If this doesn't answer your questions, then it might be good to identify it here and try to get the howto updated. Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned

RE: Update JSP

2001-10-25 Thread Durham David Cntr 805CSS/SCBE
If you want to change a JSP page, just modify the file. That's all you have to do. -Original Message- From: Claudia Sarmiento [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 7:43 PM To: '[EMAIL PROTECTED]' Subject: Update JSP Hello: I'm using tomcat 3.2.1, and i want to

Re: Update JSP

2001-10-25 Thread Siomara Pantarotto
When you work with tomcat3.2.1 sun recommends to create two environment variables: ANT_HOME and TOMCAT_HOME they both point to the tomcat installation folder. Do you have that set? Siomara From: Claudia Sarmiento [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL

RE: Automatic Application Deployment

2001-10-25 Thread Brad . Moreland
I actually found the problem in my web.xml file. I sort of figured out what needs to go in there, but I really need a tutorial that is in layman's terms. The docs included with Tomcat regarding the web.xml file just say to read the servlet spec. The servlet spec assumes that a real web

Re: Tomcat and firewalls...

2001-10-25 Thread Barry White
Go to the ZoneAlarm programs section and see if your program has access to the internet. If you are not sure about the settings then delete all of the setting for the programs in ZoneAlarm and start up Tomcat and mySQL. ZoneAlarm will ask you if you want to allow these programs to access the

JDBC Realm

2001-10-25 Thread Mihai Gheorghiu
Tomcat 3.2.2 on RH7.0 I created a JDBC realm as per JDBC Realms server.xml ... !-- RequestInterceptor className=org.apache.tomcat.request.SimpleRealm debug=0 / -- RequestInterceptor className=org.apache.tomcat.request.JDBCRealm

Re: Can't get precompiled JSP to be welcome page?

2001-10-25 Thread dhay
Hey Alex - looks like we're on the same lists! This is a known bug - I submitted it about a month ago! See Bug 3309 They said it will be fixed in 3.3.1 (maybe)! I got around it by having my index.htm as welcome page, and redirecting to the jsp I wanted. Ugly, but it works. Cheers, Dave

TC4: stopping/starting an application works, reloading does not

2001-10-25 Thread Wolfgang Stein
Are there any known problems related to reloading of an application with the 'manager' app ? E.g. a servlet request did not load a servlet since i forgot to deploy the corresponding servlet class. After deploying it and reloading the application 'myapp' with

RE: Launching subprocess under Tomcat as a Service

2001-10-25 Thread Wolfgang Stein
I encountered some problems on file i/o due the fact that the WINs current working directory differs if tomcat is started as a NT service. HTH Wolfgang Stein -Original Message- From: Robert Casto [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 4:40 AM To: [EMAIL

login from home page

2001-10-25 Thread Carlo Sorda
Hi, I have this situation: I have an Home Page, in my home page there are two text box for input login and password. What can I do for authenticate a user and go to a protect area. My protect area is configured whit: login-config auth-methodFORM/auth-method form-login-config

Re: Launching subprocess under Tomcat as a Service

2001-10-25 Thread Frank Lawlor
You should try to figure out what it is hanging on. Add some tracing. You can launch a subprocess, but it is running as the service user in a service environment. This is VERY likely different from your non-service environment. To help debug: - print out the path to a file - print out the

RE: servlets path in tomcat 3.3

2001-10-25 Thread Larry Isaacs
Hi Mathieu, RequestInterceptor is still supported, but not used because modules.xml provides for simpler syntax in the server.xml. Thus, the InvokerInterceptor is still there in server.xml, but it appears as: InvokerInterceptor / The class for InvokerInterceptor is now

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? hth dim

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: File Download - CSV question ****

2001-10-25 Thread Filip Hanik
I also believe that you can configure IE to prompt you for different file types. Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net -Original Message- From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October

RE: sourcepath problem in building tomcat (apxs pb building mod_jk.so)

2001-10-25 Thread Larry Isaacs
The Tomcat 3.3 release is built on a Sun box running SunOS. It has no problem using the build.xml file as is. I don't know why your system is having trouble with the ';' in build.xml, though perhaps its a JDK 1.2.1 issue, assuming thats what you are still using. You are correct that the ant

Error in mod-webapp nightly snapshot

2001-10-25 Thread David Smith
Pier -- Thought you might want to know about this (you might already). I just built mod-webapp from the nightly snapshot dated 10-25-2001 and found an error in the build. Line 77 of WarpConnector.java imports 'org.apache.catalina.ServerSocketFactory' when it looks like it should import (at

Providing for persistent files in a web-app

2001-10-25 Thread Frank Lawlor
I have a web app that allows users to add files to the app, some of which can be displayed via URL references (many different file types). Currently these files are in a subdirectory (New) of the web-app. This creates a maintenance problem since replacing the web-app (erase webapps/MyApp.war,

Re: tomcat session problem

2001-10-25 Thread Rinku Randhawa
Thanks Ralph for the information, my question is when there are 2 sessions running on the web in the same PC (by opening 2 browsers) then it doesn't track the sessions properly and changes the value of the session when I go to different pages even if I limit one session to one browser. Thanks,

RE: File Download - CSV question ****

2001-10-25 Thread Evan Swanson
Thanks for answering... That is the thing, I am using the same client in both situations. I am using IE5.0 in both situations. The only difference is going from TC3.2 on windows to TC4.0 on HP Unix. I would think that the IE would be making the decision on how to handle the file by the

Re: Is Tomcat 4.0 Backward Compatible with 3.2.3 App??

2001-10-25 Thread Vernon Wu
We run into the compatible problem in our one module of servlet/JSP application. A few months ago, I implemented it using the 3.x version of Tomcat. After the 4.x version was stable, I had tried to move it over to the Tomcat 4 for a better performence. The problem we run into is an exception on a

getRemoteAddr() vs getRemoteHost()

2001-10-25 Thread Miao, Franco CAWS:EX
When I put the following code in my Jsp, it comes up two identical remote IP addresses, instead of one remote IP and one remote host name. My computer has Internet IP and valid Internet DNS server. Any suggestion about that? Thanks! out.print( request.getRemoteAddr() ); out.print(

RE: File Download - CSV question ****

2001-10-25 Thread Evan Swanson
I order to reduce the variable, I tried installing TC4.0 on the same windows based machine. I am using the same client for both( IE5.0 ). Results: TC3.2 will present a popup box for downloading files with .CSV extention. TC4.0 throws data directly up on the screen. Is there any reason for

RE: tomcat session problem

2001-10-25 Thread Geoff Howard
I am pretty sure from having been through this before that Netscape and IE differ on this issue. The description below holds for IE, but not Netscape which will share a session no matter how you open the 2nd window. Geoff -Original Message- From: Shah, Chintan V (Chintan)

Re: tomcat session problem

2001-10-25 Thread Rinku Randhawa
Thanks Chintan, actually I heard from someone that tomcat server does not support sessions properly at times, so, I just wanted to clarify it. - Original Message - From: Shah, Chintan V (Chintan) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 25, 2001 3:39 AM Subject:

RE: X Windows and Tomcat

2001-10-25 Thread Evan Swanson
when starting tomcat use the start instead of run in the command i.e catalina.sh start -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 1:35 AM To: [EMAIL PROTECTED] Subject: Re: X Windows and Tomcat Krasi, you need to

  1   2   >