Other connection may not see updated date immediately

2021-08-09 Thread W
Hi,I have a web application. It is a java-jsp-tomcat-mysql. It is working, but sometimes, it is slow. For each data update statement, it is not slow: the next jsp page shows promptly. But the next page does not see updated data. I wait a coupe seconds, refresh the page, the updated date shows. E

Re: [OT] Other connection may not see updated date immediately

2021-08-11 Thread W
On Wednesday, August 11, 2021, 07:00:22 AM PDT, Christopher Schultz wrote: W, On 8/9/21 12:04, W wrote:>> Hi,I have a web application. It is a java-jsp-tomcat-mysql. It is working, but sometimes, it is slow. For each data update statement, it is not slow: the next jsp page shows pr

Tomcat 9 can not start on windows 10 as service

2022-02-08 Thread W
Hi, I install tomcat 9 using downloaded installation package. It was installed successfully. I made tomcat manager working. I deployed my application... Suddenly, tomcat stopped. Then I try to restart it using windows service. I got error 5: access denied. I uninstalled tomcat and re-installed i

Re: Tomcat 9 can not start on windows 10 as service

2022-02-09 Thread W
"Add or remove program". It went through. But tomcat service is still in Service window and I can not remove it. How to remove it please?Thanks. On Wednesday, February 9, 2022, 07:03:21 AM PST, Bill Stewart wrote: On Tue, Feb 8, 2022 at 9:37 PM W wrote: Hi, > I install t

Re: AW: Tomcat 9 cannot start on windows 10 as service

2022-02-09 Thread W
@tomcat.apache.org; w...@yahoo.com Betreff: RE: Tomcat 9 cannot start on windows 10 as service > -Original Message- > From: W > Sent: Tuesday, February 8, 2022 10:36 PM > To: users@tomcat.apache.org > Subject: Tomcat 9 can not start on windows 10 as service > > Hi, > I install t

Re: Tomcat 9 cannot start on windows 10 as service

2022-02-09 Thread W
ce. Thanks. On Tuesday, February 8, 2022, 09:10:47 PM PST, jonmcalexan...@wellsfargo.com.INVALID wrote: > -Original Message----- > From: W > Sent: Tuesday, February 8, 2022 10:36 PM > To: users@tomcat.apache.org > Subject: Tomcat 9 can not start on windows 10 as ser

Re: AW: AW: Tomcat 9 cannot start on windows 10 as service

2022-02-09 Thread W
rade GmbH) Sent: Wednesday, February 9, 2022 12:58 PM To: Tomcat Users List ; W Subject: AW: AW: Tomcat 9 cannot start on windows 10 as service Hello, it seems you have a quite rare configuration of your windows system if even procmon is not running. It sounds like the issue might not be To

Ho to upgrade to newest version in tomcat 9

2021-07-27 Thread W
Hi, I am on Ubuntu with tomcat 9.0.16I tried    sudo apt-get update    sudo apt-get upgradeBut did not work. How to do it? Any information would be appreciated. Thanks in advance..

migrate to tomcat 9: application can not write files on system filder

2019-07-01 Thread W
Hi,I am migrate from ubuntu 16.04 (server), mysql 5.7 and tomcat 8 to ubuntu 18.04(server), mysql 8 and tomcat 9. My application works on old system. Now when my application tries to write a file on a directory (permission allowed), there is an error:java.nio.file.FileSystemException: /photoLogo

Re: migrate to tomcat 9: application can not write files on system filder

2019-07-01 Thread W
Thanks for all people who replied to my question. I took Emmanuel Bourg's advice that did the trick. It works! On Monday, July 1, 2019, 02:53:11 PM PDT, Emmanuel Bourg wrote: Le 01/07/2019 à 19:55, W a écrit : > Hi,I am migrate from ubuntu 16.04 (server), mysql 5.7 and tom

Tomcat starts very slow

