Re: Exception Message:org.apache.tomcat.dbcp.dbcp.BasicDataSource cannot be cast to org.apache.tomcat.dbcp.dbcp.BasicDataSource

2012-07-09 Thread Filip Hanik
That's what's wrong. Remove them all from web-inf/lib Sent from my iPad, pardon any brevity. Filip Hanik On Jul 9, 2012, at 10:58, vijay.gan...@subk.co.in wrote: > yes in both CATALINA_HOME/lib and app/WEB-INF/lib, > tomcat-dbcp.jar,ojdbc14.jar and lasses12.jar fil

Re: Error when performing a reset of the server

2014-01-08 Thread Filip Hanik
Chuck, does this happen upon startup, restart or shutdown of the service? That would be the first part of tracking it down. here is some general configuration options available to you as a service http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html On Wed, Jan 8, 2014 at 1:57 PM

Re: Error when performing a reset of the server

2014-01-08 Thread Filip Hanik
; and the only way that she resolves it is to reboot the windows server. >>> >>> I will read through the site that you have sent and see what I can >>> figure out. >>> >>> Thanks, >>> >>> Chuck >>> >>> Chuck John

Re: Weird issue setting up SSL on a WinDoze box

2014-01-22 Thread Filip Hanik
delete the file tcnative-1.dll and tomcat reverts to java based ssl and keystores. On Wednesday, January 22, 2014, James H. H. Lampert < jam...@touchtonecorp.com> wrote: > On 1/22/14 5:26 PM, Caldarale, Charles R wrote: > >> You have installed and enabled the APR connector, but are trying to use

Re: [OT] Out of memory exception - top posting

2014-01-24 Thread Filip Hanik
Since this is part of a thread, neither top nor bottom posting makes sense, why include the previous post if we all have access to it in our conversation thread. the only time it makes sense to include it, would be when you reply in line to multiple questions with multiple answers. there, that sho

Re: Tomcat 7 / Java 7

2014-01-27 Thread Filip Hanik
Yes it is compatible, and no, there is nothing you really need to do except to test your applications that they work too. On Mon, Jan 27, 2014 at 9:37 AM, Singh, Ragini wrote: > Hello, > > Is Tomcat 7.0.42 compatible with Java 7?< > http://stackoverflow.com/questions/9294355/is-tomcat-7-now-com

Re: Tomcat JNDI Datasource

2014-02-06 Thread Filip Hanik
Yes, define the connection pool in server.xml, then in context.xml define a That binds the shared connection pool to each context. On Thursday, February 6, 2014, David Newman wrote: > I have defined a JNDI JDBC datasource as a resource in the global > context.xml file. I was under the impre

Re: What is the best connector configuration for thousands of mostly idle users?

2014-02-10 Thread Filip Hanik
Jesse, mostly idle users and you wish to conserve resources. Use the JkOptions +DisableReuse on the mod_jk module. This will close connections after the request has been completed. Many will tell you this will slow down your system since new connections have to be created for each request. Usually,

Re: Tomcat 7.0.50 - Starting tomcat get this error "overrides final method start."

2014-02-20 Thread Filip Hanik
If I remember correctly, IIRC, those adapters have been removed from Spring security. If you upgrade your Tomcat, try to upgrade your Spring Security version too http://64.20.104.11/spring-security/spring-security/commit/e2062bbe79033b214f55f7c2ce03542a70f29a78 On Thu, Feb 20, 2014 at 7:20 AM, P

Re: DBCP2 connection pool leak?

2014-02-28 Thread Filip Hanik
you can try out tomcat-jdbc, and see if that solves your problem, it may help you narrow it down. http://tomcat.apache.org/tomcat-8.0-doc/jdbc-pool.html On Fri, Feb 28, 2014 at 11:26 AM, Mark Thomas wrote: > On 28/02/2014 18:22, Felipe Jaekel wrote: > > Hi, > > > > Today I tried to migrate my

Re: PooledConnection.getConnection - Tomcat JDBC Pool

2014-03-25 Thread Filip Hanik
Please open a bug, and we will get this taken care of. I do have one question,Aries library, on which call does it expect to return the connection to the pool? XAConnection.close() or XAConnection.getConnection().close(); ? On Tue, Mar 25, 2014 at 6:05 AM, Jonathan Pierce wrote: > I am trying

Re: PooledConnection.getConnection - Tomcat JDBC Pool

