Re: NIO Java or TC - What are u using it 4?

2008-02-23 Thread Filip Hanik - Dev Lists
Johnny Kewl wrote: - Original Message - From: "Filip Hanik - Dev Lists" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, February 22, 2008 5:59 PM Subject: Re: NIO Java or TC - What are u using it 4? you're subject has an "or" in

Re: configuration of deployer in cluster

2008-02-25 Thread Filip Hanik - Dev Lists
you do need to define the deployer on each instance, however in 5.5 there was an unfortunate change, and I believe that deployDir has to point to your webapps directory Filip Taner Diler wrote: Hi all, I want to deploy war file in vertical cluster. I'm confused a little bit with configurat

Re: Why is session unbound called after cluster failover?

2008-02-25 Thread Filip Hanik - Dev Lists
the stack trace idea is a good idea, and you can post it here Filip Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Hole wrote: | Well, our class USER implements HttpSessionBindingListener, | Serializable and when failover happens valueUnbound is exec

Re: NIO connector in Tomcat 6.0.14

2008-02-25 Thread Filip Hanik - Dev Lists
PM, Filip Hanik - Dev Lists wrote: browser don't work the way you might it expect to, firefox for example, will not display anything until the entire request is complete. so the chat example is no good that way. write a client application for your comet, to test how it works Does a

Re: Why is session unbound called after cluster failover?

2008-02-25 Thread Filip Hanik - Dev Lists
Andrew Hole wrote: It happens on both. Valueunbound is executed on old server when tomcat is stopped, and is executed on new server when I execute logout (or if I shutdown tomcat). We only want that new server executes valueunbound. if Tomcat is stopped, then it will call all the listeners pro

Re: Tomcat plans for per-webapp session replication

2008-02-25 Thread Filip Hanik - Dev Lists
this has been done since the beginning of session replication. if your webapp has in web.xml sessions will be replicated. if the element is missing, session data will not be replicated even if the server is configured for clustering Filip Andrew R Feller wrote: Are there any plans to have T

Re: Incorrect cookie value in tomcat5.5.26

2008-02-25 Thread Filip Hanik - Dev Lists
563 Cell: 732.216.4908 Email: [EMAIL PROTECTED] Conference Dial-in: 1-218-486-1300, Bridge: 427526 -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Monday, February 11, 2008 11:54 AM To: Tomcat Users List Subject: Re: Incorrect cookie value in to

Re: NIO connector under heavy load drops incoming requests?

2008-02-25 Thread Filip Hanik - Dev Lists
you don't need four (4) acceptor threads, turn that to one (1) also, you omited the most interesting stack trace :) Filip Emile Litvak wrote: Hello everyone, We have a high load environment where we are running tomcat 5.5.15 successfully. We are interesting in reducing the system CPU load

Re: NIO connector under heavy load drops incoming requests?

2008-02-25 Thread Filip Hanik - Dev Lists
Alan Chaney wrote: Actually I've seen something like this. I'm under a lot of pressure to get something out so I haven't investigated it further, but what seemed to be happening is that if the client slowed down the NIO connector was throwing a SocketTimeout. I tried messing about with the timeo

Re: Why is session unbound called after cluster failover?

2008-02-26 Thread Filip Hanik - Dev Lists
kill -9 my friend :) Andrew Hole wrote: The "valueUnbound" is NOT being propagated from the TC instance shutting down across the cluster. The valueunbound is executed when I do the shutdown of an TC instance (session logout tracking was done -> database record inserted). After that I still wor

Re: executor does not work with AJP connector

2008-02-26 Thread Filip Hanik - Dev Lists
you might have forgotten to uncomment or configure that actual executor, hence the NPE Filip nitin dubey wrote: Hi, I tried configuring executor in tomcat 6.0.14 for AJP Connector like following: executor="tomcatThreadPool" connectionTimeout="2" /> While starting tomcat it gives

Re: executor does not work with AJP connector

2008-02-27 Thread Filip Hanik - Dev Lists
onnectionTimeout="2" redirectPort="8443" /> executor="tomcatThreadPool" connectionTimeout="2" /> ===== --- On Wed, 27/2/08, Filip Hani

Re: how to send http response in several chunked package with Tomcat

2008-02-27 Thread Filip Hanik - Dev Lists
you don't need to do that, tomcat does it for you. all you need to do is while (havedata) { response.getOutputStream().println(some data) response.flushBuffer() } and tomcat takes care of the rest Filip Hanks Wang (hanwan) wrote: Hi Johnny, I try below method implement the chunk in code:

