Problem with Tomcat memory and poi library

2007-08-28 Thread Alberto Pedrera

Sorry by my poor level of English.
I have an application J2EE that uses the libs toi and tomcat 5. It uses a
great amount of data. When I create a file excel the amount of memory that
uses tomcat increases and this memory is never liberate.
I have closed the connections with the data base, I have invoked to the
garbage collector, I have read the solutions of this page
http://tomcat.apache.org/faq/memory.html but nothing works.

Somebody can help me???

If somebody is able to solve it, he is invited Spain

Best regards.
Thank you.
-- 
View this message in context: 
http://www.nabble.com/Problem-with-Tomcat-memory-and-poi-library-tf4340385.html#a12363963
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



SSL and non-secure items

2007-08-28 Thread is_maximum

Hi experts,

I have a web application configured to be secured by ssl, the problem is at
some pages the browser displays a dialog box as a warning that says, this
page contains both secure and non-secure items do you want to display
non-secure items? and the user has two options yes and no.

actually, this page is a table like a grid contains information, and it is
paged so user can navigate between pages and for each page this message is
displaying.

my questions are, 
1- why this message appears?
2- how can I find which items are non-secure?
3- how to prevent this message to be displayed programatically?

thank you very much
-- 
View this message in context: 
http://www.nabble.com/SSL-and-non-secure-items-tf4340400.html#a12363998
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SSL and non-secure items

2007-08-28 Thread Jérôme Etévé
Hi !

 To avoid having that message (which can make your users insecure),
all the resources you use in your page must be served by the securized
server. This includes css, javascript, images , etc.

Go through your code and you might find some resources which uses full
unsecure http:// urls.

I don't know if one can avoid this message programmatically, but as
soon as it's a security feature, I doubt it.

Jerome.

On 8/28/07, is_maximum <[EMAIL PROTECTED]> wrote:
>
> Hi experts,
>
> I have a web application configured to be secured by ssl, the problem is at
> some pages the browser displays a dialog box as a warning that says, this
> page contains both secure and non-secure items do you want to display
> non-secure items? and the user has two options yes and no.
>
> actually, this page is a table like a grid contains information, and it is
> paged so user can navigate between pages and for each page this message is
> displaying.
>
> my questions are,
> 1- why this message appears?
> 2- how can I find which items are non-secure?
> 3- how to prevent this message to be displayed programatically?
>
> thank you very much
> --
> View this message in context: 
> http://www.nabble.com/SSL-and-non-secure-items-tf4340400.html#a12363998
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Jerome Eteve.
[EMAIL PROTECTED]
http://jerome.eteve.free.fr/

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem with Tomcat memory and poi library

2007-08-28 Thread Alberto Pedrera

Hi, my application continues to work well but if I create many excel files i
will obtain a OutOfMemory exceptions. It does not seem that it's a bug into
poi library.



Jérôme Etévé-2 wrote:
> 
> Hi . Do you have OutOfMemory exceptions or does your application
> continues to work well ?
> Do you have circular referenced structures in your application ?
> Perhaps it's a bug into your excel file generating library ?
> 
> 
> 
> On 8/28/07, Alberto Pedrera <[EMAIL PROTECTED]> wrote:
>>
>> Sorry by my poor level of English.
>> I have an application J2EE that uses the libs toi and tomcat 5. It uses a
>> great amount of data. When I create a file excel the amount of memory
>> that
>> uses tomcat increases and this memory is never liberate.
>> I have closed the connections with the data base, I have invoked to the
>> garbage collector, I have read the solutions of this page
>> http://tomcat.apache.org/faq/memory.html but nothing works.
>>
>> Somebody can help me???
>>
>> If somebody is able to solve it, he is invited Spain
>>
>> Best regards.
>> Thank you.
>> --
>> View this message in context:
>> http://www.nabble.com/Problem-with-Tomcat-memory-and-poi-library-tf4340385.html#a12363963
>> Sent from the Tomcat - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> Jerome Eteve.
> [EMAIL PROTECTED]
> http://jerome.eteve.free.fr/
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-Tomcat-memory-and-poi-library-tf4340385.html#a12364530
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat Feature List

2007-08-28 Thread Leon Rosenberg
Since you are working for an internation software company and are
probably supposed to perform some research in your paid time, i think
its fair to point you to the fact that our time is unpaid, so ... use
google.

Leon

On 8/28/07, Sachin Mehrotra <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> I want to go through the feature list for the Tomcat 5.x, Can you please
> mail me or point me to the location where I can find them.
>
>
>
> Thanks,
>
> Sachin
>
>
>
>

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem with Tomcat memory and poi library

2007-08-28 Thread Jérôme Etévé
Hi . Do you have OutOfMemory exceptions or does your application
continues to work well ?
Do you have circular referenced structures in your application ?
Perhaps it's a bug into your excel file generating library ?



On 8/28/07, Alberto Pedrera <[EMAIL PROTECTED]> wrote:
>
> Sorry by my poor level of English.
> I have an application J2EE that uses the libs toi and tomcat 5. It uses a
> great amount of data. When I create a file excel the amount of memory that
> uses tomcat increases and this memory is never liberate.
> I have closed the connections with the data base, I have invoked to the
> garbage collector, I have read the solutions of this page
> http://tomcat.apache.org/faq/memory.html but nothing works.
>
> Somebody can help me???
>
> If somebody is able to solve it, he is invited Spain
>
> Best regards.
> Thank you.
> --
> View this message in context: 
> http://www.nabble.com/Problem-with-Tomcat-memory-and-poi-library-tf4340385.html#a12363963
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Jerome Eteve.
[EMAIL PROTECTED]
http://jerome.eteve.free.fr/

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat Feature List

2007-08-28 Thread Leon Rosenberg
how about reading the JSRs?

On 8/28/07, Sachin Mehrotra <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Yes, that's correct, I have searched the Net but somehow I am not able
> to find out this, also I had looked at the tomcat site but not able to
> find out, that's why I dropped a mail on this group.
>
> Thanks,
> Sachin
>
> -Original Message-
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 28, 2007 2:54 PM
> To: Tomcat Users List
> Subject: Re: Tomcat Feature List
>
> Since you are working for an internation software company and are
> probably supposed to perform some research in your paid time, i think
> its fair to point you to the fact that our time is unpaid, so ... use
> google.
>
> Leon
>
> On 8/28/07, Sachin Mehrotra <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> >
> >
> > I want to go through the feature list for the Tomcat 5.x, Can you
> please
> > mail me or point me to the location where I can find them.
> >
> >
> >
> > Thanks,
> >
> > Sachin
> >
> >
> >
> >
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat Feature List

2007-08-28 Thread Sachin Mehrotra
Hi,

