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 PR

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

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

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 prob

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

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 Ma

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

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 calli

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

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

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.

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, Ba

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

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.

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 ag

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 outg

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

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 Cr

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

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 encryp

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 des

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 i

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

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

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}/sh

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

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 p

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

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, s

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 "Tomca

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

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

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

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 TOMCA

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 -

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: ht

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

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

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(NamingCo

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.

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 e

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 Connec

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

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 foru

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 p

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

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 co

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

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@to

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 ju

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

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.

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

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

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

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

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 c

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/VhostTas

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

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

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@tom

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

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

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

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'

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