no subject

2001-08-06 Thread Zsolt Koppany
Hi, I could configure and use tomcat-3.2.3 with SSL (standalone). My question is whether I can check in a servlet whether SSL has been enabled on the server? What I plan to do: the user comes to a page (over the port 8080) and when SSL is enabled I want to add an SSL link that he can switch to

Re: jsp:plugin....

2001-08-06 Thread John Baker
On Saturday 04 August 2001 03:06 am, you wrote: On Thu, 2 Aug 2001, John Baker wrote: jsp:plugin type='applet' code='AppletWrapper.class' align='center' archive='jcchart450K.jar' width='600' height='500' jreversion='1.2' jsp:params jsp:param

java.net.BindException in JavaMail with mod_jk.dll

2001-08-06 Thread joseph_berry
Hi, I've recently switched from using mod_jserv.dll to mod_jk.dll, primarily to improve the SSL support in my Apache / Tomcat setup. Unfortunately, the section of my web app that uses JavaMail is now failing when I try to send an attachment, (located in the Tomcat

Tomcat 3.2.3: method x used to be static error

2001-08-06 Thread Wolf, Markus, Triaton/DE
Hello, I get an error message if I am changing a object method into a static method; I deleted the subdirs of the work folder and restarted tomcat to assure that changes take effect. I am using Tomcat 3.2.3, Sun JDK 1.2.2 on Windows NT 4.0 SP5 english. Error message: ... Internal Servlet

Re: Please help: IllegalArgumentException: Response is not a ServletResponseWrapper

2001-08-06 Thread Levent Gündogdu
Thanks, Craig. I thought that defining interfaces (like ServletResponse) is good for abstracting things and allowing developers to replace functionality. But in this case abstraction gets meaningless. The abstraction would be fine ... if your calling class did it's part of the

jasper exeption

2001-08-06 Thread bastian . wagner
hi, i have a problem with a simple if clause in my jsp. the syntax of the code is correct, but tomcat will not compile the page. here is the alert: plz can u help me greets bastian Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPC:

800 Meg /bin/core file??

2001-08-06 Thread Ben Cox
Hi, I was happily copying some directory structures from one machine to another when my FTP client came across a file called 'core' in my tomcat's bin directory. This file was (and is) 821,313,536 bytes. Anyone have the slightest idea what this file is and how it would grow so large? Thanks

RE: jasper exeption

2001-08-06 Thread Paul Foxton
you're probably missing a ';' a few lines further up in your code, something like that. Check you code again or post the rest. cheers, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 06 August 2001 10:12 To: [EMAIL PROTECTED] Subject: jasper

AW: 800 Meg /bin/core file??

2001-08-06 Thread Ralph Einfeldt
That's a core dump. That means a program encountered an fatal error and dumped itself and its current state and memory to disk, so that is is possible (if you have access to the source of the program) to debug where the program was, and what it had in memory. The upper limit for the file size

RE: 800 Meg /bin/core file??

2001-08-06 Thread Loïc Lefèvre
A core file is created when a program crash. This is the memory image just before it crashed! One can delete it, or examine it and track bugs...but 800Mo ^_^; is...whaou My advice: delete it Loïc Lefèvre -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part

RE: Antwort: RE: jasper exeption

