Please have a look at the attached file.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Check the Tomcat 5 SSL-howto. There are notes on changes that are necessary
to get Tomcat to work with IBM's JSSE implementation.
"Daniel Gibby" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> tomcat 5.0.19 Standalone SSL seems to be running correctly with no error
> messages logged
There are two other possible solutions.
1. Have a servlet respond to all calls for an image and read it from an
external directory then stream it back to the client.
2. Store it in a database as a blob. Then stream it back to the client.
I have not done this myself yet. But am planning the datab
Hi All,
I have a custom tag, which iterates through a data and provides a
url to be included during every iteration. When i display the url as a
string, everything works fine. But when i try to include it through the
tag i am getting the following error.
java.io.IOException: Stream closed
hi,
Thank you for your reply and suggestion .
I have only one user and one browser window and I get this problem .
I also like to mention that in the starting of the JSP if I added a line
of code like session = request.getSession(false),
then I don't get this problem at all .But I am not able to
Yeah, that is what seemed to be the case.. I was hoping I was wrong and
somehow was not configuring something right.. Hence the posting here...
Julio César Aguilar wrote:
In my knowledge:
For tomcat to be able to serve the images, that images directory hast
to live inside a web applicatio
Thank you for your reply..,
I just found some other notes on using "Alias" for this task.. I'll
followup on this suggestion..Thanks
John..
Robert Hall wrote:
We use apache to serve up static content by including the following in
httpd.conf via an "Include directive":
#
# Note t
They would be so kind of unsubscribe of the list of interest, sends to the
webmaster for removes my mail [EMAIL PROTECTED]
Thank you
-Mensaje original-
De: Paul Gregoire [mailto:[EMAIL PROTECTED]
Enviado el: Miércoles, 14 de Abril de 2004 06:57 p.m.
Para: Tomcat Users List
Asunto: Re: V
They would be so kind of unsubscribe of the list of interest, sends to the
webmaster for removes my mail
Thank you
-Mensaje original-
De: Robert Hall [mailto:[EMAIL PROTECTED]
Enviado el: Miércoles, 14 de Abril de 2004 07:15 p.m.
Para: Tomcat Users List
Asunto: Re: Virtual Hosting Revisi
They would be so kind of unsubscribe of the list of interest, sends to the
webmaster for removes my mail [EMAIL PROTECTED]
Thank you
-Mensaje original-
De: John B. Moore [mailto:[EMAIL PROTECTED]
Enviado el: Miércoles, 14 de Abril de 2004 07:20 p.m.
Para: Tomcat Users List
Asunto: Re: Vi
Thanks for responding.. And yes, I keep hearing that one can do this
... But... I'm slow I guess, because that still does not give me
a hint as to "HOW" that is to be configured.. Do you have some virtual
host directives that do this that I can use as examples..
Maybe my problem is th
We use apache to serve up static content by including the following in
httpd.conf via an "Include directive":
#
# Note that if you include a trailing / on fakename then the server will
# require it to be present in the URL. So "/icons" isn't aliased in
this
# example, only "/icons/
I do it by mapping all my servlet as .jspx and regular jsp files as
.jsp. Apache serves everything else.
John B. Moore wrote:
Posted this previously and still need some pointers...
Maybe this is not possible, but it seems to be "suggested" in a lot of
the documentation I have read. Unfortunate
Posted this previously and still need some pointers...
Maybe this is not possible, but it seems to be "suggested" in a lot of
the documentation I have read. Unfortunately those docs "assume"
something that I am not privy to.. (a brain.. yeah well...) and do
not outline specific configurations
I think you are right, this would not be a good idea ;). I can't edit the
scripts since I am running Tomcat as a service and it would not have any
affect. However, I did find the way to go into registry and edit Options
from there, now it works like a charm :)
Fedor
-Original Message-
Fro
In my knowledge:
For tomcat to be able to serve the images, that images directory hast to live
inside a web application (or be a web application by itself).
If you choose to do the later, then you could use a path like
"/images/myimage.jpg" to display those images.
Hi,
Did you restart the Apache2 server? My understanding is JK only reloads it
only if the section you modified in workers.properties has "ver" defined.
Also, check your jk.log and Catalina.log files for errors.
Yang
-Original Message-
From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED]
Sent
Can't seem to get this to work
Example: Under Tomcat/webapps I want an images directory that "any"
of the web applications in that directory can access in their pages.
In static HTML (under Apache) I would use..
../images/myimage.jpg
and it would work just fine.. (the "../" would
On Wed, Apr 14, 2004 at 03:28:35PM -0700, Fedor Smirnoff wrote:
: Besides that for some reason no matter what I do I cannot change the heap
: size it stays at 66MB. Going to Windows System Enviroment variables and
: setting JAVA_OPTS to be (-Xmx512m -Xms256m) does not affect it at all, I
: don't th
Thanks but it doesn't seem to make any difference. For each tomcat server I
added sections like the following:
[ajp13:psahammerhead:8009]
channel=channel.socket:psahammerhead:8009
group=lb
tomcatId=psahammerhead
It still only wants to use one of the servers. There are other properties that
coul
I've read the ClassLoading part of Tomcat documentation and searched this list
but I've still found no clue to my recent problem:
Tomcat 5.0.19
JDK 1.4.2_03
Windows XP
I have several applications running with a common jar of my own in each
WEB-INF/lib and everthing works.
If I move that jar to %
Hehe that would work great BUT all application are identical :)
Besides that for some reason no matter what I do I cannot change the heap
size it stays at 66MB. Going to Windows System Enviroment variables and
setting JAVA_OPTS to be (-Xmx512m -Xms256m) does not affect it at all, I
don't think I ne
Memory Leak?
http://marc.theaimsgroup.com/?t=10796383224&r=1&w=2
One thing you can try, and it depends on your applications, is to bring down
the not-so-important ones and see how much things improve. Divide and
conquer:).
-yan
-Original Message-
From: Fedor Smirnoff [mailto:[EMAIL
Hi,
I think you need to further define the workers with
{ajp13:psahammerhead:8009]
channel=channel.socket:psahammerhead:8009
group=lb
...
etc
hope this helps.
Yang
-Original Message-
From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 14, 2004 10:17 AM
To: [EMAIL
Hi, that looks ok to me. You can specify as many servlets as you want to
map/handle various type of patterns. But I don't quite understand what you
mean by "having a new instance of JspServlet with each host is a overhead".
Because that's probably something you want anyways.
-Yan
-Origina
tomcat 5.0.19 Standalone SSL seems to be running correctly with no error
messages logged, and it is listening on port 8443.
I'm having some sort of problem with the keystore containing a valid
global cert for the browser, maybe...
I get this error message from my browser once I try to connect:
"
Hi all,
I have an application running on tomcat 4.1.24. I saw the session
persistence is turned on. I want to turn it off . How can I do that ?
Thanks in advance
shyam
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Hi Kumar,
There is no code anywhere. It's all configuration.
The realm goes in the server.xml
In your application's web.xml you define your login form and security
constraints.
your-resource-name
/your-url-pattern
your-userrole
Actually I think its something else, I completely missed it. With that many
applications under Tomcat, it runs out of memory and than reports this
error. Weird thing is that I added JAVA-OPTS variable with -Xmx1028m
-Xms512m but it still runs out, any ideas?
Thanks,
Fedor
-Original Message---
On Wed, Apr 14, 2004 at 05:00:23PM -0400, Cindy Girard wrote:
: I'm running the newest versions of jdk, tomcat, and saxon.
: Saxon is running under tomcat (it sees the directory structure in
: http://localhost:8080/saxon , but I can't get it to see
: SaxonServlet. I've tried putting SaxonSe
On Wed, Apr 14, 2004 at 09:46:12PM +0100, Tiago Matias wrote:
: As a side question, if the singleton life cycle can not be easily
: controlled or known, what is the best way to perform an one-time
: expensive initialization?
If it's just general init activity (say, loading a config file),
do a w
Hi,
I'm updating all my open source web application resources, and am
having difficulties getting the full saxon working under tomcat.
I'm running the newest versions of jdk, tomcat, and saxon.
Saxon is running under tomcat (it sees the directory structure in
http://localhost:8080/saxon
Hi, How about implementing HttpSessionListener so that you know when your
session is getting created and destroyed? Also do you have multiple users
running the same jsp? If you do, you may want to synchronize that block of
code.
Hope this helps:).
-Yan
-Original Message-
From: MUKUND
Hello,
I am using Tomcat-4.1.29 and the jk1.2 connector (isapi_redirect.dll)
to interface with IIS 6.
Everything works wonderfully, except that IIS logs the cs-uri-stem as
the redirect dll (/jakarta/isapi_redirect.dl). Is it possible to log
the actual redirected URL (i.e index.jsp)? Without
Hey
I know that this is an old and a quite recurring issue here, but after
spending some time going through the archives and googling around I'm
still a bit confused.
The problem is relatively simple. I have a singleton class which takes a
lot of time to initialize and I need to understand if
Hi,
We had a problem with Tomcat failing after 4 hours or so a long, long time
ago. And the other way to solve that problem was start tomcat on a separate
console and leave the console alone. Something to do with the process being
killed by the OS. Could that be happening here to your server, s
Hi list,
I've configured jvmRoute using the following directive in the server.xml
file for load balancing
but I can no longer access manager utility anymore, does anyone know why and
how I can still access it?
Thanks,
Yang
Yang Xiao
Oak Hill Platinum Partners, L.L.C.
1100 King Street, B
your job? (I found that!)
Norton AntiVirus Deleted1.txt
Description: plain/text
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yan,
I installed Tomcat using a user account which has administrator rights
on this machine. Also, I should point out that this is happening with a
'virgin' installation of Tomcat -- I have not modified any config files
or deployed any webapps.
The crash results in a windows dialog box which is
Greetings. Over the past few weeks I've been trying to isolate why some
dynamically generated PNG graphics are not visible to the client. The
application is deplayed in a multi-tiered implementation.
IIS 5.0 webservers running the isapi jk2 ajp13 connectors to tomcat
application servers running
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/catalina/startup/Bootstrap
Any idea what this could mean? I have tomcat5 running on a redhat9 system.
Thanks,
Brent
-
To unsubscribe, e-mail: [EMAIL PROTE
Do you get any error log in catalina.out? Or any Windows error? You said
you see this everytime when you shut down your computer, maybe you installed
Tomcat under admin and use it as regular user...
-Yan
-Original Message-
From: Sean Rohead [mailto:[EMAIL PROTECTED]
Sent: April 14, 200
I am not exactly sure why you mean by case-insensitive. But if you use
[a-zA-Z] in your mask regexp, then the validator knows you want to accept
all the letters. Is that what you asked?
-Yan
-Original Message-
From: mike jackson [mailto:[EMAIL PROTECTED]
Sent: April 13, 2004 16:25
To:
Hello, this is weird, I have about 50 identical applications running on
Tomcat5 under different application names. Everything works fine for about 6
hours, than all of a sudden I start getting
---
No Java compiler was found to compile the generated so
set the unpackWARs="true" attribute in the host tag of your server.xml file
and see if that helps
Matt
- Original Message -
From: "Kam Lung Leung" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 14, 2004 12:42 PM
Subject: Can Not Get Tomcat 4.1.27 To Unpack Web Componen
I am using 4.1.30
Thanks,
Dinesh Ram
-Original Message-
From: Dineshram Villuri [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 14, 2004 1:41 PM
To: [EMAIL PROTECTED]
Subject: Please suggest us a solution
Hello,
We do war deployment for our web application.
We have a webdesigner who m
Hi,
I installed Tomcat 4.1.27 on our linux Redhat 7.2 box. Tomcat did unpack all web
components when there is NO context definition defined for each of these web
components in the server.xml file. However, when I create a context for each of
these web components, then Tomcat did not unpack these w
Hello,
We do war deployment for our web application.
We have a webdesigner who makes regular updates to the site, by updating the
unpacked war file to reflect the changes immediately and to avoid restarting
in the middle of the day. Also, she has to update the war file, every time
she makes any c
I'm receiving the following startup error for the Tomcat 4.0.6. It's loaded but just
not starting either set up as a service or manual startup. This is the stdout.log file.
Create Catalina server
Exception during startup processing
java.lang.ClassNotFoundException: org.apache.catalina.startup.Cat
Hi Thomas,
I don't use RH Enterprise Server, so I'm not sure if this is your
problem : RH7.x does not use the NPTL (Native Posix Thread Libraries).
I'm not sure if ES 2.1 does. One way to check is to set the following
environment variables and check if you still get crashes :
As root, execute
Hello, I have some exceptions on Jmx setting :
14/04/2004 19:00:17,437 INFO app Creating Naming:name=rmiregistry
14/04/2004 19:00:17,437 ERROR app MX4j RMI adapter not loaded: javax.management.
ReflectionException: null nested exception is java.lang.ClassNotFoundException:
mx4j.adaptor.rmi.jrmp.
This is pretty much exactly how mine is laid out already. The only
difference is that you have the type specified in the context.xml
resource link.
I have since added that attribute to my copy and I still have no luck..
Exact same error as before.
On Wed, 2004-04-14 at 00:04, Riaan Oberholzer
this is not a tomcat, issue, it is your code (or should I say the webservice
code)
that is locking when trying to read data from the socket.
you should set SO_TIMEOUT on the socket, and it will timeout and throw an
error instead of hanging forever when there is no data from the other side.
Filip
After removing all System.out.println statements (including printStackTrace())
Tomcat is still experiencing thread locking issues.
I just put this on a different machine running Win 2k Server service pack 4.
Again, it's been running for over a year on a linux box with no issues.
We've also had 2 p
if you are refering to the jakarta Formatting Objects Processor libraries
then yes, I use them extensively for pdf report generation. Put the FOP
jar, plus any of the XML/XSLT etc jars, in a suitable location and off you
go
Matt
- Original Message -
From: "Philippe Couas" <[EMAIL PROTECT
I don't think you intend this to come to me.
you are sending me all this mail...I don't think you intend it to come to me.
Hi,
Can i associate FOP with Tomcat 4.1.30 without Apache ??
Thanks
Philippe
Philippe COUAS
Responsable Développement
INFODEV S.A.
What are the benefits of the different loggers? What performance
differences are there between them?
Daniel Gibby
Filip Hanik (lists) wrote:
you can configure [tomcat] to use either the JDK logger, log4j or the
System
logger,
-
On Wed, Apr 14, 2004 at 10:15:36AM -0600, Jeff Tulley wrote:
: Could this possibly be a time to try setting LD_ASSUME_KERNEL to 2.4?
perhaps -- but I thought that only affected the underlying NTPL
threading functionality...
Did RH backport NPTL that long ago (RH ES 2.1)?
-QM
--
software --
Could this possibly be a time to try setting LD_ASSUME_KERNEL to 2.4?
>>> [EMAIL PROTECTED] 4/14/04 7:08:41 AM >>>
Thank you...
will try to figure out the diff between the config and post it in Java
forum :-)
[EMAIL PROTECTED]
04/14/2004 08:45 PM
Please respond to "Tomcat Users List"
I am running the latest version of Tomcat (5.0.19) and have it installed
as a service on Windows XP. I am running JDK 1.4.2_03. Every time I
shut down my computer, I get a crash in tomcat.exe. I have uninstalled
and reinstalled several times. It also crashes if I stop the service
using the serv
> Hello,
>
> I'm running a perl program that upload C++ dll with Tomcat,
> It works fine except that it failed when trying to open socket to
> connect to another using tcp protocol. Winsock.Socket() fails with
> error 10106 (WSAEPROVIDERFAILEDINIT).
> I understand that this is a lack of permissi
Dear all,
I do not have any idea of writing a custom realm, even how to start
writing it. Can you give me some example or any references that teaching how to write
a custom realm ?
Thankyou very much !
kawai
Mark Thomas <[EMAIL PROTECTED]> wrote:
You need to write a custom realm.
Mark
I was looking at the wrong part of my log from some earlier testing. On
startup the two clusters are correctly transferring the state for my app:
INFO: Processing Context configuration file URL ...
Apr 14, 2004 10:43:50 AM org.apache.catalina.cluster.session.DeltaManager
start
INFO: Starting clust
wow, you wrote a book :)
1.
where is the class com.mycompany.ourapp.common.model.ReturnPolicy?
2. WARNING: Manager[/ourapp], requesting session state from
org.apache.catalina.cluster.mcast.McastMember[tcp://127.0.0.1:4001,127.0.0.1
,4001, alive=1259]
Your network is misconfigured. Your are using
We have a developed an large scale application that is clustered
using WebLogic. I have been exploring getting the app clustered on Tomcat as
a learning experience and to possibly sway the management away from
WebLogic. I have Tomcat 5.0.19 set up with the latest production version of
Apach
Krause Karin wrote, On 4/14/2004 5:19 AM:
does anybody know from where I can get mod_jk in version 1.2.6? I found only
binaries and sources for version 1.2.5.
Or does anybody know which CVS tag I must use to check out this version?
Version 1.2.6 has not been released yet. If you want the latest co
Some members of this list have reported that the load
balancing is broken as the instances of mod_jk[2]
don't know the load of each other. So mod_jk[2] will
balance to some extend but not as good as it could/should.
> -Original Message-
> From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED]
Hi Matt,
I am doing this file upload in servlet using Orielly multipart. I am not
using any temp file but directly upload the file to my file system. And
I rename the files with the current time stamp in the file name.
Thanks
Shyam
-Original Message-
From: Matt Woodings [mailto:[EMAIL PROT
Ahhh, I see.
This might not be a session problem but a code problem. When you are
uploading, do you store this file using a tmp file or something similar ...
check for synchronization problems, and also check for files with the same
name, i.e. does the files contents start with one set of data an
Hi,
I have set up four tomcat 5.0 servers for load balancing using an apache2
server and mod_jk2 on RedHat 9.0. The trouble that I am having is that most of
the user sessions are routed to only one of the tomcat servers even though the
lb_factor for all is the same, 10. All tomcat servers seem t
Other potential causes:
- Programming errors of programmers that don't understand
the impact of multi threaded programms in a servlet
container on the scoping of variables.
- Caching of proxies between the browser and the server.
Make shure that you set the headers of the response.
http:
I ever encountered this pblm at my login servlet and changing my
authentication method to a synchronized method solved that problem.
Hope this help
shyam <[EMAIL PROTECTED]>
04/14/2004 09:17 PM
Please respond to "Tomcat Users List"
To: "'Tomcat Users List'" <[EMAIL PROTECTE
Dear experts
We are using tomcat4.1.27 for our web server. We
recently have revamped our site and I am considering
upgrading to tomcat5.0.19. But I have been following
the user group messages and it seems that 5.0.19 has
memory leaking problem. Can any one tell me how
serious this is and under wha
Hi Matt,
Thanks for the reply. I understand that if people from the same machine
log in. But I see an instance when people who are from different
locations getting the same session. I have two people who have uploaded
files to my server and both file are same.
Thanks
shyam
Software Engineer
Adams
Session crossover is a common problem especially when many people log in
from the same machine. The reason for this could be from caching of the
browser. What you need to do is to force it to go back to the server and
get the user the latest information. One way to do this is to add timestamp
da
Hi,
I have a jsp page which is refreshed atuomatically every 10 seconds.I
get and put values in the session by using the implicit session variable
. Everything works fine for say 2-3 mins after that the implicit session
becomes null and throws a null pointer exception.
I get a null pointer excep
Hi All,
I have an application running on tomcat 4.1.24. Recently I have seen
some cases where the session is getting messed up. When a user logs in ,
the data shown is for another user. Recently I had some session expiring
problems as lot of my sessions never expired. I just fixed the bug by
setti
Hello,
I have interesting problem with an authentication. I use a
JDBCRealm. I have a protected area. When a user comes to the protected
area, server redirects the user to the login page. If the user knows his
user name and password, he writes it and submits login form.
If the user does not
Thank you...
will try to figure out the diff between the config and post it in Java
forum :-)
[EMAIL PROTECTED]
04/14/2004 08:45 PM
Please respond to "Tomcat Users List"
To: "Tomcat Users List" <[EMAIL PROTECTED]>
cc:
Subject:Re: [OT] JAVA_OPTS in catal
Your document is attached.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Wed, Apr 14, 2004 at 06:46:35PM +0800, Thomas Chua wrote:
: but i am not familiar with linux so i do not know whether this minor
: difference
: will cause the VM to crash.
The RH kernels leave their .config file in /boot (I forget the exact
name). Run a diff between the two files and you'll s
On Wed, Apr 14, 2004 at 11:16:09AM +0530, [EMAIL PROTECTED] wrote:
: How do I control the webcontainer from calling the destroy() method of the
: servlets or JSP? Where do I make the appropriate settings?
Quoting the Servlet Spec v2.3, p 26:
- - - 8< - - - - - - - - - - - - -
SRV.2.3.4 End of Ser
In a similar vein, I get the following littering the stdout.log
14-Apr-2004 13:25:03 org.apache.jk.server.JkCoyoteHandler action
INFO: Response already commited
14-Apr-2004 13:25:07 org.apache.jk.common.HandlerRequest decodeRequest
I would also be interested in getting rid of all this logging.
Hello,
does anybody know from where I can get mod_jk in version 1.2.6? I found only
binaries and sources for version 1.2.5.
Or does anybody know which CVS tag I must use to check out this version?
Thanks for your help in advance.
Regards Karin
I know this perhaps is a connector issue but nevertheless I give it a
shoot hoping some of the Tomcat savvy might be able to help me out.
I have recently upgraded from TC 4.1.27 to 5.0.19. In both cases it is
being integrated with IIS running on Win2K and Suns JDK1.4.2_03 using JK2.
The hardwar
V I R U S A L E R T
Our viruschecker found a VIRUS in your email to "<[EMAIL PROTECTED]>".
We stopped delivery of this email!
Now it is on you to check your system for viruses
In file:
/usr/local/mav/basedir/i3EBX3G3009437/i3EBX3G3009437
F
There's minor kernel difference
Red Hat Linux release 7.2 kernel is 2.4.9-21smp and Enterprise linux kernel is
2.4.9-e.12
but i am not familiar with linux so i do not know whether this minor
difference
will cause the VM to crash.
"Ralph Einfeldt" <[EMAIL PROTECTED]>
04/14/2004 05:37 PM
Ple
So it's most likely the kernel or an os library for
Red Hat Enterprise Linux ES release 2.1 that is
used by java that causes the problem.
As I don't have any experience with Red Hat
I can't provide any help in this environment.
- Are there updates to the kernel or the core libraries ?
> -
Sorry,
Let me rephrase.
I tried with both (build 1.4.2_04-b05, mixed mode)and(1.4.2-b28 mixed mode)
and under Red Hat Enterprise Linux ES release 2.1(panama) both VM crashes.
Using Red Hat Linux release 7.2 (Enigma) with (1.4.2-b28 mixed mode) works fine.
Cheers
Thomas Chua
"Ralph Einfeldt
Paul Mansfield
Hello,
I have Apache 1.3 with JK2 and two instances of Tocmat5.
JK2 is configured for load balancing between the tomcat instances.
However, I want to have access to the /manager web application
of a single tomcat instance.
For example:
http://my.server/myapp should be load balanced (this already
Ive managed to use modjk to link tomcat & apache and let tomcat process
all .jsp from tomcat/webapps/* but what configuration do i need if i
want to let apache process *.jsp from the apache's webroot (e.g.
/var/www/html). Whenever i put any jsp page on apache root directory, it
doesnt process t
It's technology by intel:
http://www.intel.com/products/ht/hyperthreading.htm
> -Original Message-
> From: Zsolt Koppany [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 14, 2004 8:41 AM
> To: Tomcat Users List
> Subject: RE: IBM Java VS SUN Java
>
>
> Hi,
>
> sorry for the question
95 matches
Mail list logo