2019-07-02 Thread W
Hi,I have Tomcat 9 on Ubuntu 18.04. Tomcat stars very slow, sometimes 15 minute. I checked catalina.2019-xxx.log and found some issues below. What should I do? Any information would be appreciated. Thanks in advance. 02-Jul-2019 03:07:25.360 WARNING [main] org.apache.catalina.util.SessionIdGener

Re: Tomcat starts very slow

2019-07-03 Thread W
. It significantly improved. Problem solved. On Tuesday, July 2, 2019, 04:33:31 PM PDT, Emmanuel Bourg wrote: Le 03/07/2019 à 01:23, W a écrit : >  Hi,I have Tomcat 9 on Ubuntu 18.04. Tomcat stars very slow, sometimes 15 >minute. > I checked catalina.2019-xxx.log and found so

How to find war file name programmatically?

2019-08-12 Thread W
Hi, I would like to find the war file name (for example,  ROOT##2019-08-12-10-44.war) inside  ServletContextListener.contextInitialized() and ServletContextListener.contextDestroyed(). So I can send email to admins warn them which app is up and down.  Is there a way to do it? Any information woul

Re: How to find war file name programmatically?

2019-08-17 Thread W
ServletContext.getRealPath("/") works for me.Thanks. On Tuesday, August 13, 2019, 01:43:35 AM PDT, Mark Thomas wrote: On 12/08/2019 23:18, W wrote: > Hi, > I would like to find the war file name (for example,  > ROOT##2019-08-1

Re: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread david w
Sent: Thursday, November 7, 2024 8:53 PM To: Tomcat Users List Subject: RE: Tomcat Service(s) on Windows, Procmon question Sorry to top-reply, but does this regression exist in 10.1.31 as well, or only 9.0.96? From: Christopher Schultz Sent: Thursday, Novemb

Tomcat on Windows : new keystore possibilities

2024-04-08 Thread david w
Hello Referring to the documentation on Apache Tomcat 9 Configuration Reference (9.0.87) - The HTTP Connector keystore types, i wanted to get mentioned that a new set of possibilities is available with newer java builds,

Re: Tomcat on Windows : new keystore possibilities

2024-04-08 Thread david w
49 AM david w wrote: The account running the Tomcat Windows Service needs local Administrator > rights to be able to refernce these certificate stores. > Fortunately, this statement is not correct. I would definitely not recommend running the Tomcat service using a privileged account. Bill

Re: Tomcat on Windows : new keystore possibilities

2024-04-08 Thread david w
this... David Wooffindin From: Bill Stewart Sent: Monday, April 8, 2024 5:36:47 PM To: Tomcat Users List Subject: Re: Tomcat on Windows : new keystore possibilities On Mon, Apr 8, 2024 at 8:27 AM david w wrote: If you can share a way for this to not be nece

Re: How to configure Tomcat with a Managed Service Account when using LocalMachine certificates for TLS

2024-06-25 Thread david w
I've had the same experience, but with a regular AD service account, not an MSA. The account needs to have local administrator rights for the certificate to be found and used; setting ACL on the keystores is not enough. David From: Gavioto 🕵 Sent: Tuesday, June

issue

2024-09-08 Thread Lucas W
(Tomcat v 11.0.0, java v 22.0.2) Hi, System.out.println(..) works just after tomcat startup to catalina.out. But at some point later on, souts fail to be logged to catalina.out or anywhere. I am also experiencing something weird with File.mkdirs(..); I have it in two different static functions in

How to measure queueing time: from tomcat recieving request to axis web service

2005-10-25 Thread Pim W.
Hi, I want to measure the queueing time starting from when Tomcat recieve the request from a client until the request reach my process. I am writing a web service application hosted under axis engine. I want to - Get the time stamp when the request arrive at Tomcat And I then want to find the dis

Hiding JSP Pages

2008-06-13 Thread W Strater
I am trying to hide the JSP so they can only be accessed via a forward. I have been able to put them in a subdirectory of WEB-INF using other containers but have not been able to do that with Tomcat 5.5. We are not using Struts but it is the same approach where our business logic is servlet/acti

Virtual Hosts or Multiple Instances

2007-11-14 Thread D W
Hi all, I run multiple servers, and have experimented with both virtual hosting within in a single server.xml and CATALINA, and have also tried setting up separate Tomcat instances each with their own CATALINA_BASE. Both have worked in my experiments. Does anybody have an opinion as to which app

Invoker Not Invoking in 5.5.9

2007-07-26 Thread W Strater
I know that the servlet invoker is not popular but that is what I have to deal with. All of the servlets are invoked as http://localhost:8080/servlets/com.domain.servlets.ServletName where the /servlets is the web app name. I would like to acheive to things. 1) Ensure that only servlets withi

Single WAR to update multiple contexts

2009-01-07 Thread Sean W
update all these contexts to the "next version", I can update them all at the same time easily? Any suggests are much appreciated. Thanks! -Sean W -- View this message in context: http://www.nabble.com/Single-WAR-to-update-multiple-contexts-tp21338593p21338593.html Sent from the Tom

Re: Single WAR to update multiple contexts

2009-01-08 Thread Sean W
Using a single webapp sounds like a nice idea, and hopefully feasible, I will look into this more since I think that solution would be the most efficient. However, the reason why this would be difficult is: I am using Apache Wicket's WicketServlet, which is mapped to a single Wicket Application c

Is it possible to delay HTTP port opening?

2009-01-18 Thread Jesper W
At server startup, is it possible to configure tomcat to not open it's http ports so early? By default the server starts to receive http requests quite long before initialization is complete. These requests are held open until the server is ready to respond, and then the response is sent. In

Re: Is it possible to delay HTTP port opening?

2009-01-18 Thread Jesper W
Mladen Turk wrote: Jesper W wrote: At server startup, is it possible to configure tomcat to not open it's http ports so early? No mater when you initialize the http port there will be always some potential initial startup period depending on you application, so this is completely us

Re: Symlinks inside WEB-INF/classes not working for me

2009-07-13 Thread John W
> Tomcat 6.0.16 > Linux 2.6.18 > JDK 1.6.0_05 > > Imagine a webapp like this: > /index.jsp > /WEB-INF > -web.xml (of course) > -/classes > --ConfigFile.txt > -/lib > --MyConfigLoader.class ... and imagine that .class file is inside a .jar file :) Sorry about that. John --

Re: Symlinks inside WEB-INF/classes not working for me

2009-07-14 Thread John W
> Again, wrong. allowLinking applies to any web-app resources. Only internal > Tomcat file access (bin, lib, logs etc) goes directly to the file system. And for what it's worth, allowLinking appears to have fixed it :) It manifested itself really silently and I didn't see anything about it in Web

trouble starting tomcat: "error 0" on Windows 64bit

2009-05-15 Thread w...@serensoft.com
We're having a heck of a time getting tomcat running on windows server 2003 enterprise x64 -- it barely gets started, and instantly quits. We installed java from jdk-1_5_0_18-windows-amd64.exe which seems to be the only 64-bit version available? Our processor is intel, tho... Is there an intel-not

Re: trouble starting tomcat: "error 0" on Windows 64bit

2009-05-16 Thread w...@serensoft.com
taller (jdk-1_5_0_18-windows-amd64.exe) so in theory they should be compatible, no? >> Date: Sat, 16 May 2009 00:17:39 -0500 >> Subject: trouble starting tomcat: "error 0" on Windows 64bit >> From: w...@serensoft.com >> To: users@tomcat.apache.org >> >> We&

startup.bat and catalina.bat -> NoClassDefFoundError: server

2009-05-16 Thread w...@serensoft.com
First, I appreciate your responses and your help. Thanks! Here's my new question: Short version: We find what the launch-tomcat command is from the startup.bat and catalina.bat files, and paste that in directly at the command line, only to get: "Exception in thread "main" java.lang.NoClassDefFoun

running tomcat5 -- as a service under 64-bit windows?

2009-05-18 Thread w...@serensoft.com
Hi folks -- Short version: how to get Tomcat5 to run as a service under 64-bit Windows 2003? Long version: Okay, we've got Tomcat5 running from the command-line within 64-bit Windows 2003 Enterprise (and cannot use tomcat 6/java 6 for our project) -- and now we're working to get it running as a

never mind :)

