Re: PROBLEM POSTING LARGE DATA - TOMCAT6 SSL

2007-10-17 Thread Filip Hanik - Dev Lists
for ssl connector org.apache.coyote.http11.Http11Protocol will solve this. Thanks. Jyothi -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 17, 2007 2:21 PM To: Tomcat Users List Subject: Re: PROBLEM POSTING LARGE DATA - TOMCAT6 SSL

Re: Fw: Tomcat 5.5.25, SSL and invalid keystore format

2007-10-16 Thread Filip Hanik - Dev Lists
not sure how you can use the NIO connector in Tomcat 5.5.25, it wasn't added until Tomcat 6.0 Filip Werner Schalk wrote: Hello, is anyone able to help me with this? I can't get SSL to work on Tomcat 5.5.25, I am still getting the Invalid keystore format or class not found error. Anyone

Re: How to? debug large session size? drill down and tools / over 400K is too be for replication

2007-10-16 Thread Filip Hanik - Dev Lists
I use www.yourkit.com Filip hanasaki jiji wrote: users@tomcat.apache.org We have an application that has a pretty large session size ( 400K). This is causing issues for scalability and makes session replication for fail over quite impractical. What can be used to drill down live and generate

Re: java.library.path / Unsatisfied Link Error problem with Linux Tomcat 5.5

2007-10-16 Thread Filip Hanik - Dev Lists
I believe there is a -Djava.awt.headless=true or something like that, so that it doesn't try to load your X windows environment Filip David Marshall wrote: Using Tomcat 5.5 on Linux. I've set my environment variable with export JAVA_OPTS='-Djava.library.path=/path/to/my/sharedobjectfolder'

Re: java.library.path / Unsatisfied Link Error problem with Linux Tomcat 5.5

2007-10-16 Thread Filip Hanik - Dev Lists
: Thanks. I didn't literally mean X. The library it won't load is called Netica. I just changed it to X to be more general. I hope I'm not just creating confusion for everyone. thanks dm Filip Hanik - Dev Lists wrote: I believe there is a -Djava.awt.headless=true or something like that, so

Re: java.library.path / Unsatisfied Link Error problem with Linux Tomcat 5.5

2007-10-16 Thread Filip Hanik - Dev Lists
creating confusion for everyone. thanks dm Filip Hanik - Dev Lists wrote: I believe there is a -Djava.awt.headless=true or something like that, so that it doesn't try to load your X windows environment Filip David Marshall wrote: Using Tomcat 5.5 on Linux. I've set my environment variable

Re: Problem: stasrtup Tomcat in Mac os X 10.4.2

2007-10-15 Thread Filip Hanik - Dev Lists
Using JRE_HOME: /usr/bin/java JRE_HOME or JAVA_HOME should point to a directory, not an executable Filip Antonio Rodríguez Anaya wrote: Hi! I have problems to start up Tomcat 5.5 and 6.0. I have downloaded core binary distributions and I have followed the instructions. As a root I

Re: CAS Clustering Not Working