Re: Incorrect cookie value in tomcat5.5.26

2008-02-27 Thread Filip Hanik - Dev Lists
ginal Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Monday, February 25, 2008 6:54 PM To: Tomcat Users List Subject: Re: Incorrect cookie value in tomcat5.5.26 what is your scenario, the following code worked for me, even though the browser doesn't send

Re: Incorrect cookie value in tomcat5.5.26

2008-02-28 Thread Filip Hanik - Dev Lists
okie file is not being written under - C:\Documents and Settings\Sushil\Cookies. If you are looking for some specific code or need me to describe further, please let me know Thanks, Sushil -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, Feb

Re: Tomcat 6 Cluster multicast problem

2008-02-28 Thread Filip Hanik - Dev Lists
you probably have a 5.5 instance running on the same multicast address somewhere, and so your 6.0.16 instance is getting packages from a node you don't know about give you TC6 instances a new multicast address or port Filip Martin Kristensen wrote: Hi, I am trying to upgrade two Tomcat 5.5 ser

Re: how to send http response in several chunked package with Tomcat

2008-02-28 Thread Filip Hanik - Dev Lists
help. B.R Han -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 27, 2008 11:24 PM To: Tomcat Users List Subject: Re: how to send http response in several chunked package with Tomcat you don't need to do that, tomcat does it for you

Re: Does tomcat support multicores

2008-02-28 Thread Filip Hanik - Dev Lists
tomcat is core agnostic, it lets the JVM handle it, and the answer is yes, most JVMs will support multi core machines Filip James Law wrote: Os - WinXP CPU - Intel Quad Core Hi I'm running a tomcat server, and would like to know if Tomcat can make use of multiple cores? When I max the server

Re: Clustering In Production

2008-03-01 Thread Filip Hanik - Dev Lists
address="127..." this means you have two tomcat instances on the same machine? is this what you want? Filip James Ellis wrote: I am new to Tomcat 6 (upgrading from Tomcat 4) and I would love to benefit from the features of clustering. However, I am concerned about performance. Are people s

Re: Clustering In Production

2008-03-02 Thread Filip Hanik - Dev Lists
inline: James Ellis wrote: Filip, Sorry for the confusion. I am testing this on my local machine at the moment. I am assuming in an environment with multiple machines I'd have the actual IP address of the machine here correct? How about my settings for following: - channelSendOptions t

Re: Nio related problem - all threads are stuck

2008-03-06 Thread Filip Hanik - Dev Lists
can you point us to the complete dump, too little info below Filip esagi123 esagi123 wrote: Hello, I have a web server application running (I am using TOMCAT NIO connector). Looking at the thread dump It appears 392 request processing threads are stuck while waiting for a monitor: Waiting fo

Re: NIO connector source code

2008-03-06 Thread Filip Hanik - Dev Lists
tomcat.apache.org, click download link, there is a zip file containing the source. Filip neil davudo wrote: Where? I downloaded the entire Tomcat source code. Can you point me to the directories? TIA Neil markt-2 wrote: neil davudo wrote: Where can I find the source code for the

Re: The troubles with tribes

2008-03-11 Thread Filip Hanik - Dev Lists
Tom van Wietmarschen wrote: L.S., After investigating several possibilities I decided to test Tribes for messaging in an application I'm developing. However, I've run in to several problems which I can't figure out by myself. I hope this is the correct place to ask these questions since there

Re: Tomcat session replication problem

2008-03-11 Thread Filip Hanik - Dev Lists
for it to work you would need to have channelSendOptions="6", however, not using sticky sessions is a bad strategy, no matter how you look at it. using sticky sessions, one can take advantage of asynchronous messaging and hence not affect the overall response time and other benefits of course

Re: The troubles with tribes

2008-03-12 Thread Filip Hanik - Dev Lists
Tom van Wietmarschen wrote: Tom van Wietmarschen wrote: Filip Hanik - Dev Lists wrote: The biggest issue I have is that I keep getting memberAdded/memberDisappeared events from the same member. I've made a small test app (based on the example on the Tribes introduction page) that I run

Re: STM

2008-03-12 Thread Filip Hanik - Dev Lists
you could create your own class MyWrapper extends StandardWrapper { public MyWrapper() { super(); setMaxInstances(xxx); } } and then in context.xml something along those lines Filip David Steinberg wrote: Thanks Martin. But can I access the StandardWrapper through my web applica

Re: Making the most of 8G of RAM