2009-05-18 Thread w...@serensoft.com
We just got Tomcat 5 to work as a service on windows 64-bit, woo hoo! (see email with subject "running tomcat5 -- as a service under 64-bit windows? SOLVED".) We thought we had another new snag, but there's just a firewall or network issue. We now return you to your regularly scheduled email. :)

"The Apache Tomcat service terminated with service-specific error 0 (0x0)." on Windows again... argh!

2009-06-06 Thread w...@serensoft.com
Okay -- wWe CAN start Tomcat via the command line, no problem. But when trying to start it as a SERVICE, no luck -- we look in the event logs and find "The Apache Tomcat service terminated with service-specific error 0 (0x0)." again In JAVA_OPTS we've got "-server -XX:+UseParallelGC -Xmx1200m -XX

Migrating from GlassFish to Tomcat 7

2013-08-22 Thread B W
I have a GWT application which currently is running on GlassFish 3.x. I want to migrate to Tomcat 7. Previously, I would store properties that the GWT application could retrieve by org.apache.commons.configuration.SystemConfiguration. I would put these settings in my domain.xml for GlassFish. What

Re: Migrating from GlassFish to Tomcat 7

2013-08-22 Thread B W
Thank you - it's working! On Thu, Aug 22, 2013 at 9:04 AM, Daniel Mikusa wrote: > On Aug 22, 2013, at 8:48 AM, B W wrote: > > > I have a GWT application which currently is running on GlassFish 3.x. I > > want to migrate to Tomcat 7. Previously, I would store proper