2007-10-15 Thread Filip Hanik - Dev Lists
looks like you are mixing jboss clustering and tomcat clustering at the same time, choose one or the other :) Filip Clifford Bryant wrote: Hi, I followed the instructions in the CAS clustering link. (http://www.ja-sig.org/wiki/display/CASUM/Clustering+CAS) The multicast ping is working.

Re: embedded Tomcat (5.5.23) application logging (java.util.logging)

2007-10-12 Thread Filip Hanik - Dev Lists
Johnny Kewl wrote: - Original Message - From: Carl Mosca [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, October 12, 2007 4:29 PM Subject: embedded Tomcat (5.5.23) application logging (java.util.logging) This was a recent related topic here but I did not understand the

Re: embedded Tomcat (5.5.23) application logging (java.util.logging)

2007-10-12 Thread Filip Hanik - Dev Lists
have references to embedded in your public static void main(String[] args) class, then it's too late to set the system properties at that time Filip Johnny Kewl wrote: - Original Message - From: Filip Hanik - Dev Lists [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org

Re: Precompile JSPs

2007-10-11 Thread Filip Hanik - Dev Lists
here is a script that precompiles just like Tomcat runtime, meaning, you still keep the ability to reload your JSPs instead of converting them to servlets http://people.apache.org/~fhanik/tomcat-6-precompile.xml Filip Arun wrote: Hi, I want to precompile jsps for apache tomcat 6. Which ant

Re: Precompile JSPs

2007-10-11 Thread Filip Hanik - Dev Lists
with yours , all I found is that the one in doc uses a default jasper task, And you used your own(jasper2). But the Jasper shown on tomcat docs works correctly though , but the javac fails. On 10/11/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: here is a script that precompiles

Re: Specifying multiple IP's for tcpListenAddress in clustering environment

2007-10-11 Thread Filip Hanik - Dev Lists
you can only specify a single address, currently there is no fail over. if you have two nics, and you want fail over between them, do it on the OS level. for example, on Linux, you can bond two nics into one IP address, and the OS will automatically fail over between them much better doing it

Re: Tomcat connections not closing.

2007-10-10 Thread Filip Hanik - Dev Lists
when writing the output to the client. We will give these recommendations a shot though, just to make sure. -Mike -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 4:03 PM To: Tomcat Users List Subject: Re

Re: Native Library Not found

2007-10-10 Thread Filip Hanik - Dev Lists
java.lang.OutOfMemoryError: PermGen space just increase your permgen size -XX:MaxPermSize=256m Filip Arun wrote: Nope no use. Same error on JDk1.5 INFO: Server startup in 39569 ms Oct 10, 2007 11:05:31 PM org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process SEVERE: Error

Re: Diagnosing Tomcat memory usage

2007-10-10 Thread Filip Hanik - Dev Lists
plug in a profiler, I use www.yourkit.com, you can get memory stats, like the ones you wish for, live. other profilers will do the job as well Filip Andrew Hole wrote: I've an java application running under tomcat and in the last week memory usage increase 50%, from 200M to 400M. I want to

Re: Tomcat connections not closing.

2007-10-08 Thread Filip Hanik - Dev Lists
connectionTimeout - gets set to your sockets SO_TIMEOUT, but disableUploadTimeout=true unsets the value in the line above, causing socketWrite0 to not have a timeout, hence if you set disableUploadTimeout=false, then you will make sure that socket read and writes from your servlets/jsps, will

Re: Very Long Full GC after Inactivity

2007-10-08 Thread Filip Hanik - Dev Lists
garbage collection is a reactive process, ie, it wont kick in until it really needs to. and the time it takes for the GC, depends on your java heap size, -Xmx, in JDK 1.5 you can specify GC goals like -XX:MaxGCMinorPauseMillis=value -XX:MaxGCPauseMillis=value to tell the JVM to try to align

Re: Tomcat connections not closing.

2007-10-04 Thread Filip Hanik - Dev Lists
try setting connectionTimeout=5000 disableUploadTimeout=false I believe the 2nd parameter, should not set the timeout to infinite while you are inside of a request Filip Roark, Mike wrote: Hello Tomcat users, We are having difficulty with connections to Tomcat remaining open after the

Re: AJP Flush Packet causing text/plain output

2007-10-03 Thread Filip Hanik - Dev Lists
this is probably what you run into http://issues.apache.org/bugzilla/show_bug.cgi?id=43478 Filip Mark Deneen wrote: I encountered a similar problem, where one servlet had a bug where the headers would be set _after_ the data had been sent. The result was that unrelated responses would come

Re: Tomcat 6 client auth. by certificate

2007-10-03 Thread Filip Hanik - Dev Lists
I assume that the trust store contains a certificate that matches the one of the browser, if not, then you can't do client-auth try doing it with a java client first so that you can see how it works, Filip Hassan Schroeder wrote: On 10/3/07, damovsky [EMAIL PROTECTED] wrote: In

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-10-02 Thread Filip Hanik - Dev Lists
/ /Cluster /Host ... /Engine Is there anything amiss with this configuration that would result in the problems I am seeing? shouldn't be, unless you have some rogue instances running somewhere with the same config Filip Thanks Dan Filip Hanik - Dev Lists wrote: it would have

Re: Comet Event handling unclear

2007-10-01 Thread Filip Hanik - Dev Lists
you should receive one BEGIN event per connection, one READ event per connection, and you wont receive end or error until the client or server closes the connection or times out Filip Deepak J wrote: I have developed a simple servlet that implements the CometProcessor and logs Begin Event

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-10-01 Thread Filip Hanik - Dev Lists
it would have to be the multicast address that is unique to take care of the problem, however, easier to run one cluster instance at the engine level, the cluster knows what vhost a piece of replicated data belongs to Filip Daniel M Garland wrote: OK I've figured out what's happening, but

Re: Apache connectors for tomcat

2007-09-28 Thread Filip Hanik - Dev Lists
personal preference in this order mod_proxy_http, mod_jk, mod_proxy_ajp rahul wrote: Hi, Which is the recommended connector for Apache now? mod_jk or mod_proxy_ajp (with balancer) ? rahul -- 1. e4 _

Re: Does Tomcat replicate in-memory replication of data other than Sessions ?

2007-09-28 Thread Filip Hanik - Dev Lists
very doable, you can piggy back on Tribes if you have clustering enabled import org.apache.catalina.ServerFactory; import org.apache.catalina.Cluster; import org.apache.catalina.ha.tcp.SimpleTcpCluster; import org.apache.catalina.tribes.Channel; import org.apache.catalina.tribes.Member;

Re: two versions of java

2007-09-28 Thread Filip Hanik - Dev Lists
the shutdown port in Server port=8005 always binds to 127.0.0.1, so you have to have unique shutdown ports, Filip warnockm wrote: I'm running Tomcat 5 w/ 4 different hosts in my server.xml, each using a different IP address. It's working very well. Each host requires JDK 1.4. I now

Re: Tomcat and Apache on the same port?

2007-09-28 Thread Filip Hanik - Dev Lists
yes, but you would need two IP addresses, virtual or through two network cards and bind tomcat to one address, and bind apache to the other Filip Tony Anecito wrote: Hi All, Is it possible to run Tomcat and Apache on the same port? What I want to do is have my website running on Apache web

Re: Apache connectors for tomcat

2007-09-28 Thread Filip Hanik - Dev Lists
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: personal preference in this order mod_proxy_http, mod_jk, mod_proxy_ajp I'm interested: why choose mod_proxy_http over mod_jk? ease of configuration, no API nor

Re: App reloading classloading issue?

2007-09-28 Thread Filip Hanik - Dev Lists
The weblogic client libs are placed in $CATALINA_HOME/common/lib. yes, but the class that is trying to be loaded is java.lang.NoClassDefFoundError: weblogic/rmi/extensions/server/Stubbajistaman wrote: does the weblogic/rmi/*server*/... hint that it is trying to load a server class, maybe not

Re: Session Replication

2007-09-27 Thread Filip Hanik - Dev Lists
yeah, but if you bind to 127.0.0.1 how do you expect clustering to work between nodes? :) Filip Andrew Hole wrote: Hello everyone! For using Tomcat session clustering I need to put the following component in all nodes? Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster

Re: Tomcat 5.5.25 - 6.0.14 upgrade problem

2007-09-27 Thread Filip Hanik - Dev Lists
hibernate is using the org.apache.commons.dbcp pool, so you need to configure that one, or tell hibernate to use tomcat's pool the clue here is, that tomcat's connection pool (while the same as commons.dbcp) has the package renamed to org.apache.tomcat.dbcp. this is a hibernate problem, your

Re: Session Replication

2007-09-27 Thread Filip Hanik - Dev Lists
then, the tcpListenPort must be unique for each instance, since you cannot share the port Filip Andrew Hole wrote: I only have one machine to test Session Replication. Every tomcat instances are in same machine. On 9/27/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Filip Hanik

Re: Session Replication

2007-09-27 Thread Filip Hanik - Dev Lists
this happens. Thanks On 9/27/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: then, the tcpListenPort must be unique for each instance, since you cannot share the port Filip Andrew Hole wrote: I only have one machine to test Session Replication. Every tomcat instances are in same machine

Re: Tomcat hangs, what to do to diagnose the problem?

2007-09-27 Thread Filip Hanik - Dev Lists
do kill -3 tomcat pid that generates stack trace for each thread (aka thread dump) into std.out, you might want to do it twice so that you can compare them dump Filip Wm.A.Stafford wrote: Our Tomcat 4.1.30 instance seems to hang about once a week. i.e. the application is unresponsive and

Re: Tomcat 5.5.25 - 6.0.14 upgrade problem

2007-09-27 Thread Filip Hanik - Dev Lists
by: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:243) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1143) ... 36 more INFO Dialect - Using dialect: org.hibernate.dialect.Oracle10gDialect Filip Hanik - Dev