2014-03-26 Thread Filip Hanik
Jonathan opened up the following bug https://issues.apache.org/bugzilla/show_bug.cgi?id=56310 and I do believe our pool is incorrectly implementing the ConnectionPoolDatasource. I do believe it shouldn't implement that interface at all. On Wed, Mar 26, 2014 at 10:41 AM, Christopher Schultz < ch

Re: catalina.out is 13G

2014-04-22 Thread Filip Hanik
http://www.tomcatexpert.com/knowledge-base/rotating-catalinaout-log-files On Tue, Apr 22, 2014 at 8:20 AM, Randhir Singh wrote: > Hi, > > I have a immediate concern as the mount point on which Tomcat is placed is > 99% and on checking I found that catalina.out is 13GB. I wanted to > implement a

Re: catalina.out is 13G

2014-04-22 Thread Filip Hanik
check out /usr/bin/truncate truncate --size 0 /path/to/fil On Tue, Apr 22, 2014 at 8:28 AM, Randhir Singh wrote: > Thanks for your answer Leon. The space should be freed immediately on the > system, can the catalina.out be truncated on an running system? > > Regards > > -Original Message--

Re: Connection count explosion due to thread http-nio-80-ClientPoller-x death

2014-06-19 Thread Filip Hanik
"Our sites still functions normally with no cpu spikes during this build up until around 60,000 connections, but then the server refuses further connections and a manual Tomcat restart is required." yes, the connection limit is a 16 bit short count minus some reserved addresses. So your system sho

Re: Connection count explosion due to thread http-nio-80-ClientPoller-x death

2014-06-27 Thread Filip Hanik
Are there any log entries that would indicate that the poller thread has died? This/these thread/s start when Tomcat starts. and a stack over flow on a processing thread should never affect the poller thread. Filip On Thu, Jun 26, 2014 at 4:01 PM, Christopher Schultz < ch...@christopherschultz.

Re: Error in DBCP Connection Pool with tomcat 6.x

2014-07-01 Thread Filip Hanik
Looks like your code already called java.sql.Connection.close() and then attempts to use the connection again Filip On Tue, Jul 1, 2014 at 8:09 AM, Propes, Barry L wrote: > > > -Original Message- > From: Vijendra Pachoriya [mailto:vijendra.pachor...@indegene.com] > Sent: Tuesday, July

Re: Help with Tomcat 7 clustering using BIO receiver

2014-07-03 Thread Filip Hanik
I'd be more inclined to continue down the path of the NIO connector, it has been tested and used more. What are the errors you get when running with NIO? On Thu, Jul 3, 2014 at 8:51 AM, Konstantin Kolinko wrote: > 2014-07-03 18:46 GMT+04:00 João Sávio : > > Unfortunately it's not working yet >

Re: Issue with spring when migrating from 7.0.50 to 7.0.52-53-54

2014-07-03 Thread Filip Hanik
These errors may happen when you have two libraries that both contain the class javax.persistence.spi.PersistenceProvider search the libraries (*.jar) in both tomcat and your WAR file, and see if there are multiple instances of the above named class On Thu, Jul 3, 2014 at 9:28 AM, Xavier Outhier

Re: Help with Tomcat 7 clustering using BIO receiver

2014-07-03 Thread Filip Hanik
you mention NIO and say maxThreads, that sounds like the configuration, but the BIO receiver is on the cluster, and it a completely different component that also has an applicable NIO configuration. are you confusing the two? I'm saying that you should use the NIO receiver on the cluster componen

Re: Help with Tomcat 7 clustering using BIO receiver

2014-07-03 Thread Filip Hanik
gt; server, and from the second request should hit the node where the > conference is. > > > Thanks a lot > João > > > 2014-07-03 15:40 GMT-03:00 Filip Hanik : > > > you mention NIO and say maxThreads, that sounds like the > > configuration, but the BIO recei

Re: Help with Tomcat 7 clustering using BIO receiver

2014-07-03 Thread Filip Hanik
Ok, at least the stack trace is clear. The session has been invalidated somehow. We would need to figure out when and how this happens, is it possible that you are doing a clean shutdown of a tomcat instance and that instance expires all the sessions? If that is the case, kill the tomcat with 'kill

Re: Help with Tomcat 7 clustering using BIO receiver

2014-07-03 Thread Filip Hanik
A race condition could happen if you set replication to happen async. But I do have a memory of the configuration specifying synchronous replication, which would guarantee that the replication changes have happened before the request is complete. On Thu, Jul 3, 2014 at 3:51 PM, Christopher Schu

