Re: Hello

2009-02-13 Thread André Warnier
So apparently, I did end up make it more complicated than it is. Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Hello Vista 32-bit - 32-bit Java JDK or JRE Vista 64-bit - 64-bit Java JDK or JRE Not necessarily true. I run both 32- and 64-bit versions

Recommendation # webapps

2009-02-13 Thread Pieter Temmerman
Hi list, I realize my question may be very dependent on the environment, requirements and scope, but I was wondering if you guys recommend the use one Tomcat instance per webapp (on the same server), or rather several webapps in one Tomcat? Note that I'm talking about applications in production,

Re: [OT] of the different methods to get a user-id

2009-02-13 Thread André Warnier
Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] of the different methods to get a user-id I don't understand that, either. I suppose this works differently in different languages, though: return i++; return (i++); Not any that

Re: nio connector configuration

2009-02-13 Thread Peter Warren
I'm trying to figure out how best to configure nio so that my comet timeout events get generated in a timely manner. I have the comet events set to generate a timeout every 50 seconds. Works fine with few users. Under a moderate but reasonable load the timeout gets generated on average every

Re: Hello

2009-02-13 Thread Pieter Temmerman
Luckily I'm not a windows user, because all of this seems rather confusing to me. On Fri, 2009-02-13 at 09:25 +0100, André Warnier wrote: So apparently, I did end up make it more complicated than it is. Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re:

Re: Recommendation # webapps

2009-02-13 Thread Mihamina Rakotomandimby (R12y)
Pieter Temmerman wrote: The most logical answer would be; Use one Tomcat per webapp, whenever possible. However, the administration overhead is so much bigger than using a single Tomcat. And how if each webapp uses a specificity of a special version of Tomcat? If that usecase is not possible,

Re: Hello

2009-02-13 Thread André Warnier
Pieter Temmerman wrote: Luckily I'm not a windows user, because all of this seems rather confusing to me. It is confusing to anyone, except the wizards themselves. There are rumors going around that this is exactly the point.

RE: [OT] of the different methods to get a user-id

2009-02-13 Thread Peter Crowther
From: André Warnier [mailto:a...@ice-sa.com] I was going to let that one pass, but now I'm provoked. The expressions above do work differently in Perl. [...] However, the calle sub can be cleverer and anticipate this, by doing : return wantarray ? (i++) : i++; thus checking in which context

RE: Tomcat installation for Flyswatter

2009-02-13 Thread Pieter Temmerman
If you want to keep the directory name for your webapp as ParticleBoard, then do not put it under Tomcat's webapps directory, but do remove the existing ROOT directory there. Put your webapp somewhere outside of Tomcat's directory structure, and create the file

Re: Tomcat installation for Flyswatter

2009-02-13 Thread André Warnier
Pieter Temmerman wrote: If you want to keep the directory name for your webapp as ParticleBoard, then do not put it under Tomcat's webapps directory, but do remove the existing ROOT directory there. Put your webapp somewhere outside of Tomcat's directory structure, and create the file

Can I access Tomcat's JNDI provider from outside tomcat?

2009-02-13 Thread Uma Gudi
How to access Tomcat's JNDI provider from outside tomcat 5.5.27 ? Uma Maheswara Rao Gudi Tata Consultancy Services Mailto: uma.g...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions

Re: WebdavServlet + custom DirContext = unexpected behaviour

2009-02-13 Thread Stephen Winnall
Thanks for your feedback. On 13 Feb 2009, at 05:04, Caldarale, Charles R wrote: From: Stephen Winnall [mailto:st...@winnall.ch] Subject: WebdavServlet + custom DirContext = unexpected behaviour My Tomcat is as installed by NetBeans 6.5, that is with a separate CATALINA_HOME and CATALINA_BASE.

RE: Tomcat installation for Flyswatter

2009-02-13 Thread Caldarale, Charles R
From: Pieter Temmerman [mailto:ptemmerman@sadiel.es] Subject: RE: Tomcat installation for Flyswatter Maybe stupid question, but why do you need to put the webapp out of the Tomcat folder, in order to make it the root app? The key clause in the statement was If you want to keep the

RE: [OT] of the different methods to get a user-id

2009-02-13 Thread Caldarale, Charles R
From: Peter Crowther [mailto:peter.crowt...@melandra.com] Subject: RE: [OT] of the different methods to get a user-id Thank you. Although I don't need any further reasons to avoid that camel of a language whenever I can, it's always nice to find another really good reason to avoid it...

RE: [OT] of the different methods to get a user-id

2009-02-13 Thread Peter Crowther
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Hear, hear! In a past life, a guy I know actually wrote a suite of production programs in APL - which was even more cryptic (but also more logical) than Perl. Dedication indeed! Did he need the custom golfball for the teletype

RE: Recommendation # webapps

