ODP: Tomcat and mySQL

2001-02-28 Thread Herchel Wojciech
ok, now i know what's happening, looking at the process list i can see that upon startup tomcat logs as specified by connectionUser/Password strings from server.xml files. but then for no apparent reason it tries to reconnect as nobody without providing passwd. how can i fix that? vVolf >

Re:ajp12 or ajp13

2001-02-28 Thread Tomasz.Sucharzewski
Well, you should make chages in mod_jk.conf file (which is included in Apache http.conf). Then add new connector for apjv13 in server.xml file (look at dokumentation in mod_jk section). Tomasz Sucharzewski ING Bank Reply Separator Subject:ajp12 or aj

Problem with cache

2001-02-28 Thread matteo belloni
I've a servlet that write on a file. If the Tomcat is running the first time the application rewrite the file, the other time this file is appended but, If I first shutdown the webserver, the information in a file isn't appended and the application function correctly. This appen because this

ODP: Tomcat and mySQL

2001-02-28 Thread Herchel Wojciech
ok, i've checked tomcat logs - it tries to reconnect, but then it reports: There was a SQLException: Invalid authorization specification: Access denied for user: '[EMAIL PROTECTED]' (Using password: NO) why does tomcat log as 'nobody'? although in server.xml there is a different connectionUser spe

ODP: simple servlet setup question

2001-02-28 Thread Herchel Wojciech
> found. I specify which servlet the form is submitted to > in the html file with this line: > > you should send an action to "servlet/ExtranetServlet.class" > The html file is in the jakarta-tomcat\webapps\extranet > directory, and the ExtranetServlet.class file is in the > jakarta-tomcat\we

Printing on Browser gives following exception.

2001-02-28 Thread Shriranga K Kulkarni
Hello All, I am using TOMCAT-APACHE combination to Initialize an swing applet with servlet and display on the browser. When the page is printed following exception is being thrown. Can any one help me in explaining what may be the source of problem and any possible solution for the same. Thanks

Session value changes?

2001-02-28 Thread Neil Edney
Hi, We have a JSP page with an HTML form. The form does a POST to a servlet and if validation of the posted data fails, it uses RequestDispatcher to return to the JSP page with a suitable error message (otherwise it goes to another page). We have discovered that the session id is changing if the

RE: Tomcat Src

2001-02-28 Thread Adam Fowler
Hi, Try downloading the .tar.gz again (sounds like a bad download) and then run tar xzvf jakarta-tomcat-3.2.1.tar.gz and It'll work. 8o) Regards, Adam. Adam Fowler Second year Computer Science undergraduate University of Wales, Aberystwyth Carroll College, WI, USA(2000-2001) web: http://gu

RE: Can tomcat do ASP in VBScript

2001-02-28 Thread Rob Tanner
Halcyon makes a server called iASP which is an ASP server with VBScript and such. However, it is actually a servlet and should run just fine under tomcat. Also, since it is a servlet, IIS and even windows is not a requirement. -- Rob --On Wednesday, February 28, 2001 06:00:41 PM -0300 "Rodr

How to add/del an account in the James1.2?

2001-02-28 Thread zhouhao
 

Problem starting tomcat

2001-02-28 Thread J. Sainz
Help, I hope I am sending this to the right place. I just installed tomcat-3.2.2b1 this is how I installed it: > gunzip jakarta-tomcat-3.2.2b1.tar.gz > tar -xvf jakarta-tomcat-3.2.2b1.tar >mv jakarta-tomcat-3.2.2b1/ /opt/tomcat-3.2.2b1 After doing this I added: setenv TOMCAT_HOME /opt

Tomcat Src

2001-02-28 Thread Tan Khim Siang
Hi I am trying to untar the tomcat src tarball and I always get this error msg where I do a tar xvf on the tarball:   jakarta-tomcat-3.2.1-src/src/webpages/docs/api/javax/servlet/http/class-use/HttpServletRequest.html, 13710 bytes, 27 tape blockstar: directory checksum e

Re: CLASSPATH and Load-on-startup related issue - bug ??

2001-02-28 Thread Chandra Goliva
I too noticed this problem.The Tomcat is recognizing the WAR files/ web appl. directory structure autmatically from TOMCAT_HOME/webapps but the archieves or libraries that are put in WEB-INF/lib are not being picked up dynamically. That's the reason why I am just keeping all the reqd. libraries i