Re: Help with Tomcat 7 clustering using BIO receiver

2014-07-03 Thread Filip Hanik
did you post your server.xml cause I can't find it? On Thu, Jul 3, 2014 at 4:25 PM, João Sávio wrote: > Hello Filip > > I'm using channelSendOptions="4", which is supposed to be synchronous > > Regards > João >

Re: Help with Tomcat 7 clustering using BIO receiver

2014-07-03 Thread Filip Hanik
Joao, try channelSendOptions="6" this will mean that 1. You wish to use ACK's (option 2) 2. You wish the ACK to be synchronous If you don't have the 0x0002 option enabled, it wont use ACKs at all. Filip On Thu, Jul 3, 2014 at 4:44 PM, João Sávio wrote: > If I set channelSendOptions="8" (def

Re: Query timeouts using tomcat jdbc pool

2014-07-23 Thread Filip Hanik
Vasily, the exception depends on where the timeout occurs. If the timeout is triggered by the driver, because you hit the setQueryTimeout limit http://docs.oracle.com/javase/7/docs/api/java/sql/Statement.html#setQueryTimeout(int) then yes, as per javadoc, it is up to the JDBC driver to throw an ex

Re: Query timeouts using tomcat jdbc pool

2014-07-23 Thread Filip Hanik
detected not using setQueryTimeout > method, but by the tomcat pool settings (setMaxAge or > setTimeBetweenEvictionRunsMillis), it means that no exception can be thrown > at all? > > Vasily > > > > 2014-07-23 12:14 GMT+04:00 Filip Hanik : > > > Vasily, the e

Re: java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-07 Thread Filip Hanik
if you could capture the XML that you are trying to write, we can put it into a test case and reproduce. Filip On Thu, Aug 7, 2014 at 3:24 PM, Terence M. Bandoian wrote: > On 8/7/2014 10:04 AM, John Smith wrote: > >> TC 7.0.54 / RHEL 6 / JDK 1.7.0_60 >> >> I'm getting a pretty consistent erro

Re: Global JNDI resources lookup behavior difference between version 6.0.39 and 6.0.41/7.0.55

2014-09-03 Thread Filip Hanik
can you post your configuration file. that will be the only way we can help you fix it, as I doubt tomcat will go back to pre 6.0.41 days :) Filip On Wed, Sep 3, 2014 at 9:36 AM, Robert Anderson wrote: > Hi, > > > In a privileged context, a have the following jsp to test a global jndi > resou

Re: Global JNDI resources lookup behavior difference between version 6.0.39 and 6.0.41/7.0.55

2014-09-03 Thread Filip Hanik
't added any > > resource links, so technically there are no resources available to your > > application through JNDI. See the Introduction section here, which > states > > why resource links are necessary. > > > > > > > > > http://tomcat.apache.org/tomcat-7.0-d

Re: Connection count explosion due to thread http-nio-80-ClientPoller-x death

2014-09-18 Thread Filip Hanik
wrote: > > > -----BEGIN PGP SIGNED MESSAGE- > > Hash: SHA256 > > > > Filip, > > > > On 6/27/14, 11:36 AM, Filip Hanik wrote: > > > Are there any log entries that would indicate that the poller > > > thread has died? This/these thread/s s

Re: [ANN] New committer: Felix Schumacher

2014-09-19 Thread Filip Hanik
Welcome aboard!! Start committing :) On Fri, Sep 19, 2014 at 6:28 AM, Tim Funk wrote: > +1 Awesome! Welcome! > > -Tim > > On Fri, Sep 19, 2014 at 3:49 AM, Rainer Jung wrote: > > > On behalf of the Tomcat committers I am pleased to announce that > > Felix Schumacher (fschumacher) has been voted

Re: Debugging Tomcat JDBC pool disconnects.

2014-09-24 Thread Filip Hanik
If you implement a JdbcInterceptor, the method JdbcInterceptor.disconnected will always be called. If the disconnect is permanent, then JdbcInterceptor.reset(null,null) will be called after disconnected On Tue, Sep 23, 2014 at 9:41 AM, Todd Chapman wrote: > Hi, > > My application uses the Tomcat

Re: Tomcat JDBC pool - too many connections in TIME_WAIT state

2014-11-05 Thread Filip Hanik
this is part of the TCP lifecycle, you can adjust this timeout yourself on the Operating system level http://www.cs.northwestern.edu/~agupta/cs340/project2/TCPIP_State_Transition_Diagram.pdf cat /proc/sys/net/ipv4/tcp_fin_timeoutecho 15 > /proc/sys/net/ipv4/tcp_fin_timeout On Wed, Nov 5, 2014 a

