PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at
ps are read from
webapps <-- where the web applications go...
Thanks,
Atreya
--
_________
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-
To unsubscribe, e-
.com/products/jsp/tags/syntaxref.fm6.html#8772
dave
--
_____
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-
To unsubscribe, e-mail: [EMAIL PRO
:
<%@ include file="..." %>
Michele
From: Atreya Basu <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: directive.include problem
Date: Mon, 08 Dec 2003 12:24:06 -0400
Hello,
I
same header and
footer code, I thought that I could use the directive.include element.
But no luck.
Any help?
--
_________
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldre
Quick question;
When using a SessionListener does sessionDestroyed get called AFTER a
session has been invalidated?
Thanks
--
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
?
--
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
an do about that? Maybe instead of the httpsessionlistener I should be
using the attributelistener?
Any suggestions?
--
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (do
persisted to disk and recreated on
tomcat startup (as opposed to newly created by a user request)?
Recreation of persisted sessions (correctly) does not trigger the
sessionCreated event.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Atreya Basu [mailto:[EMAIL PROTECTED]
d sessions (correctly) does not trigger the
sessionCreated event.
Yoav Shapira
Millennium ChemInformatics
-Original Message-----
From: Atreya Basu [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 1:04 PM
To: Tomcat Users List
Subject: Problem with httpsessionlistener
Hello,
I
is created
because my log says:
2003-12-04 13:58:26 Authenticator[/emissions]: Restore request from
session '46B9930847D159C904E53EE8C277B33A'
Can anyone tell me what I may be doing incorrectly.
--
_____
Atreya Basu
Developer,
Greenfield Research Inc
Hello,
I've got a question about integrating TOmcat and Eclipse together. Has
anyone done it?
What I want to do is debug my Servlets as Tomcat is running. I know the
command line to start Tomcat but I can't figure out what the parameters
are to start the JVM in debug mode and then attach to
Hi,
Here is how I use the HttpSessionListener.
First I create a Class that implements HttpSessionListener:
package com.gri.web;
import javax.servlet.http.*;
public MySessionListener implements HttpSessionListener
{
private static int num_sessions = 0;
private HttpSession session = null;
pub
Sorry,
I should have added to this earlier, but I thought that SessionListener
should go in the web.xml document under the Listener element. Or am I
thinking about HttpSessionListener which is different
Anyways if it is HttpSessionListener that you are talking about I can
provide some exa
lace the stylesheet in an unsecure directory.
I hope that someone finds this useful.
Cheers,
--
_____
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
---
Hi all,
I am trying to create a security realm. I am confused as to where to
put the Realm directive. If I want to create a realm for a Context,
would I place the directive before or inside of the Context directive?
Thanks in advance.
--
_
Atreya Basu
Just in case anyone is following this thread.
I don't' think that my problem lies in my configuration files. It might
be the way I compiled the mod_jk2 module. I am going to try and
recompile it. I'll post my results once I do.
Cheers,
______
I am able to load JSPs and Servlets just fine.
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: Jared Priddy [mailto:[EMAIL PROTECTED]
Sent: November 24, 2003 2:23 PM
To
Hi,
In terms of URI directives that is the only one. I don't have a
specific directive in httpd.conf to include workers2.properties, that
file gets loaded automatically when I load the jk2 module.
Also I don't have any JkMount directives in my httpd.conf file.
I wonder if anyone is able to rep
That's the weird part.
My workers2.properties uri directive is just for .jsps. It is as follows:
[uri:www.mysite.com/*.jsp]
group=ajp13:/usr/local/apache2/logs/jk2.socket
So I'm not sure why directory requests get forwarded to Tomcat.
Christopher Schultz wrote:
Atreya,
I want a directory list
Hi,
I've been tackling this problem since September, I'm hoping someone can
shed some light here.
I want a directory listing of my files e.g;
http://www.somesite.com/directory/ -->outputs a dir listing.
I am using mod_jk2 with Apache 2.0.4x.
If I comment out the LoadModule mod_jk2 I can get a
Hello,
I'm in desperate need of showing a file list.
In my httpd.conf file I have the following:
Options +Indexes
...
However when I go to '/sumdir' I get the
HTTP Status 404 - /sumdir
Apache Tomcat/4.1.27
My workers2.properties file only has URI mapping for .jsp files:
[uri:www.website/
Hi Steven,
You should be able to if your URI directive is something like,
[uri:localhost/*.jsp]. The other thing that you need to do is set up
the proper context for the JSP, so if you want to place them in
/home/apache, you'll need to add the proper context directive in your
server.xml file.
If I want to use Tomcat to serve all of my HTML pages, can I still use
things such as .htaccess where I can set up protected directories etc.?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
Hi,
I have the exact problem. I'm not sure what's going on.
_____
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: Jason Symons [mailto:[EMAIL PROTECTED]
Sent: August 25,
Hi,
Thanks for the suggestion. This context is my root context. So I don't
want to reach it via a sub-directory, I want to access it from the root
url.
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (do
Hello,
I'm having a problem getting a directory listing using Apache and Tomcat.
I have a directory that I want to display the contents of using Apache.
However, when I access the directory (http://myhost.com/dir/) I get a
404 error from Tomcat.
In my workers2.properties file I have the uri d
I'm having trouble reloading servlets on Tomcat 4.1.27.
The log files indicate that Tomcat notices that the servlet has
changed. First time, after updating the servlet, I hit up the servlet I
get a 500 error and a stack trace. Every time after that I get a
resource not available error.
My con
What I do for this is the following:
HelloWorld
tutorials.ch1.HelloWorldServlet
HelloWorld
/helloworldservlet
Actually,
Because I use JK2 I just call all of my servlets with the .jsp extension
so all of my servlets are hit up with something like:
http://mydomain.com/tools/helloworld.jsp
Vincent,
What are your servlet and servlet-mapping entries in the web.xml file in
WEB-INF?
Vincent Yau wrote:
Sorry for my earlier post. I found the answer in the release notes...
sorry
--Vincent
-
To unsubscribe, e-ma
Also don't do:
'export $PATH=...'
Instead do:
'export PATH=...'
The '$' symbol is not supposed to be there.
_________
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original
pre-compiling my JSP. Any ideas anyone?
Thanks in advance.
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
under:
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControSet/Services
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: Me myself [mailto:[EMAIL PROTECTED]
Sent: July 25, 2003 2:26 PM
To: [EMAIL PROT
it doesn't have to be read off the disc next
time?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: Bodycombe, Andrew [mailto:[EMAIL PROTECTED]
Sent: July 25, 2003 2:06
Okay,
So if I want to do some caching for say: GET requests. Is there a way
to cache output based on URL? Is this kind of thing simply not
supported, and I will have to go to some other application server.
_
Atreya Basu
Developer,
Greenfield Research Inc.
e
Hello,
I wanted to know how Tomcat caches the output of Servlets/JSPs. Could
someone direct me to where I could find some information on that?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
If I typed:
./jspc.sh -uriroot /usr/web/cfbcad/webapps/ROOT -d /tmp
/tmp/Stoichiometric.jsp
I got a file called Stoichiometric_jsp.java but it was empty.
What am I doing wrong?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldres
Hello,
I'm having some difficulty pre-compiling my JSPs. Could anyone give
some insight into this?
I type:
jspc -d d:/psx_apps/WEB_INF d:\Projects\PSX_Gotter_2\CheckStatus.jsp
and I get:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3
at org.apache.jasper.JspC.loca
Great,
Thanks for the feedback. I'll add that to the HOWTO.
Atreya
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: Tricky [mailto:[EMAIL PROTECTED]
Sent: July 18, 2003
.
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: Tricky [mailto:[EMAIL PROTECTED]
Sent: July 18, 2003 3:25 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat4-1, Apache2, jk2 setup problem - help!
t and choose to start Apache.
Wait about a minute for Tomcat to start. Then hit up:
http://localhost/examples
That should show you a directory.
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Me
kers2.properties files?
And what are the directories for Tomcat, Apache2 and Java?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: Tricky [mailto:[EMAIL PROTECTED]
Sent: July 18, 20
Tristan,
Can you start Tomcat on its own?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: Tristan [mailto:[EMAIL PROTECTED]
Sent: July 17, 2003 12:21 PM
To: [EMAIL PROTECTED
Tricky,
I got this problem a while ago. I think it has something to do with how
you are starting tomcat. How are you starting it? What are the
contents of your workers2.properties and jk2.properties files?
Atreya
_
Atreya Basu
Developer,
Greenfield Research
Hi,
I have a HowTo document at:
http://www.greenfieldresearch.ca/technical/jk2_config.html
That doesn't have a troubleshooting section but if you follow the
directions you should be on your way without any problems.
Cheers
_
Atreya Basu
Developer,
Green
Hi Cui,
I think that you are missing the shm directive in workers2.properties
and jk2.properties. Adding that directive should make everything go.
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original
anyone care to recap?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
d jvm
dll
I've tried to edit the jk_vm_default.c file to search the correct
directory but that doesn't do anything.
Does anyone have any insight into this? Has anyone gotten JK2 to start
inprocess?
_________
Atreya Basu
Developer,
Greenfie
Yhea,
I do something similar using the virtualhost directive. It works great.
Rick Roberts wrote:
It doesn't sound like you are doing at all unusual.
It sounds like pretty normal HTTP/HTTPS apache/tomcat configuration.
Just have the firewall block port 80 traffic and have apache listen on
port
Ke,
Why don't you get your Servlet to print out the current directory. That
should give you some idea of where it is looking.
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
I've got a quick question;
In the workers2.properties I am trying to map a URL.
Does the mapping work like a regular expression?
Can I have something like:
[uri:www.myhost.com/*/hello/*]
will the above work?
_
Atreya Basu
Developer,
Greenfield Res
Hey Tim,
Yup, I read through that exact thing. I tried all of the things there
without any luck. I'm thinking that it is simply a configuration error.
So I will just re-install everything.
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atrey
ome
people. Maybe I'll do a re-install and it'll go away.
Atreya
_____
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-----
From: Atreya Basu [mailto:[EMAIL PROTECTED]
Sent: July 3, 2003
Hello,
I'm having a problem compiling JSPs dynamically when using mod_jk2.
When I change a JSP file and try to access it I get the following error:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
27;. That will
list your current settings.
Good luck
_________
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: harpreet kapur [mailto:[EMAIL PROTECTED]
Sent: July 3, 2003 12:25 PM
To: [
rogrammatically.
_________
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: Elisabeth Rotbach [mailto:[EMAIL PROTECTED]
Sent: July 3, 2003 7:25 AM
To: [EMAIL PROTECTED]
Subject: New context
Hello,
I would like to
Hi,
I tried building with ant also and got no end to errors. I think that
the ANT build requires some extra libraries and some external ant tools
also. The best way to do it is to use configure and then make.
_
Atreya Basu
Developer,
Greenfield Research
Just to understand your question... You are trying to dynamically create
a new context? Like when Tomcat has already started?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From
wanted.
The other option is to simply deploy it as a Java Application instead of
an Applet. That seems a lot more appropriate for what you are trying to
do.
Atreya
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have Apache 2 and JK2 working but I get that annoying error:
jk_init() Can't find child 3993 in scoreboard
Which file was it that you had to make writeable?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (do
Could I do the following:
[uri:myDir/Servlet/*]
context=myDir
Is that the proper use of the URI directive?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: John Turner
?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: July 2, 2003 12:34 PM
To: Tomcat Users List
Subject: Re: Apache-Tomcat configuration question
Use a map
?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Try calling getServletContext(). But I think you have to set
CrossContext to 'true' in the Context element of Server.xml
_____
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
Fr
I'm getting a weird error where it says:
[Fri Jun 20 17:05:34 2003] [error] env.createBean2(): Factory error
creating vm: ( vm, )
[Fri Jun 20 17:05:34 2003] [error] config.update(): Can't create vm:
Anyone have any ideas about this?
_____
Atreya Basu
Hi Mark,
I had a similar problem with classNotFoundException. My only option was
to find every single .jar file and class file and extract/copy them into
the server/lib directory. I'm not sure what the problem was but that
seemed to have fixed it.
Mark Hayes wrote:
I tried two suggestions (
programme, you can get the Process object and
get it's InputStream and OutputStream.
Good Luck,
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: Holger Klawitter [mailto:[EMAIL PROT
Yhea,
That's what I meant. Getting Tomcat to work with Apache.
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: June 24, 20
on. Maybe we could post our .properties files somewhere along with
the log and see if we can either reproduce the error or learn from it.
_____
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message
resolving it.
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: David Zellhoefer [mailto:[EMAIL PROTECTED]
Sent: June 24, 2003 6:29 AM
To: [EMAIL PROTECTED]
Subject: easy question
out into
\webapps\. Then restart Tomcat. If you get an error try putting
in a WEB-INF directory along with a web.xml file.
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: [EMAIL
n /Program Files.
_____
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: Hayo Schmidt [mailto:[EMAIL PROTECTED]
Sent: June 23, 2003 10:25 AM
To: Tomcat Users List
Subject: Where to place
f JK2 doesn't
include a Linux binary? I've built one myself but shouldn't there be a
binary? Are there some settings that are hard coded when the library
gets compiled?
_____
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfi
Dan,
I've had success using JK2 on WinXP using both 1.4.1 and 1.4.2.
I'm currently trying 1.4.2 on RH9. So I'm not too sure if the JVM is
the problem here. I'm suspecting it has something to do with the
environment settings.
_____
A
Beta JRE 1.4.2.
I would very much appreciate any feedback/suggestions or comments.
I will put my workers2.properties and jk2.properties file up shortly.
Thanks
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
Hi,
I've had some success in setting up mod_jk2 but only on winXP. I was
able to do it with the JNI/inprocess and via sockets. I even wrote up
a document outling the steps I took. If anyone wants I can post that or
even post my workers2.properties and jk2.properties file.
Unfortunately I h
77 matches
Mail list logo