Re: Migrating from GlassFish to Tomcat 7

2013-08-22 Thread B W
What is the advantage to using catalina.properties vs setenv.sh? On Thu, Aug 22, 2013 at 11:37 AM, Konstantin Kolinko wrote: > 2013/8/22 Daniel Mikusa : > > On Aug 22, 2013, at 8:48 AM, B W wrote: > > > >> I have a GWT application which currently is running on Glass

Re: Migrating from GlassFish to Tomcat 7

2013-08-26 Thread B W
Looks like catalina.properties it is ! On Thu, Aug 22, 2013 at 6:30 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > B W, > > On 8/22/13 4:30 PM, B W wrote: > > What is the advantage to using ca

Class loading locking threads

2016-02-24 Thread Wayne W
Hi, we are using a third party JAR which is about 35MB in size but is packed with many many obfuscated classes. Due to the nature of the functionality it loads classes all the time from the JAR file . I'm finding that will it loads the class the other threads which want to load classes get blocked

Re: Class loading locking threads

2016-02-25 Thread Wayne W
Thanks Mark, unfortunately its not our jar - I don't believe there is a way we can remove the signature as all the class files are encoded. On Wed, Feb 24, 2016 at 6:31 PM, Mark Thomas wrote: > On 24/02/2016 17:49, Wayne W wrote: > > Hi, > > > > we are using a thir

Re: Class loading locking threads

2016-02-26 Thread Wayne W
eer thx chris. I have tired that already and does;t work. The classes won't load On Thu, Feb 25, 2016 at 2:53 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > Wayne, > > On 2/25/16 7:49 AM, Wayne W wrote: > > unfortunately its not our jar - I don'

Re: Class loading locking threads

2016-02-26 Thread Wayne W
ugh ignore me, doing on a linux box works, but not my mac for some silly reason. cheers On Fri, Feb 26, 2016 at 11:52 AM, Wayne W wrote: > eer thx chris. > > I have tired that already and does;t work. The classes won't load > > On Thu, Feb 25, 2016 at 2:53 PM, Christ

Re: [EXTERNAL] Re: Archive localhost_access_log

