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 ___

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

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: [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 i

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 versi

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 know

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 ser

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 file, WebDAV works OK: type="javax.sql.DataSource" driverClassName="org.postgresql.Driver" url="..." username="..." pas

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

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: Mohit, the Tomcat on-line documentation describes that Valve. Go have a look. I'll be nice and even give you the link : http://tomcat.

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 [mailto:eric_hamac...

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

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 sudd

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

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: - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mai

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

RE: Oracle connection pooling

2009-02-13 Thread Propes, Barry L
For factory, I have factory org.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" And swit

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 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: into META-INF/context.xml. The type "javax.sql.DataSource" didn't work. Now when I call getConnection() on the OracleDataSource I get: java.sql.SQLException: User credentials

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 values

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

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 to

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 golfbal

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 or should we be invoking TC64 Bit in 'Windows Compatibility Mode' aka32bit ? Thanks Martin __ Disclaimer and confidentiality

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" To: "Tomcat Users List" Sent: Friday, February 13, 2009 10:19 AM Subject: Re: Hello Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: R

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 ?

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 bootstra

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 delibera

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 assu

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

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 teletyp

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

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.

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: 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 conf/Ca

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 conf/Catalina/localhost/

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 con

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: 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, t

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

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 113

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 I'm

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