applications go...
Thanks,
Atreya
--
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-
To unsubscribe, e-mail: [EMAIL PROTECTED
PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya
. Since I use the 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) greenfieldresearch (dot) ca
:
%@ 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'm getting a weird error when using jsp:directive.include file
://java.sun.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
in
the context-param element?
--
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
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
get executed. However a session 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
(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'm having some
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]
Sent: Thursday, December 04, 2003 1
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 (dot) ca
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
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
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;
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
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
-
To unsubscribe, e-mail
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,
_
Atreya Basu
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
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
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
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
Hello,
I'm in desperate need of showing a file list.
In my httpd.conf file I have the following:
Directory /sumdir
Options +Indexes
...
/Directory
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
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
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
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
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 (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, 2003 3:24
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
What I do for this is the following:
servlet
servlet-nameHelloWorld/servlet-name
servlet-classtutorials.ch1.HelloWorldServlet/servlet-class
/servlet
servlet-mapping
servlet-nameHelloWorld/servlet-name
url-pattern/helloworldservlet/url-pattern
/servlet-mapping
Actually,
Because I use JK2 I
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,
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 Message-
From: [EMAIL PROTECTED
);
response.setHeader(Content-Disposition,attachment;
filename=+fname);
response.setHeader(Cache-Control,no-cache);
response.setContentLength(available);
I am of course pre-compiling my JSP. Any ideas anyone?
Thanks in advance.
_
Atreya
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
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
that 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 PM
:
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 PROTECTED
)
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) greenfieldresearch
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
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
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
.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, 2003 12
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 Message
.
_
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!
Still
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 4:02
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,
Greenfield
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
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,
Greenfield Research Inc.
e-mail: atreya
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
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-
From
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
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 Research
. 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 11:39 PM
To: Tomcat
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: atreya
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
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
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
.
_
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 create (install
'. 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: [EMAIL PROTECTED
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:
?
_
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]
about the Servlet mapping?
_
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
Could I do the following:
[uri:myDir/Servlet/*]
context=myDir
Context path=/myDir docRoot =.. /
Is that the proper use of the URI directive?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original
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 (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]
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-
From: Antony
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
Developer
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
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-
From
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, 2003 10
);
That will just execute a 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
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
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
and the 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
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.
_
Atreya Basu
Developer
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) greenfieldresearch (dot) ca
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 the tomcat
out into
\webapps\dir. 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
77 matches
Mail list logo