2008-03-17 Thread Filip Hanik - Dev Lists
there is a recorded webinar called "Inside the Java Virtual Machine" http://www.covalent.net/services/training/webinars.html it's one hour spent demystifying all you need to know about the JVM memory usage, once you've understood that, you'll have a very different perspective on -Xmx Filip S

Re: ArrayIndexOutOfBoundsException in "ClusterListenThread-2"

2008-03-18 Thread Filip Hanik - Dev Lists
nope, it's not normal. means you got clobbered data. are you running multiple versions of tomcat? Filip Ronald Klop wrote: I have this in my logs. Running tomcat 5.5.26. Exception in thread "ClusterListenThread-2" java.lang.ArrayIndexOutOfBoundsException: 1024 at org.apache.catalina.cluster

Re: IE and Mozilla issue with Cookies with setVersion(1)

2008-03-18 Thread Filip Hanik - Dev Lists
tomcat version? Rajeev Angal wrote: setVersion(1) only : cookie.setPath("/" ) doesnt return the cookie on IE and Mozilla. Works fine on Firefox. Code enclosed. TEST is retuned correctly back to the server... but TEST1 is not on IE and Mozilla...Firefox returns both. Any clue? <% Strin

Re: sessionListener.sessionDestroyed is called on shutdown of a node in the cluster

2008-03-20 Thread Filip Hanik - Dev Lists
It's expected behavior, sessions will always expire on the local node during a graceful shutdown. expireSessionsOnShutdown="false" simply means that we don't expire sessions in the remote nodes Filip Ronald Klop wrote: Hello, When I shutdown a node in my cluster (tomcat 5.5.26) sessionDes

Re: Tomcat 6.0 clustering

2008-03-25 Thread Filip Hanik - Dev Lists
Ch Praveena wrote: Hi, Are there anyone who have done with clustering Tomcat 6.0? I have lot many doubts about them. what's your question? No virus found in this incoming message. Checked by AVG. Version: 7.5.51

Re: Tomcat 6.0 clustering

2008-03-26 Thread Filip Hanik - Dev Lists
http://www.covalent.net/services/training/webinars.html (see tribes and cluster) http://tomcat.apache.org/tomcat-6.0-doc/tribes/introduction.html http://people.apache.org/~fhanik/apachecon2006slides.ppt On 25/03/2008, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: Ch Praveena wrote

Re: Memory leak in Tomcat 5.5.16

2008-03-27 Thread Filip Hanik - Dev Lists
? I have also tried upgrading to Tomcat 5.5.26, but the problem still occurs. This is very similar to a memory leak posted to this list in 2006, but I can't find what the resolution was in that case: http://readlist.com/lists/tomcat.apache.org/users/5/27073.html I have also consulted

Re: Can a Filter know that a connection timeout has occurred?

2008-03-31 Thread Filip Hanik - Dev Lists
you can't know until you request the resource. ie, a timeout can happen at point X, 2 min later, the application does getOutputStream.print, and receives an IOException, obviously the timeout happened X+20sec, not X+2min, so no, no real way to know. for your filter to know that "a ioexception

Re: Cluster Memory Leak - ClusterData and LinkObject classes

2008-03-31 Thread Filip Hanik - Dev Lists
David Rees wrote: On Mon, Mar 31, 2008 at 3:38 AM, Ronald Klop <[EMAIL PROTECTED]> wrote: See my previous mail about send/receive buffers filling because Ack wasn't read by FastAsyncSender. The option waitForAck="true" did the trick for me. But for FastAsyncSender you should set sendAck="fal

Re: Cluster Memory Leak - ClusterData and LinkObject classes

2008-03-31 Thread Filip Hanik - Dev Lists
David Rees wrote: On Mon, Mar 31, 2008 at 12:49 PM, Rainer Jung <[EMAIL PROTECTED]> wrote: First to make sure: counting objects in general only makes sense after a full GC. Otherwise the heap dump will contain garbage too. Yes, I made sure the objects I was looking at had a valid GC

Re: Cluster Memory Leak - ClusterData and LinkObject classes

2008-03-31 Thread Filip Hanik - Dev Lists
David Rees wrote: On Mon, Mar 31, 2008 at 12:52 PM, Rainer Jung <[EMAIL PROTECTED]> wrote: Ronald Klop schrieb: See my previous mail about send/receive buffers filling because Ack > wasn't read by FastAsyncSender. > The option waitForAck="true" did the trick for me. But for >

Re: Cluster Memory Leak - ClusterData and LinkObject classes

2008-03-31 Thread Filip Hanik - Dev Lists
David Rees wrote: On Mon, Mar 31, 2008 at 4:48 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: David Rees wrote: > One problem I've intermittently had with clustering is that after a > Tomcat restart (we shut down one node and it immediately restarts, > general

