RE: Web Service state migration/preservation possibly in combination with WSRF

2006-11-08 Thread Richard Mixon (Qwest)
As you asked on the Tomcat forum, I'm assuming your wish a solution that runs on Tomcat. I have seen a number of web services frameworks discussed on this forum - all that run under Tomcat (Axis is one I believe). I would think they must all be built using the Servlet API as a foundation - but I d

RE: Logging

2006-10-18 Thread Richard Mixon
Helmut, Where did you look for log files? Often they will be in the logs directory under the Tomcat home directory. Sometimes the standard output goes to a file called catalina.out. To help further you could supply: - Tomcat version, there should be a file called RELEASE_NOTES somewhere under th

RE: Tomcat 5.5.17: context.xml-mysteries

2006-10-11 Thread Richard Mixon
Gregor, I believe you've got it backwards. The correct syntax for Tomcat 5.5 is your "working context.xml". See: http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html -Original Message- From: Gregor Schneider [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 11, 200

RE: Performance issue between http and https

2006-09-05 Thread Richard Mixon
Duong, Hopefully someone can give you more specifics. FWIW we moved one site to straight HTTPS a couple of years back and have seen no ill-effects, and none of the frustration we had experience trying to switch back and forth between the two. I am sure there is some performance hit - that's why th

RE: Tomcat 6 release date ?