Re: Tomcat 5.5.25 - 6.0.14 upgrade problem

2007-09-27 Thread Filip Hanik - Dev Lists
yeah, but you are not using ojdbc, you are using oracle's driver oracle.jdbc.driver.OracleDriver for this, you need to have classes12.jar Filip aku1234 wrote: I double checked everything. There is an ojdbc.jar file in TC_HOME/lib and nowhere else. I'm not sure that it even knows what

Re: Tomcat 5.5.25 - 6.0.14 upgrade problem

2007-09-27 Thread Filip Hanik - Dev Lists
version of Java 5. I opened up ojdbc14.jar to verified that oracle.jdbc.driver.OracleDriver was there. It was. I also tried using the latest Oracle JDBC driver, but I got the same error message. Augustin Filip Hanik - Dev Lists wrote: yeah, but you are not using ojdbc, you are using

Re: Setting ClientAuth parameter to true

2007-09-26 Thread Filip Hanik - Dev Lists
Your trust store will need to contain the cert the client is supposed to send up, Filip [EMAIL PROTECTED] wrote: Hi, I am unable to set client authentication for SSL in tomcat 5.5.2. I have generated the certificate for the client and imported the same into the server's keystore so that

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-09-25 Thread Filip Hanik - Dev Lists
you probably have some rogue java process still running somewhere with clustering enabled, Filip Daniel M Garland wrote: Hi all, I've been running two Tomcat 5.5.20 servers in a cluster for some time on Mac OSx but we've recently moved to 64-bit architecture (Debian etch) . I tried as far