Yes, that's correct, I have searched the Net but somehow I am not able
to find out this, also I had looked at the tomcat site but not able to
find out, that's why I dropped a mail on this group.

Thanks,
Sachin

-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 28, 2007 2:54 PM
To: Tomcat Users List
Subject: Re: Tomcat Feature List

Since you are working for an internation software company and are
probably supposed to perform some research in your paid time, i think
its fair to point you to the fact that our time is unpaid, so ... use
google.

Leon

On 8/28/07, Sachin Mehrotra <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> I want to go through the feature list for the Tomcat 5.x, Can you
please
> mail me or point me to the location where I can find them.
>
>
>
> Thanks,
>
> Sachin
>
>
>
>

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to profile Tomcat with Rational Purify

2007-08-28 Thread Hitesh Raghav
Hi,

What are the steps for profiling a web server (i.e. Tomcat)?

We have Tomcat with our some custom implementations.
I've to do Tomcat profiling with Rational Purify.


Thanks,
-Hitesh

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat Feature List

2007-08-28 Thread Sachin Mehrotra
Not able to find out much from the JSRs, actually I looking for the
feature list from HTTP Specification point of view means what are the
features tomcat provide for the HTTP.

Thanks,
Sachin

-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 28, 2007 3:17 PM
To: Tomcat Users List
Subject: Re: Tomcat Feature List

how about reading the JSRs?

On 8/28/07, Sachin Mehrotra <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Yes, that's correct, I have searched the Net but somehow I am not able
> to find out this, also I had looked at the tomcat site but not able to
> find out, that's why I dropped a mail on this group.
>
> Thanks,
> Sachin
>
> -Original Message-
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 28, 2007 2:54 PM
> To: Tomcat Users List
> Subject: Re: Tomcat Feature List
>
> Since you are working for an internation software company and are
> probably supposed to perform some research in your paid time, i think
> its fair to point you to the fact that our time is unpaid, so ... use
> google.
>
> Leon
>
> On 8/28/07, Sachin Mehrotra <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> >
> >
> > I want to go through the feature list for the Tomcat 5.x, Can you
> please
> > mail me or point me to the location where I can find them.
> >
> >
> >
> > Thanks,
> >
> > Sachin
> >
> >
> >
> >
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JNDI caching

2007-08-28 Thread David Delbecq
Hello,

we have several tools here that access a common JNDI structure for user
listing / authentification / authorization. There is a LDAP tomcat realm
+ 2 tools that request direct access to List and properties of users/groups.

Our problem is as follow

1) if the LDAP server change, we need to change quite a lot of config
files to point to new server.
2) we are using an NIS dircontext. This presents the disavantage of
having an implementation that creates round 300 temporary threads (arg!)
5 or 6 times in a row (re-argl) for each tools initializing.

We would like to provide some kind of proxy, that will pump the whole
directory structure and present it as a Context attached to the tomcat
jndi. Before getting in to code such proxy and awfull Enumeration and
Search methods in it, does someone know of a tool that already does this?

Thanks a lot.


-- 
http://www.noooxml.org/


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat Session Replication at undeploy/install (6.0.14 / windows)

2007-08-28 Thread hans.mader
Hello,

if I reload a context, all sessions are going to be 
serialized and deserialized automatically.

Is the same possible at undeploy / deploy?

The problem is, that all users are thrown out of their apps
if we "redeploy" under production.
(I know thats not recommended, but sometimes its really necessary...)

Thanks!

Hans.





Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. 
Vielen Dank.

This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat looses POST parameters

2007-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Arjan,

M4N - Arjan Tijms wrote:
> Christopher Schultz wrote:
>> No, your filter will only be executed after the login has been handled,
>> since Tomcat's authentication is done using a valve, which is processed
>> before any filters.
>
> I see. The thing is, I'm not using any container managed authentication
> at all. All authentication is handled by the application.

Oh, well, that's different, then ;)

> But even if I
> used the container's (Tomcat's) authentication, then it still would be
> Tomcat's code than ran before my code, right?


Uh, I'm not really sure what you're saying, here. TCs auth code /will/
run before any of your code if you are using it. Since you're not, your
own auth code will run whenever you have configured it to do so.

Do you implement authentication and authorization as a filter? Or, do
you have something else going on? I'm asking because it's possible your
own authentication mechanism has a bug or two that is somehow killing
the request parameters.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1CG79CaO5/Lv0PARAnCgAJ4pAKGKhNWpnd1FMl1vut8flBZ+MACgglvW
otYD3KMYiEZ7kw4dDuMs+dI=
=tPZ6
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [mod_jk] problem serving URIs with 'special characters'

2007-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Guy,

Guy Katz wrote:
> Hi;
> Sorry for the beginner's question but does this means that I need to
> compile mod_jk1.2.25 against my apache 2.0.52? Or can I still use the
> 1.2.25 from the tomcat connector downloads page as a drop-in
> replacement.

IMO, you should /always/ compile your own. It's super easy to do, and
you get a binary that is pretty much guaranteed to work properly with
your version.

- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1CLR9CaO5/Lv0PARAhbDAKCFJWHVMaAeN+pQOIB6cL4gR3An2QCffYXg
2zIm5CkDxTlfFgt+dCS8cgc=
=0wgb
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat not starting properly.

2007-08-28 Thread Potri Raaja

Hi,

When I try to start my tomcat I am getting the following error, it is
not getting started properly.

HC-APACHE:~/jakarta-tomcat-5.0.28/bin # ./startup.sh 
Using CATALINA_BASE:   /root/jakarta-tomcat-5.0.28
Using CATALINA_HOME:   /root/jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: /root/jakarta-tomcat-5.0.28/temp
Using JAVA_HOME:   /root/j2sdk1.4.2
Exception in thread "main" java.lang.NoClassDefFoundError:  
HC-APACHE:~/jakarta-tomcat-5.0.28/bin # 

Can you please suggest me to overcome this error.Waiting for your favourable
reply.

Regards,
Potri Raaja.M.
-- 
View this message in context: 
http://www.nabble.com/Tomcat-not-starting-properly.-tf4341696.html#a12367812
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat Feature List

2007-08-28 Thread Mark H. Wood
I take it that you found http://tomcat.apache.org ?  In what way does
it not answer your question?

Your question is rather vague -- the answer depends on what you
consider to be a "feature".  What do you expect to find?

-- 
Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
Typically when a software vendor says that a product is "intuitive" he
means the exact opposite.



pgpnGYe8brzMo.pgp
Description: PGP signature


Re: 20 Tips for Using Tomcat in Production

2007-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chuck and Ole,

