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

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

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, 2006

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

RE: need help with .startup.sh

2006-09-03 Thread Richard Mixon
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 catalina.sh around line 73 - it should look something like: if [ -r $CATALINA_HOME/bin

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

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

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

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

2006-08-16 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).

RE: Servlets mod_jk Context path problems

2006-08-16 Thread Richard Mixon
Changing to servlet-mapping servlet-nameController/servlet-name url-pattern/Controller/url-pattern /servlet-mapping 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

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

2006-08-15 Thread Richard Mixon
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 seen any mention of a future version of Tomcat

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:

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:

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

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:

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

2006-06-27 Thread Richard Mixon
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 the deployer application

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

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

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

RE: When does the MarkSweepCompact Garbage Collector perform GC?

2006-05-30 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

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

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

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

2006-04-18 Thread Richard Mixon
parameter nameremoveAbandonedTimeout/name value60/value /parameter parameter namelogAbandoned/name valuetrue/value /parameter !-- 2006/04/18 Richard Mixon, changes to avoid firedrummarket.com lockups -- !-- Explicitly stating pool sizes and values

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

2006-04-18 Thread Richard Mixon
:[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, Richard Mixon [EMAIL

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

RE: Diagnosing DBCP JDBC connection leak using removeAbandoned parm

2006-04-05 Thread Richard Mixon
} } -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 try to make this short, but want to give enough info

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,

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

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]

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,

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

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

RE: regarding tomcat port no

2006-02-25 Thread Richard Mixon
Typically one would look in the Connector statement in your TOMCAT_HOME/conf/server.xml file. For Tomcat 5.5.15 it is something similar to: Connector port=8080 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false

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

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

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,

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

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

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

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

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 particular

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

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

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

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

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

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

RE: Deploying Servlet Project from Windows to Fedora

2005-12-01 Thread Richard Mixon
is 64 bit... also the JRE ... dose it make a problem ... ? Richard Mixon wrote: 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

Tomcat 4.1.31 error - method init()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 -

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

2005-11-28 Thread Richard Mixon
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 mostly under server/webapps - not webapps

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

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

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 the

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 files

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

2005-11-05 Thread Richard Mixon
) 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 can help - at least a bit. First, your assumption as to whether you have

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

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

2005-11-03 Thread Richard Mixon
(and not a war) just feels...I dunno... 'amatuerish'. Maybe I'm just paranoid. My shell-fu is much better than my java-fu, so I can figure it out that way, I guess I just assumed there's some big, complex apache project for managing large numbers of tomcats remotely. Thanks again! /kurt Richard

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

2005-11-03 Thread Richard Mixon
(and not a war) just feels...I dunno... 'amatuerish'. Maybe I'm just paranoid. My shell-fu is much better than my java-fu, so I can figure it out that way, I guess I just assumed there's some big, complex apache project for managing large numbers of tomcats remotely. Thanks again! /kurt Richard

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

Tomcat hangs with lots of DBCP Object.wait processes

2005-10-14 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: 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