Re: Tomcat maxThreads

2007-09-24 Thread Filip Hanik - Dev Lists
Threads in hundreds, or lower one thousand is ok, if you need more, question yourself :) ie, if you need more concurrency, simply turn of keep alives. Having too many threads will do the following 1. Eat up a good chunk of memory 2. Your system will spend too much time context switching Filip

Re: Tomcat maxThreads

2007-09-24 Thread Filip Hanik - Dev Lists
clients that require a lot of talk between client-server. Regards, Mike On 9/24/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Threads in hundreds, or lower one thousand is ok, if you need more, question yourself :) ie, if you need more concurrency, simply turn of keep alives. Having too

Re: Changing ROOT context

2007-09-16 Thread Filip Hanik - Dev Lists
have you tried to create a file called ROOT.xml in conf/Catalina/localhost containing your Context tag? (of course, remove webapps/ROOT first) Filip FastGorilla wrote: Hi, I have a problem with changing the default ROOT context to something else (myroot). Specs -Windows Vista

Re: Embedded Apache Tomcat/5.5.9 outputting to java.util.logging instead of console

2007-09-12 Thread Filip Hanik - Dev Lists
Magnus Vojbacke (KA/EAB) wrote: Are they inspecting catalina.out? If so, what will stop them from reading whatever /other/ logfile you choose? No, there _is_ no catalina.out anywhere in my tomcat folder or the child folders thereof. Everything is output to console. Probably should have

[ANN] Apache Tomcat 5.5.25 released

2007-09-08 Thread Filip Hanik - Dev Lists
The Apache Tomcat team announces the immediate availability of Apache Tomcat 5.5.25 stable. Apache Tomcat 5.5.25 incorporates numerous security updates and bug fixes. Please refer to the change log for the list of changes: http://tomcat.apache.org/tomcat-5.5-doc/changelog.html Downloads:

Re: [ANN] Apache Tomcat 5.5.25 released

2007-09-08 Thread Filip Hanik - Dev Lists
Thanks, it's underway, syncing to mirrors as we speak Filip RuiXian BAO wrote: On 9/8/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: The Apache Tomcat team announces the immediate availability of Apache Tomcat 5.5.25 stable. Apache Tomcat 5.5.25 incorporates numerous security

Re: Load Balancing Tomcat 5.0.X, hardware or software?

2007-09-07 Thread Filip Hanik - Dev Lists
bajistaman wrote: Many Thanks for your comments, I have everything working now using a HW load balancer but the ssl is being managed by every node just because the guys from networks think that we need to upgrade the current HW Load Balancer to be able to support it and that is not going to

Re: Legal Risk of Using Tomcat

2007-09-07 Thread Filip Hanik - Dev Lists
Irvine, Chuck R [EQ] wrote: My guess was different: that they were concerned about using software that might later be claimed to be covered by somebody else's patent, like M$ has been threatening with Linux. If my guess is correct, then I seriously doubt there's anything to worry about

Re: tomcat usertransation

2007-09-07 Thread Filip Hanik - Dev Lists
Gerard Biemolt wrote: Hi All, I'm currently trying to create a transaction between a standalone application and a web service. By starting a usertransaction in the standalone app and bridging it to/with the web service. However I'm unable to get use a transaction in the web service. I took

Re: comet webapp memory optimization

2007-09-05 Thread Filip Hanik - Dev Lists
the only data you risk to lose is from maxHttpHeaderSize, if you reduce that, and the HTTP request is larger than that, you'll end up with a garbled request everything else should be good to run around with Filip Peter Warren wrote: I have a webapp that maintains many concurrent comet

Re: Problems with SSL-enabled Tomcat 5.5