Caldarale, Charles R wrote:
>> From: Ole Ersoy [mailto:[EMAIL PROTECTED] 
>> Subject: Re: 20 Tips for Using Tomcat in Production
>>
>> Anyone know if there is a way to verify that the 
>> jvm is running in server mode?
> 
> Enable JMX and use JConsole to look inside, or install Lambda Probe and
> look at its System Information tab.  Get Lambda Probe from here:
> http://www.lambdaprobe.org

Or just look at the value for the system property "java.vm.name". It
should either say "Client" or "Server" somewhere in there (at least when
using a Sun VM).

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1CKX9CaO5/Lv0PARAkV7AKDDs/bTF34kI4wvoZA8gCOYBM1XyQCghXgO
e4NZ5zkjCv1wDdFfJ4fRCs0=
=3sG/
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 20 Tips for Using Tomcat in Production

2007-08-28 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
> Subject: Re: 20 Tips for Using Tomcat in Production
> 
> Or just look at the value for the system property "java.vm.name".

Yes, that's exactly what both JConsole and Lambda Probe do; I was just
trying to suggest a mechanism that didn't require writing additional
code.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem with Tomcat memory and poi library

2007-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alberto,

Alberto Pedrera wrote:
> Hi, my application continues to work well but if I create many excel files i
> will obtain a OutOfMemory exceptions. It does not seem that it's a bug into
> poi library.

Could you post a part of your code to the list? Specifically, we would
probably need to see the part of your code that actually calls the POI
library methods.

- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1COu9CaO5/Lv0PARAt+tAJ43H7jovTo7IC8YN+6qhjLueob1bACglvUr
DOFvP6UPUxoyucX/yzg+F64=
=1WO5
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat (javac)compilation arguments

2007-08-28 Thread Brian Munroe
On 8/27/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:

>
> I'm really curious about one thing:  if the OP has a 64-bit environment,
> why is he being so stingy with heap space?
>

In the OP, what I found interesting was that the default heap size
wasn't enough to start Tomcat?  According to SUN, the default is
around 83 MB for 64-bit JVMs [1].

Does that make sense?  Manivannan mentioned that Tomcat doesn't throw
any exceptions, it just never starts.  I wouldn't have thought that
heap was the problem at that point.

-- brian

[1] - http://java.sun.com/docs/hotspot/HotSpotFAQ.html#64bit_heap_defaults

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Session replication vs stateless

2007-08-28 Thread lightbulb432


That sounds about right. Don't forget that you can't be stateless if you
> need logins of some type (unless you use BASIC auth, which looks ugly
> from a user point of view).

Why is this? Others who answered to this thread and discussions in general
around web applications describe statelessness as an option for
fully-functional webapps, which I imagine includes login functionality.


I'm not convinced you can reasonably do authenticated transactions
> (using Tomcat's auth) without stateful connections. You can hack around
> with storing login cookies or doing your own auth management, but I like
> the simplicity of using J2EE auth.

Could you describe the limitations of statelessness as it relates to
Tomcat's authorization? If you use your own custom login functionality then
I see how there's no problem (just check the cookie or database for the
current session ID for the right credentials, then allow access), but is the
same mechanism not possible or available when trying to use the Tomcat or
standard Servlet authentication mechanism?


Pretty much nothing, unless you get lots of people who login and then
> walk away from their computers, and for some reason all of the
> walk-aways get assigned to one server, while all the other (active)
> users end up on another server. Then, you'd have one server with lots of
> load and one that's basically idle. This is unlikely, though.

What's Tomcat's algorithm for load-balancing while taking into account
session affinity?

I remember in the response to another of my threads on this list people
saying that it's generally outdated to use connectors and front Tomcat with
Apache. I just want to confirm that it's the connector mechanism by which
load balancing is possible with Tomcat, right?

On what machine is the connector software usually on? If you have 5 machines
with Tomcat on each, would you have the load balancer on one of those, on a
dedicated machine, or would you have some other setup? What's generally done
in production for high-availability sites?
-- 
View this message in context: 
http://www.nabble.com/-OT--Session-replication-vs-stateless-tf4325727.html#a12369222
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem with Tomcat memory and poi library

2007-08-28 Thread ovidiu asiminei
Hi Alberto,



You're out of memory ? - add more to your heap.



First look at java -X to determine what parameters to set. Then you can set
them via the environment variable JAVA_OPTS.



Eg:



JAVA_OPTS="-Xms128M -Xmx512M"



Regards,



Ovidiu




On 8/28/07, Alberto Pedrera <[EMAIL PROTECTED]> wrote:
>
>
> Sorry by my poor level of English.
> I have an application J2EE that uses the libs toi and tomcat 5. It uses a
> great amount of data. When I create a file excel the amount of memory that
> uses tomcat increases and this memory is never liberate.
> I have closed the connections with the data base, I have invoked to the
> garbage collector, I have read the solutions of this page
> http://tomcat.apache.org/faq/memory.html but nothing works.
>
> Somebody can help me???
>
> If somebody is able to solve it, he is invited Spain
>
> Best regards.
> Thank you.
> --
> View this message in context:
> http://www.nabble.com/Problem-with-Tomcat-memory-and-poi-library-tf4340385.html#a12363963
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
ovidiu asiminei


Re: SSL and non-secure items

2007-08-28 Thread Paul Singleton

is_maximum wrote:

Hi experts,

I have a web application configured to be secured by ssl, the problem is at
some pages the browser displays a dialog box as a warning that says, this
page contains both secure and non-secure items do you want to display
non-secure items? and the user has two options yes and no.

actually, this page is a table like a grid contains information, and it is
paged so user can navigate between pages and for each page this message is
displaying.

my questions are, 
1- why this message appears?


Because the browser you're using is Internet Explorer 6?


2- how can I find which items are non-secure?


1) just say "no" and notice which items don't appear

2) use the "View / Source" feature and look for http:// urls


3- how to prevent this message to be displayed programatically?

thank you very much


Paul S.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Session replication vs stateless

2007-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Lb,

lightbulb432 wrote:
> 
>> Don't forget that you can't be stateless if you
>> need logins of some type (unless you use BASIC auth, which looks ugly
>> from a user point of view).
> 
> Why is this? Others who answered to this thread and discussions in general
> around web applications describe statelessness as an option for
> fully-functional webapps, which I imagine includes login functionality.

Well, Tomcat must keep authentication information somewhere in memory
after you login, even if it doesn't use a session to manage it (which
I'm sure it does, though I think the auth information is not stored /in/
the session, but rather associated with it in some other way).

If you aren't replicating sessions between Tomcat instances, you can't
switch instances without logging-in again.