2006-09-03 Thread Richard Mixon
Did you search the list? It was discussed/answered recently. -Original Message- From: KEGan [mailto:[EMAIL PROTECTED] Sent: Sunday, September 03, 2006 8:03 PM To: Tomcat Users List Subject: Tomcat 6 release date ? Hi, Anyone knows when Tomcat 6 is likely to be released ? And what are t

RE: need help with .startup.sh

2006-09-03 Thread Richard Mixon
27;ve got my linux books out so point me in a direction please. lee Richard Mixon wrote .. > Lee, > > First, I assumed you are using the "bash" shell, not csh or something > else unusual. > > Have you changed catalina.sh or startup.sh ? Take a look at

RE: need help with .startup.sh

2006-09-02 Thread Richard Mixon
ile in the /bin directory. It is complaining when I startup the server with /startup.sh . A pic of the actual file and the command line is attached. Any ideas? Thanks again. You have already saved me hours of frustration. Lee Richard Mixon wrote .. > There is no need to change any of the she

RE: need help with .startup.sh

2006-09-02 Thread Richard Mixon
There is no need to change any of the shell scripts. You need to set environment variable JAVA_OPTS with the desired option and the tomcat scripts will pick it up automatically. The catalina.sh script looks for a script called setenv.sh to set this and other similar options. Here are the contents

RE: SSO - 2 applications in 2 Tomcats - Realm

2006-08-29 Thread Richard Mixon
Concerning the questions on Realm ... I think if you re-read the section http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#JDBCRealm you will find the answer. The names of the tables are not important, they can be specified using the XML attributes userTable and userRoleTable on the Real e

RE: WebApp Using JDK 1.4, Tomcat 5.5.17 or 5.0.28?

2006-08-27 Thread Richard Mixon
>> I heard Tomcat 5.5.17runs internally on JDK 1.5. Not quite correct. If you just get the core Tomcat 5.5.x download, it expects to run in a Java 1.5 environment. However on the same page you download the Core Tomcat package from ... http://tomcat.apache.org/download-55.cgi There is a "JDK 1.4

RE: Servlets mod_jk Context path problems

2006-08-16 Thread Richard Mixon
Changing to Controller /Controller Will fix the "/ecommerce/ecommerce" problem. Probably what you are really trying to do is make your webapp the "ROOT" webapp. For that you need to rename your webapp directory to ROOT and change your context definition. If you search the post

RE: JMS Alternative

2006-08-15 Thread Richard Mixon
If you are wanting to send email, you probably are interested in the Java Mail API - not the JMS API - they are for (usually) different purposes. However one could conceivably use JMS as a conduit between the various components of such a system (e.g. email assembly, delivery and the MTA). Creating

RE: Future Releases

2006-08-15 Thread Richard Mixon
as performance or functionality. -Tim Richard Mixon wrote: > Tim, > > I don't believe that answers Sridhar's question (or mine). It has been > noticable since the latest J2EE spec was release (with updates to the > JSP and Servlet spec) this past spring - I have not se

RE: Future Releases

2006-08-15 Thread Richard Mixon
Tim, I don't believe that answers Sridhar's question (or mine). It has been noticable since the latest J2EE spec was release (with updates to the JSP and Servlet spec) this past spring - I have not seen any mention of a future version of Tomcat that might support them. Not asking for a date/when,

RE: one tomcat multiple users

2006-08-10 Thread Richard Mixon
You cannot give them their own version of server.xml - unless they each run their own complete copy of Tomcat, which you probably do not wish to do. What might work instead is to give them either their own virtual host, with their own webapps directory ... Or maybe using Tomcat 5.5.x given them ea

RE: Two Virtual Hosts

2006-08-06 Thread Richard Mixon
: Two Virtual Hosts Tomcat 5.5.15, OS (Fedora Core 4) The JDBCRealm I defined for deployed one is in server.xml, any idea? On 8/7/06, Richard Mixon <[EMAIL PROTECTED]> wrote: > More information is needed to help. > > What version of Tomcat, what version of your OS. Also, where are

RE: Two Virtual Hosts

2006-08-06 Thread Richard Mixon
More information is needed to help. What version of Tomcat, what version of your OS. Also, where are you defining your JDBCReal - in server.xml or in context.xml? -Original Message- From: Li [mailto:[EMAIL PROTECTED] Sent: Sunday, August 06, 2006 8:01 PM To: Tomcat Users List Subject: T

RE: apache Tomcat webserver problem

2006-08-05 Thread Richard Mixon
You did not say which version of Tomcat you were using, or what OS. It appears you are using Windows - check the settings on any software firewall you may have configured as this may be preventing access. Can you ping from the other machine to your Tomcat server? -Original Message- From: R

RE: How to redirect URLs

2006-07-17 Thread Richard Mixon
Take a look at the section of this page on the "tomcat-users" mailing list: http://tomcat.apache.org/lists.html Basically you just create a new email (I.E. do not reply to an existing email from the list), address it to users@tomcat.apache.org with an appropriate Subject and message Body. HTH

RE: Tomcat on a server

2006-07-16 Thread Richard Mixon
It is still unclear what your purpose is. Will all users be running the exact same program/application? Or will each users be changing the program (such as in a class or academic environment)? -Original Message- From: Pratap Parne [mailto:[EMAIL PROTECTED] Sent: Sunday, July 16, 2006 4:12

RE: Run shell script when web application start/restart

2006-07-13 Thread Richard Mixon
Maybe I'm missing something, but if you re-generate the pages, and have Tomcat in development mode, the new pages will automatically be re-compiled the next time they are accessed. -Original Message- From: Tom Potter [mailto:[EMAIL PROTECTED] Sent: Thursday, July 13, 2006 7:59 AM To: Tom

RE: mod_jk 1.2.16 release candidate: ready to test

2006-07-11 Thread Richard Mixon
Ibrahim, Please do not hijack and existing thread. Start a new thread. You have thoroughly mucked up this thread on "mod_jk 1.2.16 rele4ase candidate: ready to test". -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 11, 2006 2:55 PM To: Tomcat User

RE: [SPAM] RE: Best Practice for properties files

2006-06-27 Thread Richard Mixon
perhaps in the context.xml or in some file that context.xml references. Paul -Original Message- From: Richard Mixon [mailto:[EMAIL PROTECTED] Sent: Saturday, June 24, 2006 9:44 PM To: 'Tomcat Users List' Subject: [SPAM] RE: Best Practice for properties files Paul, are you using th

RE: Best Practice for properties files

2006-06-24 Thread Richard Mixon
Paul, are you using the deployer application to deploy your app (e.g. apache-tomcat-5.5.17-deployer)? If so, then it is very easy to modify the build.xml to customize the log4j.properties, app.properties and any other file, and then deploy it properly. You could even have a different ant target fo

RE: Re: Own Connector for Tomcat

2006-06-23 Thread Richard Mixon
Tomcat 5.5 works fine with Java 1.4 - just be sure and download the 'JDK 1.4 Compatability Package:' at this link: http://tomcat.apache.org/download-55.cgi It is all of 1.6MB in size. Just follow the instructions - its easy. HTH - Richard -Original Message- From: [EMAIL PROTECTED] [

RE: Applet configuration in catalina.policy

2006-06-10 Thread Richard Mixon
I do not believe that files under the WEB-INF directory can be directly referred to by the browser. You applet class (usually it is served as a .jar file) must not be under WEB-INF. Maybe the catalina.policy file can change this - but I don't think so. -Original Message- From: wolverine my

RE: Auto Reload Features by Tomcat

2006-06-02 Thread Richard Mixon
If I understand correctly, you are describing moving a src file (ProfileServlet.java) under project/WEB-INF/src in your production Tomcat webapps directory. I know that am not sure why you believe that Tomcat will automatically compile your servlet source (I believe it will for a .jsp file) The co

RE: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Richard Mixon
Tomcat's purpose is to listen for requests and pass them on to the appropriately mapped servlet. Maybe you do not want to use Tomcat, but instead roll your own server that simply listens on a particular port for socket opens. But again, to do this well is not a trivial exercise. The port you choos

RE: When does the "MarkSweepCompact" Garbage Collector perform GC?

2006-05-29 Thread Richard Mixon
What makes you think the GC should run? Are you out of memory? The GC will not run in many situations unless it has a need to. HTH - Richard -Original Message- From: Benjamin Chu [mailto:[EMAIL PROTECTED] Sent: Monday, May 29, 2006 8:25 PM To: Tomcat Users List Subject: When does the "Ma

RE: Running Tomcat with different JDKs under SuSE-SE-9.0

2006-05-25 Thread Richard Mixon
SuSE has a very nice mechanism for selecting which of several versions of Java to run. I would recommend you take the 15 minutes to read the README in /etc/java and then follow it. The old way of just unjarring multiple Java versions to different locations and then creating the links and setting

RE: DBCP 1.1 minIdle parameter - does it work in Tomcat 4.1.18?

2006-04-18 Thread Richard Mixon
Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 18, 2006 8:53 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: DBCP 1.1 minIdle parameter - does it work in Tomcat 4.1.18? This also possibly could be related to the use of the connections retrieved from the pool. On 4/18/06, R

DBCP 1.1 minIdle parameter - does it work in Tomcat 4.1.18?

2006-04-18 Thread Richard Mixon
I'm (still) trying to figure out a problem with our connection pool locking up - all threads waiting for a connection from the DBCP pool, such as following from a thread dump: ... "Thread-28" daemon prio=1 tid=0xac9dedc8 nid=0x5256 waiting for monitor entry [0xb0607000..0xb0608580] at org.apache

RE: Diagnosing DBCP JDBC connection leak using removeAbandoned parm

2006-04-05 Thread Richard Mixon
h (SQLException e) { //Exception ignored } } -Original Message- From: Richard Mixon [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 04, 2006 10:57 PM To: users@tomcat.apache.org Subject: Diagnosing DBCP JDBC connection leak using removeAbandoned parm Bear with me, I'll tr

RE: Diagnosing DBCP JDBC connection leak using removeAbandoned parm - short version

2006-04-05 Thread Richard Mixon
I'm still curious about the crazy logAbandoned messages - not sure how to interpret or rely on them. I'll try a again with a briefer posting - maybe I was too detailed in the original post. We are getting strange (erroneous?) messages because of the logAbandoned parameter: 1) The dates look lik

Moving from Tomcat 4.1 to Tomcat 5.5 - issues?

2006-04-04 Thread Richard Mixon
We are about to move an application from Tomcat 4.1 to Tomcat 5.5. We are already running Tomcat 4.1 under Sun java 1.5 on 32-bit Linux on dual Xeon processors with 4GB of memory. Can anyone else comment on what we should expect as far as changes in stability and performance? Also, I am wonderin

Diagnosing DBCP JDBC connection leak using removeAbandoned parm

2006-04-04 Thread Richard Mixon
Bear with me, I'll try to make this short, but want to give enough info/background that it makes sense. Basically we are a bit confused by the output of the DBCP logAbandoned parameter. Any help is appreciated. Environment: We are using Tomcat 4.1.18 (for now), MySQL 4.0.18, Java 1.5.0_04-b05, all

RE: Tomcat on other JVM

2006-04-03 Thread Richard Mixon
This is done quite commonly. For almost a year I used IBM 64bit JVM on SuSE Linux running dual AMD Opteron chips. Went back to Sun eventually when I upgraded OS versions - but the IBM JVM and Tomcat worked well. HTH - Richard -Original Message- From: Krish B [mailto:[EMAIL PROTECTED] Sen

RE: Logs not getting generated in tomcat 5.5.12

2006-03-29 Thread Richard Mixon
I have not used MyEclipse, but when I run Tomcat under Eclipse, the catalina.out output goes to an Eclipse "console" window, not to a file. Check your settings, I believe this can be changed. - Richard -Original Message- From: GUNJAN SINGH [mailto:[EMAIL PROTECTED] Sent: Wednesday, Mar

RE: WTP installation question

2006-03-27 Thread Richard Mixon
Dola, I have not had a problem just renaming the current c:\eclipse directory to c:\eclipse_old and then installing (unzipping) the WTP all-in-one bundle - as follows. The only thing different I do is that I have all of my plugins in a separate directory. I do this by creating a directory c:\ecli

RE: Best eclipse plugin for tomcat development

2006-03-18 Thread Richard Mixon
Dola, For the last couple of years I have used the Sysdeo plugin with good success. But since December the all-in-one bundle of Eclipse with the Eclipse Web Tools Project has been available. This is a completely integrated build that does not require installation of plugins. Not only does it run

RE: basic question regarding BASIC and FORMS logins

2006-03-08 Thread Richard Mixon
Dennis, For just that webapp, you can always bump the session timeout to a very high value. That would just take a change to the web.xml, no change of authentication method needed. HTH - Richard -Original Message- From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08

RE: regarding tomcat port no

2006-02-25 Thread Richard Mixon
Typically one would look in the Connector statement in your /conf/server.xml file. For Tomcat 5.5.15 it is something similar to: In this case you could access Tomcat on port 8080 - i.e. http://localhost:8080/ HTH - Richard -Original Message- From: bhavik shah [mailto:[EMAIL PROTEC

RE: configuring mod_jk with apache / tomcat

2006-02-17 Thread Richard Mixon
Brad, I also am running SuSE SLES9 and have mod_jk connecting apache to tomcat. Here are the packages I have installed: # rpm -qa | egrep apache2 apache2-example-pages-2.0.49-27.29 apache2-mod_php4-4.3.4-43.46.8 apache2-prefork-2.0.49-27.38 apache2-devel-2.0.49-27.34 apache2-worker-2.

RE: How to install a simple servlet in Tomcat?

2006-02-17 Thread Richard Mixon
Marc, Tomcat 5.x and 5.5.x work just fine with Java 1.4. For Tomcat 5.5 just be sure to also download the "compat" kit that includes and extra jar or two needed with Java 1.4. -Original Message- From: Marc Wentink [mailto:[EMAIL PROTECTED] Sent: Friday, February 17, 2006 2:03 AM To: Tomc

RE: Configuring a web application at the container level

2006-02-17 Thread Richard Mixon
Matt, We just modify the apache-tomcat-5.5.15-deployer/build.xml script to customize the application when it compiles and deploys it. It's a standard ant build.xml, we just added another target that lets us modify properties and other files for the specific host we are deploying to. Theres a deplo

RE: Commercial Support?

2006-02-03 Thread Richard Mixon
Not positive, but I believe that Jboss also offers support for just Tomcat. I attended a webinar a while back and it appears a number of the Tomcat developers are also affiliated with Jboss. HTH - Richard -Original Message- From: Kirt Dankmyer [mailto:[EMAIL PROTECTED] Sent: Friday, Feb

RE: Tomcat log to syslog

2006-02-01 Thread Richard Mixon
Oh, as to your original question about log/syslog. I believe since the later versions of Tomcat 5.5.x all can use Log4J for all logging, you can do this. I believe reading that Log4J has a syslog appender that will re-direct output to syslog. You will need to go to the Log4J site (http://logging.a

RE: Tomcat log to syslog

2006-02-01 Thread Richard Mixon
Mark, I've been using SLES 8, and now SLES 9 for over two years. Novell/SuSE's policy of patching the shipped version of Tomcat rather than upgrading probably works for some customers and provides a bit more stability to production installations. But it did not work well fo me either. My solution

RE: serializing java code

2006-01-23 Thread Richard Mixon
Your "code" does not really get "serialized". You just have to be sure that you are not storing any objects in the Session that are not Serializable - i.e. they must implement the interface java.io.Serializable. For many of your custom object types it may be as simple as just implementing the Seri

RE: increase limit Xmx

2006-01-22 Thread Richard Mixon
Xmx On 1/22/06, Richard Mixon <[EMAIL PROTECTED]> wrote: > Andri, > > I'm guessing that you are using a 32-bit version of (SuSE) Linux > Enterprise 9. You need to use the 64-bit version to get heap sizes > greater than 2GB (actually it ends up being closer to th 1800m as

RE: increase limit Xmx

2006-01-21 Thread Richard Mixon
Andri, I'm guessing that you are using a 32-bit version of (SuSE) Linux Enterprise 9. You need to use the 64-bit version to get heap sizes greater than 2GB (actually it ends up being closer to th 1800m as you have experience). An of course your hardware needs to support 64-bit (e.g. with AMD64 chi

RE: Starting Tomcat at boot

2006-01-11 Thread Richard Mixon
If you are using the Tomcat version that ships with SLES9 (version 5.0.x I believe) just use the /etc/init.d/tomcat script. There is usually a symbolic link created and you can just issue one of the following from a root command prompt: rctomcat start rctomcat stop rctomcat restart rctomcat

RE: distribution

2006-01-08 Thread Richard Mixon
Zohar, Not exactly clear on your requirements. Do you care which backend server the client is initially redirected to? If not, then you can use a load balancer that supports "session affinity". It will use a load-balancing algorithm to initially decide which back-end server to forward a particula

RE: Real time optimization problem

2006-01-05 Thread Richard Mixon
Mukesh, Tim Funk's reply to your post earlier gave pretty good guidance as to what steps you need to take. Your question/post has not changed so I'm not sure what you are asking. HTH - Richard -Original Message- From: mukesh [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 8

RE: Antwort: RE: Tomcat JDBC connection with Mysql

2005-12-15 Thread Richard Mixon
Jan, Tomcat runs just fine on Linux. Use the most recent version (Fedora Core 4 is fine, or OpenSuse 10, or ...). These should come with a fairly recent version of Tomcat (5.x or 5.5.x) or the packages should be available. I prefer to install Tomcat myself on Linux, from a downloaded binary (tar.

RE: inserting data (A weird problem)

2005-12-14 Thread Richard Mixon
Claudio, I'm sorry but I have a bit of trouble following your explanation (I just do not know your object model/domain well enough to follow the explanation). But I'm still wondering if this is not a problem of ill-formed JavaBeans. Are you aware of the rules for naming JavaBeans classes and thei

RE: inserting data (A weird problem)

2005-12-14 Thread Richard Mixon
If DB.contacto is a regular JavaBean, then maybe the method call should be "setApellido(...)", instead of "setapellido(...)"? HTH - Richard _ From: Claudio Veas [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 13, 2005 9:24 PM To: Tomcat Users List Subject: inserting data (A weird pr

RE: How to load a class when tomcat starts

2005-12-10 Thread Richard Mixon
Vineesh, You should probably use a ServletContextListener . It will give you control when the web application starts and when it ends, among otherevents. It is pretty well described in the servlet spec and is pretty simple. HTH -Richard -Original Message- From: vineesh kumar [mailto:[E

RE: Tomcat 4.1 hang - maybe in JK connector

2005-12-09 Thread Richard Mixon
I did a bit more research and found the two areas of concern. Would appreciate any comments or insights into how to resolve this. 1) First there were 37 waiting threads in the thread pool. There were and additional 22 that were in Object.wait on a "read" in the JK code. There was one that was "wa

RE: Tomcat 4.1 hang - maybe in JK connector

2005-12-09 Thread Richard Mixon
+ no Exceptions in the logs. Any help, advice, idea greatly welcomed. Mirek On 12/9/05, Richard Mixon <[EMAIL PROTECTED]> wrote: > > >Can anyone take a look at the thread dump below and give me a clue as > >to what cause the CPU to rise to 99% and things to get unresponsive?

RE: Tomcat 4.1 hang - maybe in JK connector

2005-12-08 Thread Richard Mixon
>Can anyone take a look at the thread dump below and give me a clue as to >what cause the CPU to rise to 99% and things to get unresponsive? Sorry the >dump is so large (850 lines) Oh ... This is a Fedora Core 2 Linux box with 1GB of RAM and dual Xeons. Thanks -Richard

Tomcat 4.1 hang - maybe in JK connector

2005-12-08 Thread Richard Mixon
We just finished eliminating some instability in one of our Tomcat server about a month ago. We ended up just needing to specify removeAbandoned true removeAbandonedTimeout 300 in our DBCP data sources. Now a month later we had a hang today. It looks like its in the J

RE: Start Tomcat as a Linux daemon

2005-12-07 Thread Richard Mixon
Mario, Your CATALINA_HOME and DAEMON_HOME should be pointing to /usr/local/jakarta-tomcat not the bin subdirectory. That should help - Richard -Original Message- From: Mário Gamito [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 5:36 AM To: users@tomcat.apache.org Subject:

RE: Performance problems

2005-12-06 Thread Richard Mixon
Roger, A thread dump/stack trace of all the threads in the Tomcat JVM is one way to see whats happening. It will show what is happening in detail - and may even highlight some problems. It does take a bit of study to understand what you are seeing. Here is an article I use that covers both Windows

RE: Deploying Servlet Project from Windows to Fedora

2005-12-01 Thread Richard Mixon
nd & use it ... > > > And there is another point that comes in my mind at the moment... > > The windows platform is 32 bit ... and of course the J2EE and > Jre are both 32bit... > but the server side, Fedora is 64 bit... also the JRE ... > > dose it make a

RE: Deploying Servlet Project from Windows to Fedora

2005-12-01 Thread Richard Mixon
Aydin, I do not have reference for any such documentation. However in the past I have been bit badly a number of times trying to move a web application from Windows to Linux. The other way around works much more reliable. The two issues that resolved my problem always ended up being: 1) Case sen

Tomcat 4.1.31 error - method ()V not found

2005-11-29 Thread Richard Mixon
Hello, I am moving a couple of small Java websites for a customer from one hosting provider to another. Both are RedHat Linux machines with Tomcat 4.1.31 and Java 1.4.2. On the new server I get the following error the first time I hit a JSP page on the site. ... - Root Cause - java.lang.N

RE: How to set the admin console for 5.5.x

2005-11-28 Thread Richard Mixon
2 AM > To: Tomcat Users List > Subject: RE: How to set the admin console for 5.5.x > > > From: Richard Mixon [mailto:[EMAIL PROTECTED] > > Subject: RE: How to set the admin console for 5.5.x > > > > You have placed it in the wrong directory structure. It is most

RE: How to set the admin console for 5.5.x

2005-11-28 Thread Richard Mixon
Shridhar, You have placed it in the wrong directory structure. Look at the paths in the zip/tar file - they show you the correct location. It is mostly under server/webapps - not webapps. HTH - Richard > -Original Message- > From: N S, Shridhar [mailto:[EMAIL PROTECTED] > Sent: Monday,

RE: Managing concurrent high memory processes

2005-11-21 Thread Richard Mixon
anyway) of deploying to a > multi-machine environment. > > > >From: "Richard Mixon" <[EMAIL PROTECTED]> > >Reply-To: <[EMAIL PROTECTED]> > >To: "'Tomcat Users List'" > >Subject: RE: Managing concurrent high memory proces

RE: Managing concurrent high memory processes

2005-11-18 Thread Richard Mixon
BB, It sounds like you are talking about what used to be called "batch processing". The workload is simply kicked off from a web request. Does it (attempt) to return a request to the user? Are timeouts and issue? As far as available RAM - the obvious solution here is to move to a 64-bit OS. We've

RE: session replication errors

2005-11-18 Thread Richard Mixon
And does this have to do with "session replication errors"? At least when hijacking a thread remember to change the Subject line. But better still create an entirely new email and address it to the list. This will make it easier on those of us that use threaded mail readers. Concerning your quest

RE: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '

2005-11-16 Thread Richard Mixon
Nehal, I believe he is talking about windows (startup.bat ?), so there's not ".profile" for the user. NanFei, there are a number of detailed posts on this topic during the last week - search/Google for them. I believe you need to run tomcatw.exe - but I do not have that version. You can also down

RE: error in jasper precompilation

2005-11-14 Thread Richard Mixon
Mike, Doing an exclude is one approach (as mentioned by Len). When I encountered this issue a couple of years ago, my Googling turned up the recommended approach of naming your include files with a ".jspf" suffix instead of a ".jsp" suffix. Jasper should ignore them - and it will be clear which fi

RE: Strange Problem -Internal Server Error

2005-11-14 Thread Richard Mixon
Birendar, In order to help we need a bit more information: - what version of Tomcat? - what version of Java you are using? - what operating system and version? - the specific Internal Server Error message and status code also, just to be sure? - what is the BES in "Tomcat+BES"? - what is th

RE: Help configuring mod_jk! Apache 2.0.54 + Tomcat 5.5.12 + SuSE Linux 10.0

2005-11-05 Thread Richard Mixon
.so that I used is for SuSE Liux Enterprise Server 9 (SLES) and that too for 64bit. Do jakarta have binary for 32 bit linux? I know they have nice .so files for Win32 and OSX. ( :( ) Thanks again. Regards, Dhaval --- Richard Mixon <[EMAIL PROTECTED]> wrote: > Dhaval, > > I hope I c

RE: Help configuring mod_jk! Apache 2.0.54 + Tomcat 5.5.12 + SuSE Linux 10.0

2005-11-05 Thread Richard Mixon
Dhaval, I hope I can help - at least a bit. First, your assumption as to whether you have the correct mod_jk binar is probably correct - IF you are running x64 architecture hardware (an AMD64 or one of the Intel Xeon's with 64 bit extensions). I am running SuSE Enterprise Server 9 (SLES9) on our

RE: Tomcat 5.0.28 hangs on boot

2005-11-04 Thread Richard Mixon
Preston, Assuming you are on some form of *nix and your script starts with something like ... #! /bin/sh ... you can probably put the following statement right after it ... set -o xtrace This will trace the script to standard output. But come to think of it, if this is at boot time it may no

RE: MHT file dosn't show correctly

2005-11-04 Thread Richard Mixon
Search the list. I believe there was a post about a similar mime problem yesterday. The mime settings where slightly different what you show in your post. HTH - Richard -Original Message- From: Yair Fine [mailto:[EMAIL PROTECTED] Sent: Friday, November 04, 2005 5:53 AM To: Tomcat Users

RE: Unix socket communications on Tomcat 5.5

2005-11-03 Thread Richard Mixon
Oliver, Unless you have a special reason to use mod_jk2, you should probably be using mod_jk instead. See: http://tomcat.apache.org/connectors-doc/news/20041100.html#20041115.1 The mod_jk documentation for 5.5. is here:: http://tomcat.apache.org/connectors-doc/ Now, if you really need to sta

RE: How to deploy when JSPs need to change regularly?

2005-11-03 Thread Richard Mixon
apache project for managing large numbers of tomcats remotely. Thanks again! /kurt Richard Mixon wrote: > Kurt, > > Just using a ".war" file to deploy from should not keep you from > updating the JSP pages. We do occasional patches to our JSP pages in a > two-server cluste

RE: How to deploy when JSPs need to change regularly?

2005-11-03 Thread Richard Mixon
apache project for managing large numbers of tomcats remotely. Thanks again! /kurt Richard Mixon wrote: > Kurt, > > Just using a ".war" file to deploy from should not keep you from > updating the JSP pages. We do occasional patches to our JSP pages in a > two-server cluste

RE: How to deploy when JSPs need to change regularly?

2005-11-03 Thread Richard Mixon
Kurt, Just using a ".war" file to deploy from should not keep you from updating the JSP pages. We do occasional patches to our JSP pages in a two-server cluster with no problem. However if you pre-compile the JSP pages before building the ".war" file that could pose an issue. Using CVS as a repl

RE: Tracking

2005-10-25 Thread Richard Mixon
You do not say which version of Tomcat you are using. But in general you can set the removeAbandoned* parameters to mitigate the problem (i.e. it will take longer to stop responding). If using 5.5.x look for the heading "Preventing dB connection pool leaks" at: http://tomcat.apache.org/tomcat-5.

RE: Struts Application Logic Error

2005-10-23 Thread Richard Mixon
Asad, First, you might have better luck on the Struts Users mailing list at user@struts.apache.org, rather than the Tomcat Users mailing list. Struts is just one of the many web application frameworks that works with Tomcat. Struts also works with many other application servers. Second, looking a

RE: KeyStore question

2005-10-23 Thread Richard Mixon
Rudi, Sorry I do not have any experience with keystores. The list traffic is pretty slow, so you are unlikely (not impossible) to get an answer before Monday. HTH - Richard -Original Message- From: Raueber Hotzenplotz [mailto:[EMAIL PROTECTED] Sent: Sunday, October 23, 2005 7:21 AM To: T

RE: ActiveX question

2005-10-21 Thread Richard Mixon
Satyavrat, I believe that is a browser issue, not a server issue. Microsoft Internet Explorer and a limited number of other browsers support ActiveX plugins. However many other popular browsers do not support ActiveX. - Richard -Original Message- From: Satyavrat A. Prabhune [mailto:[EM

RE: Problems with web.xml generated from RAD and from Ecplise.

2005-10-19 Thread Richard Mixon
bject: Re: Problems with web.xml generated from RAD and from Ecplise. From: "Richard Mixon" <[EMAIL PROTECTED]> > I'm pretty familiar with Tomcat, but have no idea what RAD is and how > its Tomcat related. If you explain that someone might be able to better help. Rational

RE: Problems with web.xml generated from RAD and from Ecplise.

2005-10-18 Thread Richard Mixon
I'm pretty familiar with Tomcat, but have no idea what RAD is and how its Tomcat related. If you explain that someone might be able to better help. -Original Message- From: Developer Developer [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 8:59 AM To: Tomcat Users List Subject:

RE: Tomcat hangs with lots of DBCP "Object.wait" processes

2005-10-14 Thread Richard Mixon
the latest jars for commons-dbcp and commons-pool (http://jakarta.apache.org/commons) and put them in your tomcat/common/lib. I've only tested this with Tomcat 4.1 - not sure whether it works at all in 4.0. Matt -Original Message- From: Richard Mixon [mailto:[EMAIL PROTECTED] Sent:

RE: Tomcat hangs with lots of DBCP "Object.wait" processes

2005-10-14 Thread Richard Mixon
tp://jakarta.apache.org/commons/dbcp/configuration.html HTH, Jon Richard Mixon wrote: > One thing I forgot, that might be relevant. > > Another Tomcat instance on the server continued to function just fine. > It also accesses a different MySQL database, but its served by th

RE: Tomcat hangs with lots of DBCP "Object.wait" processes

2005-10-14 Thread Richard Mixon
One thing I forgot, that might be relevant. Another Tomcat instance on the server continued to function just fine. It also accesses a different MySQL database, but its served by the same MySQL instance. - Richard -Original Message- From: Richard Mixon [mailto:[EMAIL PROTECTED] Sent

Tomcat hangs with lots of DBCP "Object.wait" processes

2005-10-13 Thread Richard Mixon
I have a customer running Tomcat 4.0.18. About twice a week their system is locking up - obviously we don't know why or I would not be asking. Symptoms 1) CPU usage per TOP is not very high. 2) When requesting the main web page, the page goes white and never returns. When this happened yesterday

RE: XP Pro x64 Edition

2005-10-13 Thread Richard Mixon
It works for me just fine. Here are my environment settings: setTomcatEnv.bat - Input parms: C:\jdk1.5.0_05_x64 c:\apache-tomcat-5.5.12 setTomcatEnv.bat - Third parameter (CATALINA_BASE) not supplied, defaulting to CATALINA_HOME setTomcatEnv.bat - JAVA_HOME=C:\jdk1.5.0_05_x64 setTomcatEnv.bat