Re: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-26 Thread mgainty
Good Morning- the applicable snippet from jk_ajp_common.c authored by Gal Shachor [EMAIL PROTECTED] jk_log(l, JK_LOG_ERROR, Can't receive the response message from tomcat, network problems or tomcat is down (%s), err=%d,

Re: Apache TomCat 6.x

2008-03-22 Thread mgainty
Joseph- Good advice .. the version of msvcrt.dll in JAVA 5 located at %JAVA_HOME%\jre\bin\msvcrt.dll is 6.00.8337.0 Using any other dll in JAVA or in the %PATH% would in all probability cause incongruent behaviour for the java binaries Martin US Citizen-Contractor - Original Message -

Re: STM

2008-03-12 Thread mgainty
do you mean maxThreads=150 on the connector in server.xml? could you clarify maxInstances parameter Regards Martin- - Original Message - Wrom: GMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRE To: users@tomcat.apache.org Sent: Wednesday, March 12, 2008 7:43 AM Subject: STM Is there

Re: Eclipse with tomcat and mysql

2008-03-10 Thread mgainty
Kevin-- what version is your MySQL driver? ? Martin - Original Message - Wrom: UFPEGAUTFJMVRESKPNKMBIPBARHDMN To: Tomcat Users List users@tomcat.apache.org Sent: Monday, March 10, 2008 1:43 PM Subject: Re: Eclipse with tomcat and mysql Yes the driver is in my project libraries.

Re: Why is this java.lang.IllegalStateException occuring, and what can be done about it?

2008-03-07 Thread mgainty
what happens when you start TC and pass in the disable clear references parameter-Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFEREN CES=false?M-- Original Message - Wrom: IYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEP To: Tomcat Users List users@tomcat.apache.org Sent: Friday, March 07,

Re: viewing servlets on Tomcat

2008-03-06 Thread mgainty
Good Morning Richard dont blame the piano player on this as Windows uses the 8.3 folder names to verify cd \ dir /X /AD #note you will see PROGRA~1 assigned to C:\Program Files folder cd PROGRA~1 dir /X /AD #note you will see APACHE~1 assigned to Apache Software Foundation folder cd APACHE~1

Re: Session expiration and AJAX issues

2008-02-25 Thread mgainty
Jason- the url patterns depends on the servlet mapping you've defined.. You're going to need some algorithm which defines infinity Your current mechanism binds the current Servlet to the ajax control (div?) Acquire the initial date/time ..store it somewhere..hopeully in session when the servlet

Re: Java -Tomcat- compatability on linux and windows

2008-02-21 Thread mgainty
Hi Raghu Only with platform specific binaries..(most of which are located in $JRE_HOME/bin) Is there something specific you wanted to look at? M- - Original Message - Wrom: ONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQ To: 'Tomcat Users List' users@tomcat.apache.org Sent: Thursday, February

Re: Tomcat ISAPI Redirector for IIS

2008-02-18 Thread mgainty
agreed... if by *Strange* you mean *you dont understand* then I would advise you to take a look at Mladen Turks paper on fronting Tomcat with IIS http://people.apache.org/~mturk/docs/article/ftwai.html I would specifically note the built-in restrictions of Windows Workstation products to managing

Re: Status 404 in tomcat

2008-02-02 Thread mgainty
is your manager's version of index.jsp located at $TOMCAT_HOME\server\webapps\manager ? M- - Original Message - Wrom: KPNKMBIPBARHDMNNSKVFVWRKJVZCMH To: users@tomcat.apache.org Sent: Saturday, February 02, 2008 12:54 AM Subject: Fwd: Status 404 in tomcat Hello, I have installed

Re: Tomcat Performance Question

2008-01-26 Thread mgainty
Good Point suggest taking a look at implementing Tomcat Clustering to accomodate greater loads http://wiki.apache.org/tomcat/FAQ/Clustering M- - Original Message - Wrom: VRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIB To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, January 26, 2008

Re: Tomcat memory leak?

2008-01-24 Thread mgainty
Good Morning Ofer I dont see attachement of /LoadTest/something.jsp Martin- - Original Message - Wrom: FPEGAUTFJMVRESK To: users@tomcat.apache.org Sent: Thursday, January 24, 2008 9:51 AM Subject: Tomcat memory leak? Hi, I know it's weird, but I'm doing the simplest

Re: web.xml problems outside tomcat webapp folder

2008-01-20 Thread mgainty
yes..can you also display you configuration for default Virtual Host appBase attribute? In other words %TOMCAT_HOME%\conf\server.xml you should see appBase that looks like Host name=YourServerGoesHere appBase=webapps M-- - Original Message - Wrom:

Re: JSF and SSI

2007-12-28 Thread mgainty
You will get a faster and more accurate response if you display contents of your jsp(f)/jsf/faces page regards/ Martin - Original Message - Wrom: CAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSF To: Tomcat Users List users@tomcat.apache.org Sent: Friday, December 28, 2007 7:41 AM Subject: Re:

Re: Merry Christmas Chuck

2007-12-21 Thread mgainty
Merry Christmas to one and all (and especially the list maintainers and committers who sometimes take considerable abuse to keep the discussions lively, informative and accurate) in 82 a BAL programming course on a sperry-rand machine..whatever became of sperry-rand or burroughs??? Martin-- P.S.

Re: how to run a simple jsp file

2007-12-21 Thread mgainty
Please Display jsp and accompanying web.xml Thanks M- - Original Message - Wrom: MQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGV To: Tomcat Users List users@tomcat.apache.org Sent: Friday, December 21, 2007 2:36 PM Subject: RE: how to run a simple jsp file maybe you're lacking a jar file

Re: apache and tomcat

2007-12-18 Thread mgainty
good point.. try to determine if tc is running before trying to start it again netstat -a | grep PortNumber M-- - Original Message - Wrom: TZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJ To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, December 18, 2007 8:44 AM Subject: Re: apache and

Re: error number 500

2007-12-16 Thread mgainty
display contents of jsp contents of web.xml content of server.xml Regards/ M- - Original Message - Wrom: VWWCUFPEGAUTFJMVRESKPNKMBIP To: users@tomcat.apache.org Sent: Sunday, December 16, 2007 6:51 AM Subject: error number 500 I have installed tomcat 6. i have tried to run the cal1

Re: DataSource created but not initialized = Cannot create JDBC driver of class '' for connect URL 'null'

2007-12-07 Thread mgainty
Hi Tom here is my jdbc.properties which is used for petstore access to MySQL tables #jdbc.driverClassName=org.hsqldb.jdbcDriver jdbc.driverClassName=com.mysql.jdbc.Driver #jdbc.url=jdbc:hsqldb:hsql://localhost:9001 jdbc.url=jdbc:mysql://localhost:3306/petclinic jdbc.username=fu jdbc.password=bar

Re: PLS-00201: identifier 'package_name.procedure_name' must be declared

2007-12-05 Thread mgainty
JNDI was designed for DB access with and without schema classification once you have a connection you can always alter your session to take a schema ALTER SESSION SET SCHEMA = schema_name M-- - Original Message - Wrom: NHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXI To: users@tomcat.apache.org

Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-12-02 Thread mgainty
I agree that you should place the classes in your webapp WEB-INF..Common/lib is for internal use and wouldnt be expected to demand load the classes you require as is the case for the webapp WEB-INF http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html Anyone? M-- - Original Message

Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-12-02 Thread mgainty
Directory of %CATALINA_HOME%\common\lib 06/15/2004 08:29p 26,202 commons-logging-api.jar Directory of %CATALINA_HOME%\webapps\EncryptView\WEB-INF\lib 06/15/2004 08:29p 38,015 commons-logging.jar.old (unusable) /*lets create a jsp page which will call into that

Re: memory required to run webapp without outofmemory

2007-12-02 Thread mgainty
first I would enable your PermGen memory collector http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-permgen-outofme moryerror M-- - Original Message - Wrom: BARHDMNNSKVFVWRKJVZCMHVIBGDADRZ To: users@tomcat.apache.org Sent: Sunday, December 02, 2007 7:51 PM Subject: memory

Re: apache fop remains active in servlet environment

2007-11-29 Thread mgainty
FOP 0.94 has working servlet code which can be called specifying the xml and xsl http://servername/fop/servlet/FopServlet?xml=data.xmlxslt=format.xsl OR just using the fo param http://servername/fop/servlet/FopServlet?fo=readme.fo http://archive.apache.org/dist/xmlgraphics/fop/binaries/ M--

Re: is there a limit to JAVA Heap size ?

2007-11-26 Thread mgainty
Microsoft allows 3GB capability for User Process Address Space http://www.microsoft.com/technet/sysinternals/information/bootini.mspx Anyone else? M-- - Original Message - Wrom: UZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPB To: Tomcat Users List users@tomcat.apache.org Sent: Monday, November

Re: Application redeployment on Tomcat startup only

2007-11-19 Thread mgainty
handled by autodeploy attribute of Host element http://tomcat.apache.org/tomcat-5.5-doc/config/host.html M-- - Original Message - Wrom: EXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQ To: users@tomcat.apache.org Sent: Monday, November 19, 2007 12:12 PM Subject: Application redeployment

Re: Tomcat 6.0.x Classloader sequence

2007-11-15 Thread mgainty
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html The best options are $JAVA_HOME/jre/lib/ext then system classpath Common will process $CATALINA_HOME/lib M-- - Original Message - Wrom: QZAAFXISHJEXXIMQZUIV To: Tomcat Users List users@tomcat.apache.org Sent: Thursday,

Re: JasperException in Tomcat 5.0 and above but not in 4.1

2007-11-14 Thread mgainty
Henkel- web.xml will need to map xsd to some known mime-type e.g. mime-mapping extensionxsd/extension mime-typetext/xml/mime-type /mime-mapping Also I would look at ValidateVisitor.visit(Validator.java:423) for any expressions which you are currently not handling (Velocity/Freemarker

Re: speed up the server

2007-11-09 Thread mgainty
+1 also..to monitor memory usage run %JAVA_HOME%/bin/JConsole (and watch the individual memory categories..) M-- - Original Message - Wrom: CXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBO To: Tomcat Users List users@tomcat.apache.org Sent: Friday, November 09, 2007 12:45 PM Subject: Re: speed up

Re: I want two application web like root in the same Tomcat

2007-11-08 Thread mgainty
Hi Joan- with apache front end you can use mod_rewrite to rewrite the URL http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html With Tomcat you will need to put on the architect's hat to determine why have 2 webapps when you only need one webapp(ROOT) If the 2 webapps accomplish the same

Re: Re:Out of Office

2007-11-04 Thread mgainty
Does anyone know what the ASP team is? Can we filter these messages off active list? M-- - Original Message - Wrom: FMYXOEAIJJPHSCRTNHGSWZIDREXCAXZO To: users@tomcat.apache.org Sent: Sunday, November 04, 2007 11:57 AM Subject: Re:Out of Office I'll be out of office from 11/05/07,

Re: I got the following error message when I try to start tomcat in Eclipse

2007-11-04 Thread mgainty
display UserDatabase entry from $TOMCAT_HOME/conf/server.xml it should look something like Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved

Re: mod_jk: Could not init service for worker

2007-10-16 Thread mgainty
Good Morning http://localhost/ I mirrored your configuration: RewriteEngine On RewriteLogLevel 3 RewriteRule ^/confluence/ - [R,L] RewriteRule ^(.*)$ /confluence/$1 [R,L,NE] DocumentRoot /var/www/confluence/confluence Directory / Options FollowSymLinks AllowOverride None /Directory Directory

Re: AJP Flush Packet causing text/plain output

2007-09-25 Thread mgainty
FYI mod_jk that works (Apache -t says Syntax ok) http://archive.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/win32/j k-1.2.6/ filename:mod_jk_1.2.6_2.0.50.dll filesize: 86016 (bookmark this site) Still looking for the mod_jk that works with Apache 2.2 Have a good holiday M-- -

Re: tomcat can not connect to MySql

2007-09-23 Thread mgainty
did you check the listener to make sure the MySQL listener is actually listening? netstat -a | grep 3306 if you run your mysql client with the same parameters that your webpp is using mysql [EMAIL PROTECTED] Username -p password DBName can you connect? M-- - Original Message - Wrom: