About tomcat-iis-howto

2001-01-17 Thread tianyi
Dear all:     I install IIS5.0 and tomcat3.2.1 .I encounter troubles is:     I invoke the URL "http://localhost/examples/jsp/index.html" in my browser,the index.html page appear in my browser.but when I click the Execute links to execute the jsp examples, the jsp can not execute. t

AW: So can no one help with my Socket Write Error Question ?

2001-01-17 Thread Kai . Rehlen
I have the same problem and tried out your suggestion before, but with no effect :(( BTW the problem occurs with any pictures! (no matter of size) Hope someone can come up with a solution Kai -Ursprüngliche Nachricht- Von: Geoff Lane [mailto:[EMAIL PROTECTED]] Gesendet am: Donnerstag,

Strange problems with a WEB-Application, works under IE but not Netscape!

2001-01-17 Thread Maik Mrazovic
Hello,   I´ve develeoped a WEB-Application, it works fine under MS InternetExplorer, but I asserted that it doesn´t works under Netscape (4.73) and I don´t know why!? I get several strange problems, for example, an IndexOutOfBoundException while working with a java.util.Vector, but no Excepti

AW: So can no one help with my Socket Write Error Question ?

2001-01-17 Thread Kai . Rehlen
Well I just wonder why Tomcat 3.1 did not generate any errors! BTW how to see a real error if you have to deal with hundreds of "errors"? Kai I have seen this when using Internet Explorer (IE) and the resource is cached by IE. It seems like IE closes the connection before reading the complete

RE: default file name in download

2001-01-17 Thread Tõnu Põld
Hi, Try the "Content-disposition" header. It seems to work with MS Internet Explorer and Netscape browsers - I have not tested others. If you want to return a RTF file named MyFilename.rtf, it could be done like this: class MyServlet extends javax.servlet.http.HttpServlet{ ... public void doG

Problem with apj13/jk_mod and multiple cookies!

2001-01-17 Thread Jason Pell
Hi, I have been having heaps of problems with multiple cookies not being set with tomcat. I have managed to track the problem down, but do not have enough understanding of the APJ13/mod_jk C source to fix. First of all multiple cookies work when I access tomcat directly (bypassing apache), but

Multiple Set-Cookie headers ignored?

2001-01-17 Thread Jason Pell
I have a problem. I am using Tomcat 3.2/Apache 1.3.12 on Linux Redhat 6.2 Whenever I try to send more than one Set-Cookie: header I get "ERROR: ERROR" instead. The first Set-Cookie works the rest are replaced with ERROR: ERROR Any help appreciated. Log fragment from mod_jk.log ---

OT: can't find DefaultApplyXSLT in xalan bundle - help?

2001-01-17 Thread Erik Stainsby
This may be a bit OT but I'm going nuts trying to get xalan/Cocoon to run. All the doc I can find says to look for org.apache.servlet.DefaultApplyXSLT.class but i'm striking out everywhere i can think of to look. Any assistance appreciated. Direct email appreciated also. BTW I've bui

Re: default file name in download

2001-01-17 Thread Nagappan A
Hello, Contact this 2 mailto:[EMAIL PROTECTED] He, has done this. - Original Message - From: cga <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 18, 2001 10:13 AM Subject: default file name in download > Hi there, > > I am doing a servlet that presents the out

for those not getting mod_jk.conf-auto at tomcat startup

2001-01-17 Thread Karri . Mikola
Title: RE: So, is this the question nobody can answer? mod_jk.conf-auto updating to version 3.2.1 solves the problem. version 3.1.1 does not have it -Original Message-From: ext Amjad Ashraf [mailto:[EMAIL PROTECTED]]Sent: 18 January, 2001 7:59To: '[EMAIL PROTECTED]'Subject: RE:

Re: Struts errors

2001-01-17 Thread Craig R. McClanahan
Rooms Christoph wrote: > Hi, > > Whenever I add a Struts war to my tomcat server he will give me errors on the >struts-config.xml. > > extract out of exception : > > Parse Error at line 11 column -1: Attribute "property" is not declared for eleme > nt "set-property". > org.xml.sax.SAXParseExcept

Re: please Help --session check

2001-01-17 Thread Craig R. McClanahan
Michael Wentzel wrote: > > As a part of authentication check, I am checking for a session > > attribute to validate user login across pages. > > eg: > > > > if (session.getAttr("user")==null){ > > sendRedirect(loginpage); > > } > > > > But now, I am keeping these lines in all my jsp files(c

Re: handling File upload in JSP??

2001-01-17 Thread Narayanan
Deepak .. I have a class file which does the uploading when u send some parameters. I tried the uploading from a servlet [ html - > invokes the servlet - > calls the FileUploadClass ] and things went sucessfully . If u need it i will send u those files u can try out from JSP With

Re: So can no one help with my Socket Write Error Question ?

2001-01-17 Thread Hans Bergsten
"Damian Penney" <[EMAIL PROTECTED]> wrote: > Just in case you missed it the first time :) > > Can anyone tell me why I'm getting this error in the command prompt window ? > The page seems to load ok though. I'm running W2K Advanced Server, and > tomcat 3.2.1 > > 2000-10-24 01:41:19 - Ctx( ): IO

handling File upload in JSP??

2001-01-17 Thread Deepak C S
Hi , Can anybody pls tell.. How to handle File upload(binary) in JSP/beans?? what should be the Property Type in Bean to hold a Photograph...is it File? regards Deepak - To unsubscribe, e-mail: [EMAIL

RE: So, is this the question nobody can answer? mod_jk.conf-auto

2001-01-17 Thread Karri . Mikola
Title: RE: So, is this the question nobody can answer? mod_jk.conf-auto I don't think it's the permissions, since it creates the apache-tomcat file perfectly. Is it possible, that the 3.1.1 version doesn't know how to? The zip directory of this version doesn't have one.   I'll check the webs

RE: So, is this the question nobody can answer? mod_jk.conf-auto

2001-01-17 Thread Amjad Ashraf
Title: RE: So, is this the question nobody can answer? mod_jk.conf-auto My tomcat creates a mod_jk.conf-auto.  Infact, I think most do.  I am using Tomcat 3.2.1 on linux.  Why don't you just rip one off the conf directory from the original zip.  Or grab one off the cvs source from tomcat webs

So, is this the question nobody can answer? mod_jk.conf-auto

2001-01-17 Thread Karri . Mikola
Tomcat doesnt' create the mod_jk.conf-auto file on startup. Nobody seems to be able to tell why. This quite effectively prevents one from starting apache with it. They both work fine as stand alone NT4 Apache 1.3.14 Tomcat 3.1.1 This has been asked about ten times in the archive, but nobody h

RE: how does mod_jk know which port to send to

2001-01-17 Thread Amjad Ashraf
Never mind.  I think I figured it out.  In mod_jk.conf you have a JkWorkersFile path/to/worker.properties   and in worker.properties you specify the ports your workers are listening on.  So mod_jk.so is probably able to read this in. -Original Message-From: Amjad Ashraf [mailto

how does mod_jk know which port to send to

2001-01-17 Thread Amjad Ashraf
Hey,   how does mod_jk know which port tomcats workers (aj12, aj13) are listening on?  I mean, when httpd starts it reads mod_jk.conf which tells it how to configure mod_jk.so and how to use it, but there is no mention of port.  But I noticed that when using mod_jserv.so that in mod_jserv.co

Re: ERROR: ERROR header

2001-01-17 Thread Jason Pell
I now know why these ERROR: ERROR headers are being generated. They are being generated instead of my other Set-Cookie headers. I know because when I added two more "response.addCookie(...)" calls to my test class, I got two more "ERROR: ERROR" headers in the result. Any help please, I am despa

default file name in download

2001-01-17 Thread cga
Hi there, I am doing a servlet that presents the output in two flawors. The first one is a html page, I use a jsp. The second one is a downloable file which I generate throught a jsp. Changing the content-type is easy. But I would like to give the file a download name. I mean, when the us

Re: Problem with getHeader("Referer")

2001-01-17 Thread Kief Morris
Dan Eppinghoff typed the following on 11:02 PM 1/17/2001 -0500 >Hello all, > I have a problem getting the "Referer" header from the request object in >a JSP. The >only value I get for it is null. I printed a list of the available headers >(via >getHeaderNames()) and this is the list I got: >

How 2 create a file in Linux box from JSP pages

2001-01-17 Thread Nagappan A
Hello all, Using Tomcat + Apache in Debian GNU/Linux, How 2 create a file from a JSP page. While I try 2 exceute that page, I'm getting an error, FileNotFoundException in stdout.log. How 2 solve this. R, there is NO way of creating file, while running. I, think the possible thing must b becaus

How 2 use JAR files with Tomcat in Debian

2001-01-17 Thread Nagappan A
Hello all, I'm using Debian GNU/Linux + Apache + Tomcat. I, have list of class files and I, have made it 2 a jar. Now, how can I access those jar files. I, have mentioned the jar file in the CLASSPATH, while startup. Apart from that I, have place in the Home directory of Tomcat ($TOMCAT_HOME).

Re: Problem with getHeader("Referer")

2001-01-17 Thread Bill_Fellows/MO/americancentury
Are you direct dialing the page or are you clicking a link to see it? i.e. {page1} ... foo ... {page2} ... <% if (request.getHeader("referer") != null) out.println(request.getHeader("referer")); else out.println("Referer == null Dig-it!"); %> ... Going from page1 to page2 should result

Problem with getHeader("Referer")

2001-01-17 Thread Dan Eppinghoff
Hello all, I have a problem getting the "Referer" header from the request object in a JSP. The only value I get for it is null. I printed a list of the available headers (via getHeaderNames()) and this is the list I got: User-Agent Cookie Accept Host Accept-Encoding Accept-Language Connection

ERROR: ERROR header?

2001-01-17 Thread Jason Pell
I am running Tomcat 3.2/Redhat 6.2 and recieved the following header from my test servlet. I was able to work out what headers I was being sent by writing a simple java http client. I am trying to work out why I can not get more than one cookie set, and this ERROR: ERROR header appeared. Does a

Problem with Cookies on Tomcat 3.2/Linux Redhat 6.2

2001-01-17 Thread Jason Pell
Hi, I am currently having a problem getting more than one cookie exported to client browser from within my application. The following fragment of code is what I have used as a test case, but only "cookie1" ever gets exported. Can anyone advise a solution to this. By the way I cannot use versio

RE: Need some help please

2001-01-17 Thread Amjad Ashraf
you know what, originally I was compiling the mod_jk binary myself from tomcat 3.2 src.  But then httpd would give me:[warn] Loaded DSO libexec/mod_jk.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI).   So, I changed apxs to pass -DEAPI to

Re: startup tomcat

2001-01-17 Thread Joseph Job
Hi , I am also looking for this...if you have got any answer for this please inform me At 07:44 PM 1/17/01 +0100, you wrote: i run tomcat3.2 on linux box and i haven't got much expirience with linux so idon't know how to load tomcat on startup and i have to start ti allways manualy. i tryed

RE: Need some help please

2001-01-17 Thread Stefan Langer
The only thing that I can assume now is that somehow the binary you are using isn't working properly. (please correct me if I'm wrong) You should try compiling mod_jk for your machine. Just get the source file for tomcat and then follow the mod_jk how to. It takes a little effort

RE: Need some help please

2001-01-17 Thread Amjad Ashraf
Hey, don't worry about the dumb questions.  I feel really dumb right now, and I probably am doing something dumb.   Apache does not give me errors when I start it (it used to give me warning compile with eapi support for mod_jk.so but I got a new binary off falsehope.com and the warning is

RE: Need some help please

2001-01-17 Thread Stefan Langer
The file looks good to me. Do you get any error from apache when you start it? Maybe it can't find mod_jk (just a suggestion). You have placed mod_jk.so in libexec???   This may sound dumb but I'm just trying to help: you have restarted apache after configuring the httpd.conf

Re: So can no one help with my Socket Write Error Question ?

2001-01-17 Thread Pete Ehli
I agree -- delete the tomcat-power.gif -- and then check your server.xml files context's to make sure everything is right. You might comment out any context you added that is not stock or came with the tomcat download. -- Pete Ehli -- - Original Message - From: "Geoff Lane" <[EMAIL PROTEC

RE: Need some help please

2001-01-17 Thread Craig O'Brien
If your JSPs are working on port 8080 then classpath is probably not the issue. jserv install page will probably have your answers. It sounds to me like your problem is to get Apache to direct jsp calls to tomcat. Are the Servlets working fine if you them in without the port? I am not the bes

RE: Need some help please

2001-01-17 Thread Amjad Ashraf
I hear you.  The way it is behaving you would think that apache isn't even aware of mod_jk.  But I have followed the documentation and done what I am supposed to.  Do you see anything wrong?   Here is the tail of my httpd.conf file: Include conf/ssl/mod_ssl.conf Include conf/ssl/ssl.default

RE: So can no one help with my Socket Write Error Question ?

2001-01-17 Thread CPC Livelink Admin
This has been discussed many times on this mailing list. I did a quick search through my archive and found these two snippets, neither of which I know anything about, but thought I would give them to you for your amusement. These were from messages on December 8, 2000. -- Snippet 1 -

RE: Need some help please

2001-01-17 Thread Stefan Langer
Could you include your tomcat.conf or the part of your httpd.conf where you include mod_jk ??? It sounds to me as if you haven't included the JkMounts for mod_jk  and associate them with the jsp extensions.   Stefan

RE: So can no one help with my Socket Write Error Question ?

2001-01-17 Thread Craig O'Brien
I don't have much to offer, but... Tomcat-power.gif is one of the images on the default http://localhost:8080/index.html page. Are all of the pages and examples working? I think I saw something similar to this when I was experimenting with a connection pool in a reloading directory after many ch

RE: Need some help please

2001-01-17 Thread Amjad Ashraf
Title: RE: Need some help please hi, thank you for replying. actually when I go through apache (i.e. https://domainname.com/examples/jsp/num/numguess.jsp) I get the plain text version of the file, meaning it is not working.  Going to servlets gives me the error: The requested url * was not

RE: Need some help please

2001-01-17 Thread Craig O'Brien
Are the examples working? I assume the servlets are. Probably a %CLASSPATH% issue. The JSPs need to compile the first time you call them so you need a reference to your JDK in the classpath. You will need these elements in your classpaths: This is just mine, yours may be slightly different...

RE: So can no one help with my Socket Write Error Question ?

2001-01-17 Thread Jose Ferrer
Damian, This error drove us nuts. We were runnign tomcat 3.2.1 on a win98 machine. It was finally fixed when we installed the latest win98 service pack. Hope this helps. Jose On Wednesday, January 17, 2001 7:32 PM, Damian Penney [SMTP:[EMAIL PROTECTED]] wrote: > Just in case you miss

RE: error starting tomcat

2001-01-17 Thread Jose Ferrer
Manuel, We were getting the same problem with Win98. Fixed it by downloading the latest service pack Jose On Wednesday, January 17, 2001 5:25 AM, Manuel Alzola [SMTP:[EMAIL PROTECTED]] wrote: > Hello. > > My tomcat 3.2.1 installed on a machine with win95 with internet explorer 5.5 sp

Re: Apache and Tomcat on Linux

2001-01-17 Thread Dave Smith
Thanks for actually trying to use the documentation first. Believe it or not, he documentation is pretty good, but it's not "newbie" documentation. It assumes two things: 1. That you know all about adding modules to apache, and 2. That you know quite a bit about using tomcat standalone. You mi

RE: mod_jk linking problems: Tomcat 3.2.1, FreeBSD 4.2 - problems with Makefile?

2001-01-17 Thread Tim Gilbert
Aha. Thanks for the help. I had indeed read the docs, but I expected the Makefile to be more or less a shortcut for what was listed there. For the record, I got it working by running this command: apxs -o mod_jk.so -DFREEBSD -I$JAVA_HOME/include/freebsd -I$JAVA_HOME/include \ -I../jk -c *

Re: So can no one help with my Socket Write Error Question ?

2001-01-17 Thread Geoff Lane
Ok, I'll take a shot in the dark. :) Is there a file called 'tomcat-power.gif' in your $TOMCAT_HOME/webapps directory? If so, what is likely happening is that Tomcat is trying to auto configure a context to /tomcat-power.gif - and since it can't expand it or find a WEB-INF/web.xml inside it doesn'

RE: So can no one help with my Socket Write Error Question ?

2001-01-17 Thread Hosahalli, RaghavendraX
Including myself, couple of guys are waiting for a response to this problem. Hope somebody knows' what's wrong here! :-) -Original Message- From: Damian Penney [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 4:32 PM To: [EMAIL PROTECTED] Subject: So can no one help with my So

mod_jk not listening

2001-01-17 Thread Amjad Ashraf
Title: mod_jk not listening hi, somebody please help me here, I have spent over 3 days trying to get tomcat and apache talking via mod_jk. I have mod_jk being loaded by httpd (finally without the compile with eapi support warning).  I am including the default mod_jk.conf into httpd.conf. My

Re: RE: RE: Transform get to post

2001-01-17 Thread Charles Talleyrand
Play away. For once, working for Corporate America has a benefit. This is all internal application ergo, if you deviate from the corporate standard it's "tough luck." But, I will leave directions out there for the redirectly challenged. ;) Begin Original Message From: "Craig O'Brie

Need some help please

2001-01-17 Thread lazybrain
I setup tomcat and most everything is working. Any time I try to access a .jsp file I get the following. " Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, and inform them of th

RE: RE: Transform get to post

2001-01-17 Thread Craig O'Brien
Sorry to play devil's advocate but... what of the visitor who has JavaScript turned off? Or uses a custom client? or..? Sorry, I did a site for a friend's ministry a year ago and the administrator of the church was using IE3 with JavaScript turned off. She didn't ever mention the warning windows

So can no one help with my Socket Write Error Question ?

2001-01-17 Thread Damian Penney
Just in case you missed it the first time :) Can anyone tell me why I'm getting this error in the command prompt window ? The page seems to load ok though. I'm running W2K Advanced Server, and tomcat 3.2.1 2000-10-24 01:41:19 - Ctx( ): IOException in: R( + /tomcat-power.gif = + null) Connectio

Re: mod_jk linking problems: Tomcat 3.2.1, FreeBSD 4.2 - problems with Makefile?

2001-01-17 Thread Dave Smith
I got it running on FreeBSD 4.0 using jdk1.1.8. Should be similar with 1.2 native, also on linux 6.2 with jdk1.3. The process is explained in some detail in the mod_jk.so how-to in the doc folder of the source distro. (or on line in the tomcat documentation). You did read the documentation, ri

RE: Apache and Tomcat on Linux

2001-01-17 Thread Stefan Langer
You should use mod_jk. Since there isn't a binary distribution at jakarta.apache.org you will have to compile it yourself. Just get the tomcat source distribution (mod_jk source is included). Follow the mod_jk howto in the doc directory of tomcat for compilation instruction and integration inst

RE: Default Apache-Tomcat homepage to a JSP file....

2001-01-17 Thread James Morgenstein
That may work with Tomcat alone, but I cannot seem to get Apache to take a URL such as http://192.168.1.24/ and pass this to Tomcat at rec/HomePage.jsp Any other ideas? Thanks. James -Original Message- From: Damian Penney [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 6:4

Re: RE: Transform get to post

2001-01-17 Thread Charles Talleyrand
Effendi, It may be silly but it works just dandy. Thank you a thousand-fold! Begin Original Message From: "CPC Livelink Admin" <[EMAIL PROTECTED]> Sent: Wed, 17 Jan 2001 18:27:52 -0500 To: <[EMAIL PROTECTED]> Subject: RE: Transform get to post Well, this seems kinda silly, but you c

RE: Default Apache-Tomcat homepage to a JSP file....

2001-01-17 Thread Damian Penney
You need the welcome-file tag in the webapps web.xml (I just did this a few hours ago). app/default.jsp Damian -Original Message- From: James Morgenstein [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 3:36 PM To: [EMAIL PROTECTED] Subject: Default Apache-Tomca

Re: RE: Transform get to post

2001-01-17 Thread Charles Talleyrand
It would be if I were doing something intelligent... Basically, I have some plain html that is viewable only through authentication. That works fine and dandy. Now, if these authenticated users are going to leave my secure section and visit a different internal site which is also secure, I have

Default Apache-Tomcat homepage to a JSP file....

2001-01-17 Thread James Morgenstein
All- I am trying to configure my Apache-Tomcat configuration to use a JSP file in a subdirectory as the default page for a virtual host. In my httpd.conf file I have the following: DocumentRoot /www/default #RedirectMatch /index.html http://192.168.1.24/rec/HomePage.jsp

Tomcat 4 beta

2001-01-17 Thread James McGinty
I am using tomcat 4 beta on windows NT, and everything seems to work quite well. Is anybody else using Tomcat 4 beta, are there some big problems I haven't hit yet ? james - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

RE: Transform get to post

2001-01-17 Thread CPC Livelink Admin
Well, this seems kinda silly, but you could build a response page with an HTML FORM which uses POST, and has all the values set the way you want, then use JavaScript to execute the Submit event on the form. Like This -Original Message--

RE: Transform get to post

2001-01-17 Thread Tim Gilbert
Uh, wouldn't the simplest way be to change the underlying HTML from to ? -Original Message- From: Charles Talleyrand [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 3:15 PM To: [EMAIL PROTECTED] Subject: Transform get to post Pardon my ignorance, but is

Apache and Tomcat on Linux

2001-01-17 Thread Tom Soraoka
Can anyone please help me get a mod_jk.so file for Linux. I'm using Mandrake 7.0. I'm having extreme difficulty finding cohesive information on how to make Apache and Tomcat work on Linux. One doc says to use mod_jserv.so, another says use mod_jk.so instead. Another doc says to download the "

Transform get to post

2001-01-17 Thread Charles Talleyrand
Pardon my ignorance, but is there a way to transform a get request into a post? If so, how would I go about doing it? Basically, I have a servlet that redirects users based on session criteria and I'd like to POST the data to a form processor rather than URL encode it. Anyone's thoughts wo

Transform get to post

2001-01-17 Thread Charles Talleyrand
Pardon my ignorance, but is there a way to transform a get request into a post? If so, how would I go about doing it? Basically, I have a servlet that redirects users based on session criteria and I'd like to POST the data to a form processor rather than URL encode it. Anyone's thoughts wo

Custom Logger???

2001-01-17 Thread Brian Skrab
Hello all. I'm not sure if I'm missing something or not, but is there any way to write one's own Logger to plug into Tomcat? It appears to be possible to subclass the Logger, but I can find no way to configure Tomcat to use the custom Logger class. Is this possib

RE: Instructions for pre-compiling JSPs

2001-01-17 Thread Hawkins, Keith (Keith)
Jason, I guess I would want to know what commands the compile servlet executed inside it's init message. I'm looking to figure out how to get the resulting class files to be recognized by Tomcat (the XXX.class naming convention, etc.) Shouldn't this be documented somewhere? Thanks, Keith -

RE: Security Manager Problems

2001-01-17 Thread Ed Gomolka
I had this problem. There's a bug in tomcat.sh. Find the following lines in tomcat.sh: if [ "$1" = "-security" ] ; then echo Starting with a SecurityManager Then add a "shift" command, as follows: if [ "$1" = "-security" ] ; then shift echo Starting with a SecurityManager If so

mod_jk linking problems: Tomcat 3.2.1, FreeBSD 4.2 - problems with Makefile?

2001-01-17 Thread Tim Gilbert
Hi. I'm trying to get tomcat working with the following versions: jakarta-tomcat-3.2.1 FreeBSD-4.2-RELEASE apache-1.3.14 jdk-1.2.2-beta (native freebsd build) I haven't yet tried to run this all under linux emulation, and would rather not. The problem I've been having is that Apache won't load

Re: Xserver & Tomcat

2001-01-17 Thread Kevin McIsaac
Ed, Right you were. Xvfb was the answer. Thanks, Kev - Original Message - From: "Ed Gomolka" <[EMAIL PROTECTED]> > You need to start Xvfb. It should have been installed on your machine as > part of XFree86. > Do a search through the archives for Xvfb, and you'll get a bunch of > ref

Re: Xserver & Tomcat

2001-01-17 Thread Kevin McIsaac
Kief, Thanks for the info. Your solution worked great! Kev - Original Message - From: "Kief Morris" <[EMAIL PROTECTED]> > I have a set of startup scripts which start the server by running some commands as > root, others under a user account. The script which starts vfxb does the follow

Re: Session Tracking Problem

2001-01-17 Thread Kief Morris
Rajeev Bakhru typed the following on 03:24 PM 1/17/2001 -0500 >On the login jsp page in the application, I used a servlet and created a >session with >HttpSession session = req.getSession(true) ... >Then on this page (b) , I used > and passes the same variable again to >the another page (c). Che

SSL problem causes Apache to crash

2001-01-17 Thread Tom Davies
Hello, I am currently having problems SSL that cause Apache to crash. I am running mod_ssl 2.7.2, Apache 1.3.14, jdk1.3, Windows 2000, and Tomcat 3.2. Perhaps this would be more appropriate for the Apache forum... but I suspect this has something to do with the communication between Apache and

RE: session between tomcat and IIS

2001-01-17 Thread Morahg, Yoav
I'm pretty sure there was a post about this a while back which claimed you couldn't share cookies between JSP and ASP. Search the archives on ASP and see what you come up with. -Yoav -Original Message- From: CPC Livelink Admin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001

RE: session between tomcat and IIS

2001-01-17 Thread CPC Livelink Admin
Could this be that the JSESSIONID cookie is scoped to the webapp. IE if your webapp is called FOO, then only pages below /FOO can get that cookie. Also, I am assuming you are on the same server, since cookies don't travel across servers. -Original Message- From: [EMAIL PROTECTED] [mailt

U:Tomcat.CONF

2001-01-17 Thread Sam T.
hi all. I still have problem with configaraton file tomcat.conf (for AJp13)any one help me my context found in C:/javaLine/tomcat/webapps/tryout/WEB-INF/ and if you can send me your tomcat.conf (window users)  so that I can make some changes .it works fine with Ajp12 but I need to try with A

Re: startup tomcat

2001-01-17 Thread Geoff Lane
Here's a startup script that I wrote: #!/bin/sh # # Startup wrapper sript for Tomcat # Sets up the environment variables needed to run Tomcat and then calls # the proper tomcat script # # chkconfig: - 85 15 # description: Tomcat is a servlet engine. # # Geoff Lane <[EMAIL PROTECTED]> # 1/5/2001

Re: off-topic question - servlet notification

2001-01-17 Thread Filip Hanik
check when the session was last used, and if it has expired (some time) then rollback your transactions. note, to do this, you will have to over ride the session expiration of the servlet engine, see my previous post Filip ~ Namaste - I bow to the divine in you. ~ Filip Hanik Technical Architect

Session Tracking Problem

2001-01-17 Thread Rajeev Bakhru
I am having problem in tracking sessions. On the login jsp page in the application, I used a servlet and created a session with HttpSession session = req.getSession(true) then after sucessful login it goes to the next jsp page say(b) and passess some variables to this page as a hidden variable.

security and realms - multiple contexts

2001-01-17 Thread Vijay Prabhakar
Title: security and realms - multiple contexts I'm working with the source edition Tomcat 3.2.1.  I'd like to set up an instance of Tomcat where certain incoming requests need to be authenticated using one method and others need to be authenticated using another method (based upon the URL). 

AW: off-topic question - servlet notification

2001-01-17 Thread André Alves
> Hi, > How I make to notify a servlet that the application client is down, > or better, as a servlet can know that an application client down? > thanks Hi, I'm making the follow application: The client application open a URLConnection with the serlet and the servlet makes some selects, updat

RE: tomcat.policy

2001-01-17 Thread Stefan Langer
If you don't use the policy file don't foget to comment out the policy section in your server.xml file. Stefan

Re: startup tomcat

2001-01-17 Thread Aleksandar Kacanski
Dario Novakovic wrote: > i run tomcat3.2 on linux box and i haven't got much expirience with linux so > idon't know how to load tomcat on startup and i have to start ti allways > manualy. i tryed placing startup.sh in rclocal and rcd.3 but it didn't work. > what is a proper way to make tomcat sta

session between tomcat and IIS

2001-01-17 Thread Bill_Fellows/MO/americancentury
Hello, I'm in a bit of a peckerwood situation here. Tomcat 3.2.1 & Apache is the preferred apps but I have been told to integrate with an IIS machine. Ok, so my problem is that we create a session w/Tomcat and pass along some credentials in the session object. Everything is well and good exce

RE: startup tomcat

2001-01-17 Thread Stefan Langer
What is your platform ? Which server are you running? Are you running standalone? I use apache and tomcat on a linux box and I included the tomcat startup in my httpd script. (AS well as the shutdown!) It works fine for me! Whenever httpd is shutdown tomcat shuts down and whenever it startsu

Re: off-topic question - servlet notification

2001-01-17 Thread Filip Hanik
>make the servlet poll the client at regular interval to see if it is still alive! this is not going to work if the client is behind a firewall, because the servlet will not have the IP of the client. Filip ~ Namaste - I bow to the divine in you. ~ Filip Hanik Technical Architect [EMAIL PROTECTE

RE: off-topic question - servlet notification

2001-01-17 Thread Stefan Langer
THe only way I know of is to make the servlet poll the client at regular interval to see if it is still alive! Create a thread that keeps a live connection to the application client in your servlet and let it poll your client at regular intervalls. When you don't get a reply you know the clien

Socket Write Error Question

2001-01-17 Thread Damian Penney
Can anyone tell me why I'm getting this error in the command prompt window ? The page seems to load ok though. I'm running W2K Advanced Server, and tomcat 3.2 2000-10-24 01:41:19 - Ctx( ): IOException in: R( + /tomcat-power.gif = + null) Connection aborted by peer: socket write error Thanks fo

Re: off-topic question - servlet notification

2001-01-17 Thread Filip Hanik
>a servlet can know that an application client down? it can't. the http protocol is a stateless protocol, hence the client can reconnect as many times as it wants. the cookie (or URL) is the way the servlet keeps track of the session information, and the servlet engine will expire the session if

off-topic question - servlet notification

2001-01-17 Thread André Alves
Hi, How I make to notify a servlet that the application client is down, or better, as a servlet can know that an application client down? thanks __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ --

RE: Tomcat on a dialup connection

2001-01-17 Thread Stefan Langer
I didn't know that since all the documentation I have read said jdk1.2 is required! Thank you for pointing that out. Stefan

RE: mod_jk

2001-01-17 Thread Peter Giannopoulos
Thanks. I hadn't realized that you can only get it as a part of the full tomcat distrib. -- Peter Giannopoulos,Software Developer Gemplus Software, Advanced Projects Group Phone: +15147322434 Fax: +151473224

RE: Tomcat on a dialup connection

2001-01-17 Thread Ignacio J. Ortega
Hola a todos: > One more thing it is dependend on the jdk1.2 or higher so you > need to install that first. My recommendation download jdk1.3 > and use it since it has the better performance. This is not true, Tomcat 3.X only depends on JDK 1.1.X ( but it has a couple of modules to use with Jd

Re: mod_jk

2001-01-17 Thread Jared
> Can anyone give me a pointer to mod_jk? I am having a heck of a time finding > it. Preferably the binary version but source is fine too. I am running Linux > RH7 and apache 1.3.14 Unfortunately I don't know where to find a binary for Linux x86 (I'm a Solaris guy). However, you can bui

RE: Tomcat on a dialup connection

2001-01-17 Thread Stefan Langer
Hello No it doesn't screw up your modemline since you can start and stop it as you wish. In detail: If you run Tomcat as a standalone you don't have to install anything. Just unzip the directory structure to your harddisk, configure it and change the bat-files if nessecary. Then start Tomca

RE: Question : thank you G.Nagarajan

2001-01-17 Thread Craig O'Brien
Thank you G.Nagarajan, I just downloaded this driver and had it operating in 30 minutes. www.freetds.org ( I had to write a program and create a database or it would have been even faster ) :0) I had tried this site about a week ago and the ftp server was down. I forgot all about it. By the w

RE: Question

2001-01-17 Thread Ignacio J. Ortega
Hola Daniel: What version of JDK are you using? use jdk 1.3.0 its JDBC-ODBC bridge it's not bad at all it performs well with MSAccess and SQLServer. If you already use jdk 1.3.0, which DB are you trying ? if it's MsAccess ( well i know call MsAccess is a DB is somewhat ... silly) you are unlucky

RE: Classpath???

2001-01-17 Thread Stefan Langer
Hello Mike Just a quick suggestion. Don't ever set a global classpath! If you set the classpath for every application seperatly you know that if you deploy the application it will still work. With a global classpath you can accidentally have a class in there that your application needs and w

Re: Starting tomcat

2001-01-17 Thread Tyler Nelson
I had the same problem once. Just remove the semicolons from the end of JAVA_HOME and TOMCAT_HOME. Then you should be good to go. Tyler tmmet tvp wrote: > Hi, > Can anyone help me out?.I'm unable to start Tomcat. > I used "tomcat run" syntax and I get > "Unable to locate servlet.jar.Check the

  1   2   >