2025-03-18 Thread david w
There are other ways to capture or store logs... Tools or toolsets like Telegraf. OT but could be of help Thank you Mr. Funk. My request is two-folds a) archive the log files elsewhere (not the "logs" folder) based on some policy b) clean up (delete) the archived files based on some policy.

[ANN] Java Web Parts Beta 5

2006-07-02 Thread Frank W. Zammetti
ng to you, have a look: http://javawebparts.sourceforge.net And for you Maven folks, JWP can now be found in the iBiblio repo! (beta4 at this point only though) Thanks, and have a great day! Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnyte

[ANNOUNCE] New article: The AjaxParts Taglib from Java Web Parts: AJAX for Java Developers the Easy (yet powerful) Way!

2006-07-26 Thread Frank W. Zammetti
s the benefits, and goes into some details about the capabilities it offers out-of-the-box, as well as the ways in which it can be extended to fulfill far more advanced users. Hope it is helpful, and take care! Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technol

Re: [ANNOUNCE] New article: The AjaxParts Taglib from Java Web Parts: AJAX for Java Developers the Easy (yet powerful) Way!

2006-07-26 Thread Frank W. Zammetti
nder the element where you could put a Javascript snippet, and if it returns false, that aborts the request. Not sure which way we'll go yet (maybe both)... there is a feature request on the SF site, if anyone has an opinion, I'd love to have it recorded :) Frank Michael Jouravlev wrote

Re: Problem while submiting the page

2006-07-28 Thread Frank W. Zammetti
, since you have to handle the response, but any of the libraries available today will make it childs' play. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax

Re: decompiling classes

2006-09-07 Thread Frank W. Zammetti
n for decompiling Tomcat's classes? Or was there special software needed to do so? -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology

Re: how to forward user to a page after container manager authntication ?

2006-09-10 Thread Frank W. Zammetti
forward user to an specefic page after he/she successfully authenticated using form based authentication? if user fail to provide a wrong user/pass then he/she will be forwarded to login_error page , what if i need user to be forwarded to login_done after he/she logged in suggessfully ? thank

Re: Need Help w. Servlets And The JDBC.

2006-09-20 Thread Frank W. Zammetti
e-mail: [EMAIL PROTECTED] -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695

problems with unpacking ROOT.war

2006-10-13 Thread andrew . w . cooke
Hi there, We have been finding it difficult to persuade tomcat (5.5.12 and 5.5.17) to unpack a ROOT.war file, either when starting up tomcat from scratch, or hot-deploying. We *were* able to get tomcat to expand the war file if it contains a META-INF directory containing a context.xml file. How

Re: Servlet in a .jar file? AJAX access?

2006-10-14 Thread Frank W. Zammetti
question, or did I misunderstand? Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) Java Web Pa

Re: problems with unpacking ROOT.war

2006-10-17 Thread andrew . w . cooke
Hi again, OK - here are some steps you can try out to reproduce the problem I am experiencing - I'm hoping this will tempt someone into taking a look :-). The problem we have is that tomcat 5.5.x (I tried 5.5.12 and 5.5.17) won't unpack ROOT.war when it is started up, if a file called ROOT.xml is

Re: problems with unpacking ROOT.war

2006-10-17 Thread andrew . w . cooke
Hi Michael, thanks for the response. I tried this - but no luck. In any case, I'm pretty sure for the default web app (ROOT), you should set a path of "": "If you specify a context path of an empty string (""), you are defining the default web application for this Host, which will process all r

RE: problems with unpacking ROOT.war

2006-10-18 Thread andrew . w . cooke
Hi Charles, > Neither one is correct. You must NOT use the path attribute in a > element unless the is defined in server.xml. The > URI path to the app is determined from the name of the .xml file in the > conf/[engine]/[host] directory. Thanks for the feedback and the correction. OK - I hav

Re: Can a "return" statement cause a problem?

2005-11-04 Thread Frank W. Zammetti
/pub/a/today/2003/11/14/tagfiles.html Kind of a good first step for playing with custom tags without quite as much work. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Fri, November 4

Re: disabling sessions in certain parts of a webapp

