reason for beta vote (5.5.13)?

2005-12-05 Thread Ronald Klop

Hello,  I'm searching the net for a message with the reason for the beta status 
of 5.5.13 in stead of stable. And I can't really find it. Any pointers?  
Ronald. 

RE: reason for beta vote (5.5.13)?

2005-12-05 Thread Dale, Matt


This would mean that perhaps the vote has not yet taken place?

-Original Message-
From: Ronald Klop [mailto:[EMAIL PROTECTED]
Sent: 05 December 2005 08:58
To: Tomcat Users List
Subject: reason for beta vote (5.5.13)?


Hello,  I'm searching the net for a message with the reason for the beta status 
of 5.5.13 in stead of stable. And I can't really find it. Any pointers?  Ronald.


This e-mail and any accompanying documents contain confidential information 
intended for a specific individual which is private and protected by law.
If you are not the intended recipient, any disclosure, copying, distribution or 
other use of this information is strictly prohibited.
You are also requested to advise us immediately if you receive information 
which is not addressed to you.
beCogent is Authorised and Regulated by the Financial Services Authority.
*

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



Re: memory limit for tomcat?

2005-12-05 Thread Tim Funk
The JVM heap can be as large as you want it. But its up to existing 
implementations on how well the gc implementation is and do you need that 
much heap.


That being said - if your tomcat application runs fine under the current 
memory limits  - you are not adding more webapps (or or memory hogging items) 
to it - there is no need to increase the heap. Let the OS use that memory for 
other resources. Once the JVM grabs the memory - its taken an isn't given 
back. (Unless newer jvms have become smarter to shrink the heap on demand)



-Tim


joon yoo wrote:


Hi,

Currently on our tomcat 5 server (1GB RAM, Win 2000 server SP4), we
have the initial memory pool and max memory pool values set to
768MB in the apache tomcat properties app.

The server is going to be upgraded to 2GB's of RAM, exactly what is
the limit of the amount of memory that can be allocated to tomcat and
still run stably?
 


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



Re: HP -UNIX JDK1.2 /TOMCAT 41

2005-12-05 Thread Tim Funk
This was few years ago - but I suffered using jdk1.2.X jvms on HPUX. They are 
crap. A giant load of crap. A stinky pile of crap. (YMMV). Switch to the 
1.3.x JVM. Hopefully this will solve the issue.


-Tim

Karthik wrote:


Hi Form

 Our development Env is as below

O/s=  Win2000
JDK  = 1.4.1
 TOMCAT =1 4.1.27
 RAM=  1 GB
 ORACLE = 9i
 LOAD on the DB is 150 tx /sec


   Our Production Env is as below

O/s=  HP-UNIX
JRE  = 1.2.2..10
TOMCAT =1 4.1.27
RAM=  1.5 GB
ORACLE = 9i
LOAD on the DB is 700 tx /sec

   In both cases the DB is installed on same server.


  Problems

 1) The Tomcat Hangs for some times in production Server but not for the
same in  Develoment Servrer

 2) Are there any  imcompatabilities  for between the  S/w 's  Installed
between the 2 servers


===
java.lang.IllegalStateException: Cannot create a session after the response
has been committed
at
org.apache.coyote.tomcat4.CoyoteRequest.doGetSession(CoyoteRequest.java:1884
)
at
org.apache.coyote.tomcat4.CoyoteRequest.getSession(CoyoteRequest.java:1731)
at
org.apache.coyote.tomcat4.CoyoteRequestFacade.getSession(CoyoteRequestFacade
.java:365)
at
org.apache.coyote.tomcat4.CoyoteRequestFacade.getSession(CoyoteRequestFacade
.java:370)
at
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWr
apper.java:268)
at
org.apache.jasper.runtime.PageContextImpl._initialize(PageContextImpl.java:1
38)
at
org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.java:11



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



RE: memory limit for tomcat?

2005-12-05 Thread Dale, Matt


Both the 32 bit versions of windows and linux suffer from a maximum memory 
usage by a single process of 2GB. It's possible to get around this in linux by 
some kernel hacking but there are trade offs. So while not a hard and fast rule 
you're unlikely to be able to use over 2GB on a 32 bit machine.

Ta
Matt

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: 05 December 2005 12:18
To: Tomcat Users List
Subject: Re: memory limit for tomcat?


Not really. A JVM implementation could queue the extra heap memory to a swap
disk just like an OS can. But the performance tradeoffs are so bad - that
writing such a  jvm would be a bad idea. ;)

-Tim


Bruno Georges wrote:

 Hi Tim
 Correct me if I am wrong, but there is a limit of 2GB in a 32bits
 architecture .
 With Best Regards
 Bruno Georges

 Glencore International AG
 Tel. +41 41 709 3204
 Fax +41 41 709 3000


 - Original Message -
 From: Tim Funk [EMAIL PROTECTED]
 Sent: 05.12.2005 12:48
 To: Tomcat Users List users@tomcat.apache.org
 Subject: Re: memory limit for tomcat?

 The JVM heap can be as large as you want it. But its up to existing
 implementations on how well the gc implementation is and do you need
 that much heap.

 That being said - if your tomcat application runs fine under the current
 memory limits  - you are not adding more webapps (or or memory hogging
 items) to it - there is no need to increase the heap. Let the OS use
 that memory for other resources. Once the JVM grabs the memory - its
 taken an isn't given back. (Unless newer jvms have become smarter to
 shrink the heap on demand)
 

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



This e-mail and any accompanying documents contain confidential information 
intended for a specific individual which is private and protected by law.
If you are not the intended recipient, any disclosure, copying, distribution or 
other use of this information is strictly prohibited.
You are also requested to advise us immediately if you receive information 
which is not addressed to you.
beCogent is Authorised and Regulated by the Financial Services Authority.
*

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



Re: memory limit for tomcat?

2005-12-05 Thread Bruno Georges
Hi Tim

There are limitations imposed by h/w and os, and one should be careful
about the implications of addressing large amount of memory.
There is an interesting thread about this topic on the server side:
http://www.theserverside.com/discussions/thread.tss?thread_id=26347#124481

There is also a link on sun about tuning gc, it is definitely worth reading
prior making any setting on the JVM.
http://java.sun.com/docs/hotspot/gc1.4.2/

Free tools exists to profile the JVM and Memory management, available from
java.net.

Hope this helps.
Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000


|-+---
| |   Tim Funk|
| |   [EMAIL PROTECTED]|
| |   org|
| |   |
| |   05.12.05 13:18  |
| |   Please respond  |
| |   to Tomcat Users|
| |   List   |
| |   |
|-+---
  