Once Again IIS and Tomcat

2001-02-28 Thread Mandar Joshi
I have this setup with me IIS4.0, WinNT 4.0 server. Jdk1.3 Tomcat 3.2 I have followed the instructions in the howto_IIS.html I can see the green arrow in the filter screen. I have changed following entries in workers.properties workers.tomcat_home=D:\tomcat workers.java_home=D:\jdk1.3 I can no

Re: alias servlet in Tomcat

2001-02-28 Thread Brett W. McCoy
On Wed, 28 Feb 2001, AC wrote: > Does anyone know how to configure it so all I need is > ? We solved this problem by having an index.jsp in the root directory that does a little bit of validation (checking for cookie support, etc.), then redirects to the real login servl

More question about connect IIS to Tomcat :

2001-02-28 Thread EShin Yen
>Last year Aron mentioned : > >You can use IIS ISAPI redirector to redirect request for servlet and >JSP >to tomcat. The redirector can be d/l from binary directory. >(somewhere >within i386) > >My question is as followed : > >(1) We have existing customers using IIS. We have to deal with them >

Re: alias servlet in Tomcat

2001-02-28 Thread Chandra Goliva - Temp
R - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

alias servlet in Tomcat

2001-02-28 Thread AC
Hi, I am using Tomcat 3.1 and I need to shorten URL such that if I type in , it will get to the login servlet page. Basically, I have a servlet like com.abc.login and I was able to alias it to but I can't figure out a way to alias it further

Re: CLASSPATH and Load-on-startup related issue - bug ??

2001-02-28 Thread Anuj Agrawal
Actually, i believe tomcat does pick up the jars from the WEB-INF/lib directory.  You might want to try looking in the jasper.log file in the logs directory.  It should show something like: Classpath according to the Servlet Engine is: I'm using tomcat 3.2.1 - not sure if that makes a diff.  Ori

Re: help building mod_jk

2001-02-28 Thread Kiet Duong
I've search the archives and have tried the suggestions (including the one below). Has anybody successfully gotten mod_jk to build and work on FreeBSD? If so, can I get the precompiled version? Thanks KD At 01:20 AM 2/28/2001, you wrote: >this is an old problem. You should look first to t

RE: CLASSPATH and Load-on-startup related issue - bug ??

2001-02-28 Thread Srinivas Kurella
Title: RE: CLASSPATH and Load-on-startup related issue - bug ?? i am reposting this. I didn't get any responses. Does anybody have an answer ?? Thanks in advance. Srini -Original Message-From: Srinivas Kurella Sent: Wednesday, February 28, 2001 1:04 PMTo: '[EMAIL PROTECTED]'

log4j usage in tomcat?

2001-02-28 Thread Anuj Agrawal
Hi! I'm using Tomcat 3.2.1 with IIS on W2K. Things work great! Within my classes i'm utilizing Log4j logging which requires Log4j to be configured. I normally configure Log4j within my unit test cases, but in the case of Tomcat, to my pleasant surprise, i found that (seemingly) without configu

Re: Hiding a jsp file from public access?

2001-02-28 Thread Ben Flaumenhaft
This makes good sense, but it doesn't seem to be working. I have the following files, among others: c:\tomcat\webapps\store\index.jsp c:\tomcat\webapps\store\Web-inf\index_sub.jsp c:\tomcat\webapps\store\test\index_sub.jsp If index.jsp includes test\\index_sub.jsp, it works fine:

Re: newbi javabeans

2001-02-28 Thread Brett W. McCoy
On Thu, 1 Mar 2001, teh j wrote: > I am fairly new to java beans but i was wondering if > it were possible for one java bean to call another > should it need to? > Im fairly certain it is possible > its just that i havent really seen this done before. A Javabean is just a Java class that adheres

Re: I CANT COMPILE SERVLETS!!!HELP

2001-02-28 Thread aras
Chris, the only thing I can say is: Thank You. I've been struggling with TomCat for over a month(only at night so about 60 workhours) Your site has just what I need. I'd go on and on, but I don't want your head to explode :-) Again Thanks, Steve [EMAIL PROTECTED] Chris Andreou wrote: > Ye