>> I'm not convinced you can reasonably do authenticated transactions
>> (using Tomcat's auth) without stateful connections. You can hack around
>> with storing login cookies or doing your own auth management, but I like
>> the simplicity of using J2EE auth.
> 
> Could you describe the limitations of statelessness as it relates to
> Tomcat's authorization?

See above.

> If you use your own custom login functionality then
> I see how there's no problem (just check the cookie or database for the
> current session ID for the right credentials, then allow access)

Actually, this might not be possible if you're trying to use session
information (without a few hacks). Since Tomcat will respond to an
invalid session id request by creating a new session (new id), switching
instances will result in the old session cookie being replaced by the
new one. You will end up constantly re-writing the session id in the
database you use to maintain login information.

> but is the
> same mechanism not possible or available when trying to use the Tomcat or
> standard Servlet authentication mechanism?

Unless you write your own Realm, I don't think this is possible.

> What's Tomcat's algorithm for load-balancing while taking into account
> session affinity?

I don't believe that Tomcat does any load balancing at all. Also, with
session affinity, there's no balancing going on once you are assigned to
a server (unless that one goes down).

For info on lb algorithms, you'd need to look at your load balancer. I
believe that mod_jk can be configured to use one of several types,
including an estimated "load" to try and route new visitors to the
more-idle members in the cluster.

> I remember in the response to another of my threads on this list people
> saying that it's generally outdated to use connectors and front Tomcat with
> Apache. I just want to confirm that it's the connector mechanism by which
> load balancing is possible with Tomcat, right?

Well, it's one way. You can certainly use a hardware load balancer, too,
which is probably better in the long run.

> On what machine is the connector software usually on?

It's always on the web server.

> If you have 5 machines
> with Tomcat on each, would you have the load balancer on one of those, on a
> dedicated machine, or would you have some other setup? What's generally done
> in production for high-availability sites?

It's really up to you and the requirements of your software. Some
applications can actually run within the DMZ and so it doesn't matter if
you run, say, Apache httpd on one of the app servers along with Tomcat.
Or, you could even run it on all of them.

Most often, you'll see that the web servers live in the DMZ and are
directly accessible from the Internet, while the application servers
live on a private subnet in the back, and can only be accessed from
within the DMZ or that private subnet.

The lbs can be anywhere, but generally sit way out at the front, and are
the only things accessible from the Internet.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1EL99CaO5/Lv0PARAj9lAKChBbFkMRLdSfO4x2xXFFFxY88t4QCgm7gc
cjQWB4jdTbFTdSvbDpaUy44=
=hlNZ
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: URL context mapping

2007-08-28 Thread Tobias Barth
Hi,

Put Apache and mod_rewrite in front of Tomcat.

*Tobias Barth*
Dipl. Informatiker
Senior Webentwickler

*Web Arts AG*
Ferdinandstraße 18
61348 Bad Homburg v. d. Höhe
http://www.web-arts.com

Tel.: +49.6172.68097-28
Fax: +49.6172.68097-77
[EMAIL PROTECTED] 


*Sitz der Gesellschaft:* Bad Homburg v. d. Höhe | *Amtsgericht:* Bad
Homburg v. d. Höhe HRB 6719
*Steuernummer:* 003 248 00118 Finanzamt Bad Homburg v. d. Höhe
*Vorstand:* Thorsten Barth, André Morys | *Aufsichtsrat:* Gerhard
Beinhauer (Vors.)


Jon Wanlass schrieb:
> Is there an easy way to map URLs including contexts (i.e. 
> client.ourCompany.com/client ) to the same context?  
>
>  
>
> We cannot simply change the URL for everyone to the same URL with the same 
> context because we have thousands of mobile devices in the field pointing to 
> the original URL  (i.e. “company1.ourcompany.com/company1”) and they are not 
> easy to update.
>
>
>   

> Internal Virus Database is out-of-date.
>   
^^



RE: URL context mapping