---|
  | 
  |
  |To:  Tomcat Users List users@tomcat.apache.org 
  |
  |cc:  
  |
  |Subject: Re: memory limit for tomcat?
  |
  | 
  |
  |Distribute:  
  |
  |Personal?   |---|
  |
  || [ ] x |
  |
  ||---|
  |
  | 
  |
  
---|




Not really. A JVM implementation could queue the extra heap memory to a
swap
disk just like an OS can. But the performance tradeoffs are so bad - that
writing such a  jvm would be a bad idea. ;)

-Tim


Bruno Georges wrote:

 Hi Tim
 Correct me if I am wrong, but there is a limit of 2GB in a 32bits
 architecture .
 With Best Regards
 Bruno Georges

 Glencore International AG
 Tel. +41 41 709 3204
 Fax +41 41 709 3000


 - Original Message -
 From: Tim Funk [EMAIL PROTECTED]
 Sent: 05.12.2005 12:48
 To: Tomcat Users List users@tomcat.apache.org
 Subject: Re: memory limit for tomcat?

 The JVM heap can be as large as you want it. But its up to existing
 implementations on how well the gc implementation is and do you need
 that much heap.

 That being said - if your tomcat application runs fine under the current
 memory limits  - you are not adding more webapps (or or memory hogging
 items) to it - there is no need to increase the heap. Let the OS use
 that memory for other resources. Once the JVM grabs the memory - its
 taken an isn't given back. (Unless newer jvms have become smarter to
 shrink the heap on demand)


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




LEGAL DISCLAIMER. The contents of this e-mail and any attachments are strictly
confidential and they may not be used or disclosed by someone who is not a
named recipient.
If you have received this email in error please notify the sender by replying
to this email inserting the word misdirected as the message and delete this
e-mail from your system.


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



Re: memory limit for tomcat?

2005-12-05 Thread Bruno Georges
Tools and JVM specific performance links:
http://java.sun.com/docs/hotspot/

Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000


|-+
| |   Bruno Georges|
| |   [EMAIL PROTECTED]|
| |   encore.com  |
| ||
| |   05.12.05 13:38   |
| |   Please respond to|
| |   Tomcat Users|
| |   List|
| ||
|-+
  
---|
  | 
  |
  |To:  Tomcat Users List users@tomcat.apache.org   
  |
  |cc:  Tomcat Users List users@tomcat.apache.org 
  |
  |Subject: Re: memory limit for tomcat?
  |
  | 
  |
  |Distribute:  
  |
  |Personal?   |---|
  |
  || [ ] x |
  |
  ||---|
  |
  | 
  |
  
---|




Hi Tim

There are limitations imposed by h/w and os, and one should be careful
about the implications of addressing large amount of memory.
There is an interesting thread about this topic on the server side:
http://www.theserverside.com/discussions/thread.tss?thread_id=26347#124481

There is also a link on sun about tuning gc, it is definitely worth reading
prior making any setting on the JVM.
http://java.sun.com/docs/hotspot/gc1.4.2/

Free tools exists to profile the JVM and Memory management, available from
java.net.

Hope this helps.
Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000


|-+---
| |   Tim Funk|
| |   [EMAIL PROTECTED]|
| |   org|
| |   |
| |   05.12.05 13:18  |
| |   Please respond  |
| |   to Tomcat Users|
| |   List   |
| |   |
|-+---

---|

  |
|
  |To:  Tomcat Users List users@tomcat.apache.org
|
  |cc:
|
  |Subject: Re: memory limit for tomcat?
|
  |
|
  |Distribute:
|
  |Personal?   |---|
|
  || [ ] x |
|
  ||---|
|
  |
|

---|





Not really. A JVM implementation could queue the extra heap memory to a
swap
disk just like an OS can. But the performance tradeoffs are so bad - that
writing such a  jvm would be a bad idea. ;)

-Tim


Bruno Georges wrote:

 Hi Tim
 Correct me if I am wrong, but there is a limit of 2GB in a 32bits
 architecture .
 With Best Regards
 Bruno Georges

 Glencore International AG
 Tel. +41 41 709 3204
 Fax +41 41 709 3000


 - Original Message -
 From: Tim Funk [EMAIL PROTECTED]
 Sent: 05.12.2005 12:48
 To: Tomcat Users List users@tomcat.apache.org
 Subject: Re: memory limit for tomcat?

 The JVM heap can be as large as you want it. But its up to existing
 implementations on how well the gc implementation is and do you need
 that much heap.

 That being said - if your tomcat application runs fine under the current
 memory limits  - you are not adding more webapps (or or memory hogging
 items) to it - there is no need to increase the heap. Let 

Re: reason for beta vote (5.5.13)?

2005-12-05 Thread David Smith
Each new release of Tomcat is made available for download.  Then the 
project developers evaluate it and vote on it's stability.  5.5.13 is a 
very new release and I'll bet a vote hasn't been taken yet.  Short of 
any big errors that might creap into the code, it should be voted stable 
in a couple of weeks.


--David

Ronald Klop wrote:

Hello,  I'm searching the net for a message with the reason for the 
beta status of 5.5.13 in stead of stable. And I can't really find it. 
Any pointers?  Ronald. 




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



Is TC 5.0.28 forward compatible with Java 5

2005-12-05 Thread Satish MG
Hi,

I am using Tomcat 5.0.28. Now I have to port the Tomcat to
Java 5.0. Even though Tomcat 5.5.X is Java 5 compatible with Java 5,
I wanted Tomcat 5.0.28 on Java 5. So I wanted to Know whether Tomcat
5.0.28 is compatible with Java 5. If not Which version Of Tomcat 5.0.X is
compatibl?.

Thanks
satish


Many Thanks SSL

2005-12-05 Thread Scott Purcell
I truly do not know what to say about all the information given to me these 
past couple of days in regards to my SSL problem. I cannot say enough to the 
people who have pitched in and helped me throughout the weekend. 

I feel I will be able to get this up and running today or tonight when I get 
home, and have learned so much.

I want to thank each of you for your help and support. It means so much.

Sincerely
Many, many thanks,

Scott



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



Beginner's question: actual URL to Tomcat folder

2005-12-05 Thread Mariya Demchenko

Hi,

I have the following directory structure on my disc:

W:\jakarta-tomcat-5.0.28\webapps\ROOT\test

What URL I should use in IE to open the test folder?

Thank you in advance

_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



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



RE: Beginner's question: actual URL to Tomcat folder (UNCLASSIFIE D)

2005-12-05 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification:  UNCLASSIFIED 
Caveats: NONE

You should be able to call it through this URL

http://localhost:8080/test

Unless otherwise configured differently in your server.xml file.