2009-02-13 Thread Caldarale, Charles R
From: Pieter Temmerman [mailto:ptemmerman@sadiel.es] Subject: Recommendation # webapps The most logical answer would be; Use one Tomcat per webapp, whenever possible. However, the administration overhead is so much bigger than using a single Tomcat. Not just administration overhead, but

Re: [OT] Tomcat installation for Flyswatter

2009-02-13 Thread André Warnier
Caldarale, Charles R wrote: [...] ... (possibly brain fade due to exposure to Perl). ... although Tomcat is getting better at detected such illogical configurations ... See, here is the difference : Perl, in contrast to some Microsoft products (and now apparently also Tomcat), makes no

RE: Hello

2009-02-13 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Hello I understand that, but how would a newbie understand this ? Read the mailing list? I didn't know that. But who (other than an expert) would know that, looking at those links alone ? Actually, Intel seems to have deliberately

Starting tomcat from jar file‏ (from another service)

2009-02-13 Thread fatih arıkan
Hello all, I want to make a service program for windows that runs tomcat standalone in it. I did a win32 .exe that creates service and runs jar file with JNI code. Firstly I made my own jar file which writes to a file with start command and it worked. Then I used this exe with tomcat's

Re: Hello

2009-02-13 Thread Mark Thomas
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Hello I understand that, but how would a newbie understand this ? Read the mailing list? I didn't know that. But who (other than an expert) would know that, looking at those links alone ? Actually,