2001-08-06 Thread Paul Foxton
AHA! you got a capital I in your if :¬) if thats a straight copy and paste from your jsp that is. You would get that error from a capital I on the if. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 06 August 2001 10:22 To: [EMAIL PROTECTED] Cc: [EMAIL

Re: 800 Meg /bin/core file??

2001-08-06 Thread Jacek Prucia
[...] I was happily copying some directory structures from one machine to another when my FTP client came across a file called 'core' in my tomcat's bin directory. This file was (and is) 821,313,536 bytes. Anyone have the slightest idea what this file is and how it would grow so large?

all those *-auto files

2001-08-06 Thread Jacek Prucia
When starting, Tomcat creates numerous *-auto files in $TOMCAT_HOME/conf. This is very usefull for newcomers, but it becomes annoying for me, since I don't like useless files lying around my conf directory. Is there a way to turn this feature off? -- Jacek Prucia 7bulls.com S.A.

Antwort: RE: jasper exception

2001-08-06 Thread bastian . wagner
thats it - thx... -- Externe MailLEACH, Alison [EMAIL PROTECTED] 06.08.200111:28

Re: Antwort: RE: jasper exeption

2001-08-06 Thread Hari
% If( 1 2) { % If should be if -- Check this. Hari. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, August 06, 2001 2:51 PM Subject: Antwort: RE: jasper exeption this is my code - nothing wrong with it : p % If (1 2)

Re: How do you change the base URL for your servlets in Tomcat?

2001-08-06 Thread Liam Morley
Lars, You'll want to look at your server.xml file in the conf/ folder, specifically towards the bottom (Context /, Special webapps). --- Liam Morley light the deep, and bring silence to the world. light the world, and bring depth to the silence.

RE: SAX 2.0, sealing, Tomcat 3.2.3

2001-08-06 Thread Andrew Cooke
At 05:16 PM 7/31/01 +0100, you wrote: Andrew Cooke wrote: Excellent - thanks! That URL even has the rename file to zparser.jar meme that my boss keeps swearing is the solution... :-) :-) Please let us know what you do and whether it works. Also, I can get it to work by removing

RE: Compile JSP with Tomcat/IBM JDK 1.2.2/AIX4.3.3

2001-08-06 Thread Klaas van der Ploeg
Hi, I did not mean Jikes because I already have a javac (which comes with the JDK), and I don't want to compile Jikes from source for the AIX platform. But your directions pointed me in the right way: I wrote a class around the javac from IBM, basically it's a copy of JikesJavaCompiler, but

mod_jk.so for solaris8

2001-08-06 Thread raghu
Hello all, Can any one give me the binary file of mod_jk.so. I am running tomcat 3.2.2 and apache1.3.14 on solaris 8. Please reply. Thanx, Raghu black holes are, when GOD is dividing by zero

RE: all those *-auto files

2001-08-06 Thread Klaas van der Ploeg
It is not yet optional (at least not in 3.2.3), but it is marked in the source with XXX to make it optional. You can comment it out and recompile Tomcat.java if you really want to get rid of those files. Rgrds, Klaas -Original Message- From: Jacek Prucia [mailto:[EMAIL PROTECTED]]

Re: java.net.BindException in JavaMail with mod_jk.dll

2001-08-06 Thread joseph_berry
Hi all, I've tracked down a solution but I'm not sure I fully understand what was happening...basically the problem was that the httpRequest.getServerPort() method was returning port 0. This meant that my URL referenced attachment was not being found on the server and javamail was throwing

Re: How do you change the base URL for your servlets in Tomcat?

2001-08-06 Thread Lars Høyrup Jensen
Liam Morley wrote: Lars, You'll want to look at your server.xml file in the conf/ folder, specifically towards the bottom (Context /, Special webapps). Hi Liam. My problem is that I want to be able to create new web applications without editing the config file (server.xml). That is, if I

RE: How do you change the base URL for your servlets in Tomcat?

2001-08-06 Thread Klaas van der Ploeg
Lars, Why don't you use .war files? They can be deployed in the webapps directory, and will be extracted as Tomcat starts. You can find out how this works with Ant in the docs ($TOMCAT_HOME\doc\appdev\index.html). BTW: didn't you try to add a new directory to webapps/ ?? I added bla as

Get Virtual Path in INIT() function

2001-08-06 Thread Diu Lee Lo Mo
Dear all, I would like to ask how to get the web virtual path of a specified project in tomcat. E.g. I got a project APPLE which are placed all source in /webapp/APPLE. By default, this project can be accessed by Http://localhost:8080/APPLE/ Assume I am running a servlet called

Re: How do you change the base URL for your servlets in Tomcat?

2001-08-06 Thread Lars Høyrup Jensen
Klaas van der Ploeg wrote: Lars, Why don't you use .war files? They can be deployed in the webapps directory, and will be extracted as Tomcat starts. You can find out how this works with Ant in the docs ($TOMCAT_HOME\doc\appdev\index.html). Thanks, I'll have a look at war-files. BTW:

RE: How do you change the base URL for your servlets in Tomcat?

2001-08-06 Thread Michael Wentzel
Liam Morley wrote: Lars, You'll want to look at your server.xml file in the conf/ folder, specifically towards the bottom (Context /, Special webapps). Hi Liam. My problem is that I want to be able to create new web applications without editing the config file (server.xml). That

RE: autoencoding issue

2001-08-06 Thread Michael Wentzel
I'm using Tomcat 3.2.3, and I tried serving chinese (bg, big5) using jsp and whenever someone views my pages, their browser's (IE 5, Netscape 4.7) autodetect for character encoding won't work, and they have to manually switch the language to see the words. If one saves the file from

Package nesting levels restriction???

2001-08-06 Thread Vinay Menon
Hello, Has anyone faced any package nesting levels limit with Tomcat? I am running Tomcat 3.2.2 and am having problems when I exceed 7 folders. The excpetion I get is Error: 500 Location: /frfr-commerce/uk/co/isesolutions/apps/commerce/frfr/fulfilment/ui/thisismys hoppingcart.jsp Internal

RE: Servllet

2001-08-06 Thread Michael Wentzel
How about running an application that periodically posts to the servlet? How can a servlet be automatically be invoked by itself, say peroidically? Usul I think a better way is to write a servlet which is configured as a load on startup servlet which forks a separate scheduler

error while compiling mod_jk.so on solaris 8

2001-08-06 Thread raghu
Hello, I am getting this error while compiling mod_jkso on solaris 8 ../jk/jk_jni_worker.c:67: jni.h: No such file or directory ../jk/jk_jni_worker.c:770: warning: #warning --- ../jk/jk_jni_worker.c:771: warning: #warning NO JAVA 2 HEADERS!

Re: Movimiento Humanista

2001-08-06 Thread Martin Mauri
Stop bugging me!!! Hola amigo(a) Mi nombre es José Gabriel Feres (Pepe), soy chileno, vivo en Santiago y tome tu direccion electronica de un directorio de Internet. Participo desde hace varios años en el Movimiento Humanista y quiero hacerte una invitación y solicitar tu ayuda. El

RE: Is someone attempting to hack my server's tomcat 3.2.3?

2001-08-06 Thread Jeff Rancier
Do you have a link to the explanation? -Original Message- From: Sunny L.S. Chan (DLRM) [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 05, 2001 10:38 AM To: [EMAIL PROTECTED] Subject: Re: Is someone attempting to hack my server's tomcat 3.2.3? Hi guys I have checked the earlier posts

RE: Is someone attempting to hack my server's tomcat 3.2.3?

2001-08-06 Thread Jeff Rancier
Beth, do you have a link for a write up? Jeff -Original Message- From: Beth Kelly [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 05, 2001 1:07 PM To: [EMAIL PROTECTED] Subject: Re: Is someone attempting to hack my server's tomcat 3.2.3? They are trying to exploit a buffer overflow bug

RE: Is someone attempting to hack my server's tomcat 3.2.3?

2001-08-06 Thread Jeff Rancier
I am seeing similar messages. -Original Message- From: Kasnol (2001) [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 05, 2001 10:32 AM To: [EMAIL PROTECTED] Subject: Is someone attempting to hack my server's tomcat 3.2.3? Hello all, I am using tomcat 3.2.3, windows 2000 professional

RE: Is someone attempting to hack my server's tomcat 3.2.3?

2001-08-06 Thread Cory Powers
Try this link http://aris.securityfocus.com/alerts/codered2/ -Original Message- From: Jeff Rancier [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 8:42 AM To: [EMAIL PROTECTED] Subject: RE: Is someone attempting to hack my server's tomcat 3.2.3? I am seeing similar messages.

Re: Servllet

2001-08-06 Thread Beth Kelly
Maybe do a sleep instead of busy waiting (looping takes up too much cpu time). Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: Michael Wentzel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 06, 2001 4:10 AM Subject: RE: Servllet

RE: Servllet

2001-08-06 Thread Michael Wentzel
Maybe do a sleep instead of busy waiting (looping takes up too much cpu time). How about running an application that periodically posts to the servlet? How can a servlet be automatically be invoked by itself, say peroidically? Usul I think a better way is to

RE: JDBC Realms

2001-08-06 Thread Michael Wentzel
I wonder if anyone else has come across this. I'm happily using JDBC Realms with Tomcat v3.3. I would like to let my users change their passwords - of course I can put up a screen that lets them alter the value of their password on the database, but then they have to log in again

RE: cannot reuse port

2001-08-06 Thread Saurabh Shukla
try this to see the PID 1 ) ps -C java w | grep tomcat | awk '{print $1}' to kill forcefully. 2) kill -9 `ps -C java w | grep tomcat | awk '{print $1}'` 3) please set your TOMCAT_HOME(Enviornment variable) and check if your shutdown.sh has excute permissions. hth, shuklix