2005-11-09 Thread Frank W. Zammetti
d create it. I *think* that would do the trick. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Wed, November 9, 2005 1:54 pm, Brian Moseley said: > my web application has three s

Re: disabling sessions in certain parts of a webapp

2005-11-09 Thread Frank W. Zammetti
That's weird... I actually had a part in my reply at the end that said something like "this should work until some code after the filter tries to access session" :) Yep, absolutely, if there's a possibility of that then the wrapper is definitely the way to go. -- Frank W.

Re: advice on auto logout servlet

2005-11-16 Thread Frank W. Zammetti
e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzamme

Re: JSP processing other than .jsp?

2005-11-16 Thread Frank W. Zammetti
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo:

JDBC/MySQL user login goes stale

2005-11-29 Thread David W. Brown
Hello TC dev and Gurus, I have a webapp comprised of several Servlets and JSP pages. The webapp is functioning very well but after a few hours of no connections or interaction the TC webapp loses its connection with the MySQL DB. We are using the server.xml defined JDBC/MySQL security model usin

Re: making a singleton servlet

2005-12-06 Thread Frank W. Zammetti
uPG v1.4.0 (MingW32) iD8DBQFDlkneJ/zyYkX46joRAlfpAJ0cdiTxXrSSdLfZ3znd63dSJesvJACgiFes PfU+fddjZNUPTT1gq0Ft69g= =tKjO -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Frank W. Zammetti Founder a

Re: ServletContextListener - how to detect http path of web application?

2005-12-21 Thread Frank W. Zammetti
ication (assuming it actually works!) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Wed, December 21, 2005 6:22 am, Tim Funk said: > There is no way to detect the contextPath on serv

RE: ServletContextListener - how to detect http path of web application?

2005-12-21 Thread Frank W. Zammetti
On Wed, December 21, 2005 1:10 pm, [EMAIL PROTECTED] said: > Frank, your solution (using the ServletContext) does work. Thanks. Good news (sigh of relief!) > Martin, I can't get a HttpServletRequest from Filter.init. > I can get a ServletContext... but I can also get that from a > ServletContextL

Re: ServletContextListener - how to detect http path of web application?

2005-12-22 Thread Frank W. Zammetti
[EMAIL PROTECTED] wrote: One reason a filter would be better is you can fully construct the URL dynamically, including the method and all that. Could you possibly map it to just the initial entry point of your app so that it doesn't fire with each request? Yeah I thought about that... unfor

Re: login

2006-01-07 Thread Frank W. Zammetti
-- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Frames in JSP.

2006-01-11 Thread Frank W. Zammetti
On Wed, January 11, 2006 11:19 am, [EMAIL PROTECTED] said: > > Dear All, > > I have a JSP like the following > > > > . > . > > > > > > > > > > > > . > . > > > > where .. is for

Re: Accessing Files outside of WebApp

2006-01-11 Thread Frank W. Zammetti
location, a URL or a JAR file). It is also extensible if you would like to serve from another location. The main JWP page, if you should want to download: http://javawebparts.sourceforge.net -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com

Re: Image Scaling Code

2006-01-12 Thread Frank W. Zammetti
the root cause is available in the Apache Tomcat/5.5.12 logs. - Apache Tomcat/5.5.12 - Yahoo! Photos – Showcase holiday pictures in hardcover Photo Books. You design it and we’ll bind it! -- Fr

Re: Image Scaling Code

2006-01-12 Thread Frank W. Zammetti
On Thursday 12 January 2006 19:31, Frank W. Zammetti wrote: I don't quite see how this is Tomcat-related, but... Your code can't connect to your X server, which is necessary for many Java graphics-related functions to work on a *nix system. I dealt with this at one point when get

Re: Size of session bean

2006-01-14 Thread Frank W. Zammetti
t not how to do it. I have some fairly large classes in session context but they don't store very much. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Fran

Re: Spawning a thread

2006-01-14 Thread Frank W. Zammetti
about spawning a new thread inside of a servlet? Thom Hehl Heavyweight Software for Heavyweight Needs www.heavyweightsoftware.com -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED]