Re: Hello (Dave's not here!)

2009-02-13 Thread michel
Can people please use something a little more descriptive than Hello? - Original Message - From: Mark Thomas ma...@apache.org To: Tomcat Users List users@tomcat.apache.org Sent: Friday, February 13, 2009 10:19 AM Subject: Re: Hello Caldarale, Charles R wrote: From: André Warnier

RE: Hello

2009-02-13 Thread Martin Gainty
anyone coming aboard sonny crockett's boat would meet Security Chief Elvis..elvis was an alligator Topic: does TC work with Intel64/Itanium or should we be invoking TC64 Bit in 'Windows Compatibility Mode' aka32bit ? Thanks Martin __ Disclaimer and

Re: [OT] of the different methods to get a user-id

2009-02-13 Thread André Warnier
Peter Crowther wrote: From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Hear, hear! In a past life, a guy I know actually wrote a suite of production programs in APL - which was even more cryptic (but also more logical) than Perl. Dedication indeed! Did he need the custom

Re: Hello

2009-02-13 Thread André Warnier
Mark Thomas wrote: Caldarale, Charles R wrote: [...] I'm not privy to the thought processes behind the packaging of the .exe and .zip downloads, but I don't like it, whatever it was. I think all bits and pieces should be in all the packages. The .exe installer could be made smart enough

Re: Hello

2009-02-13 Thread Mark Thomas
André Warnier wrote: Mark Thomas wrote: Caldarale, Charles R wrote: [...] I'm not privy to the thought processes behind the packaging of the .exe and .zip downloads, but I don't like it, whatever it was. I think all bits and pieces should be in all the packages. The .exe installer could

RE: tomcat admin console set values

2009-02-13 Thread Srinivas Jonnalagadda
Chuck, Sorry for not mentioning. I am using tomcat 5.5.9 on a solaris machine and 5.5.27 on a windows machine. I tried to set the JnDi DataSource and i was successful on 5.5.27 windows version. I already had the same settings in my context.xml so got a doubt regarding location where the

RE: Oracle connection pooling

2009-02-13 Thread Hamacher, Eric
I was just putting some fake values there. But I got around the problem (although I can't remember how) Now I put: Resource name=jdbc/GFDataSource auth=Container type=oracle.jdbc.pool.OracleDataSource factory=oracle.jdbc.pool.OracleDataSourceFactory

RE: accepting requests from outside the host?

2009-02-13 Thread Frank D. Greco
Thanks for the response Chuck. I took a look at the tomcat process on my box and it has this: sockname: AF_INET6 :::127.0.0.1 port: 8080 Basically, its localhost. I can't telnet or ping. Our ISP sysadmin disabled those on the firewall. Someone else said I need to bind it to the

RE: Oracle connection pooling

2009-02-13 Thread Propes, Barry L
For factory, I have namefactory/name valueorg.apache.commons.dbcp.BasicDataSourceFactory type=javax.sql.DataSource/ I'd try taking out that line you have -- type=oracle.jdbc.pool.OracleDataSource factory=oracle.jdbc.pool.OracleDataSourceFactory

catalina.out

2009-02-13 Thread Mohit Anchlia
Is there a way to just log SEVERE or ERROR messages to catalina.out? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Access Valve

2009-02-13 Thread Mohit Anchlia
Currently we are logging in default format. Is it possible to add Xforwarded by info to default logging. Here is the config: Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.log pattern=common resolveHosts=false/

RE: accepting requests from outside the host?

2009-02-13 Thread Caldarale, Charles R
From: Frank D. Greco [mailto:fgr...@crossroadstech.com] Subject: RE: accepting requests from outside the host? I took a look at the tomcat process on my box and it has this: sockname: AF_INET6 :::127.0.0.1 port: 8080 That's not pretty. Must be some odd rules in place here

Re: Tomcat unexpectedly shuts down

2009-02-13 Thread Juha Laiho
Adlane ACHAB wrote: hi, below is my tomcat config Tomcat VersionJVM VersionJVM VendorOS NameOS VersionOS ArchitectureApache Tomcat/6.0.181.6.0-b105Sun Microsystems Inc.Linux2.6.23.12i386 Essentially what happens is this: The server is running along fine, and then all of a sudden, for

RE: Oracle connection pooling

2009-02-13 Thread Hamacher, Eric
Thanks, I was able to get connections that way. However, I use Oracle-specific classes like: oracle.jdbc.OracleTypes; oracle.jdbc.internal.OracleCallableStatement; oracle.sql.ARRAY; oracle.sql.ArrayDescriptor; which require Oracle-specific connections. I've filed a Service Request with

RE: Oracle connection pooling

2009-02-13 Thread Martin Gainty
Eric- the serviceID in your connect string should match the supplied SID from %ORACLE_HOME%/network/admin/tnsnames.ora if no SID is supplied Oracle takes the TNS entryname e.g. contents of %TOMCAT_HOME%/network/admin/tnsnames.ora FOOBAR = .. (SID=FOOBAR2) the SID is FOOBAR2

RE: Oracle connection pooling

2009-02-13 Thread Propes, Barry L
I guess I'm not sure why...I have all kinds of packages and stored procs in mine, and yet I'm never using Oracle-specific classes. It's probably too lengthy an explanation for you as to why you have to or need to use them. -Original Message- From: Hamacher, Eric

Re: Access Valve

2009-02-13 Thread André Warnier
Mohit Anchlia wrote: Currently we are logging in default format. Is it possible to add Xforwarded by info to default logging. Here is the config: Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.log

Resource JDBC connection pooling USING LDAP

2009-02-13 Thread trames
I have found lot of examples on how to set up JDBC connection pooling using the resource tags in context.xml. My goal is to NOT embed the database connection user name, password, or even server url like it is shown below. I have the ApacheDS LDAP server set up, and would like to retrieve the

Re: WebdavServlet + custom DirContext = unexpected behaviour

2009-02-13 Thread Stephen Winnall
Can anyone help me with this? I'm completely stuck! I have a Tomcat 6.0.18 installation with WebdavServlet enabled. If I use the following Context file, WebDAV works OK: Context Resource name=jdbc/xwdb auth=Container type=javax.sql.DataSource

AJP13 Connector and JKOptions

2009-02-13 Thread Pete Helgren
I have a Tomcat application that happily serves up a web app when I use a URL like this: http://www.mywebsite.com:8080/MyAPP Which I wanted to change to this: http://www.mywebsite.com/MyAPP Using Apache I added the worker.properties file and the following directives to an existing Apache

filter debugging or logging?

2009-02-13 Thread Brad Whitaker
Is there a logger that can emit information about when servlet filters are invoked? I'm having trouble with some filters and it feels like I'm completely blind and unable to see what's going on. I have multiple filters that have been provided by 3rd party libraries and it is very difficult to

Re: tomcat admin console set values

2009-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Srinivas, On 2/13/2009 12:21 PM, Srinivas Jonnalagadda wrote: Sorry for not mentioning. I am using tomcat 5.5.9 on a solaris machine and 5.5.27 on a windows machine. I tried to set the JnDi DataSource and i was successful on 5.5.27 windows

Re: [OT] Weblogic library and Tomcat

2009-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/12/2009 10:12 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Weblogic library and Tomcat log4j:ERROR LogMananger.repositorySelector was null likely due to error in class

Re: Failed installing 'Tomcat5' service

2009-02-13 Thread boraldo
No, it is my 1st Tomcat Service. Len Popp wrote: Is there another version of Tomcat (5.0 or 6.0) already installed? I have seen that error when installing two different versions of Tomcat because both versions try to use the same name for the service, which is not allowed. -- Len

RE: accepting requests from outside the host?

2009-02-13 Thread Frank D. Greco
I can't telnet or ping. Our ISP sysadmin disabled those on the firewall. Nice guy. He said it was a security precaution. Actually I don't blame him. Someone else said I need to bind it to the ipaddr of the box (OpenSolaris btw), but I'm not sure how to do that. Set

RE: Oracle connection pooling

2009-02-13 Thread Uma Gudi
Hi Eric, I am executing as Stand-alone(my .class file out the tomcat), Is it possible to lookup for JNDI, As Tomcat running in the same machine. Thanks and Regards Uma Maheswara Rao Gudi Tata Consultancy Services Mailto: uma.g...@tcs.com Website: http://www.tcs.com