2007-08-28 Thread Caldarale, Charles R
> From: Jon Wanlass [mailto:[EMAIL PROTECTED] 
> Subject: URL context mapping
> 
> We have 100+ clients all with their own **identical** context 
> in the webapps dir.  We would like to merge all contexts into 
> one in order to soften memory requirements and make it more 
> manageable.

This sounds like a really, really bad idea.  Doing such a merge will
cause an outage for all clients if any of them has a hiccup.  Memory is
cheap; why not buy some, if that's really the problem?

> Is there an easy way to map URLs including contexts (i.e. 
> client.ourCompany.com/client ) to the same context?  

You can write a valve or filter to redirect or forward requests to
whatever URL you want.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



URL context mapping

2007-08-28 Thread Jon Wanlass
Hello List – 

 

We have 100+ clients all with their own **identical** context in the webapps 
dir.  We would like to merge all contexts into one in order to soften memory 
requirements and make it more manageable.  We have tried using the docbase 
attribute in the context.xml but found that it still stores its own class 
copies in memory not reducing our memory requirements by much.  So my question 
is:

 

Is there an easy way to map URLs including contexts (i.e. 
client.ourCompany.com/client ) to the same context?  

 

We cannot simply change the URL for everyone to the same URL with the same 
context because we have thousands of mobile devices in the field pointing to 
the original URL  (i.e. “company1.ourcompany.com/company1”) and they are not 
easy to update.

 

Thanks,

 

Jon Wanlass

 


Internal Virus Database is out-of-date.
Checked by AVG Free Edition. 
Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 5:44 
PM
 


Re: Tomcat looses POST parameters

2007-08-28 Thread M4N - Arjan Tijms

Christopher Schultz wrote:


Uh, I'm not really sure what you're saying, here. TCs auth code /will/
run before any of your code if you are using it.

Of course, but that's exactly what I'm saying. If Tomcat's auth code 
runs first, than the possible error would be in Tomcat's code.



Do you implement authentication and authorization as a filter? Or, do
you have something else going on? I'm asking because it's possible your
own authentication mechanism has a bug or two that is somehow killing
the request parameters.
 

The custom authentication method is filter based. I installed the filter 
that prints the request parameters to the log as the very first filter 
in the chain; this means it gets called before any other filter does. 
So, the logging is the very first piece of my code that gets called when 
processing a single request.


Like I said earlier: in the AJP connector the parameters are there and 
at the first opportunity that my own code can run they are gone. They 
get lost somewhere in between. Since none of my code runs in between, 
it's hard to say what happens. I might try building a debug Tomcat that 
does some extra logging at key points in the request handling, but for a 
high volume production server this would really be my last resort.


Kind regards,
Arjan Tijms


--
It's a cult. If you've coded for any length of time, you've run across someone 
from this warped brotherhood. Their creed: if you can write complicated code, 
you must be good.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat (javac)compilation arguments

2007-08-28 Thread Caldarale, Charles R
> From: Brian Munroe [mailto:[EMAIL PROTECTED] 
> Subject: Re: Tomcat (javac)compilation arguments
> 
> In the OP, what I found interesting was that the default heap size
> wasn't enough to start Tomcat?  According to SUN, the default is
> around 83 MB for 64-bit JVMs [1].

That's the minimum value for the maximum heap size.  If the JVM detects
that it's running on a server-class machine (any 64-bit system, for
example), it's more complicated:
http://java.sun.com/j2se/1.5.0/docs/guide/vm/server-class.html
http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html

> Manivannan mentioned that Tomcat doesn't throw any exceptions,
> it just never starts.  I wouldn't have thought that heap was 
> the problem at that point.

Probably not, but there's precious little real information in the
problem statement.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 6 and log4j for a web application

2007-08-28 Thread Filip Hanik - Dev Lists

you need to use log4j in your hello.jsp, and not the log(String) method

Filip

fredk2 wrote:

Many thanks for the response. For some reasons I did not see it over the (hot
and humid) weekend.

yes - I did those steps and it does work well ...  although in my case I
cannot use TC_HOME (read-only) for the log4j.properties (and log4j.jar) - I
need it in TC_BASE so it can be customized.

In either case, the challenge I have is that if I add to my hello.jsp the
line:

<% log( "this is a log message" ); %>

The message is logged in the (common) tomcat logfile and not in the webapp's
logfile defined in its WEB-INF/classes/log4j.properties.  So I must not be
understanding some concept here :-( 


Rgds - Fred



Filip Hanik - Dev Lists wrote:
  

for tomcat container logging, its easy

1. put log4j.jar in TC_HOME/lib
2. put log4j.properties in TC_HOME/lib
3. compile the extras
   ant -f extras.xml
4. replace TC_HOME/bin/tomcat-juli.jar with the one compiled from step 3
5. put extras//tomcat-juli-adapters.jar in TC_HOME/lib

and that's it, no need to mess with anything else

and for webapp logging, that was described earlier

Filip

fredk2 wrote:


I would like both one /lib/log4j.properties for the main
Tomcat
container logging and another log4j for each web apps - where you set its
log filename and rotation etc...

The tomcat logging would be of interest to an admin and the web app logs
to
the developer.

Do I make sense?

Tx - Fred


Filip Hanik - Dev Lists wrote:
  
  

if you want to use log4j in your application only,
then forget everything you read on logging.html

all you need to do is log4j.jar in WEB-INF/lib
log4j.properties in WEB-INF/classes

the steps you are outlining, are converting tomcat from using 
java.util.logging to log4j for the container. and you don't need those 
steps if all you want is log4j for a webapp


Filip

fredk2 wrote:



Hi,

still reading :-)  http://tomcat.apache.org/tomcat-6.0-doc/logging.html

I have setup log4j as above, but with a little twist.
If you permission $CATALINA_HOME as read only and you want to customize
the
log4j.properties then you need to install the log4j1.2.14.jar and
log4j.properties in $CATALINA_BASE/lib.
You also need to adjust the catalina.properties common.loader 


common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar

The tomcat logging works well. However, I have 2 questions related to
installing log4j for a web application:

1.  why does the documentation say to add log4j1.2.x.jar to the
WEB-INF/lib, 
isn't it already loaded by the common.loader at this point?


2.  is there a way to add a WEB-INF/classes/log4j.properties to log to
myapp1.log and capture all the logs related to the web application ? 
Why

would'nt the following create a myapp1.log?

/WEB-INF/classes/log4j.properties ->

log4j.debug=TRUE
log4j.rootLogger=DEBUG,myapp1

# test logger
log4j.logger.org.apache=DEBUG,myapp1

# Log rotation
log4j.appender.myapp1=org.apache.log4j.DailyRollingFileAppender
log4j.appender.myapp1.File=${catalina.base}/logs/myapp1.log
log4j.appender.myapp1.DatePattern='.'-MM-dd
# Print the date in ISO 8601 format
log4j.appender.myapp1.layout=org.apache.log4j.PatternLayout
log4j.appender.myapp1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n


Any hints - suggestions are appreciated,
Many Thanks - Fred
  
  
  

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





  
  

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat Session Replication at undeploy/install (6.0.14 / windows)

2007-08-28 Thread Filip Hanik - Dev Lists

[EMAIL PROTECTED] wrote:

Hello,

if I reload a context, all sessions are going to be 
serialized and deserialized automatically.


Is the same possible at undeploy / deploy?
  

yes, works the same way

The problem is, that all users are thrown out of their apps
if we "redeploy" under production.
  

wanna give us a test case?

Filip

(I know thats not recommended, but sometimes its really necessary...)

Thanks!

Hans.





Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. Vielen Dank. 


This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat looses POST parameters

2007-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Arjan,

M4N - Arjan Tijms wrote:
> Christopher Schultz wrote:
> 
>> Uh, I'm not really sure what you're saying, here. TCs auth code /will/
>> run before any of your code if you are using it.
>>
> Of course, but that's exactly what I'm saying. If Tomcat's auth code
> runs first, than the possible error would be in Tomcat's code.

Yes, but you're not using Tomcat for authentication, so Tomcat's code
/never/ runs.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1F1o9CaO5/Lv0PARAgenAKCz1f9XeVxIBmiGftOJTbtp1+ARwwCdHKnb
qfiatEk+8Ba/N3nsJDlbbYw=
=YzGD
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I'm in a mess with Tomcat 5.5

2007-08-28 Thread Ole Ersoy

It looks like they are repackaging Tomcat to use an FHS layout for all the 
directories and files.  You would place webapps in 
/var/lib/apace-tomcat/webapps and secure the directory correspondingly with the 
group as tomcat and the user as root, only giving root write permissions, etc.  
JPackage does this.

These packages usually do a pretty good job at securing tomcat, however 
documentation is usually lacking, so you'd have to read the RPM spec or 
something similar.

The one scary thing about JPackage, for instance, is that they try to shoehorn 
in dependencies.  So say for instance you have a package that was built using 
maven and a dependency with version number 1.2.3.  Well, the curent release of 
JPackage only supports dependency 1.1.1.  Well, they might give that dependency 
a try, and if it seems to work, just use it.

So I think you are best off either packaging Tomcat yourself, or just 
installing it as recommended by others here.

Cheers,
- Ole




David Smith wrote:
You might want to start with asking the Ubuntu packagers about this.  A 
_*normal*_ tomcat installation using the .tar.gz or .zip archive from an 
Apache mirror is not structured like this.  If you can't find any help 
there, you might want to remove the tomcat packages and just install the 
.tar.gz distribution from the Apache Tomcat website.


--David

jeusdi wrote:
I've installed Tomcat 5.5 into my Ubuntu + sun-java-1.5, 
tomcat5.5-webapps

and tomcat5.5-admin.

I'm in a mess because the structure of directories has changed.
   For example:*tomcat5.5-webapps package installs webapps 
into

/usr/share/tomcat5.5-webapps, but tomcat5.5 is in /usr/share/tomcat5.5
(symbolic link to /var/lib/tomcat5.5 !!). I don't know how on earth
tomcat5.5 can find these webapps?
   *Other question is when I deploy a single war file 
correctly, it

is deployed into /var/lib/tomcat5.5/webapps

As you can see bellow (executing a "ls -l"):
/usr/share/tomcat5.5/:
   ... bin
   ... common
   ... conf -> /var/lib/tomcat5.5/conf
   ... doc -> ../doc/tomcat5.5
   ... logs -> /var/lib/tomcat5.5/logs
   ... server
   ... shared -> /var/lib/tomcat5.5/shared
   ... temp -> /var/lib/tomcat5.5/temp
   ... work -> /var/lib/tomcat5.5/work

/var/lib/tomcat5.5/:
   ... conf
   ... logs -> ../../log/tomcat5.5
   ... shared
   ... temp
   ... webapps
   ... work -> ../../cache/tomcat5.5

It implies that exists three webapps directories:
/usr/share/tomcat5.5/server/webapps
   ... admin
   ... host-manager
   ... manager

/usr/share/tomcat5.5-webapps/   (tomcat5.5-webapps ubunti package 
(apatitude

install tomcat5.5-webapps)
   ... balancer
   ... balancer.xml
   ... jsp-examples
   ... jsp-examples.xml
   ... ROOT
   ... ROOT.xml
   ... servlets-examples
   ... servlets-examples.xml
   ... tomcat-docs
   ... tomcat-docs.xml
   ... webdav
   ... webdav.xml
And as last:  (where tomcat manager has deployed my web application)
/var/lib/tomcat5.5/webapps/
   ... web_gm
   ... web_gm.war

And to make things worse, tomcat manager says that web_gm (my web app) is
running!!! When I want to access it (http://host:8180/web_gm), tomcat 
says
me that "The requested resource (/web_gm/) is not available.", however 
I can

access to manager, admin, jsp-examples applications.

So, Can you help with this structure of directories?
Where are the config files that links all.

Other question:

Why context.xml is as bellow? It is empty!!!






WEB-INF/web.xml






Can you help me please?
Note I'm running tomcat using daemon (/etc/init.d/tomcat5.5)

Other question:
in catalina.out there is:

Aug 18, 2007 6:52:27 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive web_gm.war
java.io.FileNotFoundException: 
/var/lib/tomcat5.5/web_gm/work/tldCache.ser

(No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:179)
at java.io.FileOutputStream.(FileOutputStream.java:131)
at 
org.apache.catalina.startup.TldConfig.execute(TldConfig.java:316)

at
org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4302) 


at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4139)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) 


