Re: Webapps loading sequence

2006-08-25 Thread Raju Balugu

Thanks David .

So,On which basis it will load that?(For example Alphabetical ..etc)My
requirement is need to load x context and then only needs to load Y
Context.Even I am ready to change tomcat code also to meet my
requirement?please suggest me .

Regards
Raju

On 8/25/06, David Smith <[EMAIL PROTECTED]> wrote:


There is no guarantee of load order.  A fair number of people have asked
if it was possible and the answer has always been no.

I believe (if I've read past threads correctly) best practice is to be
sure the proper log4j.jar is in each WEB-INF/lib, removed from
common/lib and shared/lib, added to server/lib for tomcat's own logging
(if using a version that implements log4j for logging).

--David

Raju Balugu wrote:

> Hi All,
>
> While starting the tomcat ,I could see the webapps context loading.I
> would
> like to know the process which one load first among the webapps
>
> ex: I have 4 webapps which one is going to load first among them?
>
> One more doubt
> I have the 10 webapplications ,most of the apps are using the log4j
> 1.1.3and 1 app are going to use the log4j
> 1.2.12.(kept the log4j under corresponding WEB-INF/lib)(new apps).I am
> loading the log4j.jar(1.1.3) in shared.loader.I am trying to launch
> the new
> application ,I am getting the error on log4j (its clashing).If I refer
> the
> new log4j.jar(1.2.12)..working fine but its giving the problem for other
> apps due to the lower version of log4j.
> Experts please suggest me, how to avoid this problem?
>
> Regards
> Raju
>


-
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: debugging tomcat with eclipse

2006-08-25 Thread Zohar Amir
http://www.eclipse.org/webtools/

> Date: Wed, 23 Aug 2006 17:24:46 -0500> From: [EMAIL PROTECTED]> To: 
> users@tomcat.apache.org> Subject: debugging tomcat with eclipse> > I have 
> found various different examples, just curious what folks are> find to be the 
> best practice?> >  > > D-> > 
_
Use Messenger to talk to your IM friends, even those on Yahoo!
http://ideas.live.com/programpage.aspx?versionId=7adb59de-a857-45ba-81cc-685ee3e858fe

Re: JK 1.2.18 win32 dll not working

2006-08-25 Thread Mark Thomas
Filip Hanik - Dev Lists wrote:
> its a known bug, the developers are pushing for 1.2.19 to get released
> 
> Filip

Temporary workaround:

Create an empty rewrites.properties file and
add "rewrite_rule_file" in the Jakarta Isapi Redirector\\1.0
registry that points to that file.

HTH,

Mark

-
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 5, catalina.policy problem

2006-08-25 Thread jpsm

I am using some classes that need to be able to call
java.lang.Thread.setContextClassLoader in a web-application.

To that end I added

grant codeBase "file:${catalina.home}/webapps/AppX/-"{
permission java.lang.RuntimePermission "setContextClassLoader";
}

to my catalina.policy file

But the problem persistis, can anyone help? What is missing?
-- 
View this message in context: 
http://www.nabble.com/Tomcat-5%2C-catalina.policy-problem-tf2167845.html#a5993876
Sent from the Tomcat - User forum 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: Does using Kerberos with Tomcat reduce my security?

2006-08-25 Thread Bob Hall
--- "P. Douglas Reeder" <[EMAIL PROTECTED]> wrote:

> After some effort, I've managed to set up a
> JAASRealm that draws its
> account information from our Kerberos server
> (Krb5LoginModule,
> connecting to Open Directory on OS X Server 10.3.9).
> 
> One of the key security properties of Kerberos is
> that passwords are
> never sent over the network, even in encrypted form.
>  However, since
> users interact with Tomcat using HTTP, I think
> passwords are sent in
> the clear, if using Basic authentication and
> encrypted if using Digest
> authentication.  In either case, it would appear
> that I'm not
> preserving the level of security I had with the
> Kerberos setup before.
> 
> So, would it make more sense to use account
> information from our Linux
> machine (JAASRealm with UnixLoginModule), since that
> is sent over the
> network in encrypted form when users login via ssh? 
>  Is Digest
> authentication about as secure as SSH?
> 
> If not, what's the easiest kind of Realm to set up
> which stores
> passwords in an encrypted form, for a half dozen
> users?
> (UserDatabaseRealm is right out.)
> 

Doug,

Can your app use HTTPS instead of HTTP?

If yes, then you can (which you may already know)
add a  element to your app's
web.xml.

-Bob



   

 
OSUstudent
  Student access
  /student/*
  HEAD
  GET
  POST
  PUT
  DELETE


  These are the coarse-grained roles
that
enable a subject to pass the JAAS login stack.
  
  OSUActiveStudent


  This app will use https in the
/student subtree
 
CONFIDENTIAL

  


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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]



Startup Problem tomcat 4.1 on debian using kaffe

2006-08-25 Thread Oliver Block
Hello everybody,

my log reports:

*
Using CATALINA_BASE:   /var/lib/tomcat4
Using CATALINA_HOME:   /usr/share/tomcat4
Using CATALINA_TMPDIR: /var/lib/tomcat4/temp
Using JAVA_HOME:   /usr/lib/kaffe
Using Security Manager
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/ExceptionInInitializerError
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:772)
*

my system: debian sarge (kernel 2.4) / kaffe 1.1.5  

Did anybody of you solved that problem recently?

TIA,

Oliver


-
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: javamail + tomcat

2006-08-25 Thread Ovi Comes
Thanks Marc but how can I determine a valid MX entry for each email I send?
I don't think that's viable solution since I don't know the target
subscribers a priori.



-Original Message-
From: Marc Farrow [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 25, 2006 5:01 PM
To: Tomcat Users List
Subject: Re: javamail + tomcat

I am sure you can use a Mail session in Tomcat and set it up the same way,
but I am calling javamail directly.

if I am sending to gmail.com.  I would use this code..

  Properties props = new Properties();
  props.put("mail.smtp.host","gmail-smtp-in.l.google.com");
  props.put("mail.smtp.localhost", "localhost");
  Session s = Session.getInstance(props,null);
  s.setDebug(true);
  MimeMessage message = new MimeMessage(s);
  message.setSubject(getSubject());
  message.setFrom(InternetAddress.parse("[EMAIL PROTECTED]")[0]);
  message.setRecipient(Message.RecipientType.TO,"[EMAIL PROTECTED]");
  message.setText("this is a test message");
  Transport.send(message);



On 8/25/06, Propes, Barry L <[EMAIL PROTECTED]> wrote:
>
> I'll sure take that under advisement.
>
> Tomcat has an additional component for sending email? I don't think I ever
> knew that. Where's it configured? In the server.xml file?
>
> -Original Message-
> From: Marc Farrow [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 25, 2006 3:52 PM
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: Re: javamail + tomcat
>
>
> If you want to send email directly via Tomcat, you can bypass relaying.
> Just set the "mail.smtp.host" attribute to a valid MX entry for the
> receiving domain.
>
>
>
> On 8/25/06, Ovi Comes <[EMAIL PROTECTED]> wrote:
> >
> > That is interesting. The funny thing is that I could send email to any
> > account inbox. That is, running the code standalone. I can't figure out
> > how
> > Tomcat would possibly alter my email so that it ends up in the spam box.
> > Plus, the headers are identical!
> >
> >
> >
> > -Original Message-
> > From: Propes, Barry L [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 25, 2006 4:08 PM
> > To: Tomcat Users List; [EMAIL PROTECTED]
> > Subject: RE: javamail + tomcat
> >
> > most likely you have to get relaying approved.
> >
> > I've had a similar problem and had to jettison the idea of JavaMail for
> > now,
> > due to the relaying problem.
> >
> > I could send through my desktop and only my email address through my ISP
> > would receive it, and then only in the Bulk Mail folder!
> >
> > Quite an aggravation, and I never found from anyone anywhere, short of
> > seeing the administrator, how to solve this problem.
> >
> > Problem for me was twofold:
> > 1) how I do get my ISP to let other email addresses approved?
> > 2) getting an email admin here at work to approve this was like getting
> > Iran
> > to concede on every nuclear point the U.S. or U.N. wants to adopt!
> >
> > -Original Message-
> > From: Ovi Comes [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 25, 2006 3:04 PM
> > To: users@tomcat.apache.org
> > Subject: javamail + tomcat
> >
> >
> > Hi,
> >
> >
> >
> > I need help with javamail in tomcat. Here is my issue: if send an email
> to
> > an yahoo account, from my junit class everything is ok. When I run the
> > same
> > code in Tomcat, on the same machine, my email goes to spam/bulk folder.
> > What
> > is going on?
> >
> >
> >
> > Thanks,
> >
> > Ovi
> >
> >
> > --
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date:
> 8/24/2006
> >
> >
> > -
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date:
> 8/24/2006
> >
> >
> > --
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date:
> 8/24/2006
> >
> >
> >
> > -
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Marc Farrow
>



-- 
Marc Farrow

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006
 


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

RE: javamail + tomcat

2006-08-25 Thread Propes, Barry L
ok, thanks. I'll give that a shot in Tomcat.

-Original Message-
From: Marc Farrow [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 4:01 PM
To: Tomcat Users List
Subject: Re: javamail + tomcat


I am sure you can use a Mail session in Tomcat and set it up the same way,
but I am calling javamail directly.

if I am sending to gmail.com.  I would use this code..

  Properties props = new Properties();
  props.put("mail.smtp.host","gmail-smtp-in.l.google.com");
  props.put("mail.smtp.localhost", "localhost");
  Session s = Session.getInstance(props,null);
  s.setDebug(true);
  MimeMessage message = new MimeMessage(s);
  message.setSubject(getSubject());
  message.setFrom(InternetAddress.parse("[EMAIL PROTECTED]")[0]);
  message.setRecipient(Message.RecipientType.TO,"[EMAIL PROTECTED]");
  message.setText("this is a test message");
  Transport.send(message);



On 8/25/06, Propes, Barry L <[EMAIL PROTECTED]> wrote:
>
> I'll sure take that under advisement.
>
> Tomcat has an additional component for sending email? I don't think I ever
> knew that. Where's it configured? In the server.xml file?
>
> -Original Message-
> From: Marc Farrow [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 25, 2006 3:52 PM
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: Re: javamail + tomcat
>
>
> If you want to send email directly via Tomcat, you can bypass relaying.
> Just set the "mail.smtp.host" attribute to a valid MX entry for the
> receiving domain.
>
>
>
> On 8/25/06, Ovi Comes <[EMAIL PROTECTED]> wrote:
> >
> > That is interesting. The funny thing is that I could send email to any
> > account inbox. That is, running the code standalone. I can't figure out
> > how
> > Tomcat would possibly alter my email so that it ends up in the spam box.
> > Plus, the headers are identical!
> >
> >
> >
> > -Original Message-
> > From: Propes, Barry L [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 25, 2006 4:08 PM
> > To: Tomcat Users List; [EMAIL PROTECTED]
> > Subject: RE: javamail + tomcat
> >
> > most likely you have to get relaying approved.
> >
> > I've had a similar problem and had to jettison the idea of JavaMail for
> > now,
> > due to the relaying problem.
> >
> > I could send through my desktop and only my email address through my ISP
> > would receive it, and then only in the Bulk Mail folder!
> >
> > Quite an aggravation, and I never found from anyone anywhere, short of
> > seeing the administrator, how to solve this problem.
> >
> > Problem for me was twofold:
> > 1) how I do get my ISP to let other email addresses approved?
> > 2) getting an email admin here at work to approve this was like getting
> > Iran
> > to concede on every nuclear point the U.S. or U.N. wants to adopt!
> >
> > -Original Message-
> > From: Ovi Comes [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 25, 2006 3:04 PM
> > To: users@tomcat.apache.org
> > Subject: javamail + tomcat
> >
> >
> > Hi,
> >
> >
> >
> > I need help with javamail in tomcat. Here is my issue: if send an email
> to
> > an yahoo account, from my junit class everything is ok. When I run the
> > same
> > code in Tomcat, on the same machine, my email goes to spam/bulk folder.
> > What
> > is going on?
> >
> >
> >
> > Thanks,
> >
> > Ovi
> >
> >
> > --
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date:
> 8/24/2006
> >
> >
> > -
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date:
> 8/24/2006
> >
> >
> > --
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date:
> 8/24/2006
> >
> >
> >
> > -
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Marc Farrow
>



-- 
Marc Farrow


Re: javamail + tomcat

2006-08-25 Thread Marc Farrow

I am sure you can use a Mail session in Tomcat and set it up the same way,
but I am calling javamail directly.

if I am sending to gmail.com.  I would use this code..

 Properties props = new Properties();
 props.put("mail.smtp.host","gmail-smtp-in.l.google.com");
 props.put("mail.smtp.localhost", "localhost");
 Session s = Session.getInstance(props,null);
 s.setDebug(true);
 MimeMessage message = new MimeMessage(s);
 message.setSubject(getSubject());
 message.setFrom(InternetAddress.parse("[EMAIL PROTECTED]")[0]);
 message.setRecipient(Message.RecipientType.TO,"[EMAIL PROTECTED]");
 message.setText("this is a test message");
 Transport.send(message);



On 8/25/06, Propes, Barry L <[EMAIL PROTECTED]> wrote:


I'll sure take that under advisement.

Tomcat has an additional component for sending email? I don't think I ever
knew that. Where's it configured? In the server.xml file?

-Original Message-
From: Marc Farrow [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 3:52 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: javamail + tomcat


If you want to send email directly via Tomcat, you can bypass relaying.
Just set the "mail.smtp.host" attribute to a valid MX entry for the
receiving domain.



On 8/25/06, Ovi Comes <[EMAIL PROTECTED]> wrote:
>
> That is interesting. The funny thing is that I could send email to any
> account inbox. That is, running the code standalone. I can't figure out
> how
> Tomcat would possibly alter my email so that it ends up in the spam box.
> Plus, the headers are identical!
>
>
>
> -Original Message-
> From: Propes, Barry L [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 25, 2006 4:08 PM
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: RE: javamail + tomcat
>
> most likely you have to get relaying approved.
>
> I've had a similar problem and had to jettison the idea of JavaMail for
> now,
> due to the relaying problem.
>
> I could send through my desktop and only my email address through my ISP
> would receive it, and then only in the Bulk Mail folder!
>
> Quite an aggravation, and I never found from anyone anywhere, short of
> seeing the administrator, how to solve this problem.
>
> Problem for me was twofold:
> 1) how I do get my ISP to let other email addresses approved?
> 2) getting an email admin here at work to approve this was like getting
> Iran
> to concede on every nuclear point the U.S. or U.N. wants to adopt!
>
> -Original Message-
> From: Ovi Comes [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 25, 2006 3:04 PM
> To: users@tomcat.apache.org
> Subject: javamail + tomcat
>
>
> Hi,
>
>
>
> I need help with javamail in tomcat. Here is my issue: if send an email
to
> an yahoo account, from my junit class everything is ok. When I run the
> same
> code in Tomcat, on the same machine, my email goes to spam/bulk folder.
> What
> is going on?
>
>
>
> Thanks,
>
> Ovi
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date:
8/24/2006
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date:
8/24/2006
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date:
8/24/2006
>
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Marc Farrow





--
Marc Farrow


RE: javamail + tomcat

2006-08-25 Thread Propes, Barry L
I'll sure take that under advisement.

Tomcat has an additional component for sending email? I don't think I ever knew 
that. Where's it configured? In the server.xml file?

-Original Message-
From: Marc Farrow [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 3:52 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: javamail + tomcat


If you want to send email directly via Tomcat, you can bypass relaying.
Just set the "mail.smtp.host" attribute to a valid MX entry for the
receiving domain.



On 8/25/06, Ovi Comes <[EMAIL PROTECTED]> wrote:
>
> That is interesting. The funny thing is that I could send email to any
> account inbox. That is, running the code standalone. I can't figure out
> how
> Tomcat would possibly alter my email so that it ends up in the spam box.
> Plus, the headers are identical!
>
>
>
> -Original Message-
> From: Propes, Barry L [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 25, 2006 4:08 PM
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: RE: javamail + tomcat
>
> most likely you have to get relaying approved.
>
> I've had a similar problem and had to jettison the idea of JavaMail for
> now,
> due to the relaying problem.
>
> I could send through my desktop and only my email address through my ISP
> would receive it, and then only in the Bulk Mail folder!
>
> Quite an aggravation, and I never found from anyone anywhere, short of
> seeing the administrator, how to solve this problem.
>
> Problem for me was twofold:
> 1) how I do get my ISP to let other email addresses approved?
> 2) getting an email admin here at work to approve this was like getting
> Iran
> to concede on every nuclear point the U.S. or U.N. wants to adopt!
>
> -Original Message-
> From: Ovi Comes [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 25, 2006 3:04 PM
> To: users@tomcat.apache.org
> Subject: javamail + tomcat
>
>
> Hi,
>
>
>
> I need help with javamail in tomcat. Here is my issue: if send an email to
> an yahoo account, from my junit class everything is ok. When I run the
> same
> code in Tomcat, on the same machine, my email goes to spam/bulk folder.
> What
> is going on?
>
>
>
> Thanks,
>
> Ovi
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006
>
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Marc Farrow


Re: javamail + tomcat

2006-08-25 Thread Marc Farrow

If you want to send email directly via Tomcat, you can bypass relaying.
Just set the "mail.smtp.host" attribute to a valid MX entry for the
receiving domain.



On 8/25/06, Ovi Comes <[EMAIL PROTECTED]> wrote:


That is interesting. The funny thing is that I could send email to any
account inbox. That is, running the code standalone. I can't figure out
how
Tomcat would possibly alter my email so that it ends up in the spam box.
Plus, the headers are identical!



-Original Message-
From: Propes, Barry L [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 4:08 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: javamail + tomcat

most likely you have to get relaying approved.

I've had a similar problem and had to jettison the idea of JavaMail for
now,
due to the relaying problem.

I could send through my desktop and only my email address through my ISP
would receive it, and then only in the Bulk Mail folder!

Quite an aggravation, and I never found from anyone anywhere, short of
seeing the administrator, how to solve this problem.

Problem for me was twofold:
1) how I do get my ISP to let other email addresses approved?
2) getting an email admin here at work to approve this was like getting
Iran
to concede on every nuclear point the U.S. or U.N. wants to adopt!

-Original Message-
From: Ovi Comes [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 3:04 PM
To: users@tomcat.apache.org
Subject: javamail + tomcat


Hi,



I need help with javamail in tomcat. Here is my issue: if send an email to
an yahoo account, from my junit class everything is ok. When I run the
same
code in Tomcat, on the same machine, my email goes to spam/bulk folder.
What
is going on?



Thanks,

Ovi


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006


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



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006



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





--
Marc Farrow


RE: javamail + tomcat

2006-08-25 Thread Ovi Comes
That is interesting. The funny thing is that I could send email to any
account inbox. That is, running the code standalone. I can't figure out how
Tomcat would possibly alter my email so that it ends up in the spam box.
Plus, the headers are identical!



-Original Message-
From: Propes, Barry L [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 25, 2006 4:08 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: javamail + tomcat

most likely you have to get relaying approved.

I've had a similar problem and had to jettison the idea of JavaMail for now,
due to the relaying problem.

I could send through my desktop and only my email address through my ISP
would receive it, and then only in the Bulk Mail folder!

Quite an aggravation, and I never found from anyone anywhere, short of
seeing the administrator, how to solve this problem.

Problem for me was twofold:
1) how I do get my ISP to let other email addresses approved?
2) getting an email admin here at work to approve this was like getting Iran
to concede on every nuclear point the U.S. or U.N. wants to adopt!

-Original Message-
From: Ovi Comes [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 3:04 PM
To: users@tomcat.apache.org
Subject: javamail + tomcat


Hi,

 

I need help with javamail in tomcat. Here is my issue: if send an email to
an yahoo account, from my junit class everything is ok. When I run the same
code in Tomcat, on the same machine, my email goes to spam/bulk folder. What
is going on?

 

Thanks,

Ovi


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006
 

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



-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006
 


-
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: Multiple apache web servers single Tomcat, how many Connectors are needed?

2006-08-25 Thread Pulkit Singhal

Hi,

I'm not an expert but just thinking out loud here:

If in the long run you are not going to make - distinguishing the requests
coming from either of the Apache instances - into a requirement. Then I do
not see why you would need more than 1 JK connector. If there is absolutely
never going to be a bias in how to serve the requests or treat them
differently then the JK connector itself couldn't care less if 10 apache
instances are hitting it right? When it runs on the tomcat side, to it (JK
conn itself) everything coming in ... is just another request. [If I'm wrong
about this notion of mine...then I'd like to hear about it from others on
the list and be corrected]

Now if you DO see yourself needing/wanting to treat the requests
differently... 1st I doubt you will treat them differently on a HTTP server
basis ... most likely you will want to handle them differently on a webapp
basis so again ... you don't need multiple connectors listening on the
tomcat side.

Now if u do care about which HTTPD (apache web server) your users come
through... well then you could have 2 JK connectors I guess ...but ... but
... I wouldn't know if that would be the right way to go about distiguishing
and applying policies to incoming requests... may be someone else far more
knowledgeable than me can comment on that.

Cheers,
- Pulkit

On 8/25/06, tomcat <[EMAIL PROTECTED]> wrote:


Hello,

Hopefully someone can clarify a setup query I have as after lots of
searching I cannot
find a definitive answer.

Although I'm configuring a much more complex system the problem I have
boils down to
this.

I want to configure two Apache instances running on separate servers to
talk to a
single
Tomcat instance (on its own server) but need clarification on the number
of
Connectors I
need to define on the Tomcat side (server.xml). Is it a Connector
listening on
individual ports for each web server or one Connetor for all web servers?

Apache 2.0.59
mod_jk 1.2.18
Tomcat 5.5.17

Thanks in advance

J


-
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: Building Tomcat

2006-08-25 Thread Markus Schönhaber
Zach Calvert wrote:
> I discovered the problem.  For some odd reason, which I haven't yet figured
> out, the svn call in the build.xml root  executable="svn">
>  
> 
> is not just putting the checkout in the basedir, it is checking them out
> into a newly created directory current.loc.  I do not understand why in the
> world it is doing this...  So, when it goes to run ant deploy on the
> build.xml in the build folder, the build directory needs to be
> Tomcat\Tomcat-build\tc5.5.x\build
>
> Like I said, it shouldn't be doing this, and this is not the behavior I get
> when I run the command line svn checkout
> http://svn.apache.org/repos/asf/tomcat/current/tc5.5.x . Making that call
> does NOT create the Tomcat\Tomcat-build\tc5.5.x\ directory
>
> Anyone got any suggestions?

Use ant's "-verbose" or even "-debug" options. For example
ant -verbose -projecthelp
will at least tell you how basedir is set, which property files are read etc.

Regards
  mks

-
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: javamail + tomcat

2006-08-25 Thread Propes, Barry L
most likely you have to get relaying approved.

I've had a similar problem and had to jettison the idea of JavaMail for now, 
due to the relaying problem.

I could send through my desktop and only my email address through my ISP would 
receive it, and then only in the Bulk Mail folder!

Quite an aggravation, and I never found from anyone anywhere, short of seeing 
the administrator, how to solve this problem.

Problem for me was twofold:
1) how I do get my ISP to let other email addresses approved?
2) getting an email admin here at work to approve this was like getting Iran to 
concede on every nuclear point the U.S. or U.N. wants to adopt!

-Original Message-
From: Ovi Comes [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 3:04 PM
To: users@tomcat.apache.org
Subject: javamail + tomcat


Hi,

 

I need help with javamail in tomcat. Here is my issue: if send an email to
an yahoo account, from my junit class everything is ok. When I run the same
code in Tomcat, on the same machine, my email goes to spam/bulk folder. What
is going on?

 

Thanks,

Ovi


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006
 

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



javamail + tomcat

2006-08-25 Thread Ovi Comes
Hi,

 

I need help with javamail in tomcat. Here is my issue: if send an email to
an yahoo account, from my junit class everything is ok. When I run the same
code in Tomcat, on the same machine, my email goes to spam/bulk folder. What
is going on?

 

Thanks,

Ovi


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006
 


Re: Apache 2.2 proxy and Tomcat 5.5 container - couldn't map to root

2006-08-25 Thread Olexandr Prokhorenko
It's going to be too slow for production use.

Bill Barker  wilshire.com> writes:
> How about:
>   RewriteRule ^/.*\.jsp ajp://localhost:8009/project/$1.jsp [P]
>   RewriteRule ^/servlet/.* ajp://localhost:8009/project/servlet/$1 [P]



-
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: IIS vs Tomcat

2006-08-25 Thread gurusamy.senthil

Thanks for the information peter.

I am a ERP developer.  But I am trying to learn some web technologies and I
choosen Tomcat with jsp/servlet to develop small application.

I am just finding hard advantage bewteen the IIS and tomcat but didn't get. 
You explanation awakens me somehow. 


Peter Crowther wrote:
> 
>> From: gurusamy.senthil [mailto:[EMAIL PROTECTED] 
>> Can any one give me idea, What is the difference between 
>> Microsoft IIS server and Tomcat Server.
>> 
>> Which is best and has better security to work, develop and for deploy.
> 
> Ooh, religious wars :-).
> 
> - Both are Web servers;
> - Both are "fast enough" and have enough features for most applications;
> - Both have "good enough" security if correctly deployed and configured;
> - Both support hot deployment;
> - Both are "good enough" to develop for if you have or can buy in the
> appropriate skill-set;
> - Tomcat is free and portable to non-Windows OSs; IIS requires a Windows
> OS license and potentially further licenses.
> 
> If you're developing Java servlet-based applications, Tomcat is good.
> If you're developing ASP.Net applications and are willing to limit
> yourself to deploying on Microsoft WIndows, IIS is good.  If you're
> developing PHP applications, Apache httpd is good.  What are you doing?
> 
>   - Peter
> 
> PS. So far, I've spent part of the afternoon debugging an ASP.Net app,
> another part debugging a servlet, and another part patching a PHP app.
> I don't have an axe to grind :-)
> 
> -
> 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/IIS-vs-Tomcat-tf2165043.html#a5990040
Sent from the Tomcat - User forum 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]



DefaultServlet not listing any files or directories

2006-08-25 Thread matthewadams

Hi all,

I've added Tomcat's DefaultServlet to my web.xml and mapped it to a
directory so that its files & subdirectories will be listed:


lister
   
org.apache.catalina.servlets.DefaultServlet

debug
1


listings
true

1



lister
/maven/*


When I request http://localhost:8080/maven in the browser, I get a standard
Tomcat directory listing, but it's empty -- none of the files &
subdirectories are listed even though they're present on the filesystem. 
Further, if I request http://localhost:8080/maven/bar (bar is a subdirectory
under maven), I get a "404 not found" error.

Environment is JDK 1.4.2_12, Tomcat 5.5.17 w/the JDK 1.4 compatibility
package running on Win XP SP2.

Can anyone help here?

Thanks,
Matthew
-- 
View this message in context: 
http://www.nabble.com/DefaultServlet-not-listing-any-files-or-directories-tf2166581.html#a5989749
Sent from the Tomcat - User forum 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]



Does using Kerberos with Tomcat reduce my security?

2006-08-25 Thread P. Douglas Reeder

After some effort, I've managed to set up a JAASRealm that draws its
account information from our Kerberos server (Krb5LoginModule,
connecting to Open Directory on OS X Server 10.3.9).

One of the key security properties of Kerberos is that passwords are
never sent over the network, even in encrypted form.  However, since
users interact with Tomcat using HTTP, I think passwords are sent in
the clear, if using Basic authentication and encrypted if using Digest
authentication.  In either case, it would appear that I'm not
preserving the level of security I had with the Kerberos setup before.

So, would it make more sense to use account information from our Linux
machine (JAASRealm with UnixLoginModule), since that is sent over the
network in encrypted form when users login via ssh?   Is Digest
authentication about as secure as SSH?

If not, what's the easiest kind of Realm to set up which stores
passwords in an encrypted form, for a half dozen users?
(UserDatabaseRealm is right out.)


Doug Reeder
Cognitive & Systematic Musicology Lab
OSU School of Music


-
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: Building Tomcat

2006-08-25 Thread Zach Calvert
What is really weird, is the build.xml defines the basedir as . in  


But changing 


 


to


 


fixed the problem on the svn grab.  Now I've got more errors to deal with, but 
at least I've solved one problem.  Of course, this is not a good solution since 
it destroys the ability to actually set the basedir in the project tag.  

The only thing I can think of is if another ant process is overriding the 
basedir value.

Weird.


Zach



-Original Message-
From: Zach Calvert [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 25, 2006 1:43 PM
To: Tomcat Users List; users@tomcat.apache.org
Subject: RE: Building Tomcat

I discovered the problem.  For some odd reason, which I haven't yet figured 
out, the svn call in the build.xml root 

 

is not just putting the checkout in the basedir, it is checking them out into a 
newly created directory current.loc.  I do not understand why in the world it 
is doing this...  So, when it goes to run ant deploy on the build.xml in the 
build folder, the build directory needs to be Tomcat\Tomcat-build\tc5.5.x\build

Like I said, it shouldn't be doing this, and this is not the behavior I get 
when I run the command line svn checkout 
http://svn.apache.org/repos/asf/tomcat/current/tc5.5.x .
Making that call does NOT create the Tomcat\Tomcat-build\tc5.5.x\ directory

Anyone got any suggestions?


Zach


-Original Message-
From: Markus Schönhaber [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 12:19 PM
To: Tomcat Users List
Subject: Re: Building Tomcat

Zach Calvert wrote:
> What are the exact steps of building the tomcat server from source?  
> By that I mean, where do you go to get the source, including the 
> dependent jars (commons, jasper, etc), and then use ant to build Tomcat 
> itself?

Here's what I do on Windows:
- Create a build directory, say "E:\tmp\Tomcat-build".
- Download http://tomcat.apache.org/tomcat-5.5-doc/build.xml and put it in the 
build directory created above.
- Optional: If you want to have the binary dependencies downloaded to, say 
"E:\tmp\Tomcat-build\binary-libs", instead of "C:\usr\share\java" create a file 
named build.properties in the build directory containing the line 
base.path=E:/tmp/Tomcat-build/binary-libs
- In the console, change into the build directory and do ant
- If you see a message asking you to accept the certificate for the asf 
repository (which you can't since svn is started by ant) do for example svn ls 
https://svn.apache.org/repos/asf/tomcat/build/tc5.5.x
and accept the certifacte permanently.
Run
ant
again. The Tomcat source and the binary libs should now be checked out and the 
main part of the build process should also have run.
- Change into the build directory:
cd build
- If you changed the location where the binary libs are stored by creating a 
build.properties file (see above), you'll also have to create a 
build.properties file here, containing at least the same base.path line.
- Build Tomcat:
ant dist
Now, a directory called "dist" (E:\tmp\Tomcat-build\build\dist) should have 
been created that contains a binary Tomcat release.
Doing
ant release
will create a directory containing all the source and binary archives like the 
ones you can download from the Tomcat website.

Regards
  mks



-
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: Building Tomcat

2006-08-25 Thread Zach Calvert
I discovered the problem.  For some odd reason, which I haven't yet figured 
out, the svn call in the build.xml root 

 

is not just putting the checkout in the basedir, it is checking them out into a 
newly created directory current.loc.  I do not understand why in the world it 
is doing this...  So, when it goes to run ant deploy on the build.xml in the 
build folder, the build directory needs to be
Tomcat\Tomcat-build\tc5.5.x\build

Like I said, it shouldn't be doing this, and this is not the behavior I get 
when I run the command line
svn checkout http://svn.apache.org/repos/asf/tomcat/current/tc5.5.x .
Making that call does NOT create the Tomcat\Tomcat-build\tc5.5.x\ directory

Anyone got any suggestions?


Zach


-Original Message-
From: Markus Schönhaber [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 25, 2006 12:19 PM
To: Tomcat Users List
Subject: Re: Building Tomcat

Zach Calvert wrote:
> What are the exact steps of building the tomcat server from source?  
> By that I mean, where do you go to get the source, including the 
> dependent jars (commons, jasper, etc), and then use ant to build Tomcat 
> itself?

Here's what I do on Windows:
- Create a build directory, say "E:\tmp\Tomcat-build".
- Download http://tomcat.apache.org/tomcat-5.5-doc/build.xml and put it in the 
build directory created above.
- Optional: If you want to have the binary dependencies downloaded to, say 
"E:\tmp\Tomcat-build\binary-libs", instead of "C:\usr\share\java" create a file 
named build.properties in the build directory containing the line 
base.path=E:/tmp/Tomcat-build/binary-libs
- In the console, change into the build directory and do ant
- If you see a message asking you to accept the certificate for the asf 
repository (which you can't since svn is started by ant) do for example svn ls 
https://svn.apache.org/repos/asf/tomcat/build/tc5.5.x
and accept the certifacte permanently.
Run
ant
again. The Tomcat source and the binary libs should now be checked out and the 
main part of the build process should also have run.
- Change into the build directory:
cd build
- If you changed the location where the binary libs are stored by creating a 
build.properties file (see above), you'll also have to create a 
build.properties file here, containing at least the same base.path line.
- Build Tomcat:
ant dist
Now, a directory called "dist" (E:\tmp\Tomcat-build\build\dist) should have 
been created that contains a binary Tomcat release.
Doing
ant release
will create a directory containing all the source and binary archives like the 
ones you can download from the Tomcat website.

Regards
  mks



-
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 on Windows Server 2003 x64

2006-08-25 Thread Caldarale, Charles R
> From: Seth P. Low [mailto:[EMAIL PROTECTED] 
> Subject: Tomcat on Windows Server 2003 x64
> 
> am I missing out on some potential performance gain?

No.

> It is my understanding that the fact that we have
> installed the 64 bit JRE should be sufficient.

Your understanding is correct.

> However, some of the list threads discuss compiling Tomcat
> as x64 from source and I am wondering if this is something
> that I should be considering to maximize performance.

Total waste of time.  Think about the basic premise of Java...

The only part that requires compiling is the separately packaged
optional native code in APR.  If you're a really high-volume site, you
may see some reduction in CPU utilization per request if APR is
installed.

 - 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]



Tomcat on Windows Server 2003 x64

2006-08-25 Thread Seth P. Low
Hello List,
 I have quickly searched the archives and I have reviewed some
threads about folks compiling Tomcat for 64 bit Windows systems. Here is
my question - If I am running a 64 bit Windows OS and a 64 bit version
of Java and I download the Tomcat core zip files and start Tomcat using
the .bat (read - not as a service) am I missing out on some potential
performance gain? It is my understanding that the fact that we have
installed the 64 bit JRE should be sufficient. However, some of the list
threads discuss compiling Tomcat as x64 from source and I am wondering
if this is something that I should be considering to maximize
performance. What would this get me? Maybe I am missing something.
Thanks as always, -Seth

-
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: Change MessageFactoryImpl loading behaviour in Tomcat 5.5.17

2006-08-25 Thread Nilantha

Hi Raju,
 Thank you for the reply. I did try putting saaj-imple.jar in common/lib and
shared/lib as well but didn't work. Also I modified catalina.properties for
this jar as you suggested. 

shared.loader=${catalina.base}/shared/lib/saaj-impl.jar,${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar


common.loader=${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar,${catalina.home}/common/lib/saaj-impl.jar


None of these didn't work. 

Additionaly I have 

import com.sun.xml.messaging.saaj.*;

in my class where the SOAP message is getting created. Still I am working on
this. If you could shed any light on this it would be really helpful

Thank you
Nilantha




Raju Balugu wrote:
> 
> Hi ,
> 
> Where you kept that saaj-impl.jar file?
> if u want to load that jar file first ,you can place that jar file entry
> in
> catalina.properties file which is there under conf directory either in
> common loader or shared loader and let us know.
> 
> Regards
> Raju
> 
> 
> On 8/25/06, Nilantha <[EMAIL PROTECTED]> wrote:
>>
>>
>> I have axis.jar (1.2.1) and saaj-impl.jar(1.3) in a same web application
>> deployed in Tomcat 5.5.17. axis MessageFactoryImpl
>> implementation(org.apache.axis.soap.MessageFactoryImpl) gets preference
>> over
>> saaj-impl implementation
>> (com.sun.xml.messaging.saaj.soap.MessageFactoryImpl) during the run time.
>> I
>> am facing issues due to this and need to use saaj implementation when I
>> create SOAP messages.
>>
>> I have no issue in Tomcat 5.0.x and it uses sun implementation for the
>> same
>> app. Only in Tomcat 5.5.x it is looking for axis version even if
>> saaj-impl.jar is available.
>>
>> Appreciate if anyone could show me how I could override this default
>> behavior and make saaj class load first.
>>
>>
>> thank you
>> Nilantha
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Change-MessageFactoryImpl-loading-behaviour-in-Tomcat-5.5.17-tf2162003.html#a5975145
>> Sent from the Tomcat - User forum 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/Change-MessageFactoryImpl-loading-behaviour-in-Tomcat-5.5.17-tf2162003.html#a5988156
Sent from the Tomcat - User forum 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: Cluster serialization issue

2006-08-25 Thread Filip Hanik - Dev Lists
Mark's assessment is correct, how did you end up storing your request 
object in the session?


Mark Hagger wrote:

My best guess is that you've somehow stored the request object itself on
the session, and thus the replication is trying to replicate that to the
other nodes.  


If this is the case then this is almost certainly a bad idea.

Mark


On Thu, 2006-08-24 at 09:04 -0500, Bischoff, Mathew wrote:
  

Hi,
  I'm starting to get clustering running on Tomcat I think I've solved
most of my webapp's non-serialized object issues, but now I'm getting
the error below. From what I can see , the error is not originating from
my code in the webapp, and searching the web for this error message
hasn't turned up anything useful.  Any help would be appreciated ...

Tomcat 5.5.12 on Solaris

2006-08-23 15:22:48,096 DEBUG  DeltaManager -
Manager [/edjls]: Received SessionMessage of type=(SESSION-DELTA) from
[org.apache.catalina.cluster.mcast.McastMember[...]]
2006-08-23 15:22:48,097 DEBUG  DeltaManager -
Manager [/edjls]: received session [4F2C1D4583B74B19E35243B76B2A35AF.a1]
delta.
2006-08-23 15:22:57,837 ERROR  DeltaManager - Unable
to serialize delta request for sessionid
[4F2C1D4583B74B19E35243B76B2A35AF.a1]
java.io.NotSerializableException:
org.apache.catalina.connector.RequestFacade
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:13
69)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1
284)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:13
69)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1
284)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at
org.apache.catalina.cluster.session.DeltaRequest$AttributeInfo.writeExte
rnal(DeltaRequest.java:346)
at
org.apache.catalina.cluster.session.DeltaRequest.writeExternal(DeltaRequ
est.java:263)
at
org.apache.catalina.cluster.session.DeltaManager.unloadDeltaRequest(Delt
aManager.java:695)
at
org.apache.catalina.cluster.session.DeltaManager.requestCompleted(DeltaM
anager.java:1249)
at
org.apache.catalina.cluster.tcp.ReplicationValve.sendSessionReplicationM
essage(ReplicationValve.java:328)
at
org.apache.catalina.cluster.tcp.ReplicationValve.invoke(ReplicationValve
.java:271)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
8)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:663)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
at java.lang.Thread.run(Thread.java:595)

Matt Bischoff
Software Developer - FDS External Systems
Merrill Corporation

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



This email has been scanned for all known viruses by the MessageLabs SkyScan 
service.





This email has been scanned for all known viruses by the MessageLabs SkyScan 
service.

-
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: JK 1.2.18 win32 dll not working

2006-08-25 Thread Filip Hanik - Dev Lists

its a known bug, the developers are pushing for 1.2.19 to get released

Filip


Jessica wrote:

Hi Julie,
I`m facing exactly the same problem as you described.
Have you found any solution yet?

Has anyone else succeded in getting jk-1.2.18 to run under IIS? 
An answer would help in isolating the problem to IIS or JK.

When googling for IIS isapi filters I came across this link:
http://blogs.msdn.com/david.wang/archive/2005/06/21/HOWTO_Diagnose_and_Fix_Common_ISAPI_Filter_Installation_Failures.aspx

which basicly tell us that the error code means that the ISAPI Filter
specified an ISAPI Filter DLL that does not exist.
But if for any reason GetFilterVersion(), HttpFilterProc() or
GetFilterVersion() returns FALSE when IIS tries loadLibrary, then you will
get the same error with WHATEVER value GetLastError() returns.

Any help preciated!
/* Jessica



Julie Szmyd wrote:
  

Hi,

I tried to upgrade an older version of the win32 JK isapi_redirect.dll 
to the jk-1.2.18 version that I downloaded from 
http://mirrors.ibiblio.org/pub/mirrors/apache/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.18. 
For some reason, IIS is not able to load the ISAPI filter.  It errors 
out with the following message when I start IIS:


-

The HTTP Filter DLL C:\java\Tomcat\Jakarta Isapi 
Redirector\bin\isapi_redirect.dll failed to load.  The data is the error.


data in bytes: : 02 00 00 00   

-

I was able to successfully upgrade to the jk-1.2.15 version, which makes 
me think my setup is correct, and there could be  a problem with the 
binary for jk-1.2.18.  Has anyone else gotten the 1.2.18 version working 
on Windows XP IIS version 5.1?  Are there any differences in 
configuration from 1.2.15 to 1.2.18?


Thanks,
Julie Szmyd



-
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_LIBS_BASE

2006-08-25 Thread Markus Schönhaber
Zach Calvert wrote:
> When opening the tomcat source files as projects, the classpaths refers
> to TOMCAT_LIBS_BASE.  What directory should this point to and how do you
> grab all of the jars that belong in it?  I did a search on the Tomcat
> source and there is no path that exists that looks like it contains all
> of the TOMCAT_LIBS_BASE jar files.

http://tomcat.apache.org/tomcat-5.5-doc/building.html#Building%20with%20Eclipse

Regards
  mks

-
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: Building Tomcat

2006-08-25 Thread Markus Schönhaber
Zach Calvert wrote:
> What are the exact steps of building the tomcat server from source?  By
> that I mean, where do you go to get the source, including the dependent
> jars (commons, jasper, etc), and then use ant to build Tomcat itself?

Here's what I do on Windows:
- Create a build directory, say "E:\tmp\Tomcat-build".
- Download http://tomcat.apache.org/tomcat-5.5-doc/build.xml and put it in the 
build directory created above.
- Optional: If you want to have the binary dependencies downloaded to, say
"E:\tmp\Tomcat-build\binary-libs", instead of "C:\usr\share\java" create a 
file named build.properties in the build directory containing the line
base.path=E:/tmp/Tomcat-build/binary-libs
- In the console, change into the build directory and do
ant
- If you see a message asking you to accept the certificate for the asf 
repository (which you can't since svn is started by ant) do for example
svn ls https://svn.apache.org/repos/asf/tomcat/build/tc5.5.x
and accept the certifacte permanently.
Run
ant
again. The Tomcat source and the binary libs should now be checked out and the 
main part of the build process should also have run.
- Change into the build directory:
cd build
- If you changed the location where the binary libs are stored by creating a 
build.properties file (see above), you'll also have to create a 
build.properties file here, containing at least the same base.path line.
- Build Tomcat:
ant dist
Now, a directory called "dist" (E:\tmp\Tomcat-build\build\dist) should have 
been created that contains a binary Tomcat release.
Doing
ant release
will create a directory containing all the source and binary archives like the 
ones you can download from the Tomcat website.

Regards
  mks



-
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 monitoring

2006-08-25 Thread Rafael . Almeida
Hi Bruno;
 We have already installed Hyperic and it looks good. I will take a look 
on these too. Thanks a lot!

Rafael Sarres de Almeida
Seção de Gerenciamento de Rede
Superior Tribunal de Justiça
Tel: (61) 3319-9342





Bruno Georges <[EMAIL PROTECTED]> 
25/08/2006 04:51
Favor responder a
"Tomcat Users List" 


Para
"Tomcat Users List" 
cc
"Tomcat Users List" 
Assunto
Re: Tomcat monitoring






Rafael

I forgot to mention that JBoss provides JBoss Operations Network which 
uses
agent to collect metrics no the machine where you deployed your Tomcat
instance. You can access it via  a web front-end and monitor your
apache/tomcat/jboss instances. There is a lot more they support, I suggest
you look at:
http://www.jboss.com/resources/jbon_demos

There is also JProbe [used to be a sitraka's product], now you can get it
from Quest. It is fairly intrusive.
You also have JProfiler and YourKit.
Most of these support JVMPI and some JVMPI.

Use Java 5, it will provide more hooks for profiling your JVM. [along with
JVMTI support]

Hopes this helps.

With Best Regards
Bruno Georges

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


|-+--->
| |   [EMAIL PROTECTED]|
| |   tj.gov.br   |
| |   |
| |   24.08.06 18:40  |
| |   Please respond  |
| |   to "Tomcat Users|
| |   List"   |
| |   |
|-+--->
 
>--|
  | |
  |To:  "Tomcat Users List"   
 |
  |cc:|
  |Subject: Tomcat monitoring|
  | |
  |Distribute:|
  |Personal?   |---|   |
  || [ ] x |   |
  ||---|   |
  | |
 
>--|




Hi;
I attended to an Oracle IAS event and they presented their Enterprise
Manager 10g, and they showed some great monitoring capabilities. Here I
quote some of them from their document
"http://www.oracle.com/technology/products/oem/pdf/wp_aslm_10g.pdf":

"The tracing functionality provides an on-demand tool that lets
administrators examine in detail all invocation paths of a transaction,
and isolate the exact tier and location of a problem. All invocation paths
of a transaction are traced and hierarchically broken down by servlet/JSP,
EJB, JDBC/SQL times. Further drill-downs into each component identify
response time breakouts by invocation path. Click-to-SQL drill-downs allow
administrators to navigate down from a transaction view and examine the
underlying SQL statements." (Page 6)

"URL processing time and load activity graphs provide administrators with
information on the impact of server activity on response times." (Page 7)

"Enterprise Manager provides correlation of CPU utilization, memory, and
I/O usage of all Web application components to help administrators
determine where resources are constrained." (Page 8)


Well, my question is if there is any way to do such (or any) monitoring
with Tomcat 5.5.17. If not, is there any monitoring tool that you guys use
to monitor and troubleshoot Tomcat? Maybe just tomcat/java commands that
shows status/monitoring info. Actually we only graph URL response times
and load keep an eye on the logs.
Any info is welcome.
Thanks a lot.

Rafael Sarres de Almeida
Seção de Gerenciamento de Rede
Superior Tribunal de Justiça
Tel: (61) 3319-9342






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




Re: FataSourceReal, can't find data source

2006-08-25 Thread David Smith
Hmm -- config looks good for what you've provided.  Might want to take a 
look a little higher up in the logs to see if there's another problem 
contributing to this one.


--David

Will Hartung wrote:

Drop the ResourceLink element -- it's confusing tomcat and not needed 
here unless you created a global resource.
   



Thanx for the quick reply David, but, alas, removing the ResourceLink
resorts in the same error.

Regards,

Will Hartung
([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: Webapps loading sequence

2006-08-25 Thread David Smith
There is no guarantee of load order.  A fair number of people have asked 
if it was possible and the answer has always been no.


I believe (if I've read past threads correctly) best practice is to be 
sure the proper log4j.jar is in each WEB-INF/lib, removed from 
common/lib and shared/lib, added to server/lib for tomcat's own logging 
(if using a version that implements log4j for logging).


--David

Raju Balugu wrote:


Hi All,

While starting the tomcat ,I could see the webapps context loading.I 
would

like to know the process which one load first among the webapps

ex: I have 4 webapps which one is going to load first among them?

One more doubt
I have the 10 webapplications ,most of the apps are using the log4j
1.1.3and 1 app are going to use the log4j
1.2.12.(kept the log4j under corresponding WEB-INF/lib)(new apps).I am
loading the log4j.jar(1.1.3) in shared.loader.I am trying to launch 
the new
application ,I am getting the error on log4j (its clashing).If I refer 
the

new log4j.jar(1.2.12)..working fine but its giving the problem for other
apps due to the lower version of log4j.
Experts please suggest me, how to avoid this problem?

Regards
Raju




-
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: multiple virtual hosts and ssl certificates

2006-08-25 Thread Andrés González

> In 5.5.9 you can put all your certificates in one
> keystore ...
> I suggest you don't proliferate keystores unless you
> really have to...

Why? It seems far more manageable to me having them separate...


Mmm... i don't agree. Only a keystore, only a location for it, only
one password. I like the idea.


--

-=-=-=-=-=-=-=-=-=-=-=-=-
Andrés González.

-
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_LIBS_BASE

2006-08-25 Thread Zach Calvert
When opening the tomcat source files as projects, the classpaths refers
to TOMCAT_LIBS_BASE.  What directory should this point to and how do you
grab all of the jars that belong in it?  I did a search on the Tomcat
source and there is no path that exists that looks like it contains all
of the TOMCAT_LIBS_BASE jar files.
 
 
 
Thank you,
Zach Calvert


Re: multiple virtual hosts and ssl certificates

2006-08-25 Thread Hassan Schroeder

On 8/25/06, Paul Singleton <[EMAIL PROTECTED]> wrote:


In 5.5.9 you can put all your certificates in one
keystore ...
I suggest you don't proliferate keystores unless you
really have to...


Why? It seems far more manageable to me having them separate...

--
Hassan Schroeder  [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: FataSourceReal, can't find data source

2006-08-25 Thread Will Hartung

> Drop the ResourceLink element -- it's confusing tomcat and not needed 
> here unless you created a global resource.

Thanx for the quick reply David, but, alas, removing the ResourceLink
resorts in the same error.

Regards,

Will Hartung
([EMAIL PROTECTED])

-- 
View this message in context: 
http://www.nabble.com/FataSourceReal%2C-can%27t-find-data-source-tf2165343.html#a5985808
Sent from the Tomcat - User forum 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]



Webapps loading sequence

2006-08-25 Thread Raju Balugu

Hi All,

While starting the tomcat ,I could see the webapps context loading.I would
like to know the process which one load first among the webapps

ex: I have 4 webapps which one is going to load first among them?

One more doubt
I have the 10 webapplications ,most of the apps are using the log4j
1.1.3and 1 app are going to use the log4j
1.2.12.(kept the log4j under corresponding WEB-INF/lib)(new apps).I am
loading the log4j.jar(1.1.3) in shared.loader.I am trying to launch the new
application ,I am getting the error on log4j (its clashing).If I refer the
new log4j.jar(1.2.12)..working fine but its giving the problem for other
apps due to the lower version of log4j.
Experts please suggest me, how to avoid this problem?

Regards
Raju


Re: FataSourceReal, can't find data source

2006-08-25 Thread David Smith
Drop the ResourceLink element -- it's confusing tomcat and not needed 
here unless you created a global resource.


--David

Will Hartung wrote:


I'm trying to get a DataSourceRealm working for my project.

When I try to log in, I get:

javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
   at org.apache.naming.NamingContext.lookup(NamingContext.java:769)
   at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
   at
org.apache.catalina.realm.DataSourceRealm.open(DataSourceRealm.java:401)

Here's my Context.xml (it's short):



 
 
 


I also have the proper (I think) references and such in the web.xml:
   
   Postgres Datasource
   jdbc/securedb
   javax.sql.DataSource
   Container
   Shareable
   

So, I must be missing something fundamental, but I thought I had all of the
tracks covered.

Any hints appreciated.

Regards,

Will Hartung
([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]



FataSourceReal, can't find data source

2006-08-25 Thread Will Hartung

I'm trying to get a DataSourceRealm working for my project.

When I try to log in, I get:

javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:769)
at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
at
org.apache.catalina.realm.DataSourceRealm.open(DataSourceRealm.java:401)

Here's my Context.xml (it's short):



  
  
  


I also have the proper (I think) references and such in the web.xml:

Postgres Datasource
jdbc/securedb
javax.sql.DataSource
Container
Shareable


So, I must be missing something fundamental, but I thought I had all of the
tracks covered.

Any hints appreciated.

Regards,

Will Hartung
([EMAIL PROTECTED])

-- 
View this message in context: 
http://www.nabble.com/FataSourceReal%2C-can%27t-find-data-source-tf2165343.html#a5985525
Sent from the Tomcat - User forum 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: Site statistics for tomcat?

2006-08-25 Thread Ahmed Mohombe

I need to install a statistics tool in my tomcat, like webalizer.

What do you guys recommend? 
Since tomcat is a Java application, IMHO it is much simpler(and better and more secure) to install 
and use a java based web logs statistics tool like Polliwog:

http://polliwog.sourceforge.net/

Ahmed.


-
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: IIS vs Tomcat

2006-08-25 Thread Peter Crowther
> From: gurusamy.senthil [mailto:[EMAIL PROTECTED] 
> Can any one give me idea, What is the difference between 
> Microsoft IIS server and Tomcat Server.
> 
> Which is best and has better security to work, develop and for deploy.

Ooh, religious wars :-).

- Both are Web servers;
- Both are "fast enough" and have enough features for most applications;
- Both have "good enough" security if correctly deployed and configured;
- Both support hot deployment;
- Both are "good enough" to develop for if you have or can buy in the
appropriate skill-set;
- Tomcat is free and portable to non-Windows OSs; IIS requires a Windows
OS license and potentially further licenses.

If you're developing Java servlet-based applications, Tomcat is good.
If you're developing ASP.Net applications and are willing to limit
yourself to deploying on Microsoft WIndows, IIS is good.  If you're
developing PHP applications, Apache httpd is good.  What are you doing?

- Peter

PS. So far, I've spent part of the afternoon debugging an ASP.Net app,
another part debugging a servlet, and another part patching a PHP app.
I don't have an axe to grind :-)

-
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: multiple virtual hosts and ssl certificates

2006-08-25 Thread Paul Singleton

Hassan Schroeder wrote:


On 8/25/06, teknokrat <[EMAIL PROTECTED]> wrote:



So lets see if i understand this correctly. I can only have multiple SSL
certificates if I create different Services in server.xml pointing to
different ports?



No,  you don't need different Services; you need a Connector and
associated keystore per IP (or IP/port) that you want to secure.


In 5.5.9 you can put all your certificates in one
keystore (e.g. the default one for simplicity) under
different aliases, then use the (still) undocumented
attribute

  

I suggest you don't proliferate keystores unless you
really have to...

Paul Singleton

-
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: IIS vs Tomcat

2006-08-25 Thread Propes, Barry L
IIS - web server on Windows environment; Tomcat - servlet container; runs on a 
web server.

-Original Message-
From: gurusamy.senthil [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 9:25 AM
To: users@tomcat.apache.org
Subject: IIS vs Tomcat



Can any one give me idea, What is the difference between Microsoft IIS server
and Tomcat Server.

Which is best and has better security to work, develop and for deploy.


-- 
View this message in context: 
http://www.nabble.com/IIS-vs-Tomcat-tf2165043.html#a5984486
Sent from the Tomcat - User forum 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]


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



IIS vs Tomcat

2006-08-25 Thread gurusamy.senthil

Can any one give me idea, What is the difference between Microsoft IIS server
and Tomcat Server.

Which is best and has better security to work, develop and for deploy.


-- 
View this message in context: 
http://www.nabble.com/IIS-vs-Tomcat-tf2165043.html#a5984486
Sent from the Tomcat - User forum 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: multiple virtual hosts and ssl certificates

2006-08-25 Thread Hassan Schroeder

On 8/25/06, teknokrat <[EMAIL PROTECTED]> wrote:

So lets see if i understand this correctly. I can only have multiple SSL
certificates if I create different Services in server.xml pointing to
different ports?


No,  you don't need different Services; you need a Connector and
associated keystore per IP (or IP/port) that you want to secure.

--
Hassan Schroeder  [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]



Building Tomcat

2006-08-25 Thread Zach Calvert
What are the exact steps of building the tomcat server from source?  By
that I mean, where do you go to get the source, including the dependent
jars (commons, jasper, etc), and then use ant to build Tomcat itself?
 
Please note that http://tomcat.apache.org/tomcat-5.5-doc/building.html
is outdated and failing on the ant command for the root build.xml.
 
I have posted a comment already, and I'm trying not to post twice, but
I'm hoping this one explains in a little clearer text what I am doing.
 
 
 
Thanks again,
Zach Calvert


Re: multiple virtual hosts and ssl certificates

2006-08-25 Thread Andrew Miehs


Peter is correct - I was just being a bit lazy in my answer...

The ssl connection is setup BEFORE any 'hostname' information is  
passed over the link, and therefore the server would not know 'which'  
virtual hostname's ssl certificate to use.


Therefore - 1 certificate per IP Address/ Port combination.


Cheers

Andrew

On 25/08/2006, at 12:22 PM, Peter Crowther wrote:


From: Andrés González [mailto:[EMAIL PROTECTED]
I mean, what are you saying? That tomcat can only have 1 ssl
certificate per IP address, or that it is a "general" limitation of
the architecture of SSL certificates.


It is a general limitation of SSL.  To be strict: you can only have  
one certificate per *endpoint*, that is, IP address/port combination.




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



Multiple apache web servers single Tomcat, how many Connectors are needed?

2006-08-25 Thread tomcat
Hello,

Hopefully someone can clarify a setup query I have as after lots of searching I 
cannot
find a definitive answer.

Although I'm configuring a much more complex system the problem I have boils 
down to
this.

I want to configure two Apache instances running on separate servers to talk to 
a
single
Tomcat instance (on its own server) but need clarification on the number of
Connectors I
need to define on the Tomcat side (server.xml). Is it a Connector listening on
individual ports for each web server or one Connetor for all web servers?

Apache 2.0.59
mod_jk 1.2.18
Tomcat 5.5.17

Thanks in advance

J


-
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: Site statistics for tomcat?

2006-08-25 Thread Santosh Puranshettiwar

Marcelo Chryssovergis wrote:

Also, I would like to know how to enable an access logging in tomcat to be 
utilized with this tool I´m looking.

Would the *Access Log Valve* help?

Santosh.

-
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: Odd sesion-behaviour

2006-08-25 Thread Gregor Schneider

hi list,

ok, maybe my 1st story was a bit too long to catch the reader's
interest, no i'll try it with a shorter version:

when using an authenticated ssl-session with a formlogin (jsp), if the
session times out while the user is entering his login-data (i.e. the
user gets interrupted), tomcat just delivers a "connection reset" -
error-message

this is caused by the following line in tomcat-code (5.0.28):

   hres.sendError(HttpServletResponse.SC_REQUEST_TIMEOUT,

Now what I want is, that in case of this timeout-message the user is
forwarded to my logon-page again, however, I haven't found any way to
do this except subclassing FormAuthenticator and write my own code,
which I'd like to avoid.

Now could anybody please point me into the right direction or tell me
what I'm missing here?

TIA

Greg
--
what's puzzlin' you, is the nature of my game

-
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: Site statistics for tomcat?

2006-08-25 Thread Raghupathy,Gurumoorthy
http://tomcat.apache.org/tomcat-5.0-doc/config/valve.html ( access log Valve
) 

I hope this helps 


Regards
Guru

Gurumoorthy Raghupathy
Systems Operations - Fidelity Investments International
* Tel: +44 1737 836798
* Internal: 8-724 6798
* Tel (R): +442086610646
* Tel (R): +447899033459
* Tel (S): +447736059647 
* Mail-Zone : XTW2A
* E-Mail: <>

Important: Fidelity Investments International, Fidelity Investment Services
Limited, Fidelity Pensions Management and Financial Administration Services
Limited (a Fidelity Group company) are all authorised and regulated in the
UK by the Financial Services Authority and have their registered offices at
Oakhill House, 130 Tonbridge Road, Hildenborough, Tonbridge, Kent TN11 9DZ.
Tel 01732 361144. Fidelity only gives information on products and does not
give investment advice to private clients based on individual circumstances.
Any comments or statements made are not necessarily those of Fidelity. The
information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential and/or privileged material. If
you received this in error, please contact the sender and delete the
material from any computer. All e-mails sent from or to Fidelity may be
subject to our monitoring procedures. 'Direct link to Fidelitys website.


-Original Message-
From: Marcelo Chryssovergis [mailto:[EMAIL PROTECTED] 
Sent: 25 August 2006 13:23
To: users@tomcat.apache.org
Subject: Site statistics for tomcat?


Hello,

I need to install a statistics tool in my tomcat, like webalizer.

What do you guys recommend? I would like to use webalizer, but I´m not sure
if this is possible with tomcat.

Also, I would like to know how to enable an access logging in tomcat to be
utilized with this tool I´m looking.

Thanks in advance,

Marcelo D. Chryssovergis
Analista de Sistemas - Instituto de Estudos Avançados - IEA
www.iea.org.br


Site statistics for tomcat?

2006-08-25 Thread Marcelo Chryssovergis
Hello,

I need to install a statistics tool in my tomcat, like webalizer.

What do you guys recommend? I would like to use webalizer, but I´m not sure if 
this is possible with tomcat.

Also, I would like to know how to enable an access logging in tomcat to be 
utilized with this tool I´m looking.

Thanks in advance,

Marcelo D. Chryssovergis
Analista de Sistemas - Instituto de Estudos Avançados - IEA
www.iea.org.br

Re: multiple virtual hosts and ssl certificates

2006-08-25 Thread teknokrat

Peter Crowther wrote:
From: Andrés González [mailto:[EMAIL PROTECTED] 
I mean, what are you saying? That tomcat can only have 1 ssl

certificate per IP address, or that it is a "general" limitation of
the architecture of SSL certificates.


It is a general limitation of SSL.  To be strict: you can only have one 
certificate per *endpoint*, that is, IP address/port combination.

The reason is that the negotiation of the encrypted connection is done *before* 
the host header is sent.  Therefore the server has to deduce which certificate 
to send without knowing which Web site the client wishes to access.  Therefore 
the server always sends the one certificate that you have associated with that 
endpoint.

If you don't mind URLs of the form https://myserver.example:8443/somepage then 
you can have multiple certificates per IP address, and indeed per Tomcat.  But 
the sites need to be served on different ports.

- Peter

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




So lets see if i understand this correctly. I can only have multiple SSL 
certificates if I create different Services in server.xml pointing to 
different ports? Do I need to have different keystores for each 
connector too?


How do hosting providers manage to host multiple hosts each with their 
own ssl certificate? Doesn't this make the virtual hosts element a bit 
limited if only one of them can be secured?


cheers


-
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 5.5 HelloWorldExample 404 error

2006-08-25 Thread Martin Gainty
in web.xml please confirm these entries-


HelloWorldExample
HelloWorldExample


HelloWorldExample
/servlet/HelloWorldExample


M-
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



- Original Message - 
From: "Mark Eggers" <[EMAIL PROTECTED]>
To: "Tomcat Users List" 
Sent: Thursday, August 24, 2006 11:54 PM
Subject: Re: Apache 5.5 HelloWorldExample 404 error


> If you're talking about the regular Hello World
> example in :
> 
> http://localhost:8080/servlets-examples/servlet/HelloWorldExample
> 
> I don't know why it wouldn't work.  I have a very
> vanilla Tomcat 5.5.17 install on Windows/2000
> Professional with JDK 1.5.0_08 (just rebuilt the
> system), and everything works out of the box.
> 
> What changes have you made to the stock Tomcat?  Can
> you install a completely changed Tomcat somewhere and
> see what happens?
> 
> I don't use the invoker servlet.  I edit the web
> application's web.xml and reload the application or
> build another war file and upgrade the application.
> 
> That way when I go to production, there are no
> surprises - like forgetting a servlet definition in
> web.xml and wondering why things don't work . . . .
> 
> Just some random thoughts . . . .
> 
> /mde/
> 
> --- David Smith <[EMAIL PROTECTED]> wrote:
> 
>> My only guess is packageless classes are not
>> officially supported.  
>> Reality is packageless classes sometime work and
>> sometimes not.  If it 
>> were in a package, it */might/* work.
>> 
>> --David
>> 
>> Steve Willett (Initiative Computing) wrote:
>> 
>> >Thanks, David, that seems to have got it.
>> >
>> >Any idea why the default "Hello World (down one)"
>> example is not working?
>> >
>> >Steve 
>> >
>> >-Original Message-
>> >From: David Smith [mailto:[EMAIL PROTECTED] 
>> >Sent: Thursday, August 24, 2006 10:59 AM
>> >To: Tomcat Users List
>> >Subject: Re: Apache 5.5 HelloWorldExample 404 error
>> >
>> >We have a winner.  Take a look at
>> >http://faq.javaranch.com/view?InvokerServlet.
>> >
>> >The form tag should be:
>> >
>> >> action="servlet/elsewise.ui.user.LoginServlet"
>> method=POST>
>> >
>> >
>> >If the package of LoginServlet.class is
>> elsewise.ui.user.
>> >
>> >--David
>> >
>> >Steve Willett (Initiative Computing) wrote:
>> >
>> >  
>> >
>> >>Thanks again, David.
>> >>
>> >>Since I restarted, the localhost log has:
>> >>
>> >> Aug 24, 2006 9:31:17 AM
>> org.apache.catalina.core.ApplicationContext
>> >>log
>> >> SEVERE: Error loading WebappClassLoader
>> >>   delegate: false
>> >>   repositories:
>> >> /WEB-INF/classes/
>> >> --> Parent Classloader:
>> >>
>>
> [EMAIL PROTECTED]
>> >> ui
>> >> java.lang.ClassNotFoundException: ui
>> >> ... 
>> >> Aug 24, 2006 9:31:17 AM
>> org.apache.catalina.core.ApplicationContext
>> >>log
>> >> SEVERE: invoker: Cannot allocate servlet instance
>> for path 
>> >>/elsewise/servlet/ui/user/LoginServlet
>> >> javax.servlet.ServletException: Wrapper cannot
>> find servlet class ui
>> >>
>> >>
>> >
>> >  
>> >
>> >>or a class it depends on
>> >> ...
>> >>
>> >>And
>> >>
>> >> Aug 24, 2006 9:32:00 AM
>> org.apache.catalina.core.ApplicationContext
>> >>log
>> >> SEVERE: Error loading WebappClassLoader
>> >>   delegate: false
>> >>   repositories:
>> >> /WEB-INF/classes/
>> >> --> Parent Classloader:
>> >>
>>
> [EMAIL PROTECTED]
>> >> elsewise
>> >> java.lang.ClassNotFoundException: elsewise
>> >> ...
>> >> Aug 24, 2006 9:32:00 AM
>> org.apache.catalina.core.ApplicationContext
>> >>log
>> >> SEVERE: invoker: Cannot allocate servlet instance
>> for path 
>> >>/elsewise/servlet/elsewise/ui/user/LoginServlet
>> >> javax.servlet.ServletException: Wrapper cannot
>> find servlet class 
>> >>elsewise or a class it depends on
>> >> ...
>> >>
>> >>However, I shut Tomcat down again, restarted it,
>> and tried to access 
>> >>the "Hello World (down one)" Servlet Example from
>> the default Tomcat home
>> >>
>> >>
>> >page.
>> >  
>> >
>> >>I got no error messages in the log, even though it
>> still gives me the 
>> >>404, not found error.
>> >>
>> >>So I guess these two 404 errors are from a
>> different cause?
>> >>
>> >>Steve
>> >>
>> >>-Original Message-
>> >>From: David Smith [mailto:[EMAIL PROTECTED]
>> >>Sent: Thursday, August 24, 2006 10:03 AM
>> >>To: Tomcat Users List
>> >>Subject: Re: Apache 5.5 HelloWorldExample 404
>> error
>> >>
>> >>Ok.
>> >>
>> >>Have you taken a look at the logs generated by
>> tomcat from startup 
>> >>through the request?  May have some insight as to
>> what's happening (or 
>> >>not happening).
>> >>
>> >>--David
>> >>
>> >>Steve Willett (Ini

RE: Tool for monitoring Tomcat from the client side

2006-08-25 Thread Tim Lucia
I haven't found a way to record a complex post using JMeter.  I've resorted
to capturing headers with Firefox, and editing them into the appropriate XML
format and dropping that fragment into my test description.

Next time I have to add some tests I will investigate further.

Tim

> -Original Message-
> From: Bruno Georges [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 25, 2006 3:04 AM
> To: Tomcat Users List
> Subject: Re: Tool for monitoring Tomcat from the client side
> 
> I agree JMeter is a good choice and offer some recording functionality via
> the workbench, there is another tool for recording lower level traffic:
> ProxySniffer
> It may help in this case.
> 
> Bruno Georges
> 
> Glencore International AG
> Tel. +41 41 709 3204
> Fax +41 41 709 3000
> 
> 
> - Original Message -
> From: "Tim Lucia" [EMAIL PROTECTED]
> Sent: 25.08.2006 04:21
> To: "'Tomcat Users List'" 
> Subject: RE: Tool for monitoring Tomcat from the client side
> 
> I would second the use of JMeter.  I have used it pretty extensively and
> it
> is reasonably good.  I wish I could record using it as a proxy and play
> back
> the recording.  Anyone know if this is possible?  How about with another
> tool?
> 
> Tim
> 
> > -Original Message-
> > From: Andrés González [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 24, 2006 11:32 AM
> > To: users@tomcat.apache.org
> > Subject: Re: Tool for monitoring Tomcat from the client side
> >
> > I think i've found what i was searching for: JMeter.
> >
> > On 8/24/06, Andrés González <[EMAIL PROTECTED]> wrote:
> > > Hi.
> > >
> > > I'm searching a tool similar to nagios wich allows me do "client-side
> > > real testing" of my Tomcat webapps. Something that lets me do a HTTP
> > > request say every minute and store the result (OK or FAILED) of each
> > > request.
> > >
> > > Nagios seems to be a good choice, but it requires C programming for
> the
> > plugins.
> > >
> > > Any alternatives for java (or groovy)?
> > >
> > > Thanks.
> > >
> > > --
> > >
> > > -=-=-=-=-=-=-=-=-=-=-=-=-
> > > Andrés González.
> > >
> >
> >
> > --
> >
> > -=-=-=-=-=-=-=-=-=-=-=-=-
> > Andrés González.
> >
> > -
> > 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]
> 
> 
> 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 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: Change MessageFactoryImpl loading behaviour in Tomcat 5.5.17

2006-08-25 Thread Raju Balugu

Hi ,

Where you kept that saaj-impl.jar file?
if u want to load that jar file first ,you can place that jar file entry in
catalina.properties file which is there under conf directory either in
common loader or shared loader and let us know.

Regards
Raju


On 8/25/06, Nilantha <[EMAIL PROTECTED]> wrote:



I have axis.jar (1.2.1) and saaj-impl.jar(1.3) in a same web application
deployed in Tomcat 5.5.17. axis MessageFactoryImpl
implementation(org.apache.axis.soap.MessageFactoryImpl) gets preference
over
saaj-impl implementation
(com.sun.xml.messaging.saaj.soap.MessageFactoryImpl) during the run time.
I
am facing issues due to this and need to use saaj implementation when I
create SOAP messages.

I have no issue in Tomcat 5.0.x and it uses sun implementation for the
same
app. Only in Tomcat 5.5.x it is looking for axis version even if
saaj-impl.jar is available.

Appreciate if anyone could show me how I could override this default
behavior and make saaj class load first.


thank you
Nilantha

--
View this message in context:
http://www.nabble.com/Change-MessageFactoryImpl-loading-behaviour-in-Tomcat-5.5.17-tf2162003.html#a5975145
Sent from the Tomcat - User forum 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: multiple virtual hosts and ssl certificates

2006-08-25 Thread Peter Crowther
> From: Andrés González [mailto:[EMAIL PROTECTED] 
> I mean, what are you saying? That tomcat can only have 1 ssl
> certificate per IP address, or that it is a "general" limitation of
> the architecture of SSL certificates.

It is a general limitation of SSL.  To be strict: you can only have one 
certificate per *endpoint*, that is, IP address/port combination.

The reason is that the negotiation of the encrypted connection is done *before* 
the host header is sent.  Therefore the server has to deduce which certificate 
to send without knowing which Web site the client wishes to access.  Therefore 
the server always sends the one certificate that you have associated with that 
endpoint.

If you don't mind URLs of the form https://myserver.example:8443/somepage then 
you can have multiple certificates per IP address, and indeed per Tomcat.  But 
the sites need to be served on different ports.

- Peter

-
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: multiple virtual hosts and ssl certificates

2006-08-25 Thread Jorge Lázaro Molina

You can set 1 ssl certificate for each port over the same ip.

ie:
https://domain1.com/ takes default ssl port 443 and one cert.
https://domain2.com:10443/ takes another cert.
etc...
So you must listen ssl conexion on each port that you need

And take a look at http://wiki.cacert.org/wiki/VhostTaskForce


Andrew Miehs wrote:

You can only have 1 ssl certificate per IP address

Andrew


On 25/08/2006, at 11:09 AM, teknokrat wrote:

I am trying to set up tomcat with multiple virtual hosts, each with 
their own SSL certificate. Is this possible? Do I add each 
certificate to the main keystore as per one host?





-
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: multiple virtual hosts and ssl certificates

2006-08-25 Thread Andrés González

Andrew (hi namesake :)): are you sure of that?

I mean, what are you saying? That tomcat can only have 1 ssl
certificate per IP address, or that it is a "general" limitation of
the architecture of SSL certificates.

As far as i know hoy can have one ssl certificate per domain, and so
more than one ssl certificate per IP address...

In the tomcat i guess you could configure various "Service" elements,
with a different trustStoreFile for each one.




Am i wrong?

On 8/25/06, Andrew Miehs <[EMAIL PROTECTED]> wrote:

You can only have 1 ssl certificate per IP address

Andrew


On 25/08/2006, at 11:09 AM, teknokrat wrote:

> I am trying to set up tomcat with multiple virtual hosts, each with
> their own SSL certificate. Is this possible? Do I add each
> certificate to the main keystore as per one host?
>


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





--

-=-=-=-=-=-=-=-=-=-=-=-=-
Andrés González.

-
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: multiple virtual hosts and ssl certificates

2006-08-25 Thread Andrew Miehs

You can only have 1 ssl certificate per IP address

Andrew


On 25/08/2006, at 11:09 AM, teknokrat wrote:

I am trying to set up tomcat with multiple virtual hosts, each with  
their own SSL certificate. Is this possible? Do I add each  
certificate to the main keystore as per one host?





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



multiple virtual hosts and ssl certificates

2006-08-25 Thread teknokrat
I am trying to set up tomcat with multiple virtual hosts, each with 
their own SSL certificate. Is this possible? Do I add each certificate 
to the main keystore as per one host?


cheers


-
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: Do you run IIS 6.0 with JK 1.2.18?

2006-08-25 Thread Jessica

Thank you all!!!
especiallly to Mladen, you made my day!

I just patched my JK 1.2.15 msi installation with the new dll, added the
'missing' file and pointed it out in registry. Restarted IIS (just in case,
I unchecked the IIS property 'cache ISAPI extensions' before restarting with
new dll)  and I´m up running!!

Thanks again
Jessica 



Mladen Turk-2 wrote:
> 
> Jessica wrote:
>> Hi,
>> Is there anyone that has got the latest JK version (1.2.18) to run under
>> IIS
>> 6.0?
>> If so how did you install the dll?
>> 
>> Please help if you can!
> 
> Hi,
> There is an error in 1.2.18 that requires new feature
> (rewrite_rule_file) to be present in the Registry
> configuration, and it won't load JK without that
> file. However it and be an empty file.
> 
> rewrite_map_file points to the simple rule
> file in the format:
> /servlets/=/servlets-examples/
> will rewrite /servlets-examples/ URL to the /servlets/
> You can define multiple rules.
> 
> So, create an empty rewrites.properties file and
> add "rewrite_rule_file" in the Jakarta Isapi Redirector\\1.0
> registry that points to that file.
> 
> 
> Next version will have that resolved by not requiring
> rewrite_rule_file to be present.
> 
> 
> Regards,
> Mladen.
> 
> 
> -
> 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/Do-you-run-IIS-6.0-with-JK-1.2.18--tf2153322.html#a5979378
Sent from the Tomcat - User forum 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: Tool for monitoring Tomcat from the client side

2006-08-25 Thread Bruno Georges
Nagios can also accept Perl based puglins as well as Python, curl or GET
from a .sh script, etc..
Perl has a great set of Modules which allow you to perform all HTTP actions
you can think of.


With Best Regards
Bruno Georges

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


|-+--->
| |   "Andrés |
| |   González"   |
| |   <[EMAIL PROTECTED]|
| |   m>  |
| |   |
| |   24.08.06 17:20  |
| |   Please respond  |
| |   to "Tomcat Users|
| |   List"   |
| |   |
|-+--->
  
>--|
  | 
 |
  |To:  users@tomcat.apache.org 
 |
  |cc:  
 |
  |Subject: Tool for monitoring Tomcat from the client side 
 |
  | 
 |
  |Distribute:  
 |
  |Personal?   |---|
 |
  || [ ] x |
 |
  ||---|
 |
  | 
 |
  
>--|




Hi.

I'm searching a tool similar to nagios wich allows me do "client-side
real testing" of my Tomcat webapps. Something that lets me do a HTTP
request say every minute and store the result (OK or FAILED) of each
request.

Nagios seems to be a good choice, but it requires C programming for the
plugins.

Any alternatives for java (or groovy)?

Thanks.

--

-=-=-=-=-=-=-=-=-=-=-=-=-
Andrés González.

-
To start a new topic, e-mail: users@tomcat.apache.org
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 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 monitoring

2006-08-25 Thread Bruno Georges
Rafael

I forgot to mention that JBoss provides JBoss Operations Network which uses
agent to collect metrics no the machine where you deployed your Tomcat
instance. You can access it via  a web front-end and monitor your
apache/tomcat/jboss instances. There is a lot more they support, I suggest
you look at:
http://www.jboss.com/resources/jbon_demos

There is also JProbe [used to be a sitraka's product], now you can get it
from Quest. It is fairly intrusive.
You also have JProfiler and YourKit.
Most of these support JVMPI and some JVMPI.

Use Java 5, it will provide more hooks for profiling your JVM. [along with
JVMTI support]

Hopes this helps.

With Best Regards
Bruno Georges

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


|-+--->
| |   [EMAIL PROTECTED]|
| |   tj.gov.br   |
| |   |
| |   24.08.06 18:40  |
| |   Please respond  |
| |   to "Tomcat Users|
| |   List"   |
| |   |
|-+--->
  
>--|
  | 
 |
  |To:  "Tomcat Users List"
 |
  |cc:  
 |
  |Subject: Tomcat monitoring   
 |
  | 
 |
  |Distribute:  
 |
  |Personal?   |---|
 |
  || [ ] x |
 |
  ||---|
 |
  | 
 |
  
>--|




Hi;
I attended to an Oracle IAS event and they presented their Enterprise
Manager 10g, and they showed some great monitoring capabilities. Here I
quote some of them from their document
"http://www.oracle.com/technology/products/oem/pdf/wp_aslm_10g.pdf":

"The tracing functionality provides an on-demand tool that lets
administrators examine in detail all invocation paths of a transaction,
and isolate the exact tier and location of a problem. All invocation paths
of a transaction are traced and hierarchically broken down by servlet/JSP,
EJB, JDBC/SQL times. Further drill-downs into each component identify
response time breakouts by invocation path. Click-to-SQL drill-downs allow
administrators to navigate down from a transaction view and examine the
underlying SQL statements." (Page 6)

"URL processing time and load activity graphs provide administrators with
information on the impact of server activity on response times." (Page 7)

"Enterprise Manager provides correlation of CPU utilization, memory, and
I/O usage of all Web application components to help administrators
determine where resources are constrained." (Page 8)


Well, my question is if there is any way to do such (or any) monitoring
with Tomcat 5.5.17. If not, is there any monitoring tool that you guys use
to monitor and troubleshoot Tomcat? Maybe just tomcat/java commands that
shows status/monitoring info. Actually we only graph URL response times
and load keep an eye on the logs.
Any info is welcome.
Thanks a lot.

Rafael Sarres de Almeida
Seção de Gerenciamento de Rede
Superior Tribunal de Justiça
Tel: (61) 3319-9342






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

Re: Do you run IIS 6.0 with JK 1.2.18?

2006-08-25 Thread Mladen Turk

Jessica wrote:

Hi,
Is there anyone that has got the latest JK version (1.2.18) to run under IIS
6.0?
If so how did you install the dll?

Please help if you can!


Hi,
There is an error in 1.2.18 that requires new feature
(rewrite_rule_file) to be present in the Registry
configuration, and it won't load JK without that
file. However it and be an empty file.

rewrite_map_file points to the simple rule
file in the format:
/servlets/=/servlets-examples/
will rewrite /servlets-examples/ URL to the /servlets/
You can define multiple rules.

So, create an empty rewrites.properties file and
add "rewrite_rule_file" in the Jakarta Isapi Redirector\\1.0
registry that points to that file.


Next version will have that resolved by not requiring
rewrite_rule_file to be present.


Regards,
Mladen.


-
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: Tool for monitoring Tomcat from the client side

2006-08-25 Thread Bruno Georges
I agree JMeter is a good choice and offer some recording functionality via the 
workbench, there is another tool for recording lower level traffic: ProxySniffer
It may help in this case.

Bruno Georges

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


- Original Message -
From: "Tim Lucia" [EMAIL PROTECTED]
Sent: 25.08.2006 04:21
To: "'Tomcat Users List'" 
Subject: RE: Tool for monitoring Tomcat from the client side

I would second the use of JMeter.  I have used it pretty extensively and it
is reasonably good.  I wish I could record using it as a proxy and play back
the recording.  Anyone know if this is possible?  How about with another
tool?

Tim

> -Original Message-
> From: Andrés González [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 24, 2006 11:32 AM
> To: users@tomcat.apache.org
> Subject: Re: Tool for monitoring Tomcat from the client side
> 
> I think i've found what i was searching for: JMeter.
> 
> On 8/24/06, Andrés González <[EMAIL PROTECTED]> wrote:
> > Hi.
> >
> > I'm searching a tool similar to nagios wich allows me do "client-side
> > real testing" of my Tomcat webapps. Something that lets me do a HTTP
> > request say every minute and store the result (OK or FAILED) of each
> > request.
> >
> > Nagios seems to be a good choice, but it requires C programming for the
> plugins.
> >
> > Any alternatives for java (or groovy)?
> >
> > Thanks.
> >
> > --
> >
> > -=-=-=-=-=-=-=-=-=-=-=-=-
> > Andrés González.
> >
> 
> 
> --
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-
> Andrés González.
> 
> -
> 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]


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