Or, you could log in to Tomcat's manager's app, and click on the test
application you deployed and check where It takes you

 

-Original Message-
From: Mariya Demchenko [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 05, 2005 9:00 AM
To: users@tomcat.apache.org
Subject: Beginner's question: actual URL to Tomcat folder

Hi,

I have the following directory structure on my disc:

W:\jakarta-tomcat-5.0.28\webapps\ROOT\test

What URL I should use in IE to open the test folder?

Thank you in advance

_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Classification:  UNCLASSIFIED 
Caveats: NONE


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



RE: Is TC 5.0.28 forward compatible with Java 5

2005-12-05 Thread Peter Crowther
 From: Satish MG [mailto:[EMAIL PROTECTED] 
 I am using Tomcat 5.0.28. Now I have to port the Tomcat to
 Java 5.0. Even though Tomcat 5.5.X is Java 5 compatible with Java 5,
 I wanted Tomcat 5.0.28 on Java 5. So I wanted to Know whether Tomcat
 5.0.28 is compatible with Java 5. If not Which version Of 
 Tomcat 5.0.X is compatibl?.

I've been running a small Tomcat 5.0.28 installation on Windows, first
on various flavours of 1.4.2 and now on 1.5.  I've not seen any problems
running Tomcat 5.0.28 on Java 5, but - to be clear - it's a small
installation and is not heavily loaded.

- Peter

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



How to Connect Tomcat to the Internet?

2005-12-05 Thread Nikolay Georgiev
Hello,

My applications are running locally on Tomcat and I would like to make them
accessible from the Internet, but I have absolutely no idea how.
I've tried searching with google, but couldn't find much info.

So I think that first of all I should buy a domain. Let's say that It's name
is www.something.com/me . Then somehow I should tell that this domain should
point to my computer at home.
Then I'm asking myself, how to install Tomcat in such a way that it will
accept connections from the Internet.

So I'm not really sure how can I do this thing, maybe someone can point me
the right direction?


Nikolay


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



RE: How to Connect Tomcat to the Internet? (UNCLASSIFIED)

2005-12-05 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification:  UNCLASSIFIED 
Caveats: NONE

Are you going to host your domain at home ? If so, do you have a static IP
for your domain ?
If the above are checked, then all you have to do is configure your
server.xml in the virtual_host tag.

 

-Original Message-
From: Nikolay Georgiev [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 05, 2005 9:55 AM
To: users@tomcat.apache.org
Subject: How to Connect Tomcat to the Internet?

Hello,

My applications are running locally on Tomcat and I would like to make them
accessible from the Internet, but I have absolutely no idea how.
I've tried searching with google, but couldn't find much info.

So I think that first of all I should buy a domain. Let's say that It's name
is www.something.com/me . Then somehow I should tell that this domain should
point to my computer at home.
Then I'm asking myself, how to install Tomcat in such a way that it will
accept connections from the Internet.

So I'm not really sure how can I do this thing, maybe someone can point me
the right direction?


Nikolay


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Classification:  UNCLASSIFIED 
Caveats: NONE


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



RE: How to Connect Tomcat to the Internet?

2005-12-05 Thread Dale, Matt


This is really nothing to do with Tomcat and the answers will all depend on how 
your computer is set up at home.

If you have a router or firewall you will need to forward the traffic to your 
computer on port 8080.

You don't necessarily need to buy a domain as you will be able to access it 
with just the IP address but that's up to you.

-Original Message-
From: Nikolay Georgiev [mailto:[EMAIL PROTECTED]
Sent: 05 December 2005 14:55
To: users@tomcat.apache.org
Subject: How to Connect Tomcat to the Internet?


Hello,

My applications are running locally on Tomcat and I would like to make them
accessible from the Internet, but I have absolutely no idea how.
I've tried searching with google, but couldn't find much info.

So I think that first of all I should buy a domain. Let's say that It's name
is www.something.com/me . Then somehow I should tell that this domain should
point to my computer at home.
Then I'm asking myself, how to install Tomcat in such a way that it will
accept connections from the Internet.

So I'm not really sure how can I do this thing, maybe someone can point me
the right direction?


Nikolay


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



This e-mail and any accompanying documents contain confidential information 
intended for a specific individual which is private and protected by law.
If you are not the intended recipient, any disclosure, copying, distribution or 
other use of this information is strictly prohibited.
You are also requested to advise us immediately if you receive information 
which is not addressed to you.
beCogent is Authorised and Regulated by the Financial Services Authority.
*

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



Re: How to Connect Tomcat to the Internet?

2005-12-05 Thread Joe Plautz
The box itself needs to be associated with a publicly accessible IP 
address which you should be able to obtain from your ISP. If you are 
using a router as your point of entry you are going to need to make sure 
the port that you have tomcat running on is being forwarded properly to 
the box tomcat is on. Other than that, Tomcat itself doesn't need 
anything special in the terms of running publicly.


Hope that helps,
Joe

Nikolay Georgiev wrote:

Hello,

My applications are running locally on Tomcat and I would like to make them
accessible from the Internet, but I have absolutely no idea how.
I've tried searching with google, but couldn't find much info.

So I think that first of all I should buy a domain. Let's say that It's name
is www.something.com/me . Then somehow I should tell that this domain should
point to my computer at home.
Then I'm asking myself, how to install Tomcat in such a way that it will
accept connections from the Internet.

So I'm not really sure how can I do this thing, maybe someone can point me
the right direction?


Nikolay


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

.



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



Internationalization Problem with Tomcat 5.5.9

2005-12-05 Thread Vijay Babu
Hi all,

I am facing a problem with i18n using Tomcat 5.5.9.  I have an application
which has been internationalized for a couple of  languages and is working
fine with Tomcat 4.1.x. But the same application when deployed in Tomcat
5.5.9 does not work. When a jsp page having some text is accessed, its
displaying ?? marks instead of the locale specific text.  I could not
figure out whats causing this problem. Does any one have  idea of what
could be the problem or  is there any configuration change that needs to be
done in Tomcat 5.

Any suggestions would be highly appreciated.

Thanks,
Bob


Extending webappclassloader

2005-12-05 Thread Niels Soeffers
Hello,

I have a problem extending the webappclassLoader.
In the company I work for, we are using eclipse as our IDE. We have multple
projects in eclipse and we would like to have an in-place deployment (so
tomcat works on the (bin) directories of our eclipse projects). That way we
don't have to copy all the modified classes over all the time to a
WEB-INF/classes folder.  I do realize that the WEB-INF/classes is the
correct place to put these classes. And in our continuous integration
environment we are using a war to deploy our application. However to ease
and speed up the development and test process we would like to have Tomcat
to look in our bin directories of eclipse to find our class files.

For this to work I have created an InPlaceDeployWebappClassLoader which
extends of the default WebappClassLoader. However if i add a Loader tag to
my server.xml configuration file. I always get the following exception:

SEVERE: Error loading WebappClassLoader
  delegate: false
  repositories:
/WEB-INF/classes/
-- Parent Classloader:
[EMAIL PROTECTED]
 org.apache.jasper.servlet.JspServlet
java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet
at org.apache.catalina.loader.WebappClassLoader.loadClass(
WebappClassLoader.java:1338)
at org.apache.catalina.loader.WebappClassLoader.loadClass (
WebappClassLoader.java:1187)
at org.apache.catalina.core.StandardWrapper.loadServlet(
StandardWrapper.java:1027)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java
:925)
at org.apache.catalina.core.StandardContext.loadOnStartup (
StandardContext.java:3880)
at org.apache.catalina.core.StandardContext.start(StandardContext.java
:4141)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardHost.start (StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java
:442)
at org.apache.catalina.core.StandardService.start (StandardService.java
:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java
:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke (Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
5-dec-2005 14:55:24 org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /HotDeployOnTomcat threw load() exception
java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet
at org.apache.catalina.loader.WebappClassLoader.loadClass(
WebappClassLoader.java :1338)
at org.apache.catalina.loader.WebappClassLoader.loadClass(
WebappClassLoader.java:1187)
at org.apache.catalina.core.StandardWrapper.loadServlet(
StandardWrapper.java:1027)
at org.apache.catalina.core.StandardWrapper.load (StandardWrapper.java
:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(
StandardContext.java:3880)
at org.apache.catalina.core.StandardContext.start(StandardContext.java
:4141)
at org.apache.catalina.core.ContainerBase.start (ContainerBase.java
:1012)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start (StandardEngine.java
:442)
at org.apache.catalina.core.StandardService.start(StandardService.java
:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java
:680)
at org.apache.catalina.startup.Catalina.start (Catalina.java:536)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:413)
5-dec-2005 14:55:24 org.apache.commons.modeler.Registry registerComponent
SEVERE: Null component
Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/HotDeployOnTomcat,J2EEApplication=none,J2EEServer=none

5-dec-2005 14:55:25 org.apache.coyote.http11.Http11BaseProtocol start

Even if I use the loader tag with the default loaderClass
(WebappClassLoader) I get this exception?

Can someone tell me where I have to put the class file of my custom
webappclassloader, currently it is in $CATALINA_HOME/server/classes

Thanks in advance,
Kind Regards,


RE: How to Connect Tomcat to the Internet? (UNCLASSIFIED)

2005-12-05 Thread Caldarale, Charles R
 From: Samara, Fadi N Mr ACSIM/ASPEX 
 [mailto:[EMAIL PROTECTED] 
 Subject: RE: How to Connect Tomcat to the Internet? (UNCLASSIFIED)
 
 If the above are checked, then all you have to do is configure your
 server.xml in the virtual_host tag.

Actually, you don't even have to do that.  By default, Tomcat listens on
the specified port(s) for connections to any IP address that reaches the
box.  You only need virtual hosts if you're going to have different
application sets for each host.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



RE: How to Connect Tomcat to the Internet? (UNCLASSIFIED)

2005-12-05 Thread Caldarale, Charles R
 From: Nikolay Georgiev [mailto:[EMAIL PROTECTED] 
 Subject: RE: How to Connect Tomcat to the Internet? (UNCLASSIFIED)
 
 so I have to have publicly accessible IP and then in the server.xml
 in Connector to set the Port I want to use and in Engine 
 to set the IP.

You don't need to change the IP address.  By default, Tomcat listens on
0.0.0.0, which means it will accept requests directed to any IP address
that targets your system.  You do want to configure the desired ports.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Re: How to Connect Tomcat to the Internet?

2005-12-05 Thread Martin Gainty
Good Morning Dale and company

If you look at dnsmadeasy.com
you will allow you to supply CNAME, A, PTR records for your domain
as well as MX records for your Mail server
Chef recommends!

Martin-
- Original Message - 
From: Dale, Matt [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, December 05, 2005 9:57 AM
Subject: RE: How to Connect Tomcat to the Internet?




This is really nothing to do with Tomcat and the answers will all depend on how 
your computer is set up at home.

If you have a router or firewall you will need to forward the traffic to your 
computer on port 8080.

You don't necessarily need to buy a domain as you will be able to access it 
with just the IP address but that's up to you.

-Original Message-
From: Nikolay Georgiev [mailto:[EMAIL PROTECTED]
Sent: 05 December 2005 14:55
To: users@tomcat.apache.org
Subject: How to Connect Tomcat to the Internet?


Hello,

My applications are running locally on Tomcat and I would like to make them
accessible from the Internet, but I have absolutely no idea how.
I've tried searching with google, but couldn't find much info.

So I think that first of all I should buy a domain. Let's say that It's name
is www.something.com/me . Then somehow I should tell that this domain should
point to my computer at home.
Then I'm asking myself, how to install Tomcat in such a way that it will
accept connections from the Internet.

So I'm not really sure how can I do this thing, maybe someone can point me
the right direction?


Nikolay


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



This e-mail and any accompanying documents contain confidential information 
intended for a specific individual which is private and protected by law.
If you are not the intended recipient, any disclosure, copying, distribution or 
other use of this information is strictly prohibited.
You are also requested to advise us immediately if you receive information 
which is not addressed to you.
beCogent is Authorised and Regulated by the Financial Services Authority.
*

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



Re: apache + mod_jk + tomcat. Manager application problem

2005-12-05 Thread Mirek Kopriva
Ok,
I was a bit lazy/didn't have much time to look at it closer + i thought
it might be something obvious everybody knows about. So sorry for
asking and not providing more info.
The problem was that the default Engine element with jvmRoute
after uncommenting has a different name (Standalone instead of Catalina),
so all I needed to do was to copy the manager's context xml files from
Catalina/localhost
to Standalone/localhost and everything was fine.
Anyway, thanks a lot for replying,
Cheers,
mk

On 11/30/05, Markus Schönhaber [EMAIL PROTECTED] wrote:

 Mirek Kopriva wrote:
  Hi I have a strange problem.
  When I install tomcat + apache + mod_jk. Everything seems to work fine
  (our application, examples...) except the tomcat's Manager application.
  Anybody has an idea why?
  I'm using
  apache 2.0.52
  mod_jk 1.2.15
  rtomcat 5.5.12
  Thanks a lot for any help.

 Well, it would be much easier for the list to help you, if you did provide
 some basic information about your problem. For example:
 - What exactly are you doing to trigger the error?
 - What exactly *is* the error (for example: what does your browser
 display,
 what's in Tomcat's logfiles etc.)?
 - Does the same problem show up if you access tomcat directly and not via
 httpd + jk?

 Wild assed guess: You didn't download and install the Administration Web
 Application from
 http://tomcat.apache.org/download-55.cgi

 Regards
   mks

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




RE: SSL InvalidKeystore Format?

2005-12-05 Thread Nate Rock
Sweet Carl that would be awesome! I have other stuff to do as well, but
I will take a look at your post from yesterday with code to see if I
can't glean any sort of extra inspiration from it since it didn't
mention PKCS12 formats I just kind of glanced over it =(

All our certs are currently in PKCS12(PFX) format and having to
re-request them all using OpenSSL would be a PITA ;) I remember back
when looking at our PKI code that it was anoying to try and get the
private key exported and in the correct (RSA) format that apache expects
out of a PKCS12 file using java.

If we could build a utility based off your current code that could take
an existing keystore (JKS/PKCS12) that could extract it into PEM (RSA)
encoded private key/signed certificate that apache/tomcat(APR) could use
and maybe do the reverse, take both pem encoded files and build a
keystore (JKS/PKCS12) file, I think it would help a lot of people out
when trying to get the APR/SSL thing configured. The confusing part is
that when you export a private key in PEM format using java, the default
format is PKCS8 which from what I understand, the APR doesn't know what
to do with because it's expecting PEM (RSA) encoding.

With the utility, we could say that if your certificates were made using
java keystores, to get them to work with the APR, run this java command
to split them into PEM (RSA) encode private key/signed certificate.  If
your certificates were made using OpenSSL and you want to use them with
the tomcat connector, run this other simple command using your PEM (RSA)
encoded private key/signed certificate to get a keystore.

I think we already do this using some set of OpenSSL commands(openssl
pkcs12, and openssl rsa) as well, but I havn't gotten my verisign cert
yet this morning so I can try it out and get back to everyone.  Although
I don't like to re-invent the wheel, being able to convert between
keystore/PEM(RSA) encoded private key/certificates with a simple java
app might be better than forcing peeps to learn how to install/configure
OpenSSL on their respective platforms.

   -rOcK

-Original Message-
From: Carl Olivier [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 05, 2005 7:41 AM
To: 'Tomcat Users List'
Subject: RE: SSL InvalidKeystore Format?

Hi Nate.

I am not sure if this is relevant, but think it is - the private keys,
CSRs and certificates I am using with tomcat (as per my email from
yesterday -- although I have not posted my mechanism for exporting PFX
and PEM certificates -with Private Keys etc) have been used as is
imported into IIS, Apache, etc with no problems.  I will post my export
function (as well as the import functions for PFX and PEM with private
keys attached) later (or
tomorrow) - just a little busy right now.

I have a large number of actual certificates (purchased from a number of
CAs including verisign) in production use.

Anyway - will post my other steps/functions etc as soon as I have a
moment!

Regards,

Carl

-Original Message-
From: Nate Rock [mailto:[EMAIL PROTECTED]
Sent: 05 December 2005 05:11
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: SSL InvalidKeystore Format?

I think the issue Scott is getting caught up on is the same issue I have
been having for the last week:

Using APR + SSL with anything but a self signed certificate isn't
clearly defined as of yet.

Scott, my recommendation to you at this point is to uninstall tomcat,
and then reinstall it making sure to NOT check the native checkbox
when given installation options. This will install tomcat without the
APR connector and the steps listed on Verisign (and on the tomcat site)
using java keytores will work fine.

I know Carl and Dhaval have been giving awesome information about how to
generate csrs/keystores etc. but none of us (including me) has a rock
solid example using an actual verisign certificate that they have set up
and have running right now in production using APR. (Remy?) I think that
using OpenSSL for generating the private key/csr will end up being the
way it's done because of the difference between RSA and PKCS8 private
key encodings.
(OpenSSL vs java keystore default encodings)

If any of you have actually used a verisign (NOT a self signed OpenSSL
certificate from
http://www.fatofthelan.com/articles/articles.php?pid=12.) with APR+SSL
please post the exact steps you used from generating the primary key/csr
file down to the connector you used. We would also like to know exactly
what encoding the primary key/cert is in because as I found out this
week, PEM is different if you are using OpenSSL vs JSSE. =P

I will be getting a verisign certificate early this week to try out some
things I discovered over the weekend involving some un-documented APR
params that are part of mod_ssl that may be the missing link
(SSLCACertificateFile attribute ;).

I think part of the issue with APR + verisign certificates is the
location for the trusted CA certificates. How does one point the APR
connector so that it 

RE: ServletException hard to understand

2005-12-05 Thread Caldarale, Charles R
 From: Laurent FALLET [mailto:[EMAIL PROTECTED] 
 Subject: ServletException hard to understand
 
 I have the error described below when asking for some pages.

What Tomcat level?
What JRE/JDK?
What OS?

 Moreover what is this 
 EDU/oswego/cs/dl/util/concurrent/Executor ? I never
 used such a package.

I believe that's part of Doug Lea's original concurrency package, which
has morphed into java.util.concurrent in the 1.5 JRE.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Re: Extending webappclassloader

2005-12-05 Thread Jon Wingfield

Our custom loader sits in a jar in $CATALINA_HOME/server/lib
Our classloader uses different parent classloaders depending on which 
version of TC is running.

In 4.1 we just use the parent classloader as supplied in the constructor.
In 5.0.x we use the classloader of WebAppClassLoader as the parent. It's 
a while since the code was written but I seem to recall the creating 
parent is the bootstrap classloader which knows nothing of the server 
classloader, and hence can't find the servlet api classes.

We haven't tried it in 5.5.x yet.

HTH,

Jon

Niels Soeffers wrote:

Hello,

I have a problem extending the webappclassLoader.
In the company I work for, we are using eclipse as our IDE. We have multple
projects in eclipse and we would like to have an in-place deployment (so
tomcat works on the (bin) directories of our eclipse projects). That way we
don't have to copy all the modified classes over all the time to a
WEB-INF/classes folder.  I do realize that the WEB-INF/classes is the
correct place to put these classes. And in our continuous integration
environment we are using a war to deploy our application. However to ease
and speed up the development and test process we would like to have Tomcat
to look in our bin directories of eclipse to find our class files.

For this to work I have created an InPlaceDeployWebappClassLoader which
extends of the default WebappClassLoader. However if i add a Loader tag to
my server.xml configuration file. I always get the following exception:

SEVERE: Error loading WebappClassLoader
  delegate: false
  repositories:
/WEB-INF/classes/
-- Parent Classloader:
[EMAIL PROTECTED]
 org.apache.jasper.servlet.JspServlet
java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet
at org.apache.catalina.loader.WebappClassLoader.loadClass(
WebappClassLoader.java:1338)
at org.apache.catalina.loader.WebappClassLoader.loadClass (
WebappClassLoader.java:1187)
at org.apache.catalina.core.StandardWrapper.loadServlet(
StandardWrapper.java:1027)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java
:925)
at org.apache.catalina.core.StandardContext.loadOnStartup (
StandardContext.java:3880)
at org.apache.catalina.core.StandardContext.start(StandardContext.java
:4141)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardHost.start (StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java
:442)
at org.apache.catalina.core.StandardService.start (StandardService.java
:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java
:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke (Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
5-dec-2005 14:55:24 org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /HotDeployOnTomcat threw load() exception
java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet
at org.apache.catalina.loader.WebappClassLoader.loadClass(
WebappClassLoader.java :1338)
at org.apache.catalina.loader.WebappClassLoader.loadClass(
WebappClassLoader.java:1187)
at org.apache.catalina.core.StandardWrapper.loadServlet(
StandardWrapper.java:1027)
at org.apache.catalina.core.StandardWrapper.load (StandardWrapper.java
:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(
StandardContext.java:3880)
at org.apache.catalina.core.StandardContext.start(StandardContext.java
:4141)
at org.apache.catalina.core.ContainerBase.start (ContainerBase.java
:1012)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start (StandardEngine.java
:442)
at org.apache.catalina.core.StandardService.start(StandardService.java
:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java
:680)
at org.apache.catalina.startup.Catalina.start (Catalina.java:536)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:413)
5-dec-2005 

RE: SSL InvalidKeystore Format?

2005-12-05 Thread Carl Olivier
Hi.

Ok, well what I think I will do is clean up my utility classes into a useful
utility class (with main and command line switches etc) to do all the
in/out/conversions as I use them.  I will then mail that source to the list
and hopefully it would assist everyone!

Will try to get that out this week!

Regards,

Carl

-Original Message-
From: Nate Rock [mailto:[EMAIL PROTECTED] 
Sent: 05 December 2005 16:10
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: SSL InvalidKeystore Format?

Sweet Carl that would be awesome! I have other stuff to do as well, but I
will take a look at your post from yesterday with code to see if I can't
glean any sort of extra inspiration from it since it didn't mention PKCS12
formats I just kind of glanced over it =(

All our certs are currently in PKCS12(PFX) format and having to re-request
them all using OpenSSL would be a PITA ;) I remember back when looking at
our PKI code that it was anoying to try and get the private key exported and
in the correct (RSA) format that apache expects out of a PKCS12 file using
java.

If we could build a utility based off your current code that could take an
existing keystore (JKS/PKCS12) that could extract it into PEM (RSA) encoded
private key/signed certificate that apache/tomcat(APR) could use and maybe
do the reverse, take both pem encoded files and build a keystore
(JKS/PKCS12) file, I think it would help a lot of people out when trying to
get the APR/SSL thing configured. The confusing part is that when you export
a private key in PEM format using java, the default format is PKCS8 which
from what I understand, the APR doesn't know what to do with because it's
expecting PEM (RSA) encoding.

With the utility, we could say that if your certificates were made using
java keystores, to get them to work with the APR, run this java command to
split them into PEM (RSA) encode private key/signed certificate.  If your
certificates were made using OpenSSL and you want to use them with the
tomcat connector, run this other simple command using your PEM (RSA) encoded
private key/signed certificate to get a keystore.

I think we already do this using some set of OpenSSL commands(openssl
pkcs12, and openssl rsa) as well, but I havn't gotten my verisign cert yet
this morning so I can try it out and get back to everyone.  Although I don't
like to re-invent the wheel, being able to convert between
keystore/PEM(RSA) encoded private key/certificates with a simple java app
might be better than forcing peeps to learn how to install/configure OpenSSL
on their respective platforms.

   -rOcK

-Original Message-
From: Carl Olivier [mailto:[EMAIL PROTECTED]
Sent: Monday, December 05, 2005 7:41 AM
To: 'Tomcat Users List'
Subject: RE: SSL InvalidKeystore Format?

Hi Nate.

I am not sure if this is relevant, but think it is - the private keys, CSRs
and certificates I am using with tomcat (as per my email from yesterday --
although I have not posted my mechanism for exporting PFX and PEM
certificates -with Private Keys etc) have been used as is imported into IIS,
Apache, etc with no problems.  I will post my export function (as well as
the import functions for PFX and PEM with private keys attached) later (or
tomorrow) - just a little busy right now.

I have a large number of actual certificates (purchased from a number of CAs
including verisign) in production use.

Anyway - will post my other steps/functions etc as soon as I have a moment!

Regards,

Carl

-Original Message-
From: Nate Rock [mailto:[EMAIL PROTECTED]
Sent: 05 December 2005 05:11
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: SSL InvalidKeystore Format?

I think the issue Scott is getting caught up on is the same issue I have
been having for the last week:

Using APR + SSL with anything but a self signed certificate isn't clearly
defined as of yet.

Scott, my recommendation to you at this point is to uninstall tomcat, and
then reinstall it making sure to NOT check the native checkbox when given
installation options. This will install tomcat without the APR connector and
the steps listed on Verisign (and on the tomcat site) using java keytores
will work fine.

I know Carl and Dhaval have been giving awesome information about how to
generate csrs/keystores etc. but none of us (including me) has a rock solid
example using an actual verisign certificate that they have set up and have
running right now in production using APR. (Remy?) I think that using
OpenSSL for generating the private key/csr will end up being the way it's
done because of the difference between RSA and PKCS8 private key encodings.
(OpenSSL vs java keystore default encodings)

If any of you have actually used a verisign (NOT a self signed OpenSSL
certificate from
http://www.fatofthelan.com/articles/articles.php?pid=12.) with APR+SSL
please post the exact steps you used from generating the primary key/csr
file down to the connector you used. We would also like to know exactly what
encoding the primary 

RE: AJP13: request headers max packet size

2005-12-05 Thread KARNATI, SRINIVASA R [AG/1000]


-Original Message-
From: KARNATI, SRINIVASA R [AG/1000]
[mailto:[EMAIL PROTECTED] 
Sent: Monday, December 05, 2005 10:28 AM
To: users@tomcat.apache.org
Subject: AJP13: request headers  max packet size

We have run into 8 kb (max packet size) limit. We are using Kerberos
authentication in Active Directory environment. For some of our application
users Kerberos ticket that gets passed via HTTP header exceeds 8 kb.  

The debug log shows connector fails even before trying to send headers. We
are using IIS with isapi_redirector2.dll. In another scenario we have IIS
with isap_redirect.dll (2.1.15.) 
[SRKARNA]  Sorry, it is 1.2.15

Unfortunately, using HTTP (8080) connector is not an option.

I am wondering if MAX_PACKET_SIZE can be passed as configurable option, or
if this could be fixed in future releases of the connector?

Thanks, Srini




-
This e-mail message may contain privileged and/or confidential information,
and is intended to be received only by persons entitled to receive such
information. If you have received this e-mail in error, please notify the
sender immediately. Please delete it and all attachments from any servers,
hard drives or any other media. Other use of this e-mail by you is strictly
prohibited.


All e-mails and attachments sent and received are subject to monitoring,
reading and archival by Monsanto. The recipient of this e-mail is solely
responsible for checking for the presence of Viruses or other Malware.
Monsanto accepts no liability for any damage caused by any such code
transmitted by or accompanying this e-mail or any attachment.

-


-
This e-mail message may contain privileged and/or confidential information, and 
is intended to be received only by persons entitled to receive such 
information. If you have received this e-mail in error, please notify the 
sender immediately. Please delete it and all attachments from any servers, hard 
drives or any other media. Other use of this e-mail by you is strictly 
prohibited.


All e-mails and attachments sent and received are subject to monitoring, 
reading and archival by Monsanto. The recipient of this e-mail is solely 
responsible for checking for the presence of Viruses or other Malware. 
Monsanto accepts no liability for any damage caused by any such code 
transmitted by or accompanying this e-mail or any attachment.
-


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



restarting tomcat resets the axis deployments

2005-12-05 Thread Mirek Kopriva
Hi,
I'm experiencing a weird behaviour. When I restart tomcat the axist
deployment
dissapears. (generated wsdd file in WEB-INF/)

This started to happen when started using context.xml in META-INF
(needed because of using DataSources form JNDI).

I believe this should be set by some attributes in context.xml, this is how
it starts:
Context path=/xxx reloadable=true
 unpackWAR=false
 privileged=true antiResourceLocking=true antiJARLocking=true

---Resouces
Any ideas greatly welcomed.
Best Regards,
Mirek


tomcat restarting resets the axis deployments

2005-12-05 Thread Mirek Kopriva
Hi,
I'm experiencing a weird behaviour. When I restart tomcat the axist
deployment
dissapears. (generated wsdd file in WEB-INF/)

This started to happen when started using context.xml in META-INF
(needed because of using DataSources form JNDI).

I believe this should be set by some attributes in context.xml, this is how
it starts:
Context path=3D/xxx reloadable=3Dtrue
unpackWAR=3Dfalse
privileged=3Dtrue antiResourceLocking=3Dtrue antiJARLocking=3D=
true

---Resouces
Any ideas greatly welcomed.
Best Regards,
mk


How to reload jsp using ant in Tomcat 5.5?

2005-12-05 Thread Guillermo Sobrino
 

 
Hello,

I'm using Tomcat 5.5 on wich I deploy a web application with ant using:

 

target name=install depends=compile description=Install web application

deploy url=${manager.url} username=${manager.username} 
password=${manager.password}

path=${app.path} 
localwar=file://${install.home}/${component.name}-${component.version}/

/target 

 

where install.home/component.name-component.version is a local directory wich 

contains a typical structure with JSP's and a WEB-INF

directory wich includes lib and classes directories.

I get to deploy the application right, but when I update any jsp in 

my install.home/component.name-component.version local directory 

I can not get Tomcat to update that file. 

I've tried to use the ant reload target as follows:

 

target name=reload depends=compile description=Reload web application 

reload path=${app.path} url=${manager.url} username=${manager.username} 
password=${manager.password}/

/target

 

but it doesn't work for jsp pages.

Anyone could help me, please?

Thanks in advantage.

 

   Guillermo

 

 


jk connector and apache

2005-12-05 Thread Isaac Wieder
Hello,

I wrote in earlier (october 20), but no one responsed.

I have apache 2.0.54 and tomcat 5.0.28 running on a server and they are 
connected through JK.  For some reason, my system has a large number of 
CLOSE_WAITs on the port that tomcat and apache use to communicate (this 
is found by doing netstat -al on linux).  Tomcat switched from port 8009 
to 8010 causing apache to spin off so many threads that it stopped 
responding because port 8009 was still there, but it was not responding to 
any requests.

If I kill tomcat and restart it the problem goes away, but its basically a 
ticking time bomb.

Does anyone know what could cause such a behavior out of from tomcat? 

thanks,

Isaac




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



Re: jk connector and apache

2005-12-05 Thread Mladen Turk

Isaac Wieder wrote:

Hello,

I wrote in earlier (october 20), but no one responsed.

I have apache 2.0.54 and tomcat 5.0.28 running on a server and they are 
connected through JK.  For some reason, my system has a large number of 
CLOSE_WAITs on the port that tomcat and apache use to communicate (this 
is found by doing netstat -al on linux).  Tomcat switched from port 8009 
to 8010 causing apache to spin off so many threads that it stopped 
responding because port 8009 was still there, but it was not responding to 
any requests.


If I kill tomcat and restart it the problem goes away, but its basically a 
ticking time bomb.


Does anyone know what could cause such a behavior out of from tomcat? 



Without config files it's hard to tell,
but you probably have miss configured the mod_jk and Tomcat.

Usually this means that the connections are half-closed, probably
by setting MaxRequestsPerChild.
Usually setting the connectionTimeout=6 in server.xml for AJP
connector will solve that.

Regards,
Mladen.

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



restarting tomcat resets web services/axis deployments

2005-12-05 Thread Mirek Kopriva
Hi,
I'm experiencing a weird behaviour. When I restart tomcat the web services
deployed on axis dissapear. (it's actually generated wsdd file in WEB-INF/)

This started to happen when started using context.xml in META-INF
(needed because of using DataSources form JNDI).

I believe this should be set by some attributes in context.xml, this is how
it starts:

Context path=3D3D/xxx reloadable=3D3Dtrue
   unpackWAR=3D3Dfalse
   privileged=3D3Dtrue antiResourceLocking=3D3Dtrue antiJARLocking=
=3D3D=3D
true

etc.

Any ideas greatly welcomed.
Best Regards,
Mirek


problem loading class in TomCat

2005-12-05 Thread Camila Kozlowski Della Corte
Greetings,

I am developing an application with JSP, and using JSF. Here is a
description of the problem I had with TomCat.

I created a class A which invokes a class B. This class B invokes a class C
(class C is a JUnit class). Both the jar files containing class B and C are
located in the lib folder of my JSP application (the jar file containing
class C is JUnit.jar). When I run my JSP application which uses class A
TomCat does not load the JUnit class, and shows the following error message:

java.lang.NoClassDefFoundError: junit/framework/TestCase
When I run class A as a Java application it works perfectly. I tried many
things but TomCat does not find this class. I have tried putting the
uncompressed classes inside the application classes folder but I get the
same error message. My last trial was to directly call class B of the JSP
application, but I get the same error message.

Class B (which invokes the JUnit class) uses reflection in the
implementation. Is this a problem for this context?

I would like to know if anyone knows what is going on and why I get this
error message. I would appreciate if anyone can give me a clue to solve this
problem.

I am using TomCat version 5.5.9, Eclipse 3.1, Java 1.5.0_04 and JSP 2.0.

Thanks in advance.

Camila


problem loading class in TomCat 5.5.9

2005-12-05 Thread Camila Kozlowski Della Corte
Greetings,

 I am developing an application with JSP, and using JSF. Here is a
description of the problem I had with TomCat.

I created a class A which invokes a class B. This class B invokes a class C
(class C is a JUnit class). Both the jar files containing class B and C are
located in the lib folder of my JSP application (the jar file containing
class C is JUnit.jar). When I run my JSP application which uses class A
TomCat does not load the JUnit class, and shows the following error message:

java.lang.NoClassDefFoundError: junit/framework/TestCase

When I run class A as a Java application it works perfectly. I tried many
things but TomCat does not find this class. I have tried putting the
uncompressed classes inside the application classes folder but I get the
same error message. My last trial was to directly call class B of the JSP
application, but I get the same error message.

Class B (which invokes the JUnit class) uses reflection in the
implementation. Is this a problem for this context?

I would like to know if anyone knows what is going on and why I get this
error message. I would appreciate if anyone can give me a clue to solve this
problem.

I am using TomCat version 5.5.9, Eclipse 3.1, Java 1.5.0_04 and JSP 2.0.

Thanks in advance.

Camila


Re: AJP13: request headers max packet size

2005-12-05 Thread Bill Barker
I'm afraid that the 8KB limit is part of the AJP/1.3 protocol, so it is very 
unlikely to get fixed until AJP/1.4.  At the moment, AJP/1.4 is just 
vapor-ware ;-).  To do anything else would likely break too many 
installations in very horrible ways.

Of course, you're free to modify the source for isapi_redirect.dll to change 
the size (you'll have to make the corresponding change to the Java side of 
the Connector).

KARNATI, SRINIVASA R [AG/1000] [EMAIL PROTECTED] wrote in 
message 
news:[EMAIL PROTECTED]
We have run into 8 kb (max packet size) limit. We are using Kerberos
authentication in Active Directory environment. For some of our application
users Kerberos ticket that gets passed via HTTP header exceeds 8 kb.

The debug log shows connector fails even before trying to send headers. We
are using IIS with isapi_redirector2.dll. In another scenario we have IIS
with isap_redirect.dll (2.1.15.)

Unfortunately, using HTTP (8080) connector is not an option.

I am wondering if MAX_PACKET_SIZE can be passed as configurable option, or
if this could be fixed in future releases of the connector?

Thanks, Srini



-
This e-mail message may contain privileged and/or confidential information, 
and is intended to be received only by persons entitled to receive such 
information. If you have received this e-mail in error, please notify the 
sender immediately. Please delete it and all attachments from any servers, 
hard drives or any other media. Other use of this e-mail by you is strictly 
prohibited.


All e-mails and attachments sent and received are subject to monitoring, 
reading and archival by Monsanto. The recipient of this e-mail is solely 
responsible for checking for the presence of Viruses or other Malware. 
Monsanto accepts no liability for any damage caused by any such code 
transmitted by or accompanying this e-mail or any attachment.
-





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



Re: problem loading class in TomCat 5.5.9

2005-12-05 Thread Giorgio Clavelli
It seems you have a classpath problem. You should add to your classpath the
jUnit jar file.
Hope it helps.
Giorgio

On 12/6/05, Camila Kozlowski Della Corte [EMAIL PROTECTED] wrote:

 Greetings,

 I am developing an application with JSP, and using JSF. Here is a
 description of the problem I had with TomCat.

 I created a class A which invokes a class B. This class B invokes a class
 C
 (class C is a JUnit class). Both the jar files containing class B and C
 are
 located in the lib folder of my JSP application (the jar file containing
 class C is JUnit.jar). When I run my JSP application which uses class A
 TomCat does not load the JUnit class, and shows the following error
 message:

 java.lang.NoClassDefFoundError: junit/framework/TestCase

 When I run class A as a Java application it works perfectly. I tried many
 things but TomCat does not find this class. I have tried putting the
 uncompressed classes inside the application classes folder but I get the
 same error message. My last trial was to directly call class B of the JSP
 application, but I get the same error message.

 Class B (which invokes the JUnit class) uses reflection in the
 implementation. Is this a problem for this context?

 I would like to know if anyone knows what is going on and why I get this
 error message. I would appreciate if anyone can give me a clue to solve
 this
 problem.

 I am using TomCat version 5.5.9, Eclipse 3.1, Java 1.5.0_04 and JSP 2.0.

 Thanks in advance.

 Camila




Re: How can I get TomCat5.0.28 use JK1.2

2005-12-05 Thread Bill Barker

David Chen [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Hi, there:

 I have problems to integrate TomCat5.0.28 with IIS5 on Win2000. The 
 problem
 seems that from Apache web site it says JK2 was deprecated ( it's weird to
 deprecate the higher version of product, isn't it?) and recommended to use
 JK1.2 ( the latest version is JK1.2.15). However, in TomCat5.0.28 
 server.xml
 it seems using JK2 by default like:
 
!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector port=8009
   enableLookups=false redirectPort=8443 debug=0
   protocol=AJP/1.3 /
 Also from log it says:
 INFO: JK2: ajp13 listening on /0.0.0.0:8009
 -

 So, my question is: how can I set up TomCat5.0.28 to use JK1.2.15? By the
 way did anyone get TomCat5.0.28 + JK1.2.15 + IIS 5 working? Could you 
 please
 share some of your experience?


Both Jk2 and Jk speak the same protocol to Tomcat.  The message is just that 
you are using a very old version of Tomcat, so it still thinks that Jk2 is 
the current version.  Tomcat works just as well (and, can't even tell the 
difference :) with Jk as it does with Jk2.

 Thanks a lot in advance, highly appreciated any comments or suggestions.

 David
 




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