at
org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:743)
at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:143) 


at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:737)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:497)
at
org.apache.catalina.startup.Ho

Re: 20 Tips for Using Tomcat in Production

2007-08-28 Thread Ole Ersoy

Chuck and Chris,

Thank you for the tips!  I'll probably code a little servlet that has a peak, 
but now that I'm aware of Lambda Probe, I just have to play with it :-)  
Extremely cool toy!

Thanks again,
- Ole


Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
Subject: Re: 20 Tips for Using Tomcat in Production


Or just look at the value for the system property "java.vm.name".


Yes, that's exactly what both JConsole and Lambda Probe do; I was just
trying to suggest a mechanism that didn't require writing additional
code.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat not starting properly.

2007-08-28 Thread Manivannan Palanichamy
which tomcat version are you using?
can you also specify the value of PATH and CLASSPATH variables?

-- 
Manivannan Palanichamy
http://mani.gw.googlepages.com/index.html

On 8/28/07, Potri Raaja <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> When I try to start my tomcat I am getting the following error, it is
> not getting started properly.
>
> HC-APACHE:~/jakarta-tomcat-5.0.28/bin # ./startup.sh
> Using CATALINA_BASE:   /root/jakarta-tomcat-5.0.28
> Using CATALINA_HOME:   /root/jakarta-tomcat-5.0.28
> Using CATALINA_TMPDIR: /root/jakarta-tomcat-5.0.28/temp
> Using JAVA_HOME:   /root/j2sdk1.4.2
> Exception in thread "main" java.lang.NoClassDefFoundError:
> HC-APACHE:~/jakarta-tomcat-5.0.28/bin #
>
> Can you please suggest me to overcome this error.Waiting for your
> favourable
> reply.
>
> Regards,
> Potri Raaja.M.
> --
> View this message in context:
> http://www.nabble.com/Tomcat-not-starting-properly.-tf4341696.html#a12367812
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


RE: Tomcat not starting properly.

2007-08-28 Thread Caldarale, Charles R
> From: Manivannan Palanichamy 
> [mailto:[EMAIL PROTECTED] 
> Subject: Re: Tomcat not starting properly.
> 
> which tomcat version are you using?

>From the shell prompts, it seems pretty obvious that it's 5.0.28.

> can you also specify the value of PATH and CLASSPATH variables?

The CLASSPATH environment variable should never be used when running
Tomcat.  (For that matter, it shouldn't be used in any Java environment
these days.)

The PATH variable won't matter unless native libraries are involved.

>From the symptoms, it sounds like the OP's installation is flawed, or
he's mucked around with the startup script and broken it.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Apache --> Tomcat SSL via mod_jk

2007-08-28 Thread Omar Nafees

Hi,

I recently posted under the thread "Apache authentication information 
(remoteuser) not visible in Tomcat" and I am grateful to all that 
responded with useful comments.


I learned the following about how Tomcat treats authentication 
information received from Apache via AJP headers (mod_jk) - once told to 
consider it by using "tomcatAuthentication=false" in the appropriate place:


1) request.getRemoteUser() only works on the "entry-point" servlet (e.g. 
index.jsp) - it doesn't work if you forward immediately to another page. 
It seems strange that Tomcat doesn't keep remote user around for later 
use and forces me to keep it around explicitly in some form (such as a 
hidden POST parameter).


2) The above is assuming SSL is turned off for my application. The 
minute I turn it on in it's security constraint (in web.xml), 
request.getRemoteUser() only returns null. Is there a particular setting 
in security constraint or elsewhere to achieve the desired behavior?


Thanks in advance for any help.

Omar




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache --> Tomcat SSL via mod_jk

2007-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Omar,

Omar Nafees wrote:
> 1) request.getRemoteUser() only works on the "entry-point" servlet (e.g.
> index.jsp) - it doesn't work if you forward immediately to another page.
> It seems strange that Tomcat doesn't keep remote user around for later
> use and forces me to keep it around explicitly in some form (such as a
> hidden POST parameter).

