Re: open filehandles

2003-11-25 Thread Matthew Boeckman
[EMAIL PROTECTED] wrote:
mboeckman I have a problem that has occurred under
mboeckman tomcat-4.1.12/j2sdk1.4.1_02 that caused me to want to ask
mboeckman the group a question. The problem was Too many open
mboeckman files, java.io.FileNotFoundException .
mboeckman What I noticed is that Tomcat seems to keep a file handle
mboeckman to every .jar file in it's own CLASSPATH
mboeckman (/usr/local/tomcat-4.1.12/shared /commons /lib, etc) as
mboeckman well as in the unique hosts' classpath, per unique
mboeckman thread. So what I'm seeing is 5000+ file handles open to
mboeckman the same .jar files over and over again.
mboeckman Why are .jar file handles
mboeckman maintained in an open state indefinately, when
mboeckman classfiles/config files etc are not?
jfarcand You need to update to Tomcat 5 if you want that problem
jfarcand fixed. The required changes are too critical to apply them
jfarcand to the 4.1.x trunk. Wait a couple of days and try it with
jfarcand soon to be release 5.0.15, which is a stable Tomcat 5.
Ouch. :(
Thank you for the response. I was not looking forward to deploying a 
brand new tomcat in my production environment. I have a few additional 
questions/comments inline:

As a shorter-term workaround, you might try one or more of the
following:
 - if open filehandles are not maintained for individual class files,
   try expanding your jars into each classloader's corresponding
   classes directory (i.e shared/lib/*.jar into shared/classes,
   etc).
I'm confused by this, why would I _want_ filehandles maintained for 
individual classes? Or am I misunderstanding your suggestion? Right now 
tomcat touches a class and moves on, which is ideally what I want it to 
do with the jar's.

 - try combining multiple jars into a single jar: make a temporary
   directory, unpack each jar into it, then jar up the temporary
   directory.  Again, you'd need to do this on a per-classloader
   basis
If doing this, be careful of signed jars.  You'll need to unsign them
by removing any META-INF/*.SF, META-INF/*.RSA, and META-INF/MANIFEST.MF
files.
I was playing around with this and achieved a decent amount of success. 
Can the same be done with the tomcat supplied jar's (say /server/lib/*) 
without negative effect?

 - try increasing the number of file descriptors at the os level.
   With a solaris machine, that's rlim_fd_cur and rlim_fd_max in
   /etc/system.  I'm not sure about linux (/proc/sys/fs/file-max?)
This is the last thing I'm looking into. I'd much rather get the 
application to behave than to tune a kernel for a poorly performing app, 
but if nothing else works I'll finish with that.

Many thanks,

Matthew

--
Matthew Boeckman(816) 777-2160
Manager - Systems Integration   Saepio Technologies
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: open filehandles

2003-11-25 Thread Matthew Boeckman
[EMAIL PROTECTED] wrote:
As a shorter-term workaround, you might try one or more of the
following:
- if open filehandles are not maintained for individual class files,
  try expanding your jars into each classloader's corresponding
  classes directory (i.e shared/lib/*.jar into shared/classes,
  etc).


I'm confused by this, why would I _want_ filehandles maintained for
individual classes?


You don't.



Or am I misunderstanding your suggestion? Right now tomcat touches a
class and moves on, which is ideally what I want it to do with the
jar's.


Or, perhaps I misunderstood your observations.  Let me try to break it
down into a little more detail.
 - single class files: the class loader opens the .class file, loads the
   class than closes the file.  No lingering open file handles.
   (My read through your initial message gave me the impression that
   this was the behavior you were observing).
that is correct

 - jar files: classloader opens the jar file, does
   decompression if necessary, and memory mapping of the jar contents,
   then loads some number of classes from the jar (but not necessarily
   all of them).  From an efficiency standpoint, it kind of makes
   sense to keep a handle open, so that it's not necessary to do all
   of that work repeatedly when searching for a class (see also
   http://java.sun.com/webservices/faq.html#size)
If open FD's to jar files are the problem, try working around it by
replacing the jars with the equivalent directory tree of expanded
class files (where each class file will be opened, read, and closed as
it is needed).
and that makes perfect sense now. I just needed it spelled out a little 
more I guess. Having read that FAQ the 'keeping those file handles open' 
does make sense to me.

What we have seen is our tomcat engine crash twice in the last 72 hours, 
and hadn't seen enough info to track down the specific cause, so I was 
really trying to just trim file handles down, and the .jar's seemed a 
likely candidate. However since my last post I have discovered that this 
looks like a nasty code bug in our software more than a simple 
tomcat-is-a-filehog problem, so we'll hit it from there. FWIW I did 
uncompress and recombine all jars in tomcat and my app into 3 .jar files 
and saw some significant decreases (1200+) in the number of filehandles 
open. So again, many thanks!

-matthew

--
Matthew Boeckman(816) 777-2160
Manager - Systems Integration   Saepio Technologies
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


open filehandles

2003-11-24 Thread Matthew Boeckman
Hello list,

	I have a problem that has occurred under tomcat-4.1.12/j2sdk1.4.1_02 
that caused me to want to ask the group a question. The problem was Too 
many open files, java.io.FileNotFoundException . In looking into this, 
I notice that Tomcat seems to keep a LOT of open file handles around. 
Let me explain our setup, we run multiple (~12-15) virtual hosts from 
the same tomcat engine, with apache in front handing off via mod_jk, all 
on Linux 2.4.9.

	What I noticed is that Tomcat seems to keep a file handle to every .jar 
file in it's own CLASSPATH (/usr/local/tomcat-4.1.12/shared /commons 
/lib, etc) as well as in the unique hosts' classpath, per unique thread. 
So what I'm seeing is 5000+ file handles open to the same .jar files 
over and over again.

My questions are twofold: Is this tunable/fixable/changeable? Why are 
.jar file handles maintained in an open state indefinately, when 
classfiles/config files etc are not?

Any replies appreciated

-Matthew

--
Matthew Boeckman(816) 777-2160
Manager - Systems Integration   Saepio Technologies
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: DTD for server.xml??

2003-01-08 Thread Matthew Boeckman
Just so there is a confirmation from someone who did it, This works!

From my server.xml:

?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app[
!ENTITY vhost SYSTEM 
/usr/local/jakarta-tomcat-4.1.12-LE-jdk14/conf/vhost.xml 
]
Server ...
*snip*
/Host
	%vhost;
/Engine
/Service

FWIW, vhost.xml is a full Host subset.


Thanks!

-Matthew


Jeanfrancois Arcand wrote:
Oups (remove the quote)

!DOCTYPE web-app[
   !ENTITY vhost1 SYSTEM /path/to/tomcat/conf/vhost1.xml

]

-- Jeanfrancois

Jeanfrancois Arcand wrote:


I thin it should be defined like this:

!DOCTYPE web-app[
!ENTITY vhost1 SYSTEM /path/to/tomcat/conf/vhost1.xml

]

I did not try it but that the way ENTITY works usually.

-- Jeanfrancois

Turner, John wrote:


Sorry, that should be
!ENTITY vhost1 SYSTEM /path/to/tomcat/conf/vhost1.xml

Typo in vhost.

John

 

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 11:42 AM
To: 'Tomcat Users List'
Subject: RE: DTD for server.xml??



That makes sense.  OK, next question, in a thread started yesterday, 
it was
mentioned (correctly, I assume) that you could use XML entities to 
include
external XML files into server.xml. So, this link came up on Google:

http://tech.irt.org/articles/js212/#example_2

Which leads a person to believe that something like
!ENTITY vhost SYSTEM /path/to/tomcat/conf/vhost1.xml

Then towards the bottom:

vhost1

would work in server.xml, but it doesn't.  Error:  Catalina.start:
org.xml.sax.SAXParseException: The content beginning ! is not 
legal markup. 

Is this a futile path, or is it possible to include external XML into
server.xml when server.xml is parsed?  If so, how?

Thanks!

John

 

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 11:37 AM
To: Tomcat Users List
Subject: Re: DTD for server.xml??


It would be almost impossible to write a DTD for server.xml 


since an  

admin may inject custom classes (Listeners/Loggers).

To have a dtd, we would need to know every property which can be 
set for every class (which may be made known in server.xml) since 


tomcat uses  

reflection from Diegester.

-Tim

Turner, John wrote:
   

Hello -

I notice that the top of web.xml has:

?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web   



Application 2.3//EN
 

http://java.sun.com/dtd/web-app_2_3.dtd;

yet the top of server.xml has nothing.

I'm very new to XML, so forgive me if this is a lame or FA   


question, but is
   

there a DTD for server.xml?  If so, why isn't it specified   


in server.xml,
   

and what is the URL?  Is server.xml real, official XML or just
convenience XML?

- John


John Turner
[EMAIL PROTECTED] | 248-488-3466
Advertising Audit Service
http://www.aas.com


--
To unsubscribe, e-mail: 



mailto:[EMAIL PROTECTED]
 

For additional commands, e-mail:



mailto:[EMAIL PROTECTED]
 





--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]

  



--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]


 





--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]



--
Matthew Boeckman			(816) 777-2160
Manager - Systems Integration		Saepio Technologies


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




include files in server.xml?

2003-01-07 Thread Matthew Boeckman
I'm wondering if tomcat-4.1.12 supports include files, similair to 
apache in the server.xml file?

I have to support dozens of virtual hosts, and wanted to break each's 
config out into their own include.
--
Matthew Boeckman			(816) 777-2160
Manager - Systems Integration		Saepio Technologies


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



jk vs jk2

2002-11-14 Thread Matthew Boeckman
I've got tomcat 4.1.12 succesfully going with Apache 1.3.26 using 
mod_jk. I notice that on the tomcat connectors page, it claims that 
mod_jk is deprecated and that I should be using jk2 (coyote) instead. 
I'm willing to give this a try, as I'm having some performance issues on 
4.1.12 and I'm hoping jk2 will help out.

HOWEVER, I cannot seem to find any documentation on how to implement it 
on the apache side! There is some scant and very poorly written 
documentation that I've been able to find, apparently for using it on 
IIS, but nothing on how to do it with apache1.3 ! Am I missing some 
obvious links?

I also seem to recall reading or seeing somewhere that jk2 was great, 
but not ready for production. Any opinions for or against utilizing it 
in production systems at this time?

Thanks for any thoughts!
--
Matthew Boeckman			(816) 777-2160
Manager - Systems Integration		Saepio Technologies


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org



Re: OutofMemoryError

2002-05-02 Thread Matthew Boeckman

We have figured this out, although for the life of me I can't understand 
   why. We had been running with java -server -Xms128m -Xmx256m -Xincgc 
and saw the VM climb way up to 2GB, then drop the tomcat process.

By removing the -server flag, everything is fine. I realise this means 
that the JVM is defaulting to 'client'... so I guess is anyone aware of 
memory holes in the 1.3.1 JVM on linux? I've dug around deja c and seen 
  a few references to this suspicion but nothing concrete.

I'm going to start working on Tomcat 4 and jdk1.4.0 in my lab this 
morning, hopefully the problem is fixed in 1.4.0!

Thanks for all the responses!


Jari Ikavalko wrote:
 Hi Matthew and co.,
 
 have you tried to examine tomcat -behaviour with a profiler? I tried with
 OptimizeIt, and it seems to me that the Garbage Collector doesn't free
 memory that is reserved for sessions. I mean that session itself ends ok,
 but the gc just won't free the memory.
 
 Does anyone else have noticed something similar?
 
 My system:
 Windows 2000
 JDK 1.4.0
 Tomcat 4.0
 
 -- Jari Ikävalko --
 
 
 On Wed, 1 May 2002, Matthew Boeckman wrote:
 
 
Are you running java 1.3 or 1.4 ? We're really trying to nail this down. 
We've had the Xms and Xmx options in place now for some time, and the 
java proc just grows right past Xmx, up to nearly full system memory, 
then tomcat dies.

I'm ready to hear any suggestions, but I want to try to narrow the scope 
somewhat.

Laurent Féral-Pierssens wrote:

Hi Matthew,

I have been experiencing the same problems but with T3.2.x.

You should try to use Tomcat options -Xms and -Xmx

I added those 2 lines:

TOMCAT_OPTS=-server -Xms256m -Xmx256m -Xincgc
export TOMCAT_OPTS

in my /etc/init.d/tomcat script 

This increase the default heap size of the JVM to 256Meg (from 64Meg)
and make sure incremental Garbage collection is done. Since I changed
those, I have no more OutOfMemory errors.

Hope it helps,
Laurent




-Original Message-
From: Matthew Boeckman [mailto:[EMAIL PROTECTED]] 
Sent: May 1, 2002 12:08 PM
To: [EMAIL PROTECTED]
Subject: OutofMemoryError


Hello List.

I'm running tomcat 3.1.1 on RH7.1, kernel 2.4.9-31 with JDK1.3.1, mysql 
3.23.43
I am occasionally seeing tomcat go postal with the following errors:
Exception in thread CompileThread0 java.lang.OutOfMemoryError: 
requested 32760 bytes



Another exception has been detected while we were handling last error.
No information available. Please check ERROR REPORT FILE for further
information, if there is any. Good bye.

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x419852cb Function name=(N/A)
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
   just occurred. Please refer to release documentation for possible
   reason and solutions.


Current Java thread:



Another exception has been detected while we were handling last error.
Dumping information about last error: ERROR REPORT FILE = (N/A)
PC= 0x0x419852cb
SIGNAL= 11
FUNCTION NAME = (N/A)
LIBRARY NAME  = (N/A)
Please check ERROR REPORT FILE for further information, if there is any.
Good bye.

Any thoughts on what might be the cause? There is nothing in the log 
files to tell me more than this, which gets dumped to the console.

-Thanks!



-- 
Matthew Boeckman  (816) 777-2160
Manager - Systems Integration Saepio Technologies
== 
  ==
...Many say that DOS is the dark side, but actually UNIX is more like 
the dark side: It's less likely to find the one way to destroy your 
incredibly powerful machine, and more likely to make upper management choke.
  -Lore Sjoberg


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 


-- 
Matthew Boeckman(816) 777-2160
Manager - Systems Integration   Saepio Technologies
== 
==
...Many say that DOS is the dark side, but actually UNIX is more like 
the dark side: It's less likely to find the one way to destroy your 
incredibly powerful machine, and more likely to make upper management choke.
-Lore Sjoberg


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: OutofMemoryError

2002-05-02 Thread Matthew Boeckman

I noticed something about this on the tomcat 4.0 download site :

IMPORTANT NOTE: Virtual machine crashes have been reported when using
Linux 2.4 with Sun JVM version 1.2.x and 1.3.x. See the release notes 
below for more details. (the release notes simply restate this rather 
useless paragraph)

One would think that would have been somewhat more prominently displayed 
somewhere, but I never saw it until I went to get 4.0.3 ...

We had seen the VM go past Xms before, but it only starts crashing in 
certain fairly high session situations. I'm working on some tests for 
jdk1.4.0 and TM 4.0.3 now. If that upgrade fixes this hole, I'll happily 
post back to the list!

I'm glad to hear that I'm not crazy and that others have seen this.

-Matthew

Laurent Féral-Pierssens wrote:
 Matthew,
 
 We are using JDK 1.3.1_02. And yes we do see the process climbs very
 high (past the Xms) but it goes back down after without Tomcat dying. 
 
 Laurent
 
 
 -Original Message-
 From: Matthew Boeckman [mailto:[EMAIL PROTECTED]] 
 Sent: May 1, 2002 4:22 PM
 To: Tomcat Users List
 Subject: Re: OutofMemoryError
 
 
 Are you running java 1.3 or 1.4 ? We're really trying to nail this down.
 
 We've had the Xms and Xmx options in place now for some time, and the 
 java proc just grows right past Xmx, up to nearly full system memory, 
 then tomcat dies.
 
 I'm ready to hear any suggestions, but I want to try to narrow the scope
 
 somewhat.
 
 Laurent Féral-Pierssens wrote:
 
Hi Matthew,

I have been experiencing the same problems but with T3.2.x.

You should try to use Tomcat options -Xms and -Xmx

I added those 2 lines:

TOMCAT_OPTS=-server -Xms256m -Xmx256m -Xincgc
export TOMCAT_OPTS

in my /etc/init.d/tomcat script

This increase the default heap size of the JVM to 256Meg (from 64Meg) 
and make sure incremental Garbage collection is done. Since I changed 
those, I have no more OutOfMemory errors.

Hope it helps,
Laurent




-Original Message-
From: Matthew Boeckman [mailto:[EMAIL PROTECTED]]
Sent: May 1, 2002 12:08 PM
To: [EMAIL PROTECTED]
Subject: OutofMemoryError


Hello List.

I'm running tomcat 3.1.1 on RH7.1, kernel 2.4.9-31 with JDK1.3.1, 
mysql
3.23.43
I am occasionally seeing tomcat go postal with the following errors:
Exception in thread CompileThread0 java.lang.OutOfMemoryError: 
requested 32760 bytes



Another exception has been detected while we were handling last error.
 
 
No information available. Please check ERROR REPORT FILE for further 
information, if there is any. Good bye.

An unexpected exception has been detected in native code outside the 
VM. Unexpected Signal : 11 occurred at PC=0x419852cb Function 
name=(N/A)
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
   just occurred. Please refer to release documentation for
 
 possible
 
   reason and solutions.


Current Java thread:



Another exception has been detected while we were handling last error.
 
 
Dumping information about last error: ERROR REPORT FILE = (N/A)
PC= 0x0x419852cb
SIGNAL= 11
FUNCTION NAME = (N/A)
LIBRARY NAME  = (N/A)
Please check ERROR REPORT FILE for further information, if there is 
any. Good bye.

Any thoughts on what might be the cause? There is nothing in the log
files to tell me more than this, which gets dumped to the console.

-Thanks!

 
 
 


-- 
Matthew Boeckman(816) 777-2160
Manager - Systems Integration   Saepio Technologies
== 
==
...Many say that DOS is the dark side, but actually UNIX is more like 
the dark side: It's less likely to find the one way to destroy your 
incredibly powerful machine, and more likely to make upper management choke.
-Lore Sjoberg


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




OutofMemoryError

2002-05-01 Thread Matthew Boeckman

Hello List.

I'm running tomcat 3.1.1 on RH7.1, kernel 2.4.9-31 with JDK1.3.1, mysql 
3.23.43
I am occasionally seeing tomcat go postal with the following errors:
Exception in thread CompileThread0 java.lang.OutOfMemoryError: 
requested 32760 bytes



Another exception has been detected while we were handling last error.
No information available.
Please check ERROR REPORT FILE for further information, if there is any.
Good bye.

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x419852cb
Function name=(N/A)
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
   just occurred. Please refer to release documentation for possible
   reason and solutions.


Current Java thread:



Another exception has been detected while we were handling last error.
Dumping information about last error:
ERROR REPORT FILE = (N/A)
PC= 0x0x419852cb
SIGNAL= 11
FUNCTION NAME = (N/A)
LIBRARY NAME  = (N/A)
Please check ERROR REPORT FILE for further information, if there is any.
Good bye.

Any thoughts on what might be the cause? There is nothing in the log 
files to tell me more than this, which gets dumped to the console.

-Thanks!

-- 
Matthew Boeckman(816) 777-2160
Manager - Systems Integration   Saepio Technologies
== 
==
...Many say that DOS is the dark side, but actually UNIX is more like 
the dark side: It's less likely to find the one way to destroy your 
incredibly powerful machine, and more likely to make upper management choke.
-Lore Sjoberg


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: OutofMemoryError

2002-05-01 Thread Matthew Boeckman

Are you running java 1.3 or 1.4 ? We're really trying to nail this down. 
We've had the Xms and Xmx options in place now for some time, and the 
java proc just grows right past Xmx, up to nearly full system memory, 
then tomcat dies.

I'm ready to hear any suggestions, but I want to try to narrow the scope 
somewhat.

Laurent Féral-Pierssens wrote:
 Hi Matthew,
 
 I have been experiencing the same problems but with T3.2.x.
 
 You should try to use Tomcat options -Xms and -Xmx
 
 I added those 2 lines:
 
 TOMCAT_OPTS=-server -Xms256m -Xmx256m -Xincgc
 export TOMCAT_OPTS
 
 in my /etc/init.d/tomcat script 
 
 This increase the default heap size of the JVM to 256Meg (from 64Meg)
 and make sure incremental Garbage collection is done. Since I changed
 those, I have no more OutOfMemory errors.
 
 Hope it helps,
 Laurent
 
 
 
 
 -Original Message-
 From: Matthew Boeckman [mailto:[EMAIL PROTECTED]] 
 Sent: May 1, 2002 12:08 PM
 To: [EMAIL PROTECTED]
 Subject: OutofMemoryError
 
 
 Hello List.
 
 I'm running tomcat 3.1.1 on RH7.1, kernel 2.4.9-31 with JDK1.3.1, mysql 
 3.23.43
 I am occasionally seeing tomcat go postal with the following errors:
 Exception in thread CompileThread0 java.lang.OutOfMemoryError: 
 requested 32760 bytes
 
 
 
 Another exception has been detected while we were handling last error.
 No information available. Please check ERROR REPORT FILE for further
 information, if there is any. Good bye.
 
 An unexpected exception has been detected in native code outside the VM.
 Unexpected Signal : 11 occurred at PC=0x419852cb Function name=(N/A)
 Library=(N/A)
 
 NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
 
 
 Current Java thread:
 
 
 
 Another exception has been detected while we were handling last error.
 Dumping information about last error: ERROR REPORT FILE = (N/A)
 PC= 0x0x419852cb
 SIGNAL= 11
 FUNCTION NAME = (N/A)
 LIBRARY NAME  = (N/A)
 Please check ERROR REPORT FILE for further information, if there is any.
 Good bye.
 
 Any thoughts on what might be the cause? There is nothing in the log 
 files to tell me more than this, which gets dumped to the console.
 
 -Thanks!
 


-- 
Matthew Boeckman(816) 777-2160
Manager - Systems Integration   Saepio Technologies
== 
==
...Many say that DOS is the dark side, but actually UNIX is more like 
the dark side: It's less likely to find the one way to destroy your 
incredibly powerful machine, and more likely to make upper management choke.
-Lore Sjoberg


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




tomcat3.0-4.0 conversion problem with JSP's

2001-10-01 Thread Matthew Boeckman

Hello List!

I'm having some difficulty in my conversion from Tomcat 3 to Tomcat 4.
Although 3 has been stable, we've never been able to get multiple Vhosts
running under a single JVM. Fortunately I have that working with
Tomcat4.0 for servlets, but now, for some reason, my JSP's are failing.
FWIW I basically kept all my old Apache configs, dumping the Jserv stuff
in favor of WebAppDeploy. Previously (tomcat 3), I had in httpd.conf:

AddType text/jsp .js
AddHandler jserv-servlet .jsp

and in my server.xml files:

Context path=/jsp docBase=/path-to/jsp debug=0
reloadable=true

and that was about it, for my Tomcat 4 server.xml, I put the same
Context Path statement, and left the AddType/Handler stuff in
httpd.conf. So the problem is that now Apache doesn't seem to know what
a .js or .jsp file is! When I hit one of them, it just loads the jsp
code up in my browser. I'm sure that there is some voodoo I'm missing to
get Apache to pass the jsp's off to the new Tomcat setup, but as there
isn't any documentation examples (that I can find) I'm at a loss. Any
thoughts/experience/skulls to drink from?

-- 
Matthew Boeckman(816) 777-2160
Manager - Systems Integration   Saepio Technologies
Those who would give up essential liberties for a measure of security,
deserve neither liberty nor security. - Ben Franklin



Re: tomcat3.0-4.0 conversion problem with JSP's

2001-10-01 Thread Matthew Boeckman

thanks for the reply. I re-read the install.txt file which is so generic
as to be confusing. Eventually I setup a seperate jsp WebAppDeploy
directive, but had to was the AddType/AddHandler stuff to get the jsp's
to execute... now All of them are throwing exceptions, which i suspect
has something to do with my classpath... so it's getting closer... 

David Smith wrote:
 
 I'm guessing you're using mod_webapp??  If so, check the documentation in the
 INSTALL.txt file for mod_webapp.  The directives needed in httpd.conf are
 very different than for mod_jserv.
 
 On the otherhand, if you already have RTFM, then post relavant parts of your
 httpd.conf so we can see what's happening.
 
 --David Smith
 
 On Monday 01 October 2001 10:47 am, you wrote:
  Hello List!
 
  I'm having some difficulty in my conversion from Tomcat 3 to Tomcat 4.
  Although 3 has been stable, we've never been able to get multiple Vhosts
  running under a single JVM. Fortunately I have that working with
  Tomcat4.0 for servlets, but now, for some reason, my JSP's are failing.
  FWIW I basically kept all my old Apache configs, dumping the Jserv stuff
  in favor of WebAppDeploy. Previously (tomcat 3), I had in httpd.conf:
 
  AddType text/jsp .js
  AddHandler jserv-servlet .jsp
 
  and in my server.xml files:
 
Context path=/jsp docBase=/path-to/jsp debug=0
  reloadable=true
 
  and that was about it, for my Tomcat 4 server.xml, I put the same
  Context Path statement, and left the AddType/Handler stuff in
  httpd.conf. So the problem is that now Apache doesn't seem to know what
  a .js or .jsp file is! When I hit one of them, it just loads the jsp
  code up in my browser. I'm sure that there is some voodoo I'm missing to
  get Apache to pass the jsp's off to the new Tomcat setup, but as there
  isn't any documentation examples (that I can find) I'm at a loss. Any
  thoughts/experience/skulls to drink from?

-- 
Matthew Boeckman(816) 777-2160
Manager - Systems Integration   Saepio Technologies
Those who would give up essential liberties for a measure of security,
deserve neither liberty nor security. - Ben Franklin