2007-08-31 Thread Filip Hanik - Dev Lists
you need the private key in order to run SSL, but you can import the private key, so ask the folks from your company for the private key, here is the info how you import it, someone else posted it this week http://www.agentbob.info/agentbob/79.html Filip bajistaman wrote: I'm having the same

Re: Load Balancing Tomcat 5.0.X, hardware or software?

2007-08-31 Thread Filip Hanik - Dev Lists
bajistaman wrote: And what about SSL?, it sure makes life easier to have the LB take care of it, and if you look at it from a signed certificate licensing standpoint, cheaper. verisign and the other dudes, like to charge for per-box you wish to install the cert on. it is better to let the

Re: How to profile Tomcat with Rational Purify?

2007-08-31 Thread Filip Hanik - Dev Lists
Tomcat is just another java application, nothing special at all. What I do, when I get tools for Java, is that I modify catalina.sh/catalina.bat to instead of execute the Java command, I prefix it with the echo command, so that is spits out the command line that I am running. Then I would

Re: Problems with SSL-enabled Tomcat 5.5

2007-08-31 Thread Filip Hanik - Dev Lists
Message - From: Filip Hanik - Dev Lists [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, August 31, 2007 4:27 PM Subject: Re: Problems with SSL-enabled Tomcat 5.5 you need the private key in order to run SSL, but you can import the private key, so ask the folks

Re: Tomcat 6 JNI Re-Loading Problem

2007-08-31 Thread Filip Hanik - Dev Lists
nope, don't think you can unload them, I wouldn't load them in the webapp, if you are doing hotdeploy, or just catch the error and ignore it on a hot deploy Filip Matt Chambers wrote: Hey all, I'm loading a couple classes that use native code libraries. Everything loads great the first

Re: Problem calling the Web-Application by Alias name

2007-08-30 Thread Filip Hanik - Dev Lists
if you are only using one Host element in server.xml, then you don't need any aliases at all, get rid of them. all your requests will go to that host/app anyway filip Stasa Jerinic wrote: Hallo, I'm using Tomcat 5.0. For my web-application I use Hibernate, Struts and Struts-Layout

Re: AW: Problem calling the Web-Application by Alias name

2007-08-30 Thread Filip Hanik - Dev Lists
the port (8080 vs 80) is not part of the hostname, but you set the port in Connector port=... element FIlip Stasa Jerinic wrote: I'm using only one Host. And I will to call the web-application not for example by http://dato.at:8080/app but by http://dato.app.at (dato.app.at I inserted as a

Re: AW: AW: Problem calling the Web-Application by Alias name

2007-08-30 Thread Filip Hanik - Dev Lists
http://dato.app.at -- port: 80 context: / http://dato.at:8080/app -- port: 8080 context: /app does that paint the picture for you, you are confusing too many things at the same time Filip Stasa Jerinic wrote: Yes I set the port 8080 in Connector port... I think that I not anderstand

Re: AW: AW: AW: Problem calling the Web-Application by Alias name

2007-08-30 Thread Filip Hanik - Dev Lists
if you want both port 80 and 8080 you need two connectors Connector port=80 Connector port=8080 . Filip Stasa Jerinic wrote: http://dato.app.at -- port: 80 context: / ok it should be called http://dato.app.at/app (this maked I wrong), but what should I do because of

Re: Load Balancing Tomcat 5.0.X, hardware or software?

2007-08-30 Thread Filip Hanik - Dev Lists
whether you run software on your own machines, or buy an appliance with loadbalancing software (what you refer to hardware loadbalancer) is dependent on your budget, nothing else :) Filip bajistaman wrote: Hi!, I'm trying to create a stateless tomcat's farm but wanted sticky session

Re: Problems with SSL-enabled Tomcat 5.5