This doesn't sound right; getRemoteUser should return the REMOTE_USER
each time, regardless of which request it is.

> 2) The above is assuming SSL is turned off for my application. The
> minute I turn it on in it's security constraint (in web.xml)

You cannot "turn on" SSL in web.xml; all you can do is require that SSL
be used in order for security to work.

Since you're using mod_jk, you won't be able to use CONFIDENTIAL as a
security constraint, since mod_jk doesn't communicate using a
CONFIDENTIAL channel.

> request.getRemoteUser() only returns null. Is there a particular setting
> in security constraint or elsewhere to achieve the desired behavior?

I believe you are making a mistake by using CONFIDENTIAL in web.xml, and
Tomcat is reacting correctly by refusing to accept the remote user as
furnished by mod_jk because it is not being sent over SSL.

- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1InC9CaO5/Lv0PARAqkcAJwMsTd5dGvxmer7u8nhXICXmz2JoQCdHrL6
VjheIXl2zzd21ob1/mkUfRk=
=NXlX
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [mod_jk] problem serving URIs with 'special characters'

2007-08-28 Thread Rainer Jung

I agree with Christopher.

If you feel totally uncomfortable with the idea of compiling yourself: 
there is a good chance, that the downloadable binary for 2.0.59 will 
work with your 2.0.52. You need to test and check the error log of 
apache for log lines indicating process crashes. Those would be a sign, 
that the binaries are not compatible. Apart from possible crashes (which 
are obviously very bad), there are no other compatibility risks for 2.0.52.


Regards,

Rainer

Christopher Schultz wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Guy,

Guy Katz wrote:

Hi;
Sorry for the beginner's question but does this means that I need to
compile mod_jk1.2.25 against my apache 2.0.52? Or can I still use the
1.2.25 from the tomcat connector downloads page as a drop-in
replacement.


IMO, you should /always/ compile your own. It's super easy to do, and
you get a binary that is pretty much guaranteed to work properly with
your version.

- -chris


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



tomcat hang/freeze under windows

2007-08-28 Thread Roger Parkinson
Sorry this is question is so terse, but general approach kind of help 
would be very welcome.
I get to the login page every time, but after that there's no response. 
Seems to be nothing relevant in the logs.


The machine is remote from me and in a 12 hours different timezone 
(yawn...zzz) so getting access to local staff is a challenge. Hence the 
vagueness (apologies again).


Restarting tomcat everything comes right for a while, works perfectly, 
then... freeze.


What we are doing is deploying a pair of war files that are known to be 
running really well elsewhere (ie on my dev env plus two live sites). 
There are config options in the apps (there are also config options in 
tomcat that might be screwed too, still checking that). So I don't think 
it is the app itself. Actually we don't seem to be getting to the app 
once it freezes except for the login page.


I'm using form based login (is that right term? throws up a JSP page 
with a user/password prompt if you're not logged in, then lets you 
proceed). Realm is through JDBC to SQLServer.


O/s: windows 2000
Java: jdk1.5.0_11
Tomcat 5.5.7

Thanks for any help.
Roger


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: digest ignored in Data source realm -> Success

2007-08-28 Thread Glenn McCall

Success!

Thanks for your reply and suggestions Chris. I don't believe that any of 
your suggestions were applicable, but still greatly appreciated. I must 
admit I totally missed the "conf/[hostname]/yourappname.xml " check in my 
initial analysis. (Un)Fortunately that wasn't it.


I was able to upgrade the server to 5.5.17 reinstalled my war and all of a 
sudden my digested password users could sign on. So that seems to be the 
solution. I still can't see anything in the list of changes between 5.5.15 
and 5.5.17 that seems pertinent.


Is anyone else using the DataSourceRealm with form based authentication and 
digested password? Any similar experiences? My concern is that if I don't 
know why it didn't work in the first place, it might stop working again in 
the future! And as is typical with this scenario, no one will admit to 
making any changes making it even harder to diagnose!


Thanks

Glenn Mc



- Original Message - 
From: "Christopher Schultz" <[EMAIL PROTECTED]>

To: "Tomcat Users List" 
Sent: Tuesday, August 28, 2007 2:16 AM
Subject: Re: digest ignored in Data source realm



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Glenn,

Glenn McCall wrote:

I have a problem where the digest element is seemingly being ignored
when I move my web app from development to production. The
application uses form based security and works just fine in
development.


That's very strange. Are you using the same JVM in both environments?
Are you sure that your context.xml is the same for both environments
(or, at least, they are similar enough that the digest isn't being
broken by a different context.xml).

(FWIW, I recommend a different context.xml file for each environment;
you can set things like the number of connections to maintain in the
pool, etc. For us, dev /always/ contains exactly one connection - to
detect resource leaks - and production always has many configured).


So how do I know it is being ignored as opposed to simply not
working? I tried pasting a SHA digested password into the password
field and succesfully logged in. Then I tried changing the content of
my valid_users table so that the password was simply set to "pass"
then entered "pass" as my password - lo and behold, succesful login.


That's very strange... I would have expected Tomcat to bomb if it
couldn't digest the password, rather than simply ignore the hashing
altogether.

Check to see if you have a conf/[hostname]/yourappname.xml file that
might be overriding the one in your WAR file or webapp directory.


I plan to update the prodn server to 5.5.17 to see if this will solve
the problem. Unfortunately, I can not do this for a few days as the
system is being used for some demo's.


I would recommend going all the way up to 5.5.23 or 5.5.25 (ready
"soon") if you can do it. Lots of stuff has been fixed between then and
now. I realize it's a big jump which requires testing.

Good luck,
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG0vjK9CaO5/Lv0PARAuVgAJ9lDcJisytDbJOiHZnFXygsv7T2KgCfS+vw
MlwzBuuyxFGZ5f4nhCsGe24=
=iJl6
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Authentication and authorization questions

2007-08-28 Thread lightbulb432

I have several questions about authentication and authorization in Tomcat
below, so answer only what you can :) Thanks.

Where does Tomcat authentication fit into the request processing lifecycle?
Does it happen before even the very first filter gets called? What happens
just before and just after authentication?

Where does the role-based authorization fit into this process?

When you login using form-based authentication, where invalid login attempts
redirect to the "form-error-page", how do you add a custom message to that
page saying "Login Failed"? I ask because common practice is to send the
user to the same login page rather than a different page.

Is it configuration whether Tomcat uses redirects or forwards after
successful or unsuccessful attempts? What's the default for both?

