Hi,
i'm using Tomcat3.2.1 standalone.
Does anybody know how to deactivate the Directory Listing ?
I mean if a browser requests a directory I don't want tomcat to send an
overview of all
the files contained in this directory.
Thanks a lot.
Falk
Richard Heintze at [EMAIL PROTECTED] wrote:
Jim, Ronald and Bryan,
Could you folks kindly give me URL for this
JavaService? I assume I'll have the same problem --
I'm using a service in the FAQ that runs any old bat
file.
I looked at the services that exclusively run java
programs and
Hi folks,
I'm running into a problem trying to use Tomcat as an NT service, using
JavaService.
From the standard Tomcat 3.2.3, I added the xerces-j_2_2_D6.jar
If I run the STARTUP.BAT file in the bin directory, I can run the examples
in the webapp directory fine.
If I run Tomcat as an NT
adding the name in quotes makes no difference,
jsp:plugin name=myApplet
type=applet
code=MyAppley.class
codebase=/test
width=350
height=200
/jsp:plugin
-Original Message-
From: Jan Labanowski [mailto:[EMAIL PROTECTED]]
Hello therer tomcat users ;)
I'm not sure if this is a bug, so I'm posting a description of an unusual
problem, and hope that if this is not a bug, somebody will prove that I'm
missing something here...
I have JSP page that has static content (outside % % tags) in ISO-8859-2,
and a few
Hi Again,
Just for anyone's information, I've managed to get it working, but I'm not
sure how!
I replaced the parameter d:\java\jdk1.3\jre\bin\classic\jvm.dll to be
d:\java\jdk1.3\jre\bin\hotspot\jvm.dll and now it works fine!
Cheers,
- Steve
-Original Message-
From: Steve Harrison
Hy
I am using Tomcat 4.0 beta6 and have a problem with the CLIENT_CERT auth
method.
It seems that the authentication will work right because the username appers
in the access log.
Since I need the username in my servlet I tried to call the methods
getAuthType(), getRemoteUser() and
Hi there,
I am facing problem when uploading file bigger than 0.97MB through
MultipartPerser the error in log file shows as follows
Please help if u have any idea.
Best Regards,
Kalyan Mitra
[EMAIL PROTECTED]
=-
2001-08-08 13:28:04 StandardHost[localhost]:
I tried to correct the file, but ... nothing...
But, I noticed another thing. If I start Tomcat with
tomcat run (in /usr/bin)
the output is visible on the screen but Tomcat doesn't work properly (tomcat
start correctly but if I try to access at 8080 ... it doesn't works)
instead, if I
Just replying to the original question here :
if you want the system.out.println logging to appear in a file instead of
the console :
$TOMCAT_HOME/bin/tomcat.sh start 2logfile 1errorfile
All error and normal output to the console will be redirected this way to
files.
If you want logging to
what I have done is created mulitple virtual hosts on
IIS, set up the uriworkermap.properties to send the
superset of requested url's to tomcat, and then also
set up tomcat with virtual hosts to determine the
context and validity of requests coming through for
each virtual host.
This allows me
Check the tomcat docs on howto create a .war file using Ant
($TOMCAT_HOME/docs/appdev/index.html). Put the .war in the webapps
directory. You don't have to (but you can if you want to override the
default settings) add a specific context for your webapp, as it will be
added automatically when
For Tomcat 3, it's in the README file in the top-level
directory in the source distribution.
Larry
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 9:08 PM
To: '[EMAIL PROTECTED]'
Subject: Re: How to build tomcat
On
Lars,
Tomcat users will do request via HTTP. So, a user will _not_ keep a Tomcat
thread busy while his browser is open. You can set the threading settings in
the server.xml for your connector(s) (check
$TOMCAT_HOME/doc/uguide/tomcat_ug.html).
The default settings are suitable for 10-40
Hi,
I have some problems to compile the webapp module (servlet engine) for
the apache webserver.
The compiler miss the following files:
mach-o/dyld.h
dlfcn.h
dl.h
Where can I find these header files? Which packages do I have to
download?
System: SuSE Linux 7.2, Apache 1.3.20
Module:
Hi,
just use HotSpot Server VM. It works fine for me.
Dalibor
__ Reply Separator _
Subject: RE: Running Tomcat as a Windows service
Author: [EMAIL PROTECTED] (Richard Heintze
[EMAIL PROTECTED]) at INTERNET
Date:
Hi Zhi,
I'm not sure why some subfolders are unreachable, though
without seeing the uriworkermap file contents its hard
to guess. Thanks for rediscovering the case sensitivity
issue. I had forgotten about that.
Note: The proper way to map the root context is to
specify path= instead of
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.
I don't quitte get that question, as everyone is able to
hi,
Can anyone point me to a help page, or give some more information on how I
can execute a perl script in a standalone Tomcat 4 setup ?
Thanks,
Christoph
Hi Vincent,
Thanks for finding this issue. There have been a lot of changes
from Tomcat 3.2 to 3.3 with respect to classloaders and configuration,
most of them improvements. Documenting these changes is still on
the todo list.
At the current level of implementation, starting two instances of
Which connector are you using (ajp12 or ajp13). The last one should be a lot
faster (ajp12 is frozen anyway). Also turning of unecessary debugging /
logging in this area will speed up the process..
Mvgr,
Martin
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Steffen Haase wrote:
Hi,
I have some problems to compile the webapp module (servlet engine) for
the apache webserver.
The compiler miss the following files:
mach-o/dyld.h
dlfcn.h
dl.h
Where can I find these header files? Which packages do I have to
download?
System: SuSE Linux
In the server.xml file change:
RequestInterceptor
className=org.apache.tomcat.request.StaticInterceptor
debug=0 suppress=false /
to specify:
suppress=true
This will turn off all directory listings.
Larry
-Original Message-
From: Falk [mailto:[EMAIL
Hi,
How can I run servlet on my web server on different path than
/examples/servlets/
I tried to define:
Context path=/
docBase=C:/InetPub/wwwroot
crossContext=false
debug=0
reloadable=true
/Context
and its not working.
Regards,
Yuval
Hemm are you sure for the size of your hard disk?
Loïc Lefèvre
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 8 août 2001 16:12
À : [EMAIL PROTECTED]
Objet : Fine tuning my Apache -Tomcat Server
Hi,
I have Apache and Tomact running on Linux
Hi
problem is that when I mark servlets as load-on-startup they are loaded
twice in jvm.
I want this servlet to serve as initializer i.e. to initialize some other
classes in its init method.
The worst is that that classes are double loaded too. I.e. I want to init
class which is Thread subclass
Hi,
jean-frederic clere wrote:
Have you done configure before doing make?
yes, of course.
What is mach-o?
MacOS/X
where can I find it? It seems that I need these header files for compiling the webapp
sources.
best regards,
Steffen
Try adding a url-pattern element to your web.xml. The servlet spec
details the format of web.xml:
http://java.sun.com/products/servlet/download.html
-- Bill K.
-Original Message-
From: Yuval [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
Yuval wrote:
How can I run servlet on my web server on different path than
/examples/servlets/
I tried to define:
Context path=/ docBase=C:/InetPub/wwwroot crossContext=false debug=0
reloadable=true
/Context
and its not working.
In what way is it not working? What are you
Hello
I am not sure it is desired behavior so I would like to bring it to your
attention
New instance of my factory gets created every time I lookup up a
resource in the environment.
i.e.
Context ctx = new InitialContext();
DataSource ds =
I'm having a problem with tags. They seam to work with the example foo.jsp
as long as I leave the file alone. But if I cause the file to be updated, I
get the following error in my browser window:
Error: 500
Location: /examples/jsp/simpletag/foo.jsp
No detailed message
and this error in the
Kalyan Mitra at [EMAIL PROTECTED] wrote:
Hi there,
I am facing problem when uploading file bigger than 0.97MB through
MultipartPerser the error in log file shows as follows
Please help if u have any idea.
I don't see any error in the log file you provided...
Pier
jean-frederic clere at [EMAIL PROTECTED] wrote:
Steffen Haase wrote:
Hi,
I have some problems to compile the webapp module (servlet engine) for
the apache webserver.
The compiler miss the following files:
mach-o/dyld.h
dlfcn.h
dl.h
Where can I find these header files? Which
Steffen Haase at [EMAIL PROTECTED] wrote:
System: SuSE Linux 7.2, Apache 1.3.20
Module:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0-b6/src/webapp
-module-1.0-tc40b6.src.tar.gz
Hint... Use the latest CVS version, instead of this one. This one is known
to have bugs.
Steffen Haase at [EMAIL PROTECTED] wrote:
Hi,
jean-frederic clere wrote:
Have you done configure before doing make?
yes, of course.
Upgrade to the latest CVS version, run configure and send me the output of
what comes out of it... (Actually, read the whole README coming with the CVS
Steffen Haase wrote:
Hi,
jean-frederic clere wrote:
Have you done configure before doing make?
yes, of course.
What is mach-o?
MacOS/X
where can I find it? It seems that I need these header files for compiling the
webapp sources.
Finding it will not help. Something
The problem with this piece of code generated for my JSP by tomcat4.0b6
is that it catches Throwable t and then call
pageContext.handlePageException(t) which takse Exception NOT throwable
!! as parameter as a result I am getting class cast exception:
org.apache.jasper.JasperException: Unable to
Hi,
jean-frederic clere wrote:
Finding it will not help. Something else is wrong.
At least 2 things:
1 - What is the result of your configure?
(There must be something wrong).
no, everything seems to be ok.
2 - On my machine I have:
+++
In file included from apr_cpystrn.c:55:
Hello!
I can not get the init-parameters that I specify in web.xml to work
correctly. When I invoke the servlet as
http://localhost:8080/pipechain/servlet/se.masystem.pipeline.web.servlet.Log
inServlet
then in init(ServletConfig):
config.getInitParameter(propertyfile);
returns null, but if
Hi,
I wrote my own Realm, which connects to an EJB via JNDI. The EJB is looking
at a database.
I modified JDBCRealm and put it in my own package.
I configured tomcat 3.2.3 (see above) and it started fine. The realm inited
the connection to JBoss.
The problem: the Realm is not used. I can access
In my servlet I use the log() method which logged to servlet.log. I have
recently moved my context out of the webapps directory and into my own
directory not in tomcat's directory structure. Now, everything works ok
except nothing gets logged to servlet.log. Anybody know how to fix this?
Pier P. Fumagalli wrote:
Upgrade to the latest CVS version, run configure and send me the output of
what comes out of it... (Actually, read the whole README coming with the CVS
version)
ok, I'll try it. Where can I find the newest apr sources? (cvs-tree)
thanks a lot.
Steffen
--
+---
Hi All,
I just joined the list as I'm new to website admin duties and am trying to
bring up a tomcat server on a linux/apache box.
My current setup is RedHat 7, Apache 1.3.12, jdk1.3.1, and Tomcat
3.2.3. I've been working on this server with my free time for the last
month
The answer really lies in how the spec indicates that instances of
servlets are supposed to work. For each seperate URL pattern that a servlet
responds to, a different instance is created. Each instance receives its
own (seperately defeined) set of init-parameters.
The spec
What version of tomcat?
Alexander Cherinko wrote:
Hi
problem is that when I mark servlets as load-on-startup they are loaded
twice in jvm.
I want this servlet to serve as initializer i.e. to initialize some other
classes in its init method.
The worst is that that classes are double loaded
Steffen Haase wrote:
Hi,
jean-frederic clere wrote:
Finding it will not help. Something else is wrong.
At least 2 things:
1 - What is the result of your configure?
(There must be something wrong).
no, everything seems to be ok.
2 - On my machine I have:
+++
In
Turn off servlet auto-reloading as well.
I would recommend upgrading to 3.2.3, because of security problems and other
bug fixes with 3.2.1 and 3.2.2. Just copy the new .jar files from 3.2.3 to
your 3.2.1 installation and restart. It's that simple. (It's outlined in the
3.2.3 release notes...)
You might be interested in this post from Tomcat-dev.
--jeff
---
Hi All!
Different encodings support in Servlet/JSP is an ancient well-known problem.
The setCharacterEncoding() method of HttpServletRequest allows to change
request
encoding before reading parameters.
Got the same problem :(( (on v3.2.3 - NT)
-Message d'origine-
De : Alexander Cherinko [mailto:[EMAIL PROTECTED]]
Envoye : mercredi 8 aout 2001 16:38
A : [EMAIL PROTECTED]
Objet : Double loading when loading servlet on startup
Hi
problem is that when I mark servlets as
Steffen Haase at [EMAIL PROTECTED] wrote:
Hi,
jean-frederic clere wrote:
Finding it will not help. Something else is wrong.
At least 2 things:
1 - What is the result of your configure?
(There must be something wrong).
no, everything seems to be ok.
Can you send the output?
Steffen Haase at [EMAIL PROTECTED] wrote:
Pier P. Fumagalli wrote:
Upgrade to the latest CVS version, run configure and send me the output of
what comes out of it... (Actually, read the whole README coming with the CVS
version)
ok, I'll try it. Where can I find the newest apr sources?
In the past, the cases of double loading I've seen have all been
because an auto-loaded context (created by AutoSetup from the
webapps directory) was also manually loaded as a second context, i.e.
Context path=/othercontext
docBase=webapps/examples ...
Each context
My understanding is that if you want properties files (and resource
bundles based on them) to be encoded correctly, you need to use the
native2ascii command line tool (comes with the JDK) to encode them
properly.
Craig
On Wed, 8 Aug 2001 [EMAIL PROTECTED] wrote:
Hi All Developer
I would
Hello
I would like to propose to add several things to tomcat's context's
environment jndi when a context gets created
Specifically I am interested in context path, context real path and any
other tomcat context runtime info
If it will not violate security I would be happy if Context itself can
3.2.1 on NT/Linux.
I had the same problem on earlier versions.
And Loic Lefevre [[EMAIL PROTECTED]] has got the same on NT with v.3.2.3.
--Che
-Original Message-
From: Mike McGuinness [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 7:14 PM
To: [EMAIL PROTECTED]
Subject:
Hello,
I have the following problem: I would use servlets ordered
into packages as rmi-servers in Tomcat 3.2.1, but I failed.
I followed the advices of Tomcat's app.dev.guide, using the
proposed code-layout, but if servlets are put into packages,
the stubs could'nt be found. I got the
As Pier said, it is with the TC4 distribution, and I think this may be
the most up-to-date, new, official version, as there was some talk
about bringing it under the Jakarta umbrella. Here is the original URL
in case there is some documentation that has not yet made it into the
distribution:
The case:
Nt/Linux v3.2.1,2,3.
There is one context:
Context path=/ts
docBase=webapps/ts
crossContext=true
debug=1
reloadable=true(or false)
trusted=false
/Context
The web.xml piece for this
Please remove me form this mailing list
Per the spec, servlet initialization parameters work like this:
* Servlet initialization parameters are tied to servlet definitions
in web.xml
* The container uses the servlet-mapping settings in web.xml to map
whatever request URI comes in to a particular servlet definition.
* Therefore,
One problem is with your url-pattern -- it is missing a leading slash on
the front. Try /test/* instead of test/*.
Craig
On Wed, 8 Aug 2001, Amrhein, Thomas wrote:
Hi,
I wrote my own Realm, which connects to an EJB via JNDI. The EJB is looking
at a database.
I modified JDBCRealm and
Harippriya Sivapatham at [EMAIL PROTECTED] wrote:
Hi there,
I am getting a segmentation violation in tomcat (the full error message
is added to the end of this mail). Tomcat stops when this error occurs. I am
getting this error when i call a particular servlet. The error message
displays
On Wed, 8 Aug 2001, Roytman, Alex wrote:
Hello
I would like to propose to add several things to tomcat's context's
environment jndi when a context gets created
Sounds like a good discussion for TOMCAT-DEV ...
Specifically I am interested in context path, context real path and any
Jim Seach at [EMAIL PROTECTED] wrote:
As Pier said, it is with the TC4 distribution, and I think this may be
the most up-to-date, new, official version, as there was some talk
about bringing it under the Jakarta umbrella. Here is the original URL
in case there is some documentation that has
Since the topic of character encoding on requests came up on TOMCAT-USER
as well, I thought I'd forward a response I did on TOMCAT-DEV
earlier. Read Andrey's message (at the bottom) first for this to make any
sense.
Craig
-- Forwarded message --
Date: Wed, 8 Aug 2001 09:52:53
is there a version of Tomcat for which AdaptiveClassLoader.getResources
is implemented?
Nevermind on the missing file that I mentioned earlier. It's a problem
with RedHat7.0 and the J2SDK. The solution is to upgrade to 7.1 or patch
in the missing libraries. Sorry about that.
Marty
I tried this scenario with Tomcat 3.2.1 and I only get one call
to init(). Are you on Windows? If your ts directory is actually
named Ts, I think you would get two context's. What does your
tomcat log show about contexts being added?
Larry
-Original Message-
From: Alexander
Hi
Please help.
Im trying to run tomcat4.05b under Win ME.
Having installed Jdk1.3.1 into c:\jdk1.3.1 and unpacked the Tomcat 4.05b
version into the default C:\jakarta-tomcat-4.0-b5 folder.
Then having modified the Environment settings such that:
C:\WINDOWSSET COMSPEC=C:\WINDOWS\COMMAND.COM
Hi,
I'm trying to figure out there is any limitation to
Tomcat worker name such as size, special character...
Thanks.
Don Ha
__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
Hi
I have got tomcat 3.2.3 and mod_jk working with apache 1.3.19
But I don't want to serve the servlets under port 80 where apache is.
And I don't want to run tomcat as stand alone.
Is it possible to tell mod_jk and tomcat to host the servlets on a
secure port other than 80, under apache? and
In the conf directory, modify the tomcat.conf , search for port 80, but I
think the default is 8080. You can change that to whatever you like from
that file.
-Original Message-
From: Sahar Madani [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 2:26 PM
To: [EMAIL
I apologize in advance if this question has been asked and answered, but
I couldn't find it in the archives.
I want the simplest way to use connection pooling from Tomcat in my JSP
pages. I'm trying to avoid using add on products like PoolMan since it
seems like it should be easy enough without
Hi,
Probably installing the compat* library rpms from the redhat cd, which
contains the older libraries will solve the problem
Mvgr,
Martin
-Original Message-
From: Marty Haught [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 6:03 PM
To: [EMAIL PROTECTED]
Subject:
Hi Pier,
thanks for your help.
Pier P. Fumagalli wrote:
Finding it will not help. Something else is wrong.
At least 2 things:
1 - What is the result of your configure?
(There must be something wrong).
no, everything seems to be ok.
Can you send the output?
I checked out
Hi All,
Current System Architecture
Apache : 3.17 (Custom Build)
Tomcat : 3.2.2 (Custom Build)
Deployment : war files.
Platform : Red Hat Linux 6.2
We are after a method to redirect based on a limit on the number of page
hits or the load on the current Web Server.
The redirection needs to be
You can use mod_jk to load balance between different JVMs running Tomcat.
Works well, we use it.
The JVMs could then also be on remote machines to either each other, and/or
the machine running Apache.
mod_jk will preserve sessions for you so that subsequent request go to the
right JVM.
You'll
Is it possible to use mod_jk with standalone tomcat ?
Thanks for your help
Mandar
-Original Message-
From: Paul Nock [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 3:44 PM
To: [EMAIL PROTECTED]
Subject: RE: Redirection and Load Balancing
You can use mod_jk to load
mod_jk and apache don't use tomcat.conf. this file is used for jserv only.
the new file is mod_jk.conf-auto
But this is NOT what I am trying to do.
Thanks
Nael Mohammad wrote:
In the conf directory, modify the tomcat.conf , search for port 80, but I
think the default is 8080. You can change
At 03:51 PM 8/8/2001, you wrote:
Is it possible to use mod_jk with standalone tomcat ?
No, mod_jk is an apache binary module. How could tomcat
alone use it?
Then is there any mechanism on tomcat standalone for load balancing ?
Thanks
Mandar
-Original Message-
From: Tim O'Neil [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 4:02 PM
To: [EMAIL PROTECTED]
Subject: RE: Redirection and Load Balancing
At 03:51 PM 8/8/2001, you
Sounds great Paul.
What sort of environment are you using mod_jk in ?
- OS platform
- Version of Apache, Tomcat
- How many versions of Apache and Tomcat are you running in parallel in
order to mirror your Web Site so you can perform your load balancing.
- Are all your binaries custom built ?
The RH website has a note that jdk1.3.1 doesn't work correctly. An upgrade
to RH7.1 will resolve the problem.
On Wednesday 08 August 2001 06:06 pm, you wrote:
Hi,
Probably installing the compat* library rpms from the redhat cd, which
contains the older libraries will solve the problem
Hi All,
I am using Apache and Tomcat in Sun os. It's running nice my problem is that if i use
www.mydomain.com apache is responding.For tomcat i need to give
www.mydomain.com/domain/servlet/Test but it's not giving result. It's responding only
when i call port directly like
Hi all:
Yes, a good discussion.
I puzzled over this for an application I wrote a while ago. After many
hours contemplating the servlet spec (2.2), I finally decided that if I
created an object and dropped it into the application context, it was
guaranteed to live as long as the
For what's happening now, you need to print out the SQL, make sure it's
syntactically correct, and print out the exception message that's returned.
Don't know if it's just me, but I find that I tend to make really dumb SQL
errors For later, you should ask yourself what will happen when Patrick
86 matches
Mail list logo