Re: Tomcat JDBC connection pool: Using initSql together with validatorClassName

2014-12-03 Thread Filip Hanik
You should be able to run init SQL commands yourself in your custom validator https://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/tomcat/jdbc/pool/Validator.html On Wed, Dec 3, 2014 at 11:42 AM, Wes Clark wrote: > These actions seems to incorrectly conflated in the code. I'd also like >

Re: Help! Tomcat crashing on takeoff

2014-12-12 Thread Filip Hanik
Couple of things that comes to mind 1. the 'java' binary that gets executed is actually not the one you think it is 2. the file /wintouch/tomcat/bin/bootstrap.jar is corrupted or not readable by the JVM hence it can't find the class Filip On Fri, Dec 12, 2014 at 11:27 AM, James H. H. Lampert

Re: Help! Tomcat crashing on takeoff

2014-12-12 Thread Filip Hanik
possibly add -verbose:class to your JVM options and see if that yields anything On Fri, Dec 12, 2014 at 1:44 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > James, > > On 12/12/14 3:19 PM, James H. H. Lampert wrote: > > On

Re: Help! Tomcat crashing on takeoff

2014-12-12 Thread Filip Hanik
or -Dibm.cl.verbose=ClassToTrace On Fri, Dec 12, 2014 at 2:26 PM, Filip Hanik wrote: > possibly add > > -verbose:class > > to your JVM options and see if that yields anything > > On Fri, Dec 12, 2014 at 1:44 PM, Christopher Schultz < > ch...@christopherschultz.net&

Re: Help! Tomcat crashing on takeoff

2014-12-12 Thread Filip Hanik
On Fri, Dec 12, 2014 at 3:55 PM, James H. H. Lampert < jam...@touchtonecorp.com> wrote: > > On Fri, Dec 12, 2014 at 2:26 PM, Filip Hanik wrote: > >> >> possibly add >>> >>> -verbose:class >>> >>> to your JVM options and see if that

Re: Help! Tomcat crashing on takeoff

2014-12-12 Thread Filip Hanik
ce" export JAVA_OPTS and hopefully that way it takes into effect On Fri, Dec 12, 2014 at 6:47 PM, James H. H. Lampert < jam...@touchtonecorp.com> wrote: > On 12/12/14 5:36 PM, Filip Hanik wrote: > > ​We're not looking for change, we're looking for the output, that may

Re: Occasional long wait for a JDBC connection

2015-01-14 Thread Filip Hanik
The timeout happens in your SocketRead, this is configurable (default is forever) http://dev.mysql.com/doc/connector-j/en/connector-j-reference-configuration-properties.html what appears to be happening is that somewhere there isn't a reset packet sent from the server to the JDBC driver. Setting a

Re: tomcat-jdbc PoolCleaner deadlock

2015-01-30 Thread Filip Hanik
Disable the pool cleaner timeBetweenEvictionRunsMillis=0

Re: tomcat-jdbc PoolCleaner deadlock

2015-01-30 Thread Filip Hanik
since intersys already does pooling however, disabling the pool cleaner it should yield better results. On Fri, Jan 30, 2015 at 11:02 AM, Filip Hanik wrote: > Disable the pool cleaner > > timeBetweenEvictionRunsMillis=0 > > >

Re: tomcat-jdbc PoolCleaner deadlock

2015-01-30 Thread Filip Hanik
fhanik/jdbc-pool/jdbc-pool.html > > 2015-01-30 15:15 GMT-03:00 Robert Anderson : > > > Filip, > > > > however, disabling the pool cleaner it should yield better results. > > > > The documention[1] says: > > > > "This value should not be set under

Re: tomcat-jdbc PoolCleaner deadlock

2015-01-30 Thread Filip Hanik
pool cleaner it should yield better results. > >> > >> The documention[1] says: > >> > >> "This value should not be set under 1 second" > >> > >> Isn't true? > >> > >> > >> > >> 2015-01-30 15:07 GMT-03:00 Filip Hani

Re: tomcat-jdbc PoolCleaner deadlock

2015-01-30 Thread Filip Hanik
idationQuery()!=null); return result;" [1] > > Best regards. > > > [1] > > https://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/tomcat/jdbc/pool/PoolConfiguration.html#isPoolSweeperEnabled() > > 2015-01-30 16:13 GMT-03:00 Filip Hanik : > > > Are you seeing tha