Re: JDBC Realms

2001-08-06 Thread Beth Kelly
You could store the password in the session. When the user changes his or her password, just update the session information. Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: Michael Wentzel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday,

RE: JDBC Realms

2001-08-06 Thread Michael Wentzel
You could store the password in the session. When the user changes his or her password, just update the session information. Advantage: You don't lose existing session data Disadv : You're not actually re-authenticating If you're using FORM based authentication I believe you could

Re: JDBC Realms

2001-08-06 Thread Beth Kelly
Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: Michael Wentzel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 06, 2001 6:13 AM Subject: RE: JDBC Realms You could store the password in the session. When the user changes his

Re: mod_jk.so unable to compile, please help. Urgent

2001-08-06 Thread Beth Kelly
Funny signature! Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: raghu [EMAIL PROTECTED] To: tomcat [EMAIL PROTECTED] Sent: Monday, August 06, 2001 7:01 AM Subject: mod_jk.so unable to compile, please help. Urgent ../jk/jk_jni_worker.c:67:

RE: mod_jk.so unable to compile, please help. Urgent

2001-08-06 Thread Nance, Michael
Edit the apxs and make sure the path to your apahce is correct (It is hard coded) I have a compiled mod_jk.so (but it is for a specific version of Apache) try using this command to compile (youll have to change the path to your apahce)

RE: Servlet Uses Another Class

2001-08-06 Thread Paul Foxton
did you import the class explicitly in your servlet? eg: (without a package) import MyClass; public class MyServlet extends HttpServlet throws ServletEsception IOException { MyClass instanceOfMyClass; instanceOfMyClass = new MyClass(); etc. to import the class in the package:

Using tomcat from IIS on Win 2K on port 80

2001-08-06 Thread Simon, Reinhard
I want to use tomcat 3.2.3 with IIS as a front end server using out-of-process redirection. While the settings work fine with the port 8080 for Tomcat, this is not convenient as our proxy only accepts port 80 for in-house use. However, editing the server.xml to change 8080 to 80 produces an http

RE: Servlet Uses Another Class

2001-08-06 Thread Paul Foxton
forgot to say - when you compiled the class to put in the package did you do it as follows - javac -d path_to_my_package MyClass.java hope none of this is too obvious, just checking ;¬) cheers, Paul -Original Message- From: Paul Foxton [mailto:[EMAIL PROTECTED]] Sent: 06 August

Re: Using tomcat from IIS on Win 2K on port 80

2001-08-06 Thread Richard Heintze
Have you followed the Tomcat IIS HowTo document? I have you exact configuration running on my notebook. You need to have IIS load an ISAPI Filter DLL whose source is a bit elusive. After receiving many corrupt versions of the source and binaries I finally found a good one. I think it was called

RE: FW: IIS+Tomcat Q

2001-08-06 Thread Ratnakar Palle
Thanks Bojan for your response... I think it answers my question.. I'll try to integrate IIS+Tomcat and see if it works.. Thanks, -Ratnakar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 6:38 PM To: [EMAIL PROTECTED] Subject: Re: FW:

jdbcRealm problem