Re: Bug 33594: ClassCastException compiling jsp (very infrequently happens)

2008-03-31 Thread Filip Hanik - Dev Lists
you can always reopen a bug, but what I would do, is turn on debugging for the org.apache.jasper package, and when the error happens, the bug might lead us to more information. Filip Caldarale, Charles R wrote: From: Harper, Brad [mailto:[EMAIL PROTECTED] Subject: Bug 33594: ClassCastException

Re: NIO connector source code

2008-04-10 Thread Filip Hanik - Dev Lists
it's in the "java" directory of the zip file Filip neil davudo wrote: Where? I downloaded the entire Tomcat source code. Can you point me to the directories? TIA Neil markt-2 wrote: neil davudo wrote: Where can I find the source code for the NIO connector that uses the CometProces

Re: FW: Tomcat ModJK Issues!!!

2008-04-23 Thread Filip Hanik - Dev Lists
what OS are you on, if you are on a Unix system, you can issue a "kill -3 " and that will generate a thread dump in your std.out looking at this file, you can see where the "processors" are taken up, and if they are locked up somewhere in your code, or simply busy with other connections (if yo

Re: Tomcat HTTTP Connectior Hangs

2008-04-28 Thread Filip Hanik - Dev Lists
you keep with holding information, post the entire thread dump, in its native format Filip Barak Yaish wrote: My mistake, you right. There is one thread waiting for a db connection from the pool: where 0x184e [1] java.lang.Object.wait (native method) [2] com.mchange.v2.resourcep

Re: FW: Memory leak using SSL Tomcat 6.0.16

2008-04-30 Thread Filip Hanik - Dev Lists
add the flag -XX:+HeapDumpOnOutOfMemoryError when you get an OOM, it will dump a .hprof file, zip it up, and make it available to us (dont attach it to an email :) I can help you analyse it Filip Shapovalenko Daniil wrote: Hello there! I'm using Tomcat 6.0.16 with an extremely simple

Re: Web server and tomcat - firewall

2008-05-06 Thread Filip Hanik - Dev Lists
could be the extra space JkOptions + DisableReuse should be JkOptions +DisableReuse someone will correct me if I am wrong :) if you are not using disable reuse, one has to match up the max clients on the httpd side with the maxThreads on the tomcat side, so that you don't leave connections

Re: error 1067

2008-05-09 Thread Filip Hanik - Dev Lists
or even better, catalina.bat run to run it in the same window Martin wrote: Jim- Can you start at command line %CATALINA_HOME%\bin\startup.bat ? M- - Original Message - From: "jim murray" <[EMAIL PROTECTED]> To: Sent: Friday, May 09, 2008 2:37 PM Subject: error 1067 I just had t

Re: Tomcat + NTLM + Heavy load + Default config = Failure

2008-05-12 Thread Filip Hanik - Dev Lists
thanks for the info, sounds like the NTLM auth is not considering the fact that keep alives are optional, and can be controlled by the server. so it's really a problem with the client, not the server in this case. but its good to know you found a workaround Filip Sanglard Fabien wrote: Hello,

Re: Newbie: Tomcat LDAP Authentication

2008-05-12 Thread Filip Hanik - Dev Lists
John Russell wrote: Hi, I'm new to Tomcat though familiar with Apache, I'm trying to configure Authentication to an LDAP server but I've missed a step somewhere. From the documentation for JNDIRealm at http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html 0) I obtained ldap-1_2_4.zip from

Re: Clustering Tomcat - StandardManager loaded instead of DeltaManager

2008-05-13 Thread Filip Hanik - Dev Lists
do you by any chance have the element uncommented in conf/context.xml or haven't set in your web.xml Filip Petr Skokan wrote: Hi All, I am trying to configure Tomcat for cluster in Tomcat 6. However in the catalina.out tomcat is still creating StandardManager instead of defined DeltaManage

Re: Once again, clear text passwords in context.xml files

2008-05-13 Thread Filip Hanik - Dev Lists
it's a wasted effort, the one way it could be truly secure, was if tomcat asked you for a key upon startup. this wouldn't work very well in a 1000 tomcat instance server farm. any other effort simply masks the problem, letting you think it is secure, when it isn't. what you should do is this

Re: How to increase memory form Tomcat 5.5

2008-05-13 Thread Filip Hanik - Dev Lists
hi James, a better place is to create a file called setenv.sh that way you don't have to change any tomcat files sometimes you have to separate out the commands like JAVA_OPTS=-Xmx512m export JAVA_OPTS export is all lowercase Filip James Law wrote: I believe in Linux the command is Export JA

Re: Delima Load Balancing Question

2008-05-14 Thread Filip Hanik - Dev Lists
see corrections inline karthikn wrote: Hi Can some body suggest me any thin missing in here... I have 2 independent Tomcats clustered The Apache Configurations is as given httpd.conf - LoadModule jk_module modules/mod_jk.so JkWorkersFile con

Re: Developing Tomcat using Eclipse

2008-05-14 Thread Filip Hanik - Dev Lists
it's pretty easy, if you check out tomcat from svn svn co http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk the trunk folder contains a .project and .classpath do a cd trunk ant download then you will need to setup two variables ANT_HOME TOMCAT_LIBS_BASE - this one points to the location

Re: Why worker.tomcat._home ?

2008-05-15 Thread Filip Hanik - Dev Lists
it's not needed Filip karthikn wrote: Hi worker.tomcat._home=c:/tomcat5.5.23 Can some body tell me Why is this configuration required in "Worker.properties", If multiple Tomcats are clustered for Load balancing Am i missing something with regards Karthik

Re: JNDI look issue with Tomcat during server start up

2008-05-15 Thread Filip Hanik - Dev Lists
the best thing to do is to look into DataSourceRealm.java as part of the tomcat source code. the method open(), shows how server code would look up both a local or a global data source Filip Hanmay Udgiri wrote: Hi I have implemented datasource using JNDI look up. The code work fine If I call

Re: JNDI look issue with Tomcat during server start up

2008-05-15 Thread Filip Hanik - Dev Lists
ntln("Sucess"); dbConnection = ds.getConnection(); Thanks and Regards Hanmaya On Thu, May 15, 2008 at 6:58 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: the best thing to do is to look into DataSourceRealm.java as part of the tomcat source code. the

Re: tomcat 6 build from source-code

2008-05-15 Thread Filip Hanik - Dev Lists
ant download ant ant -f extras.xml ant -f dist.xml release Filip Vishwa Chary wrote: Thanks John, This one from SVN works correctly. The one I downloaded as src-zip file from apache had problems in the final distribution. Thanks again, Chary On Thu, May 15, 2008 at 4:11 PM, Johnny Kewl <[E

Re: Trying to understand the concept of embedded Tomcat

2008-05-16 Thread Filip Hanik - Dev Lists
there are many ways of doing it, one is 100% embedded, where you create all the components programmatically, another one is to distribute a regular tomcat, and you can use a hybrid model Filip Frank Neslon wrote: Hello, So I had the idea that I would like to deploy my application with Tomcat 'b

Re: log4j and two webapps

2008-05-16 Thread Filip Hanik - Dev Lists
what is it that doesn't work? Filip bizio wrote: Hi guys. This is my first post here. I have a problem with log4j in one of two mine webapps: the first log4j.properties looks like # Conventions used in code # + Only few logging statements are at level INFO, just to log user activity # + RPC ac

Re: changing server.xml attribs on the fly

2008-05-16 Thread Filip Hanik - Dev Lists
tomcat uses the common-digester code to parse server.xml, you can see several classes called XXXRuleSet.java, and those are the rules for how server.xml turns into java objects Filip Ramesh Narayanan (ramesnar) wrote: Hi folks Has anyone ventured into modifying the conf/serve

Re: [Fwd: Tomcat manager]

2008-05-16 Thread Filip Hanik - Dev Lists
you have specified "some_user" multiple times, it should only have 1 entry per username. roles="admin,manager,tomcat,role1"/> Khurram H Khan wrote: Hello everyone, I have sent an email before regarding tomcat manager. And the issue was that I could not use the same username and pass

Re: How to make Tomcat 6.0.x load system classes from .class files?

2008-05-16 Thread Filip Hanik - Dev Lists
just put them in the lib directory, you can see the class loader definitions in conf/catalina.properties Filip Markus Schönhaber wrote: Hi, I just fiddled around with the source of org.apache.jasper.compiler.Validator I dimly remember that in Tomcat 5.x, after editing and rebuilding some of T

Re: Reload the Embedded Tomcat relam

2008-05-16 Thread Filip Hanik - Dev Lists
realms have a lifecycle, so you would need to start it Filip Satyanarayana Bobba wrote: Hi All, I am using the embedded tomcat in my application and I want to change the tomcat-users.xml file dynamically. Initially, I am setting that Realm to embedded tomcat by using the setRealm() me

Re: understanding some tomcat code

2008-05-16 Thread Filip Hanik - Dev Lists
Leon Rosenberg wrote: Hi, was just browsing through tomcat code, and the following is just a mystery to me ->StandardSession.fireSessionsEvent(type,data): public void fireSessionEvent(String type, Object data) { if (listeners.size() < 1) return; SessionEvent even

Re: Refuse connections in the selector

2008-05-16 Thread Filip Hanik - Dev Lists
is this related to tomcat, or just generic java/nio? Filip ubekhet wrote: Hi, I would like to know, how I can refuse the connections when they are in the selector pool, just for waiting thread to manage connections. I use Tomcat 6 and also using NIO paradigm! and I dont know how to do that.

Re: Refuse connections in the selector

2008-05-16 Thread Filip Hanik - Dev Lists
nd in this case as I use Tomcat with NIO paradigm, is the same. Thanks Filip Hanik - Dev Lists wrote: is this related to tomcat, or just generic java/nio? Filip ubekhet wrote: Hi, I would like to know, how I can refuse the connections when they are in the selector pool, just for waiting thread

Re: Long freeze during tomcat start

2008-05-19 Thread Filip Hanik - Dev Lists
just do two thread dumps during the freeze kill -3 sleep 5 kill -3 the thread dump will identify where it is hanging, and it gets output to std.out, by default to catalina.out Filip Adam Hardy wrote: I've been trying to solve this problem for a couple of hours now and I can't see any solu

Re: catalina.out file

2008-05-27 Thread Filip Hanik - Dev Lists
*http://tinyurl.com/6obbgk* http://tomcat.markmail.org/search/?q=cronolog%20catalina.out#query:cronolog%20catalina.out%20list%3Aorg.apache.tomcat.users+page:1+state:facets Kaushal Shriyan wrote: Hi My Catalina.out file is 20GB, How can i safely remove it and then create it again Thanks and

Re: tomcat jmx and INFO: Port busy 8009 java.net.BindException: Address already in use

2008-05-27 Thread Filip Hanik - Dev Lists
you're not trying to configure a JMX connector, you're trying to configure an AJP connector as defined by Filip sudip shrestha wrote: with tomcat 5.5.20 and mx4j-tools.jar at common/lib and the following setting: I get the following startup log: INFO: Starting Coyote HTTP/1.1 on http-8080

Re: Tomcat Comet Question

2008-05-27 Thread Filip Hanik - Dev Lists
try the simplest thing first, upgrade to 6.0.16, in terms of your config, you have tcnative-1.dll in your PATH, but you haven't configured the APR connector, you have configured NIO (which works for comet) and the regular blocking (which doesn't work for comet) Filip Adam Kaupisch wrote: I

Re: Server push with Tomcat 6/Comet

2008-05-29 Thread Filip Hanik - Dev Lists
Sierk Schmittner wrote: Hi, I want to implement a server push mechanismus with Tomcat 6/Comet. The use case is that a javascript client sends an AJAX request to the server. The server is performing some internal asynchronous tasks (in seperate threads). The result of these tasks should be pushe

Re: Tomcat 6 clustering

2008-05-29 Thread Filip Hanik - Dev Lists
you'd need to define Hi guys, I am configuring Tomcat 6 clustering to have more than one instance access to each others ServletContext attributes. It's said that ServletContext is clustered by default when Tomcat 6 is clustered, but my servlets in 2 different instances are not able to access ea

Re: Server push with Tomcat 6/Comet

2008-05-30 Thread Filip Hanik - Dev Lists
Sierk Schmittner wrote: Hi, I am using a Comet-based servlet and I'm facing two problems: - When I write the data to the response's outputstream and call the flush method, the data is only send to the client when there is a minimum amount of bytes written on the outputstream. Is it p

Re: Tomcat 6 clustering problem

2008-06-02 Thread Filip Hanik - Dev Lists
what does your log say? Filip gangadhar p wrote: Hi Guys, The Tomcat 6 documentation (http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html) says that the Context (ServletContext, right ?) attributes are replicated across cluster members when the below element is added in either \conf\se

Re: Tomcat 6 clustering problem

2008-06-02 Thread Filip Hanik - Dev Lists
managerClassName=org.apache.catalina.cluster.session.DeltaManager ? Or org.apache.catalina.session.PersistentReplicationManager is required to be set? Do you want to see my server.xml files and code? Thank you again. Filip Hanik - Dev Lists wrote: what does your log say? Filip gangadhar p wrote

Re: Is "Transfer-Encoding: chunked" required for Comet?

2008-06-02 Thread Filip Hanik - Dev Lists
nope its not, if all you want to achieve is a long-poll (meaning you want to send the response async to the client, then you can use a content-length Filip Adam Kaupisch wrote: No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.24.4/1477 - Release

Re: Tomcat 6 clustering problem

2008-06-02 Thread Filip Hanik - Dev Lists
letContext* attributes are replicated/shared across other cluster members? Thanks again. On 6/2/08, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: what do your logs say? gangadhar p wrote: Hi Filip, Thanks for your prompt response. I added an attribute to the ServletConte

Re: Servlet + Corba Error -> Access to the specified resource () has been forbidden.

2008-06-03 Thread Filip Hanik - Dev Lists
its really a corba questions, search in those forums http://java.sun.com/j2se/1.4.2/docs/api/org/omg/CORBA/LocalObject.html Filip Antonio González Artime wrote: Hello everybody: I'm trying to develop a simple application that uses a servlet and calls a Corba function; very similar to this tu

Re: Problem with FarmWarDeployer

2008-06-09 Thread Filip Hanik - Dev Lists
no work has been done on the farm deployer, and I can't say it has been working reliably in 5.5 and 6.0 work and patches are welcome Filip Vicente Tarín Font wrote: Hi guys! I have a little problem with the FarmWarDeployer. Im using Tomcat 6.0.16 (win32), and I have 2 instances on the same ma

Re: OutOfMemoryError while deploying

2008-06-10 Thread Filip Hanik - Dev Lists
could you be running into http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6280693 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6332094 so an upgrade to the JVM might fix it Filip Reid Swanson wrote: Hi, I have a web app that includes a large amount of data and I am having trouble dep

Re: Tomcat 6 clustering problem

2008-06-10 Thread Filip Hanik - Dev Lists
worked fine for me, here are my config files and example JSP files http://people.apache.org/~fhanik/replicated-context-example.zip Filip gangadhar p wrote: Hi Guys, The Tomcat 6 documentation (http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html) says that the Context (ServletContext,

Re: NIO 100% CPU usage

2008-10-16 Thread Filip Hanik - Dev Lists
g, 15 oktober 2008 om 20:22 uur schreef Tomcat Users List : Subject: Re: NIO 100% CPU usage Date: Wed Oct 15 20:22:43 CEST 2008 From: Filip Hanik - Dev Lists <[EMAIL PROTECTED]> ok, when you reproduce it, you don't really need a profiler, you can do a top with thr

Re: Another session replication question

2008-10-20 Thread Filip Hanik - Dev Lists
hi Jess, you're example is correct, replication doesn't happen until the request is complete and is done by the ReplicationValve. Filip Jess Holle wrote: I somehow missed Filip Hanik's helpful response to my previous session replication question. I have one other: With DeltaManager and/o

Re: Another session replication question

2008-10-20 Thread Filip Hanik - Dev Lists
really can and should start replicating a large application grown over the last decade -- given the limitations of setAttribute/removeAttribute()-based change detection, last-request-wins session update, etc... -- Jess Holle Filip Hanik - Dev Lists wrote: hi Jess, you're example is co

Re: compile failed: Tomcat-6.0.16 with jdk-1.6.0_06 - bcp/BasicDataSource.java:44 error

2008-10-20 Thread Filip Hanik - Dev Lists
https://issues.apache.org/bugzilla/show_bug.cgi?id=46038 Filip Poor Yorick wrote: compiling tomcat-6.0.16 on LInux kernel 2.4.21-50.ELhugemem with jdk-1.6.0_06, I run into the following error: build-tomcat-dbcp: [copy] Copying 63 files to /path/to/apa che-tomcat-6.0.16/tomcat6-deps/dbcp

Re: Clustering in tomcat

2008-10-21 Thread Filip Hanik - Dev Lists
if you paste in the whole error, we can tell you. we are missing the root cause of the error, the IO exception that happened during startup Filip kashif_tomcat wrote: can anyone help me for clustering in tomcat. here is scenario: two tomcat servers running on same linux machine on different

Re: Logging

2008-10-21 Thread Filip Hanik - Dev Lists
for log4j you have to build the extras package svn co http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk cd trunk ant download ant ant -f extras this gives you a) tomcat-juli.jar - replaces the one in tomcat (bin directory) b) tomcat-juli-adapters.jar - put in the lib directory then add log4j

Re: Disable Tomcat from caching

2008-10-21 Thread Filip Hanik - Dev Lists
look for "|cachingAllowed" in http://tomcat.apache.org/tomcat-6.0-doc/config/context.html you can put this in TC_HOME/conf/context.xml Filip | steve sim wrote: > Hi everyone, > > I would appreciate if someone could help me in this problem. > Disable Tomcat from caching my xml file. > > I ha

Re: Clustering in tomcat

2008-10-22 Thread Filip Hanik - Dev Lists
port 8109 to connect with tomcat. and added jvmRoute in server.xml in following tag. and uncommented following tag tell me please if anything more is required to do this clustering in tomcat. thanks Filip Hanik - Dev Lists wrote: if you paste in the whole error, we can tell you. we are

Re: Disable Tomcat from caching

2008-10-22 Thread Filip Hanik - Dev Lists
on_folder/META-INF/context.xml Is there any mistake in my configuration or are there other way to resolve the problem Thanks Regards, Steve Filip Hanik - Dev Lists wrote: look for "|cachingAllowed" in http://tomcat.apache.org/tomcat-6.0-doc/config/context.html you

Re: Throwing exception when including unexisting resource

2008-10-22 Thread Filip Hanik - Dev Lists
you could also create a response wrapper in a filter, capture the status/output, so if the servlet sets 404, you can react to it appropriately Filip Antonio wrote: 2008/10/22 Tim Funk <[EMAIL PROTECTED]>: if (null==servletContext.getResource(request.getServletPath())) { Are you sure

Re: tomcat 6.0 support

2008-10-23 Thread Filip Hanik - Dev Lists
one correction you can buy commercial support, just google "tomcat support" and you'll find several companies offering commercial support with warranty and resolution guarantees Filip André Warnier wrote: rajesh202023 wrote: Hi All, Can anyone please tell me whether Tomcat 6.0 is supporte

Re: RequestDispatcher and sendfile()/java.nio

2008-10-23 Thread Filip Hanik - Dev Lists
Ronald Klop wrote: Hi, Does Tomcat 5.5 or maybe 6.0 use java.nio/sendfile() to send static content? So is it more prefered to use RequestDispatcher.forward(myfile) than copy a FileInputStream to ServletOutputStream by hand? I already have the copying part, but would like to know if it is worth

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
It means that the application that it is trying to request data from is not deployed on the server. for example, if you have applicate /test installed on server A, then it will have to be installed on server B as well, if it isn't, you'll get a message like the one below Filip Andrew Hole w

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
applications in same machine (each in different Tomcat instance). Is it possible? On Mon, Oct 27, 2008 at 5:39 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED] wrote: It means that the application that it is trying to request data from is not deployed on the server. for example, if

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
But both applications have been developed by me and I want to share an object between applications. If the object have been created in application A, I would like to replicate information to application B. Thanks On Mon, Oct 27, 2008 at 6:18 PM, Filip Hanik - Dev Lists <[EMAIL PROTECT

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
ar on another tomcat instance Filip Andrew Hole wrote: Well, I would like in the future to have application A and B in different machines, and for that i need to use some way to share session data. Thanks On Mon, Oct 27, 2008 at 8:19 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]

Re: executor does not work with AJP connector

2008-10-28 Thread Filip Hanik - Dev Lists
mcat? 2) You mentioned that it worked on 6.0.16... anybody know if there was a fix or if it's just an intermittent issue? 3) Should the Executor work with AJP? I saw a post from earlier last year that said Executors don't support AJP. Thanks all! Joe On Wed, Feb 27, 2008 at 10:23 AM, F

Re: NullPointerExceptions on startup with NIO connector

2008-10-29 Thread Filip Hanik - Dev Lists
thanks for the report, looks it was fixed in trunk http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?view=diff&r1=618058&r2=618059 I just forgot to backport it Filip Alex Talis wrote: Hi, My Tomcat 6.0.18 throws NPEs if there are incoming connections

Re: NullPointerExceptions on startup with NIO connector

2008-10-29 Thread Filip Hanik - Dev Lists
yes, that is correct Alex Talis wrote: Filip, does this mean that this fix will be in 6.0.19 production release? Thanks - Original Message From: Filip Hanik - Dev Lists <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Wednesday, October 29, 2008 7:15:01 AM Subje

Re: Clustering in tomcat

2008-10-30 Thread Filip Hanik - Dev Lists
be thankful to you if u can tell me that is it configuration issue or development issue? and wt to do to fix iit. Filip Hanik - Dev Lists wrote: looks like your computer is not configured to allow multicast Caused by: java.io.IOException: Operation not permi

<    4   5   6   7   8   9   10   11   12   13   >