Re: tomcat-jdbc PoolCleaner deadlock

2015-02-06 Thread Filip Hanik
! > > > > Thanks, > > > > Robert > > > > 2015-01-30 16:31 GMT-03:00 Filip Hanik : > > > > Robert, kindly let us know if disabling the pool cleaner does resolve > your > >> dead lock > >> > >> Filip > >> > &

Re: Tomcat 8 SQL Connection Problems

2015-02-10 Thread Filip Hanik
Try http://tomcat.apache.org/tomcat-8.0-doc/jdbc-pool.html On Tue, Feb 10, 2015 at 10:22 AM, Jerry Malcolm wrote: > Has something changed on TC 8 requiring some different configuration for > SQL connections? I just installed 8.0.15 on three servers (see last week's > post regarding errors on 8.

Re: Connection leak Tomcat7 and Oracle

2015-02-24 Thread Filip Hanik
unless DBCP changed of course. I would add ​the following property to your element​ factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html On Tue, Feb 24, 2015 at 3:47 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -

Re: Tomcat 8 DB Connection Pooling

2015-06-11 Thread Filip Hanik
set the properties logAbandoned="true" removeAbandoned="true" removeAbandonedTimeout="60" (value is in seconds, should be larger than your longest running transaction) timeBetweenEvictionRunsMillis="15000" (value is in milliseconds) if you have a leak (meaning your code is not returning the conne

Re: Tomcat 8 DB Connection Pooling

2015-06-11 Thread Filip Hanik
Configuration reference: https://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html On Thu, Jun 11, 2015 at 6:58 PM, Filip Hanik wrote: > set the properties > > logAbandoned="true" > removeAbandoned="true" > removeAbandonedTimeout="60" (value is in

Re: Getting Tomcat to display a web page hosted by HTTPD

2006-06-15 Thread Filip Hanik - Dev Lists
HARRIS Corporation / GCSD (321) 984-6292 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.4/364 - Release Date: 6/14/2006 -- Filip Hanik

Re: Apache with Tomcat and session affinity problem

2006-06-16 Thread Filip Hanik - Dev Lists
- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Filip Hanik

Re: mod_proxy a risk?

2006-06-16 Thread Filip Hanik - Dev Lists
a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Filip Hanik - To start a new topic, e-mail: users@tomcat.apache.org To

Re: Tomcat configuration error

2006-06-16 Thread Filip Hanik - Dev Lists
ppreciated. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- F

Re: Tomcat configuration error

2006-06-16 Thread Filip Hanik - Dev Lists
, skrev "Filip Hanik - Dev Lists" <[EMAIL PROTECTED]>: Fredrik Andersson wrote: Hi all Ok so heres the deal. I want my tomcat installation (5.5.17) to load pages from /var/www/webapps/R2M/SMC I´m also running a virtual host setup so I edit my server.xml file and point the

Re: flushing system.out

2006-06-16 Thread Filip Hanik - Dev Lists
m.out in a servlet (or jsp). - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Filip Hanik - To start

Re: Tomcat configuration error

2006-06-16 Thread Filip Hanik - Dev Lists
skrev "Filip Hanik - Dev Lists" <[EMAIL PROTECTED]>: the more logical setup would be (assuming the SMC is a webapp) I changed three things 1. Host.appBase 2. Context.path 3. Context.docBase Filip Fredrik Andersson wrote: Hi,

Re: Apache with Tomcat and session affinity problem

2006-06-16 Thread Filip Hanik - Dev Lists
how do you verify that you don't have a cookie? I suggest using LiveHttpHeaders (firefox/mozilla) or TCPMonitor Filip Sharma, Siddharth wrote: Yes I did jvmRoute is set to the worker name. still, no jsessionid cookie. -Original Message- From: Filip Hanik - Dev Lists [m

Re: Tomcat configuration error

2006-06-16 Thread Filip Hanik - Dev Lists
telling me different things and none works.. :( I understand that I must be anoying and it´s really nice of you to help me. =) Den 6/16/2006, skrev "Filip Hanik - Dev Lists" <[EMAIL PROTECTED]>: R2M.xml? where did that come from? it should be SCM.xml, although the name isn&#

Re: Apache with Tomcat and session affinity problem

2006-06-16 Thread Filip Hanik - Dev Lists
finitely there is some issue. ____ From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Fri 6/16/2006 7:21 PM To: Tomcat Users List Subject: Re: Apache with Tomcat and session affinity problem how do you verify that you don't have a cookie? I suggest using Liv

Re: Apache with Tomcat and session affinity problem

2006-06-16 Thread Filip Hanik - Dev Lists
, a C++ session. The Tomcat web app essentially has a servlet that delegates to the C++ component using JNI. Should we create an HttpSession before delegating? Is that the missing link? Thanks Sidd -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Friday

Re: Apache with Tomcat and session affinity problem

2006-06-16 Thread Filip Hanik - Dev Lists
of the popup Expand the Node "Cookies" and click on button View Cookies. You can see the cookie JSESSIONID with its value. If you don't see the cookie, then definitely there is some issue. From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]

Re: org.apache.catalina.valves.RemoteHostValve issue

2006-06-16 Thread Filip Hanik - Dev Lists
ning Cocoon as the servlet. I'm running Tomcat 5.5.9. Thanks for your help, Lars ----- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Filip Hanik

Re: tomcat5.5.17 cluster(using jdk1.5) error - OutOfMemoryError in starting up on AS4

2006-06-18 Thread Filip Hanik - Dev Lists
users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Filip Hanik - 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 in-memory session replication

2006-06-21 Thread Filip Hanik - Dev Lists
ples group=balanced # Define a status worker [status:] # Status URI mapping [uri:/jkstatus/*] group=status obviously the server.xml files on the other 2 instances of tomcat are the same except the ports and jvmRoute have been changed. can anyone see where i am going wrong ? Thanks -- Filip Hanik - 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 in-memory session replication

2006-06-21 Thread Filip Hanik - Dev Lists
tion context to the web server URI space [uri:/jsp-examples/*] info= Mapping for jsp-examples context for tomcat context=/jsp-examples group=balanced [shm] file=/etc/httpd/conf/jk2.shm size=100 [uri:/servlets-examples/*] context=/servlets-examples group=balanced # Define a stat

Re: Question about StandardSession and ApplicationContext

2006-06-21 Thread Filip Hanik - Dev Lists
ward truth" - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -

Re: Tomcat session replication/cluster

2006-06-21 Thread Filip Hanik - Dev Lists
ist:website1website1 The config I'm using is exactly the same as the default from server.xml, except the cluster is defined in Engine, rather than each Host. Filip Hanik - Dev Lists wrote: also, use Tomcat 5.5.17 Sean O'Reilly wrote: Hi, I am trying to get in-memory session

Re: mod_jk failover and preferring localhost

2006-06-21 Thread Filip Hanik - Dev Lists
m 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] -- Filip Hanik -

Re: mod_jk failover and preferring localhost

2006-06-21 Thread Filip Hanik - Dev Lists
Mladen Turk wrote: Filip Hanik - Dev Lists wrote: you've setup sticky_sessions to be false, (btw, I thought that only took 0/1 values) so how can you expect session affinity from that? Recent mod_jk versions can take True/False instead 1/0 just as an convenience method. instead or &qu

Re: Tomcat session replication/cluster

2006-06-22 Thread Filip Hanik - Dev Lists
uot; as cluster engine container. Peter Am 22.06.2006 um 10:32 schrieb Pid: Filip Hanik - Dev Lists wrote: if the cluster is put in the engine element, the context names are prefixed with the engine name, since you can have multiple contexts with the same name in different host w

Re: Tomcat session replication/cluster

2006-06-23 Thread Filip Hanik - Dev Lists
Hi Guys, I appear to be finally getting somewhere with the in-memory state replication but am now getting the following error when starting up my tomcat instances/ WARNING: Manager [/jsp-examples], requesting session state from org.apache.catalina.cluster.mcast.McastMember[tcp://192.168.4.121:

Re: one filter for all webapps?

2006-06-23 Thread Filip Hanik - Dev Lists
fault servlet as well)? thanks, dean No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 6/21/2006 -- Filip Hanik

Re: Tomcat session replication/cluster

2006-06-23 Thread Filip Hanik - Dev Lists
Sean O'Reilly wrote: On Fri, 23 Jun 2006 09:05:18 -0500 Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: Hi Guys, I appear to be finally getting somewhere with the in-memory state replication but am now getting the following error when starting up my tomcat instances/ WARNI

Re: Tomcat session replication/cluster

2006-06-23 Thread Filip Hanik - Dev Lists
Sean O'Reilly wrote: On Fri, 23 Jun 2006 10:00:36 -0500 Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: Sean O'Reilly wrote: On Fri, 23 Jun 2006 09:05:18 -0500 Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: Hi Guys, I appear to be finally gett

Re: one filter for all webapps?

2006-06-23 Thread Filip Hanik - Dev Lists
at specific but at least the filter isn't. Jon Filip Hanik - Dev Lists wrote: in tomcat you can write a Valve http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html this is tomcat specific, so it wouldn't be portable across containers. Filip Dean Hiller wrote: Is t

Re: Tomcat 5.5 load balancing URL redirefction not transparent to client

2006-07-13 Thread Filip Hanik - Dev Lists
redirection, as the name tells you, doesn't balance, it redirects, and there is nothing transparent about a redirection. what you are looking for is called proxying, and the best example for that, would be mod_proxy in the Apache httpd web server. Filip Madhur K Tanwani wrote: Hi, I'm separa

Re: starting with windows service

2006-07-13 Thread Filip Hanik - Dev Lists
http://people.apache.org/~fhanik/wrapper.html Vinu Varghese wrote: Hi Sk, Have u tried with the windows binary of tomcat ? - regards Vinu Shinya Koizumi wrote: Any word on this problem. SK. - Original Message - From: "Shinya Koizumi" <[EMAIL PROTECTED]> To: Sent: Monday, July 10,

Re: Tomcat 5.5 load balancing URL redirefction not transparent to client

2006-07-13 Thread Filip Hanik - Dev Lists
t the LB gurus find obviously wrong here and would want to tell me (or would you want me to encounter it as it comes :) )? looks good, if you only have one httpd, is that a single point of failure for you? Awaiting your valuable comments, Madhur. Filip Hanik - Dev Lists wrote: redirection, a

Re: Tomcat clustering

2006-07-20 Thread Filip Hanik - Dev Lists
http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html Konstantina wrote: Hello, I have read that in Tomcat5 there is a way to multicast session data to a group of servers, so that each has the same information and the client can contact any server. How can I multicast information saved

Re: cluster SimpleTcpCluster in 5.5.17

2006-07-21 Thread Filip Hanik - Dev Lists
Are you saying that the message below keeps repeating itself? over and over again? what does your full log say? Filip Jean-frederic Clere wrote: Hi, I have trying to get the SimpleTcpCluster running but I only get: +++ INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMe

Re: Setting heap once the tomcat JVM is started

2006-07-21 Thread Filip Hanik - Dev Lists
since the heap is a Java VM configuration, not a Tomcat setting, you would have to consult your VM vendors documentation. The short answer would be no. Filip sajid khan wrote: Hi All, Can we set the JVM heap size after the Tomcat has started ? I mean to say configure heap at runtime Thanks

Re: Servlet/session becoming null

2006-07-31 Thread Filip Hanik - Dev Lists
if you are saying the tomcat session is dropped then, two reasons could be: 1. the session cookie is dropped 2. the session has expired (been idle longer than your timeout setting) but your stack trace show TransactionSession, and it could be that your TransactionSession is holding a reference

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2006-07-31 Thread Filip Hanik - Dev Lists
looks like your context XML file is not a valid XML format Filip Aynalem, Seblewengel (Trawick) wrote: Yes I do have SQL JDBC driver in common/lib as sqljdbc.jar and did drop from context.xml file. Another error comes ups as follows: Jul 31, 2006 3:01:05 PM org.apache.catalina.core.AprLife

Re: Tomcat Cluster

2006-08-01 Thread Filip Hanik - Dev Lists
it means that server-A has the webapp /edac but server-B doesn't. and server B is receiving messages, and ignoring them doesn't mean its an error, only if you expect both servers to have the webapp. This is not the case if one server is starting up and has not deployed the app yet Filip Ralf S

Re: tomcat 5.0 maintenance

2006-08-02 Thread Filip Hanik - Dev Lists
There is an interest and willingness to maintain, to my best knowledge we haven't received any complaints on fixes needed for 5.0.30-beta but once we have a list of required bug fixes, we can start working on it and issue a release Filip Frank Peters wrote: Hi, can someone give me a hint, if

Re: Ant Build Problem Undeploying Struts App from Tomcat

2006-08-02 Thread Filip Hanik - Dev Lists
since 5.5.x is currently at .17, what don't you upgrade to that, before you call deploy, make sure you call remove/undeploy if the problem persists, post what is going wrong Warren wrote: I am running Tomcat 5.5.3 on a Windows XP box. When I run my Ant build task to "undeploy" my webapp, it dele

Re: SSL does not work on work.

2006-08-02 Thread Filip Hanik - Dev Lists
try using https for secure transport, ie, https://localhost:8443 ^ Chandra Muppavarapu wrote: Folks, I am trying to turn on SSL on my tomcat running as a webserver. I have followed the steps in the following link but my SSL still does not work. http://tomcat.apache.org/tomcat-5.5-doc/ss

Re: Query regarding tomcat cluster

2006-08-03 Thread Filip Hanik - Dev Lists
that link contains all the necessary steps, when installing on the same machine, you must avoid port conflicts, the two instances aren't allowed to share ports like 8080,8009,4001 etc Filip Vinod Devarajan wrote: Hi I tried installing Tomcat 5.0.28 on Solaris 10. I then installed one more in

Re: multiple instances of tomcat

2006-08-03 Thread Filip Hanik - Dev Lists
it could be easier to just cp -r TC_HOME_1 TC_HOME_2 and voila, two instances, just remember to change the ports in TC_HOME_2/conf/server.xml to be different from server_1 Filip Chris Lear wrote: * Pratap Parne wrote (03/08/06 15:50): how to setup and deploy applications on multiple insta

Re: Query regarding tomcat cluster

2006-08-03 Thread Filip Hanik - Dev Lists
le. To do this, you should front-end the cluster with a load balancer (mod_jk, mod_proxy both are frequently-used.) Tim > > On 8/3/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > > > > that link contains all the necessary steps, when installing on the same >

Re: Help with redirection from http to https

2006-08-03 Thread Filip Hanik - Dev Lists
yes, web.xml for your web-application http://e-docs.bea.com/wls/docs61/webapp/web_xml.html#1019727 user-data-constraint & CONFIDENTIAL Filip Chandra Muppavarapu wrote: Folks, I have a packaged software that uses tomcat as the webserver. I would like the users to be automatically redirected

Re: how to use jsvc to stop the tomcat service

2006-08-03 Thread Filip Hanik - Dev Lists
if you want a more complete Tomcat service, that lets you do thread dumps etc, take a look at: http://people.apache.org/~fhanik/wrapper.html Filip Patrick Wang wrote: Hi All: I am using TOMCAT 5.0.28, I found the following command to start a tomcat instance on the documentation page, however

Re: how to use jsvc to stop the tomcat service

2006-08-03 Thread Filip Hanik - Dev Lists
of course, stopping a service is used using the Windows "Services" GUI. Control Panel -> Administrative Tools -> Services Filip Patrick Wang wrote: Hi All: I am using TOMCAT 5.0.28, I found the following command to start a tomcat instance on the documentation page, however it did not mention

Re: steps multiple instances of tomcat

2006-08-04 Thread Filip Hanik - Dev Lists
if you don't install it as a service, it is as easy on windows as on linux, there is no requirement for it to run as a service. but if you want the simple way of creating two tomcats running as services, don't use the tomcat provided wrapper, use: http://people.apache.org/~fhanik/wrapper.html

Re: Tomcat SSL question

2006-08-04 Thread Filip Hanik - Dev Lists
set "redirectPort" on your AJP(port 8009) connector to 443 http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html using mod_jk, you will not use port 8080 and 8443, only 8009. Filip David Miller wrote: I can't do that because the web server uses those ports. Perhaps someone can just verify

Re: Restarting Tomcat causes application to be displayed across all instances

2006-08-04 Thread Filip Hanik - Dev Lists
could be several reasons, one common one is that somewhere in your restart script, you are setting the classpath manually to include the classes. another would be that your classes are in shared/classes or shared/lib if not, you'd need to dig deeper. Ryan O'Hara wrote: Currently, we have a few

Re: How do I direct all http requests to Https

2006-08-04 Thread Filip Hanik - Dev Lists
I just responded to this yesterday, web.xml for your web-application http://e-docs.bea.com/wls/docs61/webapp/web_xml.html#1019727 user-data-constraint & CONFIDENTIAL Filip William Chu wrote: How do I direct a user to the https url when they use the http url? i.e. http:// is directed to http

Re: How do I direct all http requests to Https

2006-08-04 Thread Filip Hanik - Dev Lists
logic developement and that would require to have two web.xml files. Is there a way to set the context to user for example web_tomcat.xml file instead ? I work in exploded format. Thanks, MC From: Filip Hanik - Dev Lists <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List"

  1   2   3   4   5   6   7   8   9   10   >