Noel J. Bergman [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
ApacheConfig is for use with mod_jk 1.x. It doesn't work with jk2.
With
jk2, you only need the 'LoadModule' statement in httpd.conf. The rest
of
the configuration is handled by the
Hi all,
i have currently an dicussion going on about creating
a 3/Multi Tier Enterprise Application which will
have one Webbased Client and one Standalone Client.
The main aim is the Webbased Client.
The problem is there are some workers which want to
use .NET and some who want to use J2EE.
I
Tomcat only does jsp/servlets, so if you are after EJB's then you need
something like Jboss, which also bundles tomcat for jsp/servlets or
jetty. Apparently Jboss is pretty good and a lot of people are happy
with it so you might want to look into it. You need to pay for the docs
though.
G.
Probably easier is to just check the condition in your Servlet and/or
Filter:
String st = (String)request.getParameter(STATE);
if( st == null) {
response.sendError( 401, No State);
return;
}
int state=-1;
try {
state = Integer.parseInt(st);
} catch(NumberFormatExecption
Hi,
I'm using the Tomcat 4.1.12 embedded in a Java-Program. I want to delete
all the unneeded stuff and don't do know how to do.
At first I really don't need the Web-Administration of Tomcat.
Is there anybody who knows how to deactivate / delete the Web-Administration?
Thanks a lot
Tim
--
To
Hi, I have also this problem/doubt: how to limit the number of threads
opened by Tomcat?
I tried to change a lot of settings in server.xml but nothing influenced
that number.
I have always 46 new java processes opened by Tomcat.
I did this test (Linux RedHat 7.0, Tomcat 4.1.12, Apache 1.3.12, Sun
Apache needs read+execute access on all directories up to and including the
Tomcat directory for the user the Apache runs under (which I believe is
'apache' for the default RedHat install, but I don't really use RedHat
myself).
Marco Bucciarelli [EMAIL PROTECTED] wrote in message
We recently developed an application using struts on tomcat.
The performance benchmarks are perfactly fine but we have a problem at network round
trip end.
This is because even if the included JavaScripts/css/gif/jpeg files, are all cached,
still it checks for the last modified time with the
Hi all,
I finally got my new 4.1.12 rel compiled and running.
Unfortunately, i had to comment out all the lines concerning
puretls.jar; i don't know where i can get it downloaded.
Any help welcome, thanks in advance.
Jean-Luc :O)
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
Hello,
I have a peculiar problem with Tomcat 4.0.4.
My web.xml contains a bunch of error-page elements pointing at error handlers for
various exceptions. When one of these exceptions is invoked in a JSP, everything goes
fine but when it happens in a servlet, the standard Tomcat error page is
You can find puretls.jar on this adress :
http://jpackage.sourceforge.net/rpm2html/free/RPMS/puretls-0.9-0.b2.1jpp.noa
rch.html
David Rayroud
-Message d'origine-
De : Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi, 13. décembre 2002 11:16
À : tomcat-user
Objet : who can
I'm currently working (independently!) with Oracle's BC4J application /
persistence framework (against a transactional MySQL database).
The framework is supposed to be client independent, and JDeveloper (with
which the framework comes) provides tools for generating / designing both
thick and
Hi,
there is a way to limit memory use by tomcat
just specify it in your CATALINA_OPTS env var
here is mine
CATALINA_OPTS=-server -Xmx220m -Xms220m -Dfile.encoding=UTF-8
these are jvm parameter I think
Xmx is the max mem to use and Xms is the min
hope this helps
Luc
At 11:03 13/12/2002
Hi All,
i´ve been learning a lot about tomcat and apache on the last few weeks, but
as every self-learner, i still have some conceptual doubts and
misunderstandings... Any help or clearances are very much appreciated :).
Well, here's my problem:
A LITTLE BACKGROUND:
I´m trying to get tomcat
I think you can't do virtual hosting on Tomcat standalone.
You need Apache in front of it.
See the following which may help,
http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html?page=1
Sherif D Mohamad [EMAIL PROTECTED] wrote:I am trying to add a virtual host on
tomcat, I added this
I'm using Apache 2.0.43, tomcat 4.1.12 and mod_jk2 to
communicate between them.
I am looking for how to indicate to the mod_jk2 an
other directory than APACHE_HOME/conf for finding
workers2.properties.
I used JkWorkersFile d:/workers2.properties in the
httpd.conf but the startup of apache
Hi Noel!
Yes, we use the root for dav and filtering, since unique and clear
identities/url-identifiers are very important to us.
In your conf-snipplet it seems that you bind the tomcat connector by
mime-type and then redefine the the mime-type in the 'dav' location to
avoid being captured by the
Hi, i need a solution please:
I'm running Apache-Tomcat under Linux working with several virtual hosts. I
would like to setup all of them to use the same WEB-INF.
I tried to use symbolic links in each website pointing to the same WEB-INF
directory but it seems that Tomcat ignores them.
is it
Hi,
I have problem with IIS and Tomcat losing request parameters.
I have a set-up with IIS 5.0 and Tomcat 4.0.6 on Windows 2002 Advanced
Server and JDK 1.3.1_01 and for sometime this has worked fine, but I have
just noticed that request parameters are lost when there are spaces in the
filenames
OK! ;)
Thanks everybody, I will look for alternatives. But I will
probably add a feature of resource(URI) with the user and
passwd. Then use filter to complement the authorization.
On Fri, 13 Dec 2002 01:55:56 -0800
Bill Barker [EMAIL PROTECTED] wrote:
Probably easier is to just check the
Hello,
I have two applications that I'd really like to get running on the same web
server with ip virtual hosts.
Now, app1 is currently running with jserv, while app2 is runing with tomcat.
Is it possible to run both tomcat and jserv in the same apache(v1.3)?
If so, what directives do I need to
Yes, that was the problem (it was a really stupid problem).
I still have the problem with the symlinks:
in the webapps/mytest directory I have a subdirectory that is a symlink:
cd /var/tomcat4/webapps/mytest
ln -s /tmp/mydir mydir
the directory /tmp/mydir has the right permissions and also the
ok .. I am interested any ideas how to implement it
thanks in advance
--Rob
-Original Message-
From: Noel J. Bergman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 7:09 PM
To: Tomcat Users List
Subject: RE: help: logging j_username
Is there a way besides using
see below
-Original Message-
From: RXZ JLo [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 12:58 AM
To: Tomcat Users List
Subject: Re: RequestDispatcher scenarios ( was RE: static url routing)
--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
On Mon, 9 Dec
if in my web.xml i have this:
error-page
error-code404/error-code
location/error.jsp/location
/error-page
the tomcat starts well but appears the next error. Can you help me to resolv
it? thanks.
ERROR:
13-dic-2002 13:19:14 org.apache.commons.digester.Digester error
GRAVE: Parse Error at
Is there anybody who knows how to deactivate / delete the
Web-Administration?
just remove/move the admin.xml, and I guess manager.xml
from the webapps directory and it should go away.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
Make sure that error-page element appears after welcome-file-list and
before taglib.
The order of the elements in any XML file is very important.
HTH,
Uri
On Friday 13 December 2002 14:22, Dionisio Ruiz de Zarate wrote:
if in my web.xml i have this:
error-page
error-code404/error-code
I cannot get my Apache-Tomcat mod_jk connector to work for anything other
than localhost. Apache 2.0.43, Tomcat 4.1.12, Linux (Redhat 8.0). Trying
to run http://localhost/examples/HelloWorldExample works, but if
localhost is replaced with either an IP address or a valid hostname, the
error_log
Hi.
Only with Tomcat, how can I go to a servlet by default?
With http://12.:8080 only Load a servlet by default.
Thanks.
Rafa.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
HI,
I Have:
Apache 1.3.27-10
mod_ssl 2.8.7-4
modutils 2.4.14-3
mod_jk 1.3-1.0-1.4.0.2
tomcat 4.0.3
* This is my JK mounk config:
*
JkEnvVar SSL_CLIENT_CERT SSL_CLIENT_CERT
JkMount /dgt/* ajp13
JkEnvVar SSL_CLIENT_CERT_CHAIN_0 SSL_CLIENT_CERT_CHAIN_0
Location
Adding these permissions took care of the problem. Thanks a lot.
-- Gayathri
-Original Message-
From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 12:45 AM
To: Tomcat Users List
Subject: Re: Security violation in Tomcat 4.0.6
In catalina.properties,
Dionisio,
I do not find anything wrong with that entry in your web.xml file. The error
is probably caused by another element.I have used error pages in my web-xml
files with the same entry as yours without problems.
Pedro
-Mensaje original-
De: Dionisio Ruiz de Zarate [mailto:[EMAIL
Verify the order of your elements in the web.xml file.
-Mensaje original-
De: Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED]]
Enviado el: viernes, 13 de diciembre de 2002 13:22
Para: [EMAIL PROTECTED]
Asunto: error when start tomcat if in the web.xml is the error-page
directive
if in
Is there anybody who knows how to deactivate / delete the
Web-Administration?
just remove/move the admin.xml, and I guess manager.xml
from the webapps directory and it should go away.
okay, if I remove the admin.xml and the Manager.xml tomcat works fine. But
now the server-directory is
Okay, I moved the JAR to $CATALINA_HOME/webapps/ROOT and changed the code to:
Great, and thanks. In about two hours I will stop the daunting task of creating a web
application in VBScript/ASP (yuck) and picking up the registry-system again. I will
immediately try out your way.
I suspect the
We recently developed an application using struts on tomcat.
We have a problem at network round trip end.
This is because even if the included JavaScripts/css/gif/jpeg files,
are all cached, still it checks for the last modified time with the
web server and makes a round trip.
When I searched
--- Cox, Charlie [EMAIL PROTECTED] wrote:
RequestDisatcher is for dispatching (parts of)the
current request to other
resources in the same context without involving the
browser. This means that
it is not a new request(filters/valves/etc do not
get invoked), but it is
processed by the
Document base r:\tomcat\webapps\..\server\webapps\admin does not
exist or
is not a readable directory
You probably still have context/host/engine configured
for the admin app.
Make sure that none of the configured containers refer
to the directory(ies) that do not exist. The attribute
to
Any comment?
Hi,
I find next two errors inside iis_redirect.log file after working with a
java application (JDBC, JSPs,...) using IIS5 and Tomcat 4.0.1 in a w2k
server:
[Tue Dec 03 10:54:10 2002] [jk_isapi_plugin.c (404)]:
jk_ws_service_t::start_response, ServerSupportFunction failed
Daryl,
Just out of curiosity, does your web server get mapped through a firewall?
I had to open port 8080 on my firewall in order to pull up the Tomcat index
page using my domain name
Hope that helps...
Denise Mangano
Help Desk Analyst
Complus Data Innovations, Inc.
-Original
Do you know where I could get Tomcat 4.1.17 release?
Denise Mangano
Help Desk Analyst
Complus Data Innovations, Inc.
-Original Message-
From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 5:56 PM
To: Tomcat Users List
Subject: RE: [OT] Apache-Tomcat mod_jk
-Original Message-
From: RXZ JLo [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 8:31 AM
To: Tomcat Users List
Subject: RE: RequestDispatcher scenarios ( was RE: static url routing)
--- Cox, Charlie [EMAIL PROTECTED] wrote:
RequestDisatcher is for dispatching
Thanks for all the help.
On Thursday 12 December 2002 19:15, Jacob Kjome wrote:
That's what init() is there for. Just note that the container is allowed
to unload and reload servlets at any time it wants to so your init() and
destroy() methods aren't guaranteed to run just once. If you have
Hi!
I try a dynamic include in a jsp:
%@ page contentType=text/html;charset=UTF-8 language=java %
This is a Test
include:jsp:include page=/portal/image-vp.do flush=true /:end
include
Test end
I run my example and this is the HTML looks like:
This is a Test
include:
According Tomcat's
I have ports 80 and 8080 both open. In particular, when I hit the host
from inside the firewall, but from another host, the connector fails.
Thus, http://localhost/... works, but http://tigger/... fails.
On Fri, Dec 13, 2002 at 09:15:39AM -0500, Denise Mangano wrote:
Daryl,
Just out of
Hi,
How do you know you need EJBs when you haven't even decided whether to
use J2EE or .Net? That's a more detailed design choice, isn't it?
Tomcat by itself doesn't support EJBs. It's not a full J2EE server.
JBoss is, and it's a good one. JBoss uses Tomcat for servlets and JSPs.
There are
Hello all
Please help me with this:
file src/fe/MyBean1.java:
package fe;
public class MyBean1 {
private String msg = MyBean1: Initial message;
public String getMsg() { return msg ; }
public void setMsg(String m) { msg = m; }
}
file test.jsp:
%@ page language=java %
html
jsp:useBean
Andrew Guts wrote:
file src/fe/MyBean1.java:
package fe;
public class MyBean1 {
private String msg = MyBean1: Initial message;
public String getMsg() { return msg ; }
public void setMsg(String m) { msg = m; }
}
file test.jsp:
%@ page language=java %
html
jsp:useBean id=dBean
Andrew:
The beans spec says that property 'something' will be addressed through a
getter method 'getSomething()' (note capitalization of 's'). So your getter
method 'getMsg()' is referring to a property 'msg', not 'Msg'. Yes, when
you capitalize 'Msg' you'll get 'Msg', but when Jasper
Boris Folgmann wrote:
But It does not work :-(
I think it should work. If you changed your bean while tomcat was already
running, you have to restart tomcat. That's why you should set your webapp
to reloadable on your development machine. If you've done this, a tomcat
restart is no longer
This is slightly off-topic (related to JBoss, but involves Tomcat)
Environment: Win NT, JBoss 3.0.4 with Tomcat 4.1.12, JDK1.3.1
I unzipped jboss-3.0.4_tomcat-4.1.12 and tried to run(.bat) JBoss. But
I get an exception saying embedded Tomcat couldn't bind to 8080 (address
already in use). So I
I have asked this question before. I have been all over the net looking for
information. The problem remains: On Solaris 2.8 Tomcat started from the commaned
line via startup.sh does not background properly and dies when the controlling tty is
exited. I have tested this on a Sunfire 280r
Greg Trasuk wrote:
Changed 'private String msg' to private String Msg' Result is the same.
I guess it doesn't matter for private fields.
Andrew:
The beans spec says that property 'something' will be addressed through a
getter method 'getSomething()' (note capitalization of 's'). So your
Hi all,
I realize a that Tomcat 4.1.12 behaves differently than 4.0.64 in the way it deals
with the context directory. If the
directory doesn't exist Tomcat 4.1.12 doesn't start ( with 4.0.6 does ). This is the
message:
java.lang.IllegalArgumentException: Document base /home/client/context
I have another question in line with the same subject.
Does tomcat support, JVM online replication, to support the failover of link.
I mean the session memory be replicated to another instance of TOMCAT and in case link
to first one fails can we switch to the second instance of tomcat without
Have you checked the logs, what does it say...?
- Original Message -
From: Matthew Ritenburg [EMAIL PROTECTED]
Date: Fri, 13 Dec 2002 10:53:12 -0500
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Tomcat dies
I have asked this question before. I have been all over the net looking for
The logs say nothing. Tomcat is dying because it is not backgrounding properly on
solaris 8. The process never detaches it self from the controlling tty. You close
the console/xterm and Tomcat dies. My question is: Why doesn't tomcat background
properly on Solaris 8?
Thanks again!
Matt
I have been using Tomcat on Solaris 8 for months and it backgrounds for me
just fine. What do the logs say?
Regards,
Drew
-Original Message-
From: Matthew Ritenburg [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 10:53 AM
To: Tomcat Users List
Subject: Tomcat dies
I have
Andrew Guts wrote:
Greg Trasuk wrote:
Changed 'private String msg' to private String Msg' Result is the same.
I guess it doesn't matter for private fields.
Greg is right! I simply overlooked that, and you misunterstood him.
1. You CAN'T use properties that start with a Capital letter!
2.
What version are you using?
-Original Message-
From: Matthew Ritenburg [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 11:11 AM
To: Tomcat Users List
Subject: RE: Tomcat dies
The logs say nothing. Tomcat is dying because it is not backgrounding
properly on solaris 8. The
I also have been using tomcat on solaris 8 with great success.
Hover I do not use the startup/shutdown scripts have you tried calling the
catalina script directly (catalina.sh start or catalina.sh stop)
-Original Message-
From: Hamilton, Andrew [mailto:[EMAIL PROTECTED]]
Sent: Friday,
RAFA wrote:
Hi.
Only with Tomcat, how can I go to a servlet by default?
With http://12.:8080 only Load a servlet by default.
You have to deploy a webapp to the root context.
--
Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED]
Folgmann IT-Consulting
I use the startup/shutdowns scripts without trouble.
-Original Message-
From: Meyer, James [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 11:16 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat dies
I also have been using tomcat on solaris 8 with great success.
Hover I do not
I am using Tomcat 4.0.1 with jdk-1.3.1_06.
-Original Message-
From: Hamilton, Andrew [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 11:15 AM
To: Tomcat Users List
Subject: RE: Tomcat dies
What version are you using?
-Original Message-
From: Matthew Ritenburg
Hi,
We have dozens of Solaris 2.8 machines, using various versions of
tomcat, with JDKs from 1.2.2-1.4.1. None of them exhibit this problem.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Matthew Ritenburg [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002
Boris Folgmann wrote:
Thanks you very much! I've appreciated your and Greg's answers. It was a
real help.
Andrew
Andrew Guts wrote:
Greg Trasuk wrote:
Changed 'private String msg' to private String Msg' Result is the same.
I guess it doesn't matter for private fields.
Greg is right!
I'm using 4.1.10 with jdk-1.3.1_04. But I really can't imagine that there
would be anything in the TC distribution itself that would cause this. Is
there anything in your setup that may cause it to want a tty connection? An
evironment setting, etc?
-Original Message-
From: Matthew
Joseph Shraibman wrote:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/ is empty.
You can report bugs to the tomcat bugzilla installation on the website.
Don't know the exact URL ...
--
Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED]
Folgmann IT-Consulting
This question seems to have been asked about a thousand times: I
apologize for bringing it up again. I was unable to find a solution
that worked from among prior responses.
I want to configure Tomcat's InitialContext with Jboss' JNDI info. Life
is good as long as I do things in code:
If that is the cause, what's wrong with using 'nohup' ?
(Or am I missing something here?)
Cheers,
-- jon
Matthew Ritenburg wrote:
The logs say nothing. Tomcat is dying because it is not backgrounding
properly on solaris 8. The process never detaches it self from the
controlling tty. You
I'm using IE 6.0.2800.1106 and it SUCKS! It has incredible, unbelievable
problems downloading both images and javascript source files and the
problems are independent from the server it is requesting from (tomcat, IIS,
etc.)
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
If you are using ssh the problem you described occurs,
one way around it is to start tomcat with the following command
/usr/local/tomcat/bin/tomcat.sh start/dev/null /dev/null 2/dev/null
-Original Message-
From: Jon Eaves [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 10:37
Hello,
I have Tomcat 4.0.1 running on a Solaris 2.8, Sunfire 280r. I can start
tomcat successfully. However, when I logout of my telnet session it dies
immediately. I have tried to place nohup in the catalina.sh and on the
startup.sh command but that does not seem to help the problem. I can
Am curious as to why the double entry of permission
java.lang.RuntimePermission
accessClassInPackage.org.apache.catalina.util; ?
Also I have a stock binary download 4.1.12 and does not have this under
//Required for servlet and JSP's and should I include it?
permission
I've had this problem too in the past and our best (but definitely not
the most elegant) solution is to switch to C-shell before invoking the command.
Log on as root. (your root shell can be anything)
Create a user tomcat: useradd tomcat
Switch to C-shell: /bin/csh
Do something to the effect of
I've seen this one:
[Tue Dec 03 11:10:44 2002] [jk_isapi_plugin.c (498)]:
jk_ws_service_t::write, WriteClient failed
[Tue Dec 03 11:10:44 2002] [jk_ajp13_worker.c (381)]: Error
ajp13_process_callback - write failed
This means that a request to a resource (JSP/servlet) has been made but
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/
is empty. Am I looking in the wrong place? This is the link available at the bottom
of this page:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional
The fix was introduced in Tomcat 4.1.13.
aps olute wrote:
Am curious as to why the double entry of permission
java.lang.RuntimePermission
accessClassInPackage.org.apache.catalina.util; ?
Actually, that's a very good question. It is not supposed to make a
difference. I will try to find why
What happens if #concurrent users exceeds
max pool size ? I get an exception ?
Can I try to catch it say print something like
System is busy, Try again ?
Thanks
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
1) Please help, the support class of my servlet is not able to find the file
town.xml. I have this file town.xml at taxi/town.xml, a copy at
taxi/WEB-INF/classes/town.xml I tried to pre-pend with / and no / with
same results. A snippet of the log is below:
81 2002-12-13 01:25:05
Ok. So its time to give this another try. For try #2 I decided to try to
build mod_jk according to the HOW-TO. I'm running into a snag. When I run
configure it is looking for a path to apxs. My Apache 1.3.27 web server is
up and running, I can view my website. Tomcat 4.1.12 itself was
Hello Rod,
I think this is a JBoss question. I think that JBoss takes over
configuration of Tomcat when Tomcat is embedded in JBoss. So, I would
think that the JNDI config would be located within JBoss, not external
to the server or under the normal Tomcat standalone configuration.
That said, I
Hello aps,
First, don't use File IO if it isn't necessary (and it isn't here).
Second, see:
http://marc.theaimsgroup.com/?l=tomcat-userm=103904964313189w=2
Jake
Friday, December 13, 2002, 11:26:08 AM, you wrote:
ao 1) Please help, the support class of my servlet is not able to find the file
ao
Thanks for the reply.
I should have mentioned that I started encountering these problems when
I put the Tomcat server on a different machine. There was no trouble
when I was running Tomcat embedded. Right now, there's no trace of
Jboss on the Tomcat server.
Thanks again!
Rod
-Original
Hello All,
I would like to use default tomcat directory listing functionality in
one of my application. And it works fine when I set the docBase to the
directory which i would like to see as listing. But that directory
consists of some symbolic links to the files which are outside of that
apxs requires perl to be available check the first line of apxs
head -1 /usr/sbin/apxs
It should say something like
#!/usr/local/bin/perl or something along those lines
check the availability of your perl install
ls -l /usr/local/bin/perl
if it says not found do a find for perl and replace
tomcat conforms to true daemon properties that is dissociation from all file streams
many a signals etc.
On actual dissociation it should get bound to the inetd process of solaris.
Make sure that your unix box is running nuder init status 6(which is normal wokring).
Mostly there should be
How can i send log messages toy my app's log file (already configured in
server.xml) insetad of catalina.log?
I noticed that some System.out.println() goes to one and others to the
other...
Thanks!
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
Howdy,
getServletContext().log(...); The ServletContext javadoc has more
details.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Alexander Wallace [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 1:00 PM
To: [EMAIL PROTECTED]
Subject: Logging to my app.
In your server.xml you define a Logger in you web app
context like this :
Context path=/examples docBase=examples debug=0
reloadable=true
crossContext=true
Logger
className=org.apache.catalina.logger.FileLogger
prefix=localhost_examples_log.
suffix=.txt
First line of apxs is #! /usr/bin/perl that location is correct for perl.
There is alos a perl5.6.1. Should I try this one instead?
Thanks.
Denise
-Original Message-
From: Jan-Michael Ong [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 12:58 PM
To: Tomcat Users List;
Hello,
I searched many places and read many things, but I didn't
find any example that retrieve the user from the session
after it is authenticated with realm.
Can someone help me?
Thanks.
Don't E-Mail, ZipMail! http://www.zipmail.com/
--
To
Thanks, i do have that working already, but you know how all (almost all) the
System.out.println() goes into cataline.log, i was wondering if there was an
easy line to send to the app log, not he catalina.log.
On Friday 13 December 2002 12:05, Patrick GIRY wrote:
In your server.xml you define
You can found any information on the jk2.properties on
the
http://localhost:8080/tomcat-docs/jk2/jk2/configtc.html
when you have installed your tomcat.
--- [EMAIL PROTECTED] a écrit : Where is the
jk2.properties file documented?
On Thu, 12 Dec 2002, Bill Barker wrote:
ApacheConfig is
Thanks, i'll check it out.
On Friday 13 December 2002 12:05, Shapira, Yoav wrote:
Howdy,
getServletContext().log(...); The ServletContext javadoc has more
details.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Alexander Wallace [mailto:[EMAIL PROTECTED]]
John:
I took your advice from yesterday, replaced mod_webapp.so with mod_jk.so
and now jsps and servlets don't work.
They worked fine under mod_webapp, including my own HelloWorld app in
addition to the Tomcat examples. Now they don't work, although I am able
to get to the HTML pages using,
Does Tomcat support byte serving of PDFs?
-Elizabeth
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Look at the JSP Specification for jsp:useBean (which will require you to
provide a proper JavaBean with setters/getters), or just use
HttpSession.setAttribute in a servlet to keep an Integer in session with a
count (a bit primitive, but ok for an outline).
If you want me to do it for you, I'm
Jonas,
There is a semantic conflict between DAV and dynamic content handlers if you
use the same Location. DAV would want to fetch the file, the dynamic
content handler would want to pass along the request for service. See
http://www.webdav.org/mod_dav/install.html#complex, specifically the PHP
Elizabeth,
Tomcat does support this if I understand you correctly.
The following should hopefully achieve this for you (Put these into a JSP):
ByteArrayOutputStream ba = new ByteArrayOutputStream();
Read your PDF into ba ...
response.setContentType(application/pdf);
1 - 100 of 147 matches
Mail list logo