Re: RMI

2001-02-28 Thread Sam Newman
I've just got my serlevt working as an RMI client. To do this I had to edit the tomcat.policy file to give all permissions to everything, and use the rmiSecurityManager. See my earlier posts for more info sam - Original Message - From: Sergey V. Udaltsov <[EMAIL PROTECTED]> To: <[EMAI

RE: newbi javabeans

2001-02-28 Thread guyr
Sure, a javabean is just java code with some method naming structure. Java code can call other java code. -Original Message- From: teh j [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 6:37 PM To: [EMAIL PROTECTED] Subject: newbi javabeans hello! I am fairly new to java

RMI

2001-02-28 Thread Sergey V. Udaltsov
Hi all My 4-tier app uses RMI-based AppServer. I want my JSP to connect to it (using dynamic stub loading). In order to do this I have to install RMISecurityManager, haven't I? Is this legal in Tomcat? Probably, I should provide some policy file? Can my webapp use separate policy (I would not lik

RE: More benchmarks on Tomcat 3.3-m1

2001-02-28 Thread Craig O'Brien
Thank you!! Craig -Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 3:24 PM To: [EMAIL PROTECTED] Subject: More benchmarks on Tomcat 3.3-m1 Hi, Just run some benchmarks against Tomcat 3.3-m1 : Server was a Linux Redhat 6.2 box with PII

RE: /servlet

2001-02-28 Thread Chris Andreou
Title: RE: /servlet Josh, I have the same problem. On step three to you imply that if I create a context that points to a different location than Tomcat_HOME then that location should be in the CLASSPATH?   -Original Message-From: Srinivas Kurella [mailto:[EMAIL PROTECTED]]Sent

newbi javabeans

2001-02-28 Thread teh j
hello! I am fairly new to java beans but i was wondering if it were possible for one java bean to call another should it need to? Im fairly certain it is possible its just that i havent really seen this done before. Jason

Set a context different than the webapps

2001-02-28 Thread Chris Andreou
Hi, Platform NT4.0 Apache 1.3.14 Tomcat 3.2.1: I have a the following context in my server xml file: and set the the following settings in httpd.conf --- Alias /devexamples "e:/Apachegroup/Apache/htdocs/webdir/examples" Options Indexes FollowSymLinks Di

RE: I CANT COMPILE SERVLETS!!!HELP

2001-02-28 Thread Chris Andreou
Yes, sorry for the confusion. I set my classpath to the JDK and to tomcat\lib. What platform are you using? Take a look at the following url http://www.ccl.net/cca/software/UNIX/apache/index.shtml I hope it helps -Original Message- From: aras [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

More benchmarks on Tomcat 3.3-m1

2001-02-28 Thread GOMEZ Henri
Hi, Just run some benchmarks against Tomcat 3.3-m1 : Server was a Linux Redhat 6.2 box with PIII/800 + 256Mo. 128Mo were allocated to tomcat : All tests conducted with ab : ab -c 10 -n 1000 host Test with Apache 1.3.17 and Apache 2.0.alpha12 mod_jk log desactivated with JkLogLevel error ins

Re: I CANT COMPILE SERVLETS!!!HELP

2001-02-28 Thread aras
I'm having the same problem. So I looked into your suggestion or adding $TOMCAT_HOME\bin jar file(s) to my CLASSPATH. There are no jar files in that dir. All my jars are in TOMCAT_HOME/lib. If the lib dir is what your talking about, which or the jars to I need to add or do I just point to the

RE: Where to place .properties-Files when deploying a .war ?

2001-02-28 Thread Michael Specht
>What deployment tool are you using to create the war file ? Jar-Tool from JDK 1.3 Michael Specht T-Systems debis Systemhaus Dienstleistungen GmbH, BU CRM Nord Hausanschrift: Frankfurter Straße 27, 65760 Eschborn Telefon: (0 61 96) 9 61 - 575 Telefax: (0 61 96) 9 61 - 564 Mobiltelefon: (0171)

Re: Tomcat or Resin

2001-02-28 Thread Alex Fernández
Three reasons pro-Tomcat: - Freedom to change it if you don't like it. - Specs compliance. - And a great support list with the best Java server-side programmers around :) Un saludo, Alex. Ase Lieden-Seeligson wrote: > I am setting up this web server: > Pentium 100 > RedHat 6.2 > Apache 1.3.17

RE: I CANT COMPILE SERVLETS!!!HELP

2001-02-28 Thread Chris Andreou
check you jdk path and also set you classpath to all the jar files under the tomcat\bin -Original Message- From: Zakaria . [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 4:33 PM To: [EMAIL PROTECTED] Subject: I CANT COMPILE SERVLETS!!!HELP Hello, I have tomcat running fi

I CANT COMPILE SERVLETS!!!HELP

2001-02-28 Thread Zakaria .
Hello, I have tomcat running fine but i couldnt compile any servlet. I put the servlet in different directories and tried (does it matter?) but same result: cannot resolve symbol:HttpServlet i use this command line from the same directory as the servlet: javac -classpath c:\tomcat\lib\servlet.j

RE: mm.mysql - getLastInsertID() question

2001-02-28 Thread Randy Layman
Never worked with this, but the directions seem to indicate: org.gjt.mm.mysql.Statement stmt = (org.gjt.mm.mysql.Statement)dbConnection.createStatement(); int count = stmt.executeUpdate("INSERT INTO ..."); // here i need to catch the ID that was just created // in the auto_increment

RE: simple servlet setup question

2001-02-28 Thread Mike Braden
Try this: >The html file is in the jakarta-tomcat\webapps\extranet >directory, and the ExtranetServlet.class file is in the >jakarta-tomcat\webapps\extranet\classes directory, action="servlet/ExtranetServlet" The default for a webapps is that servlet classes are placed webapps/myweb/WEB-INF/cla

RE: simple servlet setup question

2001-02-28 Thread Randy Layman
First, you need to move your .class file to webapps\extranet\WEB-INF\classes directory. Now you have two choices. You can either reference your servlet as /servlet/ExtranetServlet or you can add a mapping to your web.xml file (see the Servlet spec for more info, including an example) to

OT: mm.mysql - getLastInsertID() question

2001-02-28 Thread Cato, Christopher
Hello. I'm wondering if anyone here would like to elighten me on how to use the getLastInsertId() function in the mm.mysql jdbc driver?? I know it's an offtopic question but if you can help, please do so. I need to retrieve the auto_increment id of the last row created in a table. Since there m

RE: Use of mod_jserv.so

2001-02-28 Thread Mike Braden
I'm pretty sure the mod_jserv for apache and the mod_jserv for Tomcat are different. For apache it works as a servlet container, while for Tomcat it is just a communication link. Download the Tomcat 3.3m1 release and use the mod_jk from it. It's located in native/mod_jk/apache1.3 Send any errors

simple servlet setup question

2001-02-28 Thread Sean Hall
Hello - I just installed Tomcat and am trying to set up a really simple example using a servlet to process input from an html form, but for some reason the servlet isn't being found. I specify which servlet the form is submitted to in the html file with this line: The html file is in the jakar

Use of mod_jserv.so

2001-02-28 Thread Bush, Craig R.
I originally tried to install Jserv and gave up because it was simple too complicated on my SGI IRIX machine. However, I kept the module and want to know if I can use with in libexec with tomcat. If not, does anyone know how to build a new mod_jserv or mod_jk module using the tomcat source code.

RE: /servlet

2001-02-28 Thread Srinivas Kurella
Title: RE: /servlet Josh, I am not sure if i understand your problem completely , but you DONOT necessarily have to follow the webapp dir structure. This is what i do to make the /servlet work(porting from jrun to tomcat with minimum effort :)): 1. create a WEB-INF directory under your app di

RE: /servlet

2001-02-28 Thread Randy Layman
Yes. Read the manual and it will explain how the direcotry structure has to work. Read the Servlet and/or JSP specification (which Tomcat is the reference implementation of) and you will find out how the directory structure is supposed to work. Look at the sample WEBAPPs that come with

Re: Can tomcat do ASP in VBScript

2001-02-28 Thread Shahed Ali
There a a number of products that "simulate/translate" asp code. Look at iasp from halcyonsoft and chiliasp from ?? AFAIK, both run as servlets that act upon *.asp and parse their content, and interpret asp code into java methods calls. IASP even supported ADO calls. Best of Luck Shahed -

Re: /servlet

2001-02-28 Thread William Brogden
Josh wrote: > > I'm beginning to thing no one knows the answer to this question. Can > anyone help me? Does anyone currently have their setup as follows? > > As far as I can tell, tomcat doesn't have a way to just allow a /servlet > directory so I can put all my .java, .class, and .jar files

Re: Can tomcat do ASP in VBScript

2001-02-28 Thread Noah silva
I know Tomcat is strictly for Java, but I heard there is an apache module to do Front-page extensions... Perhaps this is slightly usefull? - noah silva On Wed, 28 Feb 2001, mike thomas wrote: > Hi all > > I know this is probably a stupid question to ask > "can tomcat serve up the competition

RE: CLASSPATH and Load-on-startup related issue - bug ??

2001-02-28 Thread Srinivas Kurella
Title: RE: CLASSPATH and Load-on-startup related issue - bug ?? Actually , it looks as if tomcat doesn't pick up the jars from the web-inf/lib directory. Once i added the jars explicitly to the classpath is worked. Is this a bug ??? Srini -Original Message- From: Srinivas Kurella S

IIS 5.0 and adding contexts (JSPs not being processed)

2001-02-28 Thread Joe Ismert
Hello, I know there are similiar threads like this one, but I am new to the list so if anyone can send a response I would be very appreciative. I have installed APache and Tomcat and have both working; however, I was attempting to set-up the ISAPI filter to serve JSPs through IIS and everything

RE: Can tomcat do ASP in VBScript

2001-02-28 Thread Rodriguez Victor A.
Mike, > I know this is probably a stupid question to ask > "can tomcat serve up the competition's ASP pages > written in VBScript" but I have a good reason to > ask it. I am trying to repair a damaged IIS server > on NT4 and it is turning out to be a real pain. I > have already installed tomcat

/servlet

2001-02-28 Thread Josh
I'm beginning to thing no one knows the answer to this question. Can anyone help me? Does anyone currently have their setup as follows? As far as I can tell, tomcat doesn't have a way to just allow a /servlet directory so I can put all my .java, .class, and .jar files in like most servlet in

Re: Can tomcat do ASP in VBScript

2001-02-28 Thread Brett W. McCoy
On Wed, 28 Feb 2001, mike thomas wrote: > So back to my question, can tomcat serve up ASP > pages written in VBSCript? Nope. -- Brett http://www.chapelperilous.net/~bmccoy/ --- The best

Future of the isapi redirector

2001-02-28 Thread Jones, Stephen
I noticed that isapi_redirect.dll uses ajp12, but ajp13 is already out (and better), and there are talks of ajp14 and mod_webapp and other new Connector ideas... What is the current future Connector plan for IIS? Will it support these new protocols anytime soon? Thanks, Steve -

Can tomcat do ASP in VBScript

2001-02-28 Thread mike thomas
Hi all I know this is probably a stupid question to ask "can tomcat serve up the competition's ASP pages written in VBScript" but I have a good reason to ask it. I am trying to repair a damaged IIS server on NT4 and it is turning out to be a real pain. I have already installed tomcat on the serv

CLASSPATH and Load-on-startup related issue ??

2001-02-28 Thread Srinivas Kurella
I have an application which is running under tomcat. However i donot use the 2.2 spec directory structure. I have a servlet that is loaded on startup. I explicitly set the CLASSPATH with all the jars needed. I am trying to move to the webapps/ directory structure where i can put all the jars unde

RE: Help with Cable Modem

2001-02-28 Thread Randy Layman
It was in the mail message that I sent as the sender (not reply-to) header, but its [EMAIL PROTECTED] Also, if its using http://proxy:8080, how does that affect http://localhost:8080 unless your computer is named proxy? Randy -Original Message- From: Dave Parki

RE: error in refreshing the servlet window

2001-02-28 Thread Adilakshmi Lingam
Cool! Randy. It was the space between tname= and the quote. I've been spending a lot of time with that. And the JVM is JDK 1.2.2_007 only. For now, I'll just leave it like that. Thanks. Lakshmi -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28

RE: Help with Cable Modem

2001-02-28 Thread Dave Parkin
Thom, I think maybe that you're on to it. Environ - WinMe (poor me). AT&T uses http://proxy:8080 I'll give it a try. By the way, thanks Randy Layman but I don't have your direct e-mail address. Also, thanks Michael Wentzel. I've been using winipcfg.exe but to no avail. I can't get to gate

RE: A few questions regarding file placement for projects

2001-02-28 Thread Randy Layman
See responses intermingled -Original Message- From: Adam Haberlach [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 3:05 PM To: [EMAIL PROTECTED] Subject: A few questions regarding file placement for projects As I mentioned before, I'm trying to set up seperate context

A few questions regarding file placement for projects

2001-02-28 Thread Adam Haberlach
As I mentioned before, I'm trying to set up seperate contexts for develoepers so that they can all use the same machine and have individual class files. I was told that each context gets its own WEB-INF directory. I'm somewhat new to Java, but what I need to know is: o. Where, in relation to th

RE: error in refreshing the servlet window

2001-02-28 Thread Randy Layman
First, you can check the JVM version by running the command java -version. This will give the latest build. Second, you probably need to remove the apsace between tname= and the quote. If that's not it, look at your HTML and verify that the URL is correct. Try copying the URL

RE: Progress in JSP/Servlet

2001-02-28 Thread Jayesh
Hi, I tried setting the header as you mentioned. It does not do anything. resp.flushBuffer(); resp.setStatus(HttpServletResponse.SC_MOVED_TEMPORARILY); resp.setHeader("Location", "/SomePage.jsp"); I tried another trick of writing This is working only when I have cookies enabled on my

RE: confused

2001-02-28 Thread Dave Parkin
Try looking at \jakarta-tomcat-3.2.1\doc\appdev - all kinds of docs there and up one level. I'm building my first app too, and the instruction seem to be step by step. Regards, David -Original Message- From: Lori Edelen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 10:28

RE: error in refreshing the servlet window

2001-02-28 Thread Adilakshmi Lingam
I've been using JavaTM 2 SDK, Standard Edition, Version 1.2.2. I don't know if it is JDK 1.2.2_002 or anything else. I'll try to change the VM. I have another problem here. I have a servlet which collects the name of the table as a parameter, runs an sql query and displays the information on an ht

RE: error in refreshing the servlet window

2001-02-28 Thread Randy Layman
For what its worth, I recently upgraded from JDK 1.2.2_002 to 1.2.2_007 (I upgraded because of the security alert). I have been having the VM crash on me two or three times a day during active development. In the past three days since I upgraded it hasn't crashed once. This is on Win N

error reading request, Ignored - java.lang.arrayIndexOutOfBoundsException

2001-02-28 Thread Bryan Murtha
Hi, Does anyone have any insight on how to correct the following error that is being generated everytime I try to send a request to Tomcat. It's running as a standalone server on :8080 on Redhat 7. ContextManager: error reading request, Ignored - java.lang.arrayIndexOutOfBoundsException

RE: apache/tomcat with formbased security

2001-02-28 Thread John de la Garza
I just looked at tomcat 4.0 b1. Where did you read about it having the functionality you talked about? > -Original Message- > From: Andrew Robson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 28, 2001 10:19 AM > To: [EMAIL PROTECTED] > Subject: Re: apache/tomcat with formbased s

Re: Help with Cable Modem

2001-02-28 Thread Brett W. McCoy
On Wed, 28 Feb 2001, Dave Parkin wrote: > I have an RCA cable modem supporting AT&T high speed cable modem internet > service. > > I installed tomcat. Got examples running (started tomcat successfully, > etc.). > > http://localhost:8080 > > Big problem resulted - now I cannot ping the gateway. D

Re: error in refreshing the servlet window

2001-02-28 Thread Ben Flaumenhaft
This is a VM crash. What VM are you using? You might try a different VM. There are two high-quality, stable ones that I've been using -- one is the Sun one, and the other is the IBM JDK, which you can get at http://ibm.com/java. Regards, Ben Flaumenhaft Principal, Sidelight Consulting http://www

Calling within and across webapp contexts

2001-02-28 Thread Rick Herrick
I asked the question earlier and never received a response, so I'll try again! We have a JSP app that's currently running in JRun 2.3.3 (JSP 1.0 compliant). When we refer to different directories within the app, we always preface with the "context" name, or really the top-level virtual direct

Re: apache/tomcat with formbased security

2001-02-28 Thread Andrew Robson
John, This question has appeared on the list before. Below is a quote from a reply by one of the tomcat developers. I have the same problem. I want to integrate apache/tomcat but can't at the moment because I need the functionality I've built into my custom JDBCRealm. And I don't know how to r

RE: error in refreshing the servlet window

2001-02-28 Thread Michael Wentzel
> I've started using Tomcat 3.2.1 on Win 2k very recently. I've > been doing > some small applications and had no problems, so far. > Today, when I started to refresh the servlet page, after a > couple of times, > the tomcat is automatically shut down and a window appears saying, " > Java.exe ha

Re: Help with Cable Modem

2001-02-28 Thread Thom Park
Hi Dave, Tomcat doesn't put anything in the registry. So I can't see why tomcat could be the culprit here. What platform are you on? Try changing the listener port numbers in the tomcat server.xml file e.g in the following server.xml extract, change the port value to 7070 (and perhaps do somet

error in refreshing the servlet window

2001-02-28 Thread Adilakshmi Lingam
Hi, I've started using Tomcat 3.2.1 on Win 2k very recently. I've been doing some small applications and had no problems, so far. Today, when I started to refresh the servlet page, after a couple of times, the tomcat is automatically shut down and a window appears saying, " Java.exe has generat

RE: Help with Cable Modem

2001-02-28 Thread Michael Wentzel
> I have an RCA cable modem supporting AT&T high speed cable > modem internet > service. > > I installed tomcat. Got examples running (started tomcat > successfully, > etc.). > > http://localhost:8080 > > Big problem resulted - now I cannot ping the gateway. Does > anyone know why > and wha

RE: Help with Cable Modem

2001-02-28 Thread Randy Layman
Tomcat in no way by itself will affect any of your network settings. To uninstall it remove its files. Tomcat also doesn't affect the registry, unless you have integrated it with IIS (and you would know the changes to the registry at that point). Basically, the tech was looking

Help with Cable Modem

2001-02-28 Thread Dave Parkin
I have an RCA cable modem supporting AT&T high speed cable modem internet service. I installed tomcat. Got examples running (started tomcat successfully, etc.). http://localhost:8080 Big problem resulted - now I cannot ping the gateway. Does anyone know why and what I should do to fix it. AT&

apache/tomcat with formbased security

2001-02-28 Thread John de la Garza
Does anyone have formbased security working with apache and tomcat? I have formbased security working fine with tomcat in standalone, but when I go through apache it doesn't recognize the post to j_security_check - To unsubscri

Re: confused

2001-02-28 Thread Mark Balster
Do the examples work? http://localhost:8080/examples/jsp ... When you start TC, does it echo your webapp context? - Original Message - From: "Lori Edelen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Lori Edelen" <[EMAIL PROTECTED]> Sent: Wednesday, February 28, 2001 12:35 PM Subject

Paths from inside the servlets

2001-02-28 Thread Spectron International, Inc.
I have a webapp in a directory called /bin. Servlets are in http://localhost/bin/servlet/MyServlet. Documents are in http://localhost/bin/image.gif. What do I have to do to access the documents from my servlets without using the hostname? For example, if I have a servlet that has the following tag

Re: confused

2001-02-28 Thread Sam Newman
Does it find a normal html file in your web applications directory? If it does then server.xml is ok - then it must be the web.xml in your apps directory. It would help if we could see it sam - Original Message - From: Lori Edelen <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wedn

Re: [Security Issue] Sessions are visible across multiple clients

2001-02-28 Thread William Barker
It has more to do with a bug in SimpleSessionStore.java. It recycles the session on create, so then the instance is re-used for the next new session. I've patched it via: *** SimpleSessionStore.java.origMon Feb 26 14:59:53 2001 --- SimpleSessionStore.java Wed Feb 28 09:36:40 2001

Re: [Security Issue] Sessions are visible across multiple clients

2001-02-28 Thread Alex Fernández
Hi Thomas! I'll try to answer from my limited knowledge (couple of months reading the list): "Amrhein, Thomas" wrote: > By the way I'm a bit confused about the different > tomcat trees (3.2/3.3/4.0). > There are no more 3.2 nightly builds but 3.2.2beta-release... Right now there are three branc

Re: confused

2001-02-28 Thread Lori Edelen
Okay, I did that but it is not finding the classes in the /Web-inf/classes. What else do I have to do? Lori Edelen Web Application Developer Lattestone.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: confused (more details? if Yoav's solution didn't work)

2001-02-28 Thread Michael Wentzel
> Okay, I did that but it is not finding the classes in the > /Web-inf/classes. > What else do I have to do? > Lori Edelen > Web Application Developer > Lattestone.com Without seeing your config, steps used to achieve problem, and the exact error it's hard to say what the problem is. --- Micha

RE: confused

2001-02-28 Thread Morahg, Yoav
Make sure WEB-INF is all in caps -- it has to be. -Yoav -Original Message- From: Lori Edelen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 12:28 PM To: [EMAIL PROTECTED] Subject: Re: confused Okay, I did that but it is not finding the classes in the /Web-inf/classes.

Re: confused

2001-02-28 Thread Lori Edelen
Okay, I did that but it is not finding the classes in the /Web-inf/classes. What else do I have to do? Lori Edelen Web Application Developer Lattestone.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

guidelines

2001-02-28 Thread Marot Laurent
I'm a new tomcat user. I' ve installed it on Win2K platform and I'm now trying to implement it on Solaris. where could i find guidelines for this. thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, em

Re:confused

2001-02-28 Thread Samson, Lyndon [IT]
Arrrh The HTML email, please not the HTML email... make a directory under webapps in the tomcat dir ( easiest just to copy an existing dir ), your classes go in /WEB-INF/classes, jar files in /WEB-INF/lib. HTML gifs etc in You don't have to but you can change /WEB-INF/web.xml so that you h

AW: [Security Issue] Sessions are visible across multiple clients

2001-02-28 Thread Amrhein, Thomas
I think it will be in the next nightly build? I'll try. By the way I'm a bit confused about the different tomcat trees (3.2/3.3/4.0). There are no more 3.2 nightly builds but 3.2.2beta-release... -Ursprüngliche Nachricht- Von: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Gesendet am: Mittwoch

Re: confused

2001-02-28 Thread Sam Newman
Right, if you want your app in its own area, you'll need to edit the server.xml file found in the conf directory. There is a section for special webapps, with an example there - its fairly straightforward (look for the Context tag). Next, create a directory under webapps mirroring exmaples w

confused

2001-02-28 Thread Lori Edelen
I have an application that I want to run under tomcat.  What files do I have to change and where do I put the classes so that tomcat can find them?  Lori EdelenWeb Application DeveloperLattestone.com

Import Issue

2001-02-28 Thread Huiyuan Ma
Hello,I'm quite new to Tomcat and Jsp. I wonder to import a self-defined class,for example,ServletUtilities,I put into <%@ page import ="CORE.*"%> but no success,and was told some attribute value was empty. Do I need to edit other files like server.xml or web.xml? Thanks.

RE: [Security Issue] Sessions are visible across multiple clients

2001-02-28 Thread GOMEZ Henri
Probably partially resolved by the patch I forward previously. >From M. Frey La prise de conscience de votre propre ignorance est un grand pas vers la connaissance. -- Benjamin Disraeli >-Original Message- >From: Amrhein, Thomas [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, February

[Security Issue] Sessions are visible across multiple clients

2001-02-28 Thread Amrhein, Thomas
Hi all, one session can be visible on multiple clients!! THIS IS A BIG SECURITY PROBLEM! Someone opens his webbrowser and has the session of somebody else. So critical data could be viewed without permission. Somebody can act as somebody else. What's wrong with tomcat's session-handling? I wr

Re: How to count creation of new session

2001-02-28 Thread Bo Xu
"Winkel, Matthias; 2854" wrote: > Hi! > > I am looking for a possibilty to implement a counter, that is incremented > whenever a new session is created in my web application. > > In other words: > I need something that sends an event to my counter object, when a session is > created. One possibil

  1   2   >