2007-08-30 Thread Filip Hanik - Dev Lists
is greatly appreciated. Bye, Werner. - Original Message - From: Filip Hanik - Dev Lists [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, August 29, 2007 10:32 PM Subject: Re: Problems with SSL-enabled Tomcat 5.5 did you set keyAlias=root in server.xml

Re: Problems with SSL-enabled Tomcat 5.5

2007-08-30 Thread Filip Hanik - Dev Lists
.). Any more ideas? Bye, Seb - Original Message - From: Filip Hanik - Dev Lists [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, August 30, 2007 5:05 PM Subject: Re: Problems with SSL-enabled Tomcat 5.5 looks like the keyAlias=root is not taking into effect

Re: Tomcat keeps breaking/SSL keystore troubles

2007-08-30 Thread Filip Hanik - Dev Lists
my guess is that the keystore file doesn't contain your private key, Filip Christoph Lechner wrote: Hi all, I've been trying hard to enable the SSL connector in TomCat for a few days now. As I don't have very much experience with SSL, it's quite hard for me to figure out what's going wrong. I

Re: Tomcat keeps breaking/SSL keystore troubles

2007-08-30 Thread Filip Hanik - Dev Lists
Christoph Lechner wrote: Filip Hanik - Dev Lists wrote: my guess is that the keystore file doesn't contain your private key, Hi, that's right. Actually the file sent to the CA was created using OpenSSL (as far as I remember). So the keystore isn't the one used to create the CSR. Among

Re: When will the next release of Tomcat be available

2007-08-30 Thread Filip Hanik - Dev Lists
there is not a spec for this release yet, there is JSR-315 which will most likely be finalized sometimes next year, and aligned with JEE 6, so don't hold your breath. You can still run Tomcat 6 with JDK 1.6 Filip Sridhar Kanneganti wrote: Hi, When will the next release of Tomcat be

Re: Tomcat 6 clustering Problem

2007-08-29 Thread Filip Hanik - Dev Lists
take a look at the example http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html you copied a 5.5 config into 6 Filip [EMAIL PROTECTED] wrote: Hallo i have uncomment the Clustering element in server.xml of tomcat6 and write this config in: Cluster

Re: Problems with SSL-enabled Tomcat 5.5

2007-08-29 Thread Filip Hanik - Dev Lists
did you set keyAlias=root in server.xml Werner Schalk wrote: Hello, I am trying to setup a SSL-enabled Tomcat 5.5.? (5.5.20 I think) on a Sun Solaris 10 (Sparc) but it turns out that this appears not to be an easy task. Hopefully you guys can shed some light on this. Basically I do have a

Re: Tomcat 6 and log4j for a web application

2007-08-28 Thread Filip Hanik - Dev Lists
in its WEB-INF/classes/log4j.properties. So I must not be understanding some concept here :-( Rgds - Fred Filip Hanik - Dev Lists wrote: for tomcat container logging, its easy 1. put log4j.jar in TC_HOME/lib 2. put log4j.properties in TC_HOME/lib 3. compile the extras ant -f

Re: Tomcat Session Replication at undeploy/install (6.0.14 / windows)

2007-08-28 Thread Filip Hanik - Dev Lists
[EMAIL PROTECTED] wrote: Hello, if I reload a context, all sessions are going to be serialized and deserialized automatically. Is the same possible at undeploy / deploy? yes, works the same way The problem is, that all users are thrown out of their apps if we redeploy under production.

Re: java.net.SocketException: Invalid argument

2007-08-24 Thread Filip Hanik - Dev Lists
try adding |-Djava.net.preferIPv4Stack=true to your startup script Filip | Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aaron, Aaron wrote: Sun v245 running Solaris 10 I think this might have been covered before, but I'm not entirely sure. You'd have to

Re: Tomcat6, apache2, mod_jk, non-APR, windows 2000, slow server startup with unpacked WAR

2007-08-24 Thread Filip Hanik - Dev Lists
: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Thursday, August 23, 2007 5:25 PM To: Tomcat Users List Subject: Re: Tomcat6, apache2, mod_jk, non-APR, windows 2000, slow server startup with unpacked WAR even then, you should set reloadable=false the flag name is misleading, all apps

Re: Tomcat6, apache2, mod_jk, non-APR, windows 2000, slow server startup with unpacked WAR

2007-08-24 Thread Filip Hanik - Dev Lists
is instantaneous, and it has even more classes than the webapp does, from my point of view, it should be no different. -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Friday, August 24, 2007 10:42 AM To: Tomcat Users List Subject: Re: Tomcat6, apache2, mod_jk, non-APR

Re: very slow upload over SSL

2007-08-24 Thread Filip Hanik - Dev Lists
try adding a larger read buffer socket.appReadBufSize=34000 or even larger than that. or apply this patch http://svn.apache.org/viewvc?view=revrevision=569489, that makes adjustments for the buffer sizes automatically Filip Hoa Doan wrote: Hi, I am trying to upload a file size of 2MB to

Re: Tomcat6, apache2, mod_jk, non-APR, windows 2000, slow server startup with unpacked WAR

2007-08-24 Thread Filip Hanik - Dev Lists
. Not to mention on a less powerful windows xp machine the first scenario starts in seconds... oh, if that's the case, the issue all together is probably not tomcat related, but hardware (or JVM) related. Filip -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent

Re: Tomcat6, apache2, mod_jk, non-APR, windows 2000, slow server startup with unpacked WAR

2007-08-24 Thread Filip Hanik - Dev Lists
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: Mentioning WatchedResource is a red herring. reloadable attribute - nothing to do with reloadable apps I disagree: relodable (Context attribute) Set to true

Re: [OT] Session replication vs stateless

2007-08-24 Thread Filip Hanik - Dev Lists
I'd go the opposite direction, I will do stateless before attempting any kind of replication or distributed cache. The scalability of a stateless application will outscale any replicated app any day, since your fail over options are so much more simplified. Filip Dwayne wrote: Have you

Re: Tomcat 6 and log4j for a web application

2007-08-24 Thread Filip Hanik - Dev Lists
if you want to use log4j in your application only, then forget everything you read on logging.html all you need to do is log4j.jar in WEB-INF/lib log4j.properties in WEB-INF/classes the steps you are outlining, are converting tomcat from using java.util.logging to log4j for the container. and

Re: java.lang.NoClassDefFoundError

2007-08-24 Thread Filip Hanik - Dev Lists
better check your Jar to make sure it has the MyServletException.class file still in it. Filip Dave Sailer wrote: I have a webapp that is working but I wanted to update a servlet jar so: jar uf MyJar.jar net/whohah/portal/servlet/MyServlet.class cp MyJar.jar

Re: Tomcat 6 and log4j for a web application

2007-08-24 Thread Filip Hanik - Dev Lists
... The tomcat logging would be of interest to an admin and the web app logs to the developer. Do I make sense? Tx - Fred Filip Hanik - Dev Lists wrote: if you want to use log4j in your application only, then forget everything you read on logging.html all you need to do is log4j.jar in WEB-INF/lib

Re: Logging Problem on Upgrade to Tomcat 6

2007-08-23 Thread Filip Hanik - Dev Lists
an alternative place you would like it sent? Regards Ashley -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 21:19 To: Tomcat Users List Subject: Re: Logging Problem on Upgrade to Tomcat 6 Ashley Hollands wrote: There wasn't any trace at all

Re: Logging Problem on Upgrade to Tomcat 6

2007-08-23 Thread Filip Hanik - Dev Lists
what is missing from the Tomcat 6 docs, is that you put log4j.properties in TC_HOME/lib to configure Tomcat's global logging Filip Filip Hanik - Dev Lists wrote: yes, feel free to send it to that address Filip Ashley Hollands wrote: Filip At the beginning of this conversation you said

Re: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed

2007-08-23 Thread Filip Hanik - Dev Lists
Ole Ersoy wrote: Hi, Tomcat runs fine, but the log contains this message: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed Another thread said this was most likely due to the tomcat user not having access to the /proc file system, and that

Re: Tomcat6, apache2, mod_jk, non-APR, windows 2000, slow server startup with unpacked WAR

2007-08-23 Thread Filip Hanik - Dev Lists
if you have reloadable=true (and maybe even if it is not set, not sure) Tomcat adds files to a list for monitoring the timestamp of them changing. Hence many classes will add to more stuff to add to the list and monitor but that doesn't seem like it should take 80sec anyway Filip Dan

Re: Tomcat6, apache2, mod_jk, non-APR, windows 2000, slow server startup with unpacked WAR

2007-08-23 Thread Filip Hanik - Dev Lists
even then, you should set reloadable=false the flag name is misleading, all apps are reloadable, regardless of what that setting is (basically autoDeploy=true - webapps are reloadable) read up on the reloadable flag, you'll see that it actually would add all 2000 files to be monitored by

Re: Running Apache Tomcat and Apache on Win XP

2007-08-22 Thread Filip Hanik - Dev Lists
you do need Apache Httpd to serve PHP, Tomcat doesn't do it. but there is no problem running both httpd and Tomcat on the same machine Filip hano wrote: Hi, I'm a little confused about Apache Tomcat. When installed (Win XP) do I get both the Apache HTTP server and the Tomcat? I needed the

Re: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Filip Hanik - Dev Lists
if you want a global log4j (instead of tomcat's own framework) http://tomcat.apache.org/tomcat-6.0-doc/logging.html then you will need to be tomcat-juli.jar and tomcat-juli-adapters.jar as described in the docs, let me know if you need more clarification Filip Ashley Hollands wrote: Hi I have

Re: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Filip Hanik - Dev Lists
did build the additional JARs that Tomcat uses and removed the usage of Tomcat's own logging. from your explanation, it doesn't sound like you took these steps, cause if you did, tomcat would log into your log4j, and not its own mechanism Filip Ashley -Original Message- From: Filip Hanik

Re: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Filip Hanik - Dev Lists
-Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 19:12 To: Tomcat Users List Subject: Re: Logging Problem on Upgrade to Tomcat 6 Ashley Hollands wrote: Thanks for the reply Filip if you want a global log4j (instead of tomcat's own

Re: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Filip Hanik - Dev Lists
suggest? it should do it, if you removed tomcat's logging manager and replaced it with log4j so you might have just missed a step Filip Ashley -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 19:51 To: Tomcat Users List Subject: Re

Re: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Filip Hanik - Dev Lists
or was there none? I thought tribes was pretty good about not swallowing any errors. but I would like to improve if there is possibility to do so Filip Thanks for all your help. Ashley -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 20:21

Re: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Filip Hanik - Dev Lists
of Tribes classloader, you are better off just sending a byte[] and do the serialization/deserialization yourself. Filip Ashley -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 20:39 To: Tomcat Users List Subject: Re: Logging Problem

Re: Running MINA inside Tomcat causing problems.

2007-08-21 Thread Filip Hanik - Dev Lists
-deployed and does not get re-deployed. No additional information was provided why the app got un-deployed. I want to know the root cause of why the app being un-deployed? thanks Satish On 8/20/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: does the undeploy happen during startup? or after

Re: Will a fix to 5.5 be done for CVE-2007-3382 and CVE-2007-3385?

2007-08-20 Thread Filip Hanik - Dev Lists
a 5.5.25 tag is planned for Friday, includes both of those fixes Filip Lanoux, Mark wrote: Does any know if a fix to Tomcat 5.5 will be done to remediate security issues CVE-2007-3382 and CVE-2007-3385? http://securitytracker.com/alerts/2007/Aug/1018556.html

Re: replication not working

2007-08-20 Thread Filip Hanik - Dev Lists
the easiest way to fix it would be 1. check what name the command `hostname` spits out 2. make sure that /etc/hosts contains that hostname and IP address or you could go the other way http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-receiver.html look for the address attribute see the

Re: Running MINA inside Tomcat causing problems.

2007-08-20 Thread Filip Hanik - Dev Lists
make sure your turn reloadable=false for your context, and make sure nothing modifies the timestamp of WEB-INF/web.xml Filip satish viswanatham wrote: Hi I have a Servlet- which start TCP and UDP MINA servers. After receiving few packets on the server - the servlet gets un-deployed. Not java

Re: Running MINA inside Tomcat causing problems.

2007-08-20 Thread Filip Hanik - Dev Lists
reloadable=false in my context. I do not see web.xml's time stamp changing. thanks Satish On 8/20/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: make sure your turn reloadable=false for your context, and make sure nothing modifies the timestamp of WEB-INF/web.xml Filip satish viswanatham

Re: AJP talking TLS or SSL

2007-08-20 Thread Filip Hanik - Dev Lists
Brian Munroe wrote: I am well aware after STW that the 2 best suggestions for securing traffic between Apache httpd and Tomcat over AJP (either using mod_jk_proxy or mod_jk), is: 1. Use either IPSec, stunnel, etc. 2. Don't use AJP and proxy https between Tomcat and Apache. Any other

Re: Java freezing at 100% usage, tomcat 5, java 5

2007-08-17 Thread Filip Hanik - Dev Lists
everything seems to be blocked on this one TP-Processor62 daemon prio=1 tid=0x081ef7e0 nid=0x6971 runnable [0x94f12000..0x94f130a0] at java.lang.String.intern(Native Method) at javax.management.ObjectName.setCanonicalName(ObjectName.java:733) at

Re: Installing APR on Fedora

2007-08-17 Thread Filip Hanik - Dev Lists
it's humming real well now, except for a few SSL complaints, but I should be able to bang those out. Thanks a gazillion Filip, Rainer, Stephen, Lakshmi, and Hassan. You gracious help enabled me to keep my last hair :-) - Ole Filip Hanik - Dev Lists wrote: ok, in your catalina.sh script you

Re: Can we use output/extras/tomcat-juli.jar by default?

2007-08-17 Thread Filip Hanik - Dev Lists
fredk2 wrote: Hi, To use log4j the documentation http://tomcat.apache.org/tomcat-6.0-doc/logging.html suggest that we need to: 1. Replace $CATALINA_HOME/bin/tomcat-juli.jar with the output/extras/tomcat-juli.jar. 2. Place output/extras/tomcat-juli-adapters.jar in $CATALINA_HOME/lib. What do

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