How can you use JDBCRealm or DataSourceRealm with foreign keys from roles
table to user table, rather than requiring the roles table to duplicate
whatever field (e.g. username, email address) will actually be entered into
the login screen? I ask because using simple text-matching rather than using
the primary key of the user table seems a bit inefficient, but more
importantly it may be disallowed from data standards in some organizations.

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Authentication-and-authorization-questions-tf4345698.html#a12380709
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat not starting properly.

2007-08-28 Thread Potri Raaja


Operating System : Suse Linux Enterprise Server 9.
TOMCAT Version : jakarta-tomcat-5.0.28


HC-APACHE:~/jakarta-tomcat-5.0.28 # echo $PATH
/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/root/j2sdk1.4.2/bin:/usr/lib/java/jre/bin
HC-APACHE:~/jakarta-tomcat-5.0.28 # 


HC-APACHE:~/jakarta-tomcat-5.0.28 # echo $JAVA_HOME
/root/j2sdk1.4.2
HC-APACHE:~/jakarta-tomcat-5.0.28 # 


HC-APACHE:~/jakarta-tomcat-5.0.28 # java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
HC-APACHE:~/jakarta-tomcat-5.0.28 # 

  Classpath is not set with any details, Is it needed to be given with any
information for classpath. Previously Tomcat was working properly and I am
not sure why this error comes now. Please help us to overcome this issue.
Waiting for your favourable reply.

Regards,
Potri Raaja.M.


 

Manivannan Palanichamy wrote:
> 
> which tomcat version are you using?
> can you also specify the value of PATH and CLASSPATH variables?
> 
> -- 
> Manivannan Palanichamy
> http://mani.gw.googlepages.com/index.html
> 
> On 8/28/07, Potri Raaja <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi,
>>
>> When I try to start my tomcat I am getting the following error, it is
>> not getting started properly.
>>
>> HC-APACHE:~/jakarta-tomcat-5.0.28/bin # ./startup.sh
>> Using CATALINA_BASE:   /root/jakarta-tomcat-5.0.28
>> Using CATALINA_HOME:   /root/jakarta-tomcat-5.0.28
>> Using CATALINA_TMPDIR: /root/jakarta-tomcat-5.0.28/temp
>> Using JAVA_HOME:   /root/j2sdk1.4.2
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> HC-APACHE:~/jakarta-tomcat-5.0.28/bin #
>>
>> Can you please suggest me to overcome this error.Waiting for your
>> favourable
>> reply.
>>
>> Regards,
>> Potri Raaja.M.
>> --
>> View this message in context:
>> http://www.nabble.com/Tomcat-not-starting-properly.-tf4341696.html#a12367812
>> Sent from the Tomcat - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-not-starting-properly.-tf4341696.html#a12380888
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Tomcat Session Replication at undeploy/install (6.0.14 / windows)

2007-08-28 Thread hans.mader
Hi Filip,

we are using ANT script for deployment and the manager application.

Here's the "redeploy" script (only the tc specific tasks):

We copy the war and .xml to the server,
perform deployment then, and delete after that.
The deploy/undeploy will be done only by the manager app itself.






Regards, Hans.


-Ursprüngliche Nachricht-
Von: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 28. August 2007 19:15
An: Tomcat Users List
Betreff: Re: Tomcat Session Replication at undeploy/install (6.0.14 /
windows)


[EMAIL PROTECTED] wrote:
> Hello,
>
> if I reload a context, all sessions are going to be 
> serialized and deserialized automatically.
>
> Is the same possible at undeploy / deploy?
>   
yes, works the same way
> The problem is, that all users are thrown out of their apps
> if we "redeploy" under production.
>   
wanna give us a test case?

Filip
> (I know thats not recommended, but sometimes its really necessary...)
>
> Thanks!
>
> Hans.
>
>
>
>
>
> Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
> bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
> nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
> erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
> kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
> verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu 
> loeschen. Vielen Dank. 
>
> This message is intended only for use by the named addressee and may contain 
> privileged and/or confidential information. If you are not the named 
> addressee, you should not disseminate, copy, or take any action in reliance 
> on it. If you have received this message in error, please immediately notify 
> the sender of this message and delete this message and any attachment. Thank 
> you.
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>   


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. 
Vielen Dank.

This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat not starting properly.

2007-08-28 Thread Brian Munroe
On 8/28/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:

>
> The CLASSPATH environment variable should never be used when running
> Tomcat.  (For that matter, it shouldn't be used in any Java environment
> these days.)
>

Chuck:  I don't mean to hijack this thread with unrelated topics, but
can you explain the statement within the parentheses in a little more
detail?  Thanks!

Potri:  I don't have many suggestions, except maybe untar a fresh
copy, because something is seriously screwed up!

Something weird that I did notice, and at the moment I don't have a
system I can confirm this on, but if you look at your PATH, you seem
to have two JVMs installed.  I might try putting /root/j2se1.4.2/bin
at the beginning of the PATH definition.  I know you have
/usr/lib/java/jre/bin after /root/j2se1.4.2/bin, but there might be
symlinks in /usr/bin, etc that do come before it.

All this is just guessing, because I *think* defining JAVA_HOME takes
care of at least finding the path to javac, so I'd imagine defining it
would also allow Tomcat to infer the location of the correct JVM too,
regardless of if it is on the PATH or not.

-- brian

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Unable to get a basic install working...

2007-08-28 Thread Hristian



Brian Munroe-2 wrote:
> 
> On 8/17/07, Lizard Lizard <[EMAIL PROTECTED]> wrote:>
> 
>> SEVERE: StandardServer.await: create[8005]:
>> java.net.BindException: Address already in use: JVM_Bind
> 
>>
>> It claims the address is already in use, but netstat shows nothing on
>> that address. Stopping the apache server itself did not change this. I
>> am not sure what else might be running. The log shows the same error
>> as before.
> 
> How about 8005?  I *think* that is what might be the problem.  If you
> do a 'netstat -nb', it will also include which process is using which
> port.
> 
> A default Tomcat install usually listens on 3 ports:
> 
> 8005 - The shutdown port, which when sent the correct command (usually
> SHUTDOWN) kills the Tomcat process.
> 
> 8009 - The AJP listener, which is used when integrating with Apache httpd.
> 
> 8080 - The http listener, which is the built in web server if you are
> going to use AJP.
> 
> You can change any of these by editing $CATALINA_HOME/conf/server.xml
> 
> ($CATALINA_HOME  = )
> 
> -- brian
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

I'm having the same problem, none of these ports are busy. First I tried on
it's Windows Server 2003 OS, it had this problem, then we deleted the Win
Server and installed Windows XP. I have no idea...
-- 
View this message in context: 
http://www.nabble.com/Unable-to-get-a-basic-install-working...-tf4286805.html#a12381458
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]