Re: Spawning a thread

2006-01-14 Thread Frank W. Zammetti
Thom Hehl wrote: Can you point me to some documentation about context listener threads? I have no idea what you're talking about. Thanks. George Sexton wrote: -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Saturday, January 14, 2006 1:20 PM T

Re: data file access for servlet

2006-01-18 Thread Frank W. Zammetti
/src/javawebparts/servlet/TextReturnerServlet.java?view=markup Scroll down to the init() method and see how it gets an InputStream to the itemsFile. This is how you can do it context-relative. If you want to go to something outside the webapp, take a look at ServletContest.getRealPath(). -- Frank W. Zammetti F

Re: data file access for servlet

2006-01-18 Thread Frank W. Zammetti
have to go changing code when that home directory inevitably moves later on :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Wed, January 18, 2006 1:25 pm, Neha Narkhede said: > Hi..

Re: How can I take a webapp "temporarily out of service" using mod_jk?

2006-01-23 Thread Frank W. Zammetti
t; flag to all the nodes... a database would be the obvious answer, but clearly that has performance implications. You may need some special URL in your app that sets the flag, properly secured of course, and make yourself a quick little page that fires it to all nodes. -- Frank W. Zammetti F

RE: How can I take a webapp "temporarily out of service" using mod_jk?

2006-01-23 Thread Frank W. Zammetti
Ah, sorry, didn't get that. I was suggesting servlet filters. I don't frankly know anything about Apache filters... if it's like a servlet filter but before the request hits the app server, it sounds like it could do the trick in the same basic way though. -- Frank W. Zamme

[OT-ANN] Java Web Parts v1.0 beta3

2006-01-23 Thread Frank W. Zammetti
andy, just like the full-fledged Digester. Take care! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] - To unsubscri

Re: Do idle servlets get unloaded/reloaded?

2006-01-24 Thread Frank W. Zammetti
Hi Blair, On Tue, January 24, 2006 2:41 pm, Blair Cooper said: > I have a servlet running on Tomcat 5.5. If it sits idle for a while and > then > I hit it, the init() method gets called again. "autoDeploy" is set to > false. > Is this expected behavior? As per the servlet spec, the container can

Re: From Java to C#, ASP.NET [Off Topic]

2006-01-27 Thread Frank W. Zammetti
On Fri, January 27, 2006 8:11 am, David Smith said: > I will say I have used their products to develop solutions in the past > and it's ... well ... interesting. The stuff works well when you know > how to use it. Unfortunately I found their docs no where near the > quality of Tomcat or Java whic

Re: From Java to C#, ASP.NET [Off Topic]

2006-01-29 Thread Frank W. Zammetti
Martin Gainty wrote: we just inherited some vb code that accomplishes a cryptography algorithm just to get this to run under windoze took me 4 hours..the lack of VB doc was the blocking factor or maybe its probably because Im not a VB guy and never will be btw that same functionality can be a

Re: From Java to C#, ASP.NET [Off Topic]

2006-01-29 Thread Frank W. Zammetti
job making more than I am! I wouldn't be surprised if VB is the next COBOL in that regard :) Frank Thanks Frank, M- - Original Message - From: "Frank W. Zammetti" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, January 29, 2006 12:09 PM Su

Context Path

2006-01-31 Thread Antonio W. Lagnada
Hi Everyone, Is there an assumption or some unwritten rule on what the context path should be when deploying a web application in Tomcat (or any other standard J2EE Web Server)? Should an application context like this be allowed? # Context 1 context = "/myapp/app1" # Context 2 conte

APR in Tomcat 5.5

2006-02-02 Thread Antonio W. Lagnada
Hi All, Once I have apr installed, what is the configuration change that I need to do to let tomcat know to use apr? Thanks

Re: APR in Tomcat 5.5

2006-02-02 Thread Antonio W. Lagnada
act the sender and delete the e-mail > and its attachments from all computers. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Antonio W. Lagnada [EMAIL PROTECTED]

