I'm agree with Sandra.
If you need Context's informations in your bean, the Servlet should set them
on the bean. But the bean shouldn't access directly to the context.
-Message d'origine-
De : Heligon Sandra [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 9 septembre 2002 18:20
À : 'Tomcat
In the AccessLog, I need the Apache equivalent of a combined format with
%T (transaction time) appended. Is this possible in tomcat 4.0?
Thanks
David Loy
_
MSN Photos is the easiest way to share and print your photos:
It might be possible - but the functionality is not there right now.
If you are using jk/jk2/webapp - then you can let apache do the logging
for you.
David Loy wrote:
In the AccessLog, I need the Apache equivalent of a combined format
with %T (transaction time) appended. Is this possible in
Hmmm,
I suppose you could create a sessionid or cookie with
the asp code and pass that to tomcat. You would then
have your tomcat instance listening on port 8443 (or
change it to 443 if you're not running something there
already) and do the link.
Getting Tomcat integrated with IIS is not
Go under http://java.sun.com/j2ee/download.html#platformspec
and then select j2ee13. There is a chapter where every deployment
descriptor are described.
-- Jeanfrancois
tek1 wrote:
anyone know where i can find a detailed description of what goes into
the xml deployment descriptor of an
I've updated my HOWTO page to include links to mod_jk binaries for RedHat
(Apache 1.3.26 and Apache 2.0.40) as well as links to Encap packages
(courtesy of Milt Epstein and the sys-admins at UIUC CITES) of mod_jk.so for
Solaris 8 and AIX 4.3.3.
I'm also working on posting mod_jk.dll for
Hi,
how can I access the ServeltContext in a bean?
Could you give me sample:
e.g.
import javax.servlet.*;
// something like that, but getServletConfig() is of course not known in a normal bean.
ServletContext ctx = getServletConfig().getServletContext();
String dbdriver =
Hello!
I want to connect Apache 2.40 with Tomcat 4.1.10 and I have the mod_jk.dll.
Do I need more and how can I connect them?
Don´t find anything in the documentation.
Thanks for help
A. Schmidt
Hello,
I've caught an exception with tomcat 4.1.10 and the tag jsp:include
page=
this is the code:
---
% boolean disabled=false; ...%
jsp:include page=simple-icon.jsp
jsp:param name=icon value=blocca/
jsp:param name=disabled value=%= disabled %/
Hi,
We are using Tomcat 3.2.4 connected to Apache 1.3.x. We have been using
Apache to handle SSL, but want to use some JSP's in the secure section, so
we need to forward those requests to Tomcat. We have set up a secure
context in Tomcat for the virtual host. Whenever someone accesses a url
somehow a double posting. Please ignore!
rainer
- Original Message -
From: rainer juenger [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, September 09, 2002 4:25 PM
Subject: ServletContext in a Bean
Hi,
how can I access the ServeltContext in a bean?
Could you
Thanx for the HOWTO.
I tried to follow the instructions to setup Apache 2.0.40 and Tomcat 4.1.10
But when i startup Tomcat, it answers with this error:
I have Tomcat 4.1.10 LE J2SE 1.4.1
Thanx for help
Giorgio
INFO: Initializing Coyote HTTP/1.1 on port 8080
ServerLifecycleListener:
Try the non-LE version of Tomcat.
John
-Original Message-
From: Giorgio Ponza [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 1:28 PM
To: Tomcat Users List
Subject: Re: New HOWTOs posted
Thanx for the HOWTO.
I tried to follow the instructions to setup Apache
I've found that the problem is when i uncomment this line in server.xml of
my Tomcat 4.1.10 LE J2SE 1.4.1
!-- Define an AJP 1.3 Connector on port 8009
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8009 minProcessors=5 maxProcessors=75
OK.
That line in server.xml works, you'll have to take my word for it. If it's
causing you grief, I would definitely look at using full Tomcat, not the LE
version. In addition, you can verify that
org.apache.ajp.tomcat4.Ajp13Connector exists in your Tomcat installation.
My guess is, it
thanks again John, both the documentations use openssl for creating RSA
and CSR, but I am using modssl, whats the equavalent modossl in apache
2.0.39, I searched for both openssl and modssl in all apache directories
and I could not find any, but I have ssl.conf and ssl-std.conf under
conf
My JAVA_HOME on my hope set up is set to:
c:\j2se14
bin is at C;\j2se14\bin. Did you set PATH? My PATH is set to:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
Files\SecureCRT3.0;C:\j2se14\bin;%ANT_HOME%\bin;%JAVA_HOME%\bin
The relevant
Not sure it help, but have you uncomment in your build.properties the
full.dist=on
property?
With jakarta-tomcat-5 (not sure with 4), there is also an ANT target
called download that update the required modules. This is the way I'm
usually avoiding this exception.
-- Jeanfrancois
Turner,
Hi all.
I need to connect Apache 2.0.40 with Tomcat 4.1.10 and mod_jk.so
Following the instruction given by John Turner, i uncomment this line in
server.xml
but i get an error (later in this mail)
I tried with Tomcat 4.1.10 LE J2SE 1.4.0 and with the full installation, but
with the same results.
modssl comes with apache 2.0 i believe.
you need openssl to get modssl to work. they are not mutually
exclusive. modssl doesn't create the certificates.
Peter
At 02:02 PM 9/9/2002, you wrote:
thanks again John, both the documentations use openssl for creating RSA
and CSR, but I am using
Hello Giorgio,
The error is innocuous, sort of. Tomcat will run but you will not
have access to the Tomcat Admin app. If you comment it out, it should
work or if you use the Coyote AJP13 connector instead of the old one
the Admin app should work.
Jake
Monday, September 09, 2002, 12:57:12 PM,
mod_ssl is an Apache module, not a command line tool.
OpenSSL is a command line tool, not an Apache module. mod_ssl is included
in the Apache 2.0.40 source, it may or may not have been included with the
Apache bundled by Sun. You'll have to determine that yourself, and in
either case, you can
Steve,
JAVA_HOME and CATALINA_HOME environment variables should *NOT* have a
semicolon in them, just the full path itself (with no spaces...which
means Tomcat should be installed in a path with no spaces like
c:\Tomcat-4.1.10). The semicolon is used by PATH and CLASSPATH
environment variables
Dear Tomcat users:
Tomcat 3.3
Apache 1.3
Solaris 7
Oracle 8
My application is running under this features, but only in the intranet
of the Institution I work for.
When employees try to access to the application they need to type the ip
address of the server followed by the port,
I have uninstalled my working tomcat 3.2.3 in favor of tomcat 4.1 (so that I
could upgrade my jdk/jre to 1.4) and it is not loading classes properly, the
classes in %CATALINA_HOME%\examples\WEB-INF\classes are not found nor are
the classes in %CATALINA_HOME%\lib or anywhere else they are supposed
do you have DNS set up to map the ip to the name of the server?
At 02:43 PM 9/9/2002, you wrote:
Dear Tomcat users:
Tomcat 3.3
Apache 1.3
Solaris 7
Oracle 8
My application is running under this features, but only in the intranet
of the Institution I work for.
When employees try to
Hello.
Can anybody suggest what is the difference (benefits/shortages) beetween
mod_jk and mod_jk2 connectors from the user point of view?
Thanks for help!
Dev Zero G Ltd team.
http://devzerog.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
On Mon, 9 Sep 2002, Raj Mettai wrote:
thanks again John, both the documentations use openssl for creating
RSA and CSR, but I am using modssl, whats the equavalent modossl in
apache 2.0.39, I searched for both openssl and modssl in all apache
directories and I could not find any, but I have
What are the error messages? What do the logs say?
John
-Original Message-
From: Grant C. Peters [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 2:42 PM
To: Tomcat Users List; Jacob Kjome
Subject: help getting up and running
I have uninstalled my working tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi!
Hi guys.
Sorry, i'm not expert in linux
I need that some environment variables (like JAVA_HOME) are visible to a
specified user
Until today i worked with root, so i placed them in /etc/profile.
I'd like now them are visible only for the
It wouldn't compile %CATALINA_HOME%\webapps\ROOT\index.jsp throwing a
NoClassDefFoundError for the class org.apache.naming.JndiPermission
To fix that I placed every .jar in %CATALINA_HOME% in the lib\ext dir of
both my jdk 1.4 install and my jre 1.4 install (according to the tomcat docs
these
Hi!
I've installed tomcat 4.0 and jdk1.2 on windows 98
machine.The server is installed and i'm able to run
the examples/jsp and examples/servlet files.
But when it comes to my own Servlet files,it's giving
the error:HTTP 404,file not found.
Please let me know,as how to configure tomcat 4.0 on
Yes, the institution have one. But I don't know if I can use the same, even I
don't know how, and where to configure it for be accepted in Tomcat.
Could you help me?
Thanks again!
Peter Choe wrote:
do you have DNS set up to map the ip to the name of the server?
At 02:43 PM 9/9/2002, you
you need to contact your network administrator.
other than that, i don't know either.
At 03:23 PM 9/9/2002, you wrote:
Yes, the institution have one. But I don't know if I can use the same, even I
don't know how, and where to configure it for be accepted in Tomcat.
Could you help me?
Thanks
Hi,
i am very pleased to have tomcat's (4.1.10) webdav working against kde 3.0.3.
With URL in Konqueror:
webdav://hostname:8080/webdav
i can manipulate files as if they were SMB or NFS or lokal (drag and drop
works in one direction only). Great!
Unfortunately i do not know how to change the
Some questions:
Where did you put the files of your applications? (*.class, *.jsp, *.html)
Did you create the web.xml file?
If so, did you declare your servlet there?
How did you write the URL to access your servlet?
Is your servlet in a package?
More information at:
After skimming through the archives I see that (very recently)
others have also been having problems getting mod_jk to work under AIX
with Apache 2. Right now I'm loosing a fighting battle with AIX 5.1,
Apache 2.0.40, Tomcat 4.1.10, GCC 3.2, Ant 1.5, make 3.79.1, automake
1.6.2, autoconf
I don't have one for 5.1, but I have collected one for 4.3.3, thanks to
Milt Epstein:
http://www.johnturner.com/howto
John
-Original Message-
From: Daniel Rinehart [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 3:52 PM
To: [EMAIL PROTECTED]
Subject: AIX Connector
I don't have one for 5.1, but I have collected one for 4.3.3, thanks to
Milt Epstein:
http://www.johnturner.com/howto
Unfortunately, that seems to only be for Apache 1 and my attempts
to connect to the ftp server failed.
-- Daniel R. [EMAIL PROTECTED] [http://www.neophi.com/]
--
To
luca wrote:
Hello,
I've caught an exception with tomcat 4.1.10 and the tag jsp:include
page=
this is the code:
---
% boolean disabled=false; ...%
jsp:include page=simple-icon.jsp
jsp:param name=icon value=blocca/
jsp:param
Giorgio Ponza wrote:
Hi all.
I need to connect Apache 2.0.40 with Tomcat 4.1.10 and mod_jk.so
Following the instruction given by John Turner, i uncomment this line in
server.xml
but i get an error (later in this mail)
I tried with Tomcat 4.1.10 LE J2SE 1.4.0 and with the full
thanks John, for answering the off-topic question. I will make sure
that, I won't post off-topic questions in tomcat-user list...
-Raj
[EMAIL PROTECTED] 09/09/02 02:25PM
mod_ssl is an Apache module, not a command line tool.
OpenSSL is a command line tool, not an Apache module.
Craig Longman wrote:
hi.
after many hours of frustration trying to get the fancy new admin tool
working, i finally tracked it down to a problem with the CoyoteConnector
not respecting the 'port' attribute in the Connector element in
server.xml
the full entry is:
Connector
So JK (mod_jk) is incompatible with Tomcat 4.1.10? Or is there a
configuration parameter that turns off the JMX features?
John
-Original Message-
From: Remy Maucherat [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 4:09 PM
To: Tomcat Users List
Subject: Re: AJP 1.3
Hi!
I've copied the .class files
c:\tomcat4\webapps\ROOT\WEB-INF\classes
I've include the following lines in autoexec.bat:
set JAVA_HOME=c:\jdk1.2
set
CLASSPATH=.;C:\tomcat4\common\lib\servlet.jar;%CLASSPATH%
set PATH=%PATH%;%JAVA_HOME%\bin
I've uncommented the following line in
Turner, John wrote:
So JK (mod_jk) is incompatible with Tomcat 4.1.10? Or is there a
configuration parameter that turns off the JMX features?
Yes, remove the ServerLifecycleListener Listener.
On the Java side, the old AJP 1.3 connector is deprecated. Use Coyote JK2.
On the C side, both
Hello --
Tomcat 4.03 / Apache/2.0.39 / mod_jk2
It seems that Apache2 + mod_jk2 is doing some internal cacheing - or
something. In my case, it is really causing problems on our site. Here are
the symptoms (I've left out many debugging steps to get at, what I hope is,
the heard of the matter):
OK. Hopefully docs are coming soon! I've always wondered what the heck the
difference was between the Java side and the C side, obvious differences
aside.
I really want to understand how a .jar file can be an Apache module, which
is what I think you mean when you say Java side, though I am
I am attempting to set up a jdbcRealm using SHA-encrypted passwords with
BASIC authentication.
Configuration:
Tomcat 4.0.1
Apache 1.3.26
Redhat Linux
mod_webapp
I'm able to log in just fine for normal webapps. When trying to access the
managerServlet however, I get an Internal Server Error
hi.
after many hours of frustration trying to get the fancy new admin tool
working, i finally tracked it down to a problem with the CoyoteConnector
not respecting the 'port' attribute in the Connector element in
server.xml
the full entry is:
Connector
Hello,
is the WEB-INF an independant location? It was my understanding that
it was system wide. I don't want my virtual hosts to be able to see each
others classes.
Thank you VERY VERY much for your help,
Joshua Drake
Larry Isaacs wrote:
Hi Joshua,
Is there some reason you are not
I have had an issue were if I download the tomcat 4.0.4 connector source,
follow directions for also getting the apr source from the cvs
repository, the configure script will fail on configuring apr...
Connector source from:
Hi
[Fri Sep 06 20:54:28 2002] [jk_ajp13_worker.c (228)]:
connection_tcp_get_message: Error -
[Fri Sep 06 19:25:14 2002] [jk_ajp13_worker.c (848)]: In
jk_endpoint_t::service, send_req
uest failed in send loop 2
[Fri Sep 06 20:11:20 2002] [jk_ajp13_worker.c (680)]: Error sending
request body
Hello:
has anyone had luck integrating apache 2.0.4 with Tomcat 1.4.1 on NT. if
so could you please lead me the docs?
Thank you,
Ravi
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
On Mon, 9 Sep 2002, Turner, John wrote:
I don't have one for 5.1, but I have collected one for 4.3.3,
thanks to Milt Epstein:
http://www.johnturner.com/howto
Besides the OS version difference (which I have no idea whether it
matters or not), there's an Apache version difference -- the one I
Hi all,
As if the subject line wasn't long enough... here's an
interesting problem I'm hoping someone can help me
with. Basically, I have a Struts-based app which I'm
deploying on TC4 on a Win XP Home machine while
developing. When I access the app via a browser on
another machine on the
On Mon, 2002-09-09 at 16:09, Remy Maucherat wrote:
You have to use the jk2.properties to configure the port for JK2.
Some real documentation for JK 2 is coming soon.
actually, i thought about that, then i noticed that the jk2.properties
file had the line:
# channelSocket.port=8019
which
On Mon, 9 Sep 2002, Turner, John wrote:
OK. Hopefully docs are coming soon! I've always wondered what the
heck the difference was between the Java side and the C side,
obvious differences aside.
I really want to understand how a .jar file can be an Apache module,
which is what I think
Hi Friends,
I would like to donate(email me) the much-talked-about mod_jk.so for IBM
AIX 5.1 System. It took me around 2 weeks to get this done. THANKS to all
you guys there at the mailing list to help out for this. Let me know if that
works for you or so - beocs I am still having some
I had a similar problem a couple of days ago. I had to remove the @ page
directive at the start of the jsp page for this to work. That is for the
3 junk chars to stop showing up. I didn't have time to figure out why this
happens. We were migrating from JRun to Tomcat. From servletx to jsps.
I
I bet the answer is no. Here's my situation, and the only thing that can
possibly be causing the problem is a bug with AJP13.
We are using Apache 1.3.x for our SSL handling. We serve *.jsp requests
through tomcat 3.2.4.
On complete random occasions, when we try to POST to a jsp in a secure
From: Manoj Kithany [EMAIL PROTECTED]
Sent: Monday, September 09, 2002 2:23 PM
Hi Friends,
I would like to donate(email me) the much-talked-about mod_jk.so for IBM
AIX 5.1 System. It took me around 2 weeks to get this done. THANKS to all
you guys there at the mailing list to help out for
On Mon, 9 Sep 2002, Will Hartung wrote:
From: Manoj Kithany [EMAIL PROTECTED]
Sent: Monday, September 09, 2002 2:23 PM
Hi Friends,
I would like to donate(email me) the much-talked-about mod_jk.so for IBM
AIX 5.1 System. It took me around 2 weeks to get this done. THANKS to all
you
I'd like to make a page that will allow users to dynamically add and modify page
elements by clicking on form buttons on the page. I'd like these changes to
automatically appear on the page. The simplest way to do this would be to use
javascript and document.createElement() to apply these
Hi,
I'm having a problem with filters not being executed the first time a
request is sent to a Servlet. Subsequent requests do invoke filters as
expected.
I'm running tomcat 4.0.4 on windows 2000.
Attached is a very simple example demonstrating this behaviour.
Any help will be appreciated,
Hi,
I am using tomcat4.0.4 on windows 2000, i am
developing a webapplication fro AS400 database (DB2)
when i start tomcat, it creates 4 connections on AS400
for connection pooling.
but when i relaod the application from tomcat manager,
or when i modify a servlet( it reloads the application
since
It seems to me that Tomcat 4.0.4 is already set up to connect with
Apache..is this correct?
Ravi
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
On Mon, Sep 09, 2002 at 04:56:02PM +0930, Mathew Pole wrote:
If I create classes similar to the following, then I suspect that I
will run into multithreading issues, because OneServlet and
TwoServlet will run in the same JVM? Is this correct?
I think you're a bit confused, on three
Hi,
I find this very bizarre. The following exceptions are being thrown right
when
I login to our page and redirect the user after a successful authentication
to a different page. Haven't encounter this ever so you may be able to shed
a light
on this problem ...
I've tried configuring my context to use the
org.apache.catalina.session.PersistentManager and a FileStore to save
active sessions to disk so I can restart Tomcat without losing active
sessions. It works. As long as everything in the session is serializable
it will all get loaded when Tomcat
On Mon, 9 Sep 2002, Ravindra K. Bhat wrote:
It seems to me that Tomcat 4.0.4 is already set up to connect with
Apache..is this correct?
Well, it may be that everything on the Tomcat side is set up. But
you'll still need to do stuff on the Apache side -- like get the
module you need for the
Hello all --
I have a configuration problem on my setup of Tomcat (v 4.0.3). I am
managing this machine for my university's CS department, so there are
issues of security that must be followed, namely that students should
not be able to view each others source code (== cheating). We are using
Hi,
Just a suggestion.
Why not use Apache to take care of all the security? Ie have home
directories for each user and only the user has access to his/her home
directory, then apache can use a standard like http://localhost/~user and
everything is sepearate. It would be a lot easier to
The permission denied can be generated one of two ways.
First, the catalina.policy file must grant the correct FilePermission.
Even if the correct FilePermission is granted in catalina.policy, you
still have to comply with normal unix file ownership/permissions.
If it is a catalina.policy
I should clarify. Security in this case means a student should not
be able to view the source code of another student. Because we are
exporting the files but they still need to be accessible by Tomcat, each
user directory is 570 tomcat:user and all files inside are world
readable. This allows
(As far as the server.xml goes, I have it all scripted with the data coming
from databases, so it's relatively easy to make a version of the
file...)
Oh, well, that's cool then. I'm not a guru at Tomcat I was just trying make
a suggestion. But I see your point with Tomcat running as Tomcat user
Hello, please help with a bug (?) or mistake (?)
What is a likely reason for
javax.servlet.ServletException: Servlet execution threw an exception
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
and what would remedy this?
The
Sorry...I didn't have time to unpack the Encap package, so I wasn't sure if
there was a version issue with Apache with that file.
John
-Original Message-
From: Milt Epstein
To: Tomcat Users List
Sent: 9/9/02 4:49 PM
Subject: RE: AIX Connector Woes
On Mon, 9 Sep 2002, Turner, John
Thanks. One thing I'm not clear about is what the ant build instructions
for the connectors are doing. Those files aren't used anywhere that I can
see.
I think there is going to be a lot more traffic regarding the connectors in
the next few days/weeks. I just spent several hours trying to
Is anyone having issues with the tomcat start up scripts that get
installed with the rpm binaries?
I'm installing on Redhat 7.2 using '
tomcat4-4.0.4-full.2jpp.noarch.rpm ' . The issues is that the tomcat
doesn't startup on reboot, even though I've made the neseccary changes,
like the
Hi,
I'd like to send out the following HTTP headers for all *.xml files
Content-Cache=maxage=3600 while for *.jsp it should be Content-Cache=no-cache.
I know how to configure headers per mime type under Apache, but how is this
done under Tomcat? *Can* it be done?
Thanks,
Gili
Hi,
I am not fully aware of what the rpm scripts do, but the first thing to
check would be to see if the startup script is being called by init.
As root, run chkconfig --list tomcat (where tomcat is the exact name of the
script).
It will return something like:
tomcat 0:off 1:off 2:on
I reported that this error happened on two different machines: my Dell
laptop running NT 4, and a colleague's Sony Vaio running XP. I've now got
hold of his machine and seen the symptoms there. They're somewhat
different from on my NT system. When I run the bit of the application that
provokes
Does anyone know how the class loader handles jar files in Server/lib and
webapps/app/WEB-INF/lib.
The situation I have encountered is I have multiple applications that run on
a single instance of tomcat. I have a jar file with common classes that I
put on tomcat/server/lib. The classes are
Pls,
anybody listening?
This problem is a real show stopper for us.
Can someone tell me if it's a real bug or something wrong that i'm doing?
Thanks, Gabriele.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
101 - 185 of 185 matches
Mail list logo