2001-08-06 Thread Francois Bronsard
Hi everyone, I'm trying to use JDBCRealm for authetication and I'm having some problems. The trace of the session state that authetication was successful, yet, the system keeps asking for username and password and finally fails. Any idea what could be wrong? Here is the server.xml setting: (I

RE: Servlet Uses Another Class

2001-08-06 Thread A.L.
Paul, I am currently trying what you are suggesting. I appreciate your help. In response to your comment, I am quite new to java, so even the basics are very helpful. Thanks, -amos --- Paul Foxton [EMAIL PROTECTED] wrote: forgot to say - when you compiled the class to put in the

RE: Servlet Uses Another Class

2001-08-06 Thread A.L.
I have tried simply importing the class MyClass, and not creating it as a package. Nevertheless I get the Cannot Resolve Symbol error. Both the MyClass and the MyServlet class files are in the same directory. In my servlet --- Paul Foxton [EMAIL PROTECTED] wrote: did you import the class

Re: tools.jar location ??

2001-08-06 Thread Nils O. Selåsdal
On Sunday 05 August 2001 21:30, Shahed Ali wrote: Hi, I am having problems with tools.jar on Solaris Sparc 8 with JDK 1.3.1 I have tools.jar set in my CLASSPATH in my /etc/profile, and I start tomcat in rc2.d. This does not allow me to recompile jsp pages. I get a sun/tools/Main class

RE: partial URLPatternMatching in Tomcat 4.0 (Servlet 2.3 spec)?

2001-08-06 Thread Loïc Lefèvre
Would/Must the RewriteValve do that? Loïc Lefèvre -Message d'origine- De : Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Envoyé : samedi 4 août 2001 04:08 À : '[EMAIL PROTECTED]' Cc : '[EMAIL PROTECTED]' Objet : Re: partial URLPatternMatching in Tomcat 4.0 (Servlet 2.3 spec)? On

RE: Servlet Uses Another Class

2001-08-06 Thread Paul Foxton
hmmm. where does the error occurr? the first time you actually use the class in the servlet and after the import statement? if so it seems you must be importing it ok, so the there's another problem. If you get the error actually on the import statement then perhaps you have the name of the

Tomcat v4.0 and virtual hosts

2001-08-06 Thread Mark Muffett
Has anyone succesfully got 4.0 running with virtual hosts? and would they be prepared to show us a sample working server.xml file (and anything else that's needed, if anything). Many thanks Mark

RE: Servlet Uses Another Class

2001-08-06 Thread Paul Foxton
actually, this is getting a bit off topic (ie not specifically tomcat related) so email me your class and you're servlet with the error message and I'll have a look : ) cheers, Paul -Original Message- From: Paul Foxton [mailto:[EMAIL PROTECTED]] Sent: 06 August 2001 16:51 To:

RE: Servlet Uses Another Class

2001-08-06 Thread A.L.
Paul, i appreciate your help. I haven't been able to get any servlet I have created to work which imports another clas for some reason. SO what I am currently trying to do is use an example from the Oreilly Servlet book. Unfortunately the book doesn't have a solution to the problem I am

RE: Servlet Uses Another Class

2001-08-06 Thread Paul Foxton
ok - shot in the dark - you say your class is called HtmlSqlResult but you import: HtmlSQLResult; (SQL all in upper case) could this be the problem? otherwise I'm stumped : ( cheers, Paul -Original Message- From: A.L. [mailto:[EMAIL PROTECTED]] Sent: 06 August 2001 17:21 To:

RE: Servlet Uses Another Class

2001-08-06 Thread Filip Hanik
did you set your classpath before compiling? C:\work\jt\tomcat\webapps\jd\WEB-INF\classesjavac -classpath .;%CLASSPATH% Calendar.java Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net -Original Message- From: A.L.

Re: Tomcat v4.0 and virtual hosts

2001-08-06 Thread Pier P. Fumagalli
Mark Muffett at [EMAIL PROTECTED] wrote: Has anyone succesfully got 4.0 running with virtual hosts? and would they be prepared to show us a sample working server.xml file (and anything else that's needed, if anything). Simply use several Host tags with different name=... attributes...

Checking SSL enabled

2001-08-06 Thread Zsolt Koppany
Hi, I could configure and use tomcat-3.2.3 with SSL (standalone). My question is whether I can check in a servlet whether SSL has been enabled on the server? What I plan to do: the user comes to a page (over the port 8080) and when SSL is enabled I want to add an SSL link that he can switch to

Re: Tomcat v4.0 and virtual hosts

2001-08-06 Thread Matt Barre
Server port=8005 shutdown=SHUTDOWN debug=0 Service name=Tomcat-StandaloneServer port=8005 shutdown=SHUTDOWN debug=0 Engine name=Standalone defaultHost=localhost debug=0 Host name=localhost debug=0 appBase=C:\apache\htdocs\ unpackWARs=false Context path= docBase=C:\apache\htdocs\ debug=0

RE: Servlet Uses Another Class

2001-08-06 Thread A.L.
no this is not the problem, I have tried it both ways. Thanks though. -Amos --- Paul Foxton [EMAIL PROTECTED] wrote: ok - shot in the dark - you say your class is called HtmlSqlResult but you import: HtmlSQLResult; (SQL all in upper case) could this be the problem? otherwise I'm

JSP DataBases: Types

2001-08-06 Thread [EMAIL PROTECTED]
Hi! I'm trying to connect a DataBase via JSP. If I want to display a CHAR() type, I use: %= (String) Recordset.getObject(CLASS_NAME) % What must I use to display other types? Where can I find a good online-tutorial in order to learn this instead of disturbing you?

RE: Checking SSL enabled

2001-08-06 Thread Curtis Dougherty
On a related note. Has anyone had any success using an IIS SSL Certificate AND a standalone RSA SSL Certificate for Tomcat (4b6 - or any version)... cd -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 11:32 AM To: tomcat Subject: Checking

RMI class loading in a servlet (ClassCastException)

2001-08-06 Thread Jacek Lawniczek
Hello everyone, I have a problem using RMI in a servlet. My configuration is desribed below: Machine 1: - RMI server - HTTP server for dynamic class loading. Machine 2: - Tomcat 3.2, my servlet that is an RMI client. When the servlet is trying to connet to the RMI server, it cannot see

RE: Servlet Uses Another Class

2001-08-06 Thread A.L.
--- Filip Hanik [EMAIL PROTECTED] wrote: did you set your classpath before compiling? C:\work\jt\tomcat\webapps\jd\WEB-INF\classesjavac -classpath .;%CLASSPATH% Calendar.java Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED]

Re: no subject

2001-08-06 Thread Craig R. McClanahan
On Mon, 6 Aug 2001, Zsolt Koppany wrote: Hi, I could configure and use tomcat-3.2.3 with SSL (standalone). My question is whether I can check in a servlet whether SSL has been enabled on the server? What I plan to do: the user comes to a page (over the port 8080) and when SSL is enabled I

RE: Servlet Uses Another Class

2001-08-06 Thread A.L.
Paul and Filip, thanks for your help it turns out this is a classpath issue. I thought that I had already checked this, but it turns out I didn't set it properly. -Amos --- Filip Hanik [EMAIL PROTECTED] wrote: did you set your classpath before compiling?

Re: Get Virtual Path in INIT() function

2001-08-06 Thread Craig R. McClanahan
Unfortunately, there is no means within the init() method of a servlet to determine the context path of this web application (i.e. the '/APPLE part of a complete request URI). You won't know that until the first request comes in. Craig McClanahan On Mon, 6 Aug 2001, Diu Lee Lo Mo wrote:

RE: configuration utilities?

2001-08-06 Thread Bryan Rood
yes, Covalent software has a package called faststart, that configures apache, tomcat, and ssl for you. check it out -Original Message- From: Lloyd Llewellyn [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 05, 2001 2:55 PM To: tomcat-user Subject: configuration utilities? Are there

Help with Context Path/ Connectors

2001-08-06 Thread Nance, Michael
I am having 2 problems that I hope someone can help me with First my connectors Ajp12, Ajp13 don't reliably start. Is there something about the connectors that thy would start one time and not another? Second are dir structure is something like this ../src/common/... path to all

Limiting the number of Java processes

2001-08-06 Thread erikvcl
Hi, I have looked through the postings on this list and in the Tomcat FAQ, and I haven't seen a way to limit the number of Java processes spawned by Tomcat. Is this possible? Thanks, Erik.

RE: jdbcRealm problem

2001-08-06 Thread Michael Wentzel
Check your Remote User, User Principal and Auth Type header values and see if they are getting set after the authorization call. If not this could be the problem. If this is the case I would suggest putting some additional debug code in JDBCRealm and recompiling it (or using a debugger) to

RE: JDBC Realms

2001-08-06 Thread Michael Wentzel
(not really authenticating, you lost me) Just putting the password in the session doesn't authenticate a user which I don't know why someone would want to do this but I could see that someone might want to re-login. Putting something in the session really doesn't have anything to do with

error message

2001-08-06 Thread Ling Wang
What a wonderful listserv ... I am a very very new user of Tomcat, and just joined the list. We recently installed Tomcat 3.2.3, working with Apache. When we try to access some of the jsp pages, we get the following error: Error Desc : java.lang.NullPointerException Error Method :

404 error whenever i'm accessing my .jsp files

2001-08-06 Thread alexus
any ideas why could that be? i just compiled tomcat and mod_jk to link them together and whever i access my.web.server.com/~userid/my-script.jsp i get 404 error even though file is there here is that my apache sees mod_jk [Mon Aug 6 14:18:35 2001] [notice] Apache/1.3.20 (Unix) mod_jk

RE: Compile JSP with Tomcat/IBM JDK 1.2.2/AIX4.3.3

2001-08-06 Thread Gautam Sinha
Klaas, I wrote a class around the javac from IBM,... Is this javac from IBM freely redistributable? I believe the javac that comes with Sun's JDK is not. That is the main reason for substituting javac with Jikes for many of us. And, if you do not plan to redistribute your application, why

jasper.compiler.ParseException

2001-08-06 Thread A M Haneef
Hi, I just installed tomcat3.3 with apache and when I tried to execute the examples provided with tomcat I getting these errors. For jsp I am getting org.apache.jasper.compiler.ParseException: Cannot read file: /jsp/num/numguess.jsp at

Re: Limiting the number of Java processes

2001-08-06 Thread Craig R. McClanahan
On Mon, 6 Aug 2001 [EMAIL PROTECTED] wrote: Hi, I have looked through the postings on this list and in the Tomcat FAQ, and I haven't seen a way to limit the number of Java processes spawned by Tomcat. Is this possible? Tomcat does not actually spawn *any* processes -- the entries you

Re: 404 error whenever i'm accessing my .jsp files | PLEASE HELP!

2001-08-06 Thread alexus
after adding this line in httpd.conf JkMount /*.jsp remoteworker i got 500 Internal error instead of 404 not found - Original Message - From: alexus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 06, 2001 2:39 PM Subject: 404 error whenever i'm accessing my .jsp files

Increasing Cookie Complexity (JSESSIONID)

2001-08-06 Thread foob
Hi all, Im wondering if theres an easy way to increase the length of the cookies that tomcat produces? A quick inspection of my setup shows i get 10 character cookies (a-z, 0-9), of which the last 4 are fairly predictable. Netscape Enterprise and IIS both generate (on the face of it) more

RE: RMI class loading in a servlet (ClassCastException)

2001-08-06 Thread Jacek Lawniczek
I have found the bug number 1883 in the bug database that exectly matches my problem. It is supposed to be fixed in version 3.3. Sorry for the trouble. jacek. -Original Message- From: Jacek Lawniczek [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 6:46 PM To: [EMAIL PROTECTED]

Jar cache problem

2001-08-06 Thread gwaters
When I start up catalina i get a lot of jar_cache in my temp folder does anyone know why and/or how to fix it. Thanks gr

Meta Refresh and jsessionid

2001-08-06 Thread Joel Bernstein
I am having the following problem: When using the Meta - refresh tag as follows: META HTTP-EQUIV=Refresh CONTENT=5; URL=http://localhost/controller/servlet/Controller;jsessionid=4324kj4jj; The URL does not get sent down correctly because the ; is a delimiter in the CONTENT attribute of the META

RE: JDBC Realms

2001-08-06 Thread Michael Wentzel
Advantage: You don't lose existing session data Disadv : You're not actually re-authenticating (not really authenticating, you lost me) After looking at some code I figured something out... I was thinking about this architecture wrong. Kyle was right just using:

Re: JDBC Realms

2001-08-06 Thread Beth Kelly
Actually, I see why you would not want the passwords in memory. Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: Michael Wentzel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 06, 2001 12:13 PM Subject: RE: JDBC Realms Advantage:

Re: Servllet

2001-08-06 Thread Jeff Kilbride
FWIW, I had to write a class to invoke a method on a given object at timed intervals using the Reflection API. I use it to automatically refresh bean info from my database at set intervals. I'm attaching the code, called TimedMethodInvoker.java, and a simple example. Works like a charm for me.

Re: JSP DataBases: Types

2001-08-06 Thread Frank Lawlor
why not use %= Recordset.getString(CLASS_NAME) % for everything? Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned consulting firm integrating technology strategy and software solutions.

Number of Tomcat users ...

2001-08-06 Thread Lars Nielsen Lind
Hi. Where and how do I specify the max number of simultaneous users for Tomcat? Lars Nielsen Lind

RE: JDBC Realms

2001-08-06 Thread Craig R. McClanahan
On Mon, 6 Aug 2001, Michael Wentzel wrote: Advantage: You don't lose existing session data Disadv : You're not actually re-authenticating (not really authenticating, you lost me) After looking at some code I figured something out... I was thinking about this

Moving /WEB-INF/lib or adding to it in TC 4.0

2001-08-06 Thread Holscher, David M
I've waded through a lot of source now and can't figure out how point the /WEB-INF/lib directory for my web application somewhere else or at least add another directory for jar files. This is a useful thing in my current development environment where I need jar files in two places. Changing

Doubt about getRequestURI() behavior

2001-08-06 Thread Hector Adolfo Alonso
I have a doubt: Suppose you have configured Tomcat server in host a.b.c in port 8081. Suppose you have set an application with a context named / in this server. Suppose you have developed a servlet acting as a http proxy, and you have set a request mapping as / for it (you can map *.jsp

tomcat on mac os 10 with virtual PC

2001-08-06 Thread Girish Baxi
hi was wondering if anyone has tried installinbg tomcat on mac os 10 with virtual PC i have been having hard time doing it . any inputs are most welcome thanx in advance

[cvs] cannot open CVS/Entries for reading

2001-08-06 Thread Mykola A. Nickishov
I can't checkout source. While doing 'cvs co jakarta-tomcat-4.0' I receive this: [skip normal log entries] C jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/XmlOutputter.java cvs checkout: in directory jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/core: cvs checkout:

Re: tomcat on mac os 10 with virtual PC

2001-08-06 Thread Gary W Propp
Tomcat runs fine on OS X. Unless you have lots of memory and a fast machine virtual PC is slow on OS X. Girish Baxi wrote: hi was wondering if anyone has tried installinbg tomcat on mac os 10 with virtual PC i have been having hard time doing it . any inputs are most welcome

RE: tomcat on mac os 10 with virtual PC

2001-08-06 Thread Girish Baxi
hi gary thanx for replying ... can u tell me which version of tomcat and which vertual PC is known to be working together fine ... -Original Message- From: Gary W Propp [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 2:22 PM To: [EMAIL PROTECTED] Subject: Re: tomcat on mac os

Block requests

2001-08-06 Thread Venkatesh Sangam
Hi, can anyone plese tell me how to block requests. if the tomcat server is overloaded with requests can anyone plese tell me how to block the requests and avoid the flooding of requests on the server I am trying to achive the same writing a function preservice() but it is not serving my

Re: tomcat on mac os 10 with virtual PC

2001-08-06 Thread Pier P. Fumagalli
Girish Baxi at [EMAIL PROTECTED] wrote: hi was wondering if anyone has tried installinbg tomcat on mac os 10 with virtual PC i have been having hard time doing it . any inputs are most welcome I don't know anything about VirtualPC, but TC4.0 runs just fine on OS/X 10.0.4 and

  1   2   >