SSL on Virtual Hosts

2006-02-02 Thread Antonio W. Lagnada
Hi All, As far as I know there's only one place to set the keystore in tomcat ( server.xml). Will tomcat support https on virtual domains? If I have placed "www.host1.com" and "www.host2.com" on my keystore, will tomcat map the correct domain entry? Right now I think the first entry gets

Re: Servlet filter on j_security_check

2006-02-02 Thread Frank W. Zammetti
mapping for the filter. IIRC, j_security_check is just a servlet that is set up by the container, so that might work. I kind of doubt it, but for the 30 seconds it'll take to try, worth a shot. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnyte

Re: Servlet filter on j_security_check

2006-02-02 Thread Frank W. Zammetti
Well, there you go Martin :) Tim, is this something peculiar to Tomcat that doesn't allow it? As I mentioned in my previous post, I in fact do this in an app running on Websphere. Or, maybe its a case of Websphere letting me do something it really shouldn't? -- Frank W. Zammetti F

Re: Servlet filter on j_security_check

2006-02-02 Thread Frank W. Zammetti
Interesting. Thanks for that info! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Thu, February 2, 2006 3:04 pm, Tim Funk said: > If you want to be spec compliant. There i

RE: [Friday] - finding the Mavens in the Java world

2006-02-03 Thread Frank W. Zammetti
;t generally have time to play with all the things we'd like to. (P.S., never do a count on *, it's less efficient :) ) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Fri, Feb

Re: Help with detecting session timeout

2006-02-18 Thread Frank W. Zammetti
From an applet? There probably is no easy answer... any solution would involve either polling the server from the servlet, or pushing the status out to the servlet... the later should be doable from a SessionListener... record the remote IP when the session is created, and send a ping to it wh

Re: Container Managed Security

2006-03-03 Thread Frank W. Zammetti
eople, is that CMS is a little... mmm, weird I guess... but then when you have that Eureka! moment, you feeel *really* stupid for not getting it quicker :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [E

Re: Disappointed

2006-03-09 Thread Frank W. Zammetti
The Tomcat mailing list, like Tomcat itself, and like most open-source projects in general, are volunteer efforts. People will answer what they feel they can, when they can. You should start by having no expectation of getting an answer because you in fact may not, because no one knows the an

Re: Disappointed

2006-03-09 Thread Frank W. Zammetti
Hehe, thanks for boiling my response down to a single line Leon! :) LOL Frank Leon Rosenberg wrote: http://www.catb.org/~esr/faqs/smart-questions.html :-) Leon On 3/9/06, Mike Sabroff <[EMAIL PROTECTED]> wrote: I have read and sometimes participated in these postings and answers in hopes of

Somewhat OT: Multiple auth methods in one webapp?

2006-03-16 Thread Frank W. Zammetti
orms in a single webapp. In a perfect world I could continue to secure the user-accessible app with form-based auth, but secure just the path to the AXIS-based services via basic auth. I'm thinking the only way is to have a second webapp, but can anyone think of another solution? Thanks! --

RE: Somewhat OT: Multiple auth methods in one webapp?

2006-03-16 Thread Frank W. Zammetti
add such a filter to Java Web Parts, and with the expanded mapping capabilities we provide with those filters, it should do the trick nicely. > Jay -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PR

RE: Somewhat OT: Multiple auth methods in one webapp?

2006-03-16 Thread Frank W. Zammetti
On Thu, March 16, 2006 2:26 pm, Caldarale, Charles R said: >> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] >> Subject: RE: Somewhat OT: Multiple auth methods in one webapp? >> >> Do you know, or does anyone else know, where the server >> looks for the credenti

Re: Converting characters to "ascii" value

2006-03-19 Thread Frank W. Zammetti
The first 127 characters of Unicode are in fact ASCII (might be the first 255, I'm not sure, but the first 127 for sure). In other words, it you do: int i = (int)'A'; will result in i=65, the ASCII value for A. char is a numeric type remember, so you don't really have to cast to int, I just

  1   2   3   4   >