Re: different uid per host or perhaps something else

2005-09-18 Thread QM
to prevent unwanted access between apps. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: HTTP status code 404

2005-09-05 Thread QM
on error conditions. The JSP that just sends a 404 may yield document contains no data errors from the browser; and redirecting people to the landing page may hide broken links (read: developer error) and/or frustrate the user. -QM -- software -- http://www.brandxdev.net/ tech news -- http

Re: configuration files for war deployments

2005-08-27 Thread QM
up with a nightmare long-term. Using an exploded-dir format webapp would require the least work on your part. While it's not techically required by the spec (only WAR files are required, when I last checked), I'd doubt there are any containers that don't support it. Pick your poison. -QM

Re: configuration files for war deployments

2005-08-26 Thread QM
app must operate on the fully-qualified path to the external file. There's no such idea as a relative file location when it comes to webapps. What would be in this external config file? -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan

Re: how to update tomcat?

2005-08-24 Thread QM
-QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: webapp loading order...

2005-08-16 Thread QM
instances. In that case, you would explicitly define load order: the start script would start app1 in instance1, then app2 i instance2. That said, the spec doesn't cover this, as well it shouldn't -- apps should be fairly self-sufficient such that load order is irrelevant. -QM -- software

Re: timeout, but not session

2005-07-30 Thread QM
are the symptoms of the problem? What do you mean by out of control? -and how is the are the threads being allocated/defined? -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org

Re: AW: Load all JSP pages on startup

2005-06-29 Thread QM
original web.xml at build time. I don't have such an example readily available... there should be plenty in the archives, though. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org

Re: tomcat does not like cmdline args of wget?

2005-06-13 Thread QM
--cookies=on) I don't know off the top of my head, but you could (temporarily) enable RequestDumperValve and compare the two requests. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org

Re: Reject access to some files

2005-06-13 Thread QM
, then move your files under WEB-INF. (As a side note, how are you loading these properties files? If you put them under WEB-INF/classes, you can use the classloader...) -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org

Re: Jserv to Tomcat migration

2005-06-08 Thread QM
, your migration shouldn't be a problem. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Realm implemenation, passing additionnal informations to webapplication

2005-06-06 Thread QM
people write a ServletFilter that checks for said object and, if it doesn't exist, creates/populates it. (Of course, the filter should only be mapped to protected areas; it is otherwise of limited value ;) -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com

Re: RemoteAddrValve

2005-06-02 Thread QM
to restart. If it's a file that's loaded by your app on request, then it's up to your code to decide whether to cache it or reload it every time. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org

Re: Shared web.xml

2005-06-02 Thread QM
(inside the Context/ attribute of server.xml, or inside context.xml) and restarting Tomcat should have done it. You mention you inherited this setup. Perhaps the old admins had setup a watchdog job, and that's what triggers restarts? -QM -- software -- http://www.brandxdev.net/ tech news

Re: Tomcat + HP-UX = NoSuchMethodError java.lang.String.contains(Ljava/lang/String;)

2005-06-02 Thread QM
On Thu, Jun 02, 2005 at 05:37:23PM -0700, Wendy Smoak wrote: : Any idea why String.contains(String) wouldn't work within Tomcat 4.1 on : HP-UX and Java 1.5? Doesn't Tomcat 4.1 even support JDK 1.5? Are you using 1.5 to build, run, or both? -QM -- software -- http://www.brandxdev.net

Re: Apache Integration

2005-05-30 Thread QM
to a tomcat installation? -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: looking for insight on invoking Thread.sleep() from a tomcat servlet

2005-05-30 Thread QM
sleep from within a : servlet Well, then, don't do it. When you have a case that leaves you no choice but to break the standards, then do it. Otherwise, don't. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org

Re: OutOfMemory on FreeBSD

2005-05-22 Thread QM
to modify anything in the Tomcat tree. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: tomcat

2005-05-19 Thread QM
of people chime in with responses. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: monitoring open connections that are not removed with removeAbandoned param set to ture

2005-05-15 Thread QM
? For pure bug-hunting purposes, someone on the list once recommended (temporarily) setting the min/max connections to 1. Click around your site for a bit. When you hit a page that can't get a connection, you know the previous one left it open. ;) -QM -- software -- http

Re: question about load-on-startup in web.xml

2005-05-12 Thread QM
: listeners to minimize inter-app dependencies. What about separating each app into its own Tomcat instance (see the docs on CATALINA_BASE vs CATALINA_HOST)? You could then have a single master script that starts them in the order you require? -QM -- software -- http://www.brandxdev.net/ tech

Re: tomcat System Administrator's Guide and SysAdmin tools

2005-05-10 Thread QM
On Mon, May 09, 2005 at 03:42:22PM -0700, Steve Jacobson wrote: : We have been looking for a comprehensive System Administrator's Guide : for Tomcat, that looks at Tomcat from the perspective of a System : Administrator that needs to deploy tomcat and applications on tomcat. So far, so

Re: Simple JavaBeans applications not working (newbie question)

2005-05-08 Thread QM
is that the former is searched first. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: tomcat 5.5; context-path

2005-05-06 Thread QM
would be named path1{char}path2{char}path3.xml I think {char} is a # but don't quote me on that... -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org

Re: Amount of free disk space

2005-05-04 Thread QM
get to it). -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Question on JNDI configuration

2005-05-02 Thread QM
) ) ; } } // contextInitialized() -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [OT] : How to get a connection from Tomcat DBCP from a remote application?

2005-05-01 Thread QM
) Either way, someone will have to configure the connections for the non-webapp code; one convenience provided by containers is that they take care of instantiating/configuring the DataSource for you (based on your entries in server.xml/context.xml). -QM -- software -- http://www.brandxdev.net/ tech

Re: Non-Sequitor Stack Trace with no log entry

2005-04-30 Thread QM
(see text below) with a partial : stack trace indicating a missing class definition for : javax.xml.soap.SOAPException. Which JAR holds this class def? -or are there multiple JARs that do this? Do they exist in multiple classloaders? -QM -- software -- http://www.brandxdev.net/ tech news

Re: Trying to execute my first servlet, but HTTP Status 404.

2005-04-30 Thread QM
a copy of the servlet spec. It's a free PDF download from java.sun.com. Familiarity with the spec is key for any servlet/J2EE developer. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org

Re: Missing JNDI resource params after deployment.

2005-04-24 Thread QM
are associated with it. Have I got something wrong in : the context file? Where is the context file, inside a WAR or in an exploded-directory webapp? For the former, it should be called context.xml. For the latter, it should be in {catalina_home}/conf/{server}/{engine}/{host}/{name.xml} -QM

Re: Many hosts sharing servlets

2005-04-20 Thread QM
/ and servlet-mapping/ entries for those servlets. This is a one-time hit that will pay off long-term. : Will tomcat be using hugely more memory than jserv was ? Depends on your app. Only a load test + profiling will let you know. -QM -- software -- http://www.brandxdev.net/ tech news -- http

Re: Using digester

2005-04-20 Thread QM
recall these points are explained (either in the main docs or in the various Digester articles on the web). The short version: 1/ Digester#parse() 2/ Digester#parse() -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org

Re: Plain text mime-mapping and IE

2005-04-19 Thread QM
filters aren't part of Tomcat; they're part of the Servlet Spec (which Tomcat implements). Search the web for servlet filter or just check out the Servlet Spec (available from Sun.com) for details. -QM - To unsubscribe, e-mail

Re: Reflection for custom taglibs killing performance...

2005-04-18 Thread QM
On Mon, Apr 18, 2005 at 02:19:15PM -0700, Kevin Burton wrote: : So its clearly not JUST reflected methods its something else on top of : it What does your profiler report? -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http

Re: Set group id using jsvc?

2005-04-18 Thread QM
()). That call sets group membership. Do you need jsvc to run Tomcat on a privileged port? If not, you could use erni[1] for fine-tuned group membership. -QM [1] = http://www.brandxdev.net/erni/index.site -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code

Re: Need help exporting contexts not under webapps/

2005-04-18 Thread QM
of just web-app/ should do. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: How to change a running Tomcat with root user to other user.

2005-04-17 Thread QM
. I've done this before, I just don't have any examples right in front of me. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail

Re: jsvc.exec error: syscall failed in set_caps

2005-04-17 Thread QM
program bailed out. (The other option would have been for jsvc to see whether the requested and calling user were the same.) -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org

Re: jsvc.exec error: syscall failed in set_caps

2005-04-17 Thread QM
. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Symlinked subdirectories of webapps

2005-04-17 Thread QM
is the : allowLinking=true flag. but, I cannot figure out where to put : this... It's an attr, I think for Context/. Scan the online docs for allowLinking and it should turn up. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org

Re: Reflection for custom taglibs killing performance...

2005-04-17 Thread QM
Tomcat not use reflection (without completely hacking the source) perhaps you could share more details of what you're doing... that may give the rest of us insight to help you trim the bottlenecks more. i.e. you mention lots of looping and tag nesting; is there any way to change how that's done? -QM

Re: Handling requests for .asp files

2005-04-17 Thread QM
; maybe someone at your site put in a mapping for .asp as well...? Another thought -- do you access Tomcat directly, or do you go through Apache as an intermediary? -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org

Re: Tomcat Cluster + File Sharing

2005-04-12 Thread QM
, such that when the netapp has problems your app stays afloat. -QM : -Original Message- : From: Michael Marrotte [mailto:[EMAIL PROTECTED] : Sent: Tuesday, April 12, 2005 10:01 AM : To: tomcat-dev@jakarta.apache.org : Subject: Tomcat Cluster + File Sharing : : My post to the user list

Re: Application-level control of web-resources

2005-04-10 Thread QM
take it :) I suppose what I don't understand is, what is dynamic here? Are you talking a menu that's regenerated at each request (in case new menu items have been added) or something else? -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan

Re: Application-level control of web-resources

2005-04-10 Thread QM
to be free to have my hieracial : wiki-like system deliver content by different means of processing - : dynamic JSP's being the missing link. What is a dynamic JSP? : Up until now, no filter or front-controller can control the origin or : WAR-resources. ? Please explain. -QM -- software

Re: Application-level control of web-resources

2005-04-09 Thread QM
. The end-user doesn't know they're hitting a virtual resource and, quite frankly, they shouldn't care. Read up on the Front Controller, Page Controller, and Decorator design patterns for insight. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan

Re: axis tomcat5.5

2005-04-04 Thread QM
and : tomcat 5.* are not usable for production... Sounds like a lack of doc update. I use Axis with Tomcat 5.0 without a problem... and 5.5 implements the same servlet spec as 5.0. In theory, then, Tomcat 5.5 and Axis 1.2 should be a happy pair. -QM -- software -- http://www.brandxdev.net

Re: Connector on Solaris 10

2005-04-04 Thread QM
On Mon, Apr 04, 2005 at 10:59:52AM -0500, jefou wrote: : I have setup Solaris 10 OS on AMD64 and I am trying to build the JK connector for Apache2 with Tomcat5, but I am not having any success at all with neither the Solaris nor the GNU gcc compiler. What errors do you see? -QM -- software

Re: connection pooling basic help please

2005-04-02 Thread QM
to a separate object (or set of objects). You could initialize these objects in a ServletContextListener and either store them under Application scope or in a singleton such that they would be globally available. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code

Re: [OT] Proper way to open threads in a servlet

2005-04-01 Thread QM
hanging problem, as well as the too-many-threads problem.] -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED

[OT] Server / Broswer interaction question

2005-04-01 Thread QM
for the data to be there when the browser makes its request. One such way would be to have a self-refreshing iframe (or whatever) that keeps contacting the server. That would be quite chatty, however, so it may or may not be suitable for your situation. -QM -- software -- http://www.brandxdev.net

Re: How could I autodeploy my webapps onto arbitrary path -s?

2005-03-31 Thread QM
it in the archives. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Embedded tomcat ussage

2005-03-31 Thread QM
a way around this; so just specify (a subdirectory of) java.io.tmpdir as the work directory, and that should (sort of) cover you. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org

Re: Need Help w. Servlet Images.

2005-03-31 Thread QM
inside packed WAR files, if that's how you're running. If you're streaming images, why not place them outside of the webapp? That lets the images and the webapp vary independently. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http

Re: Data file owner and group difficulties

2005-03-30 Thread QM
of setting ownership/permissions. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-30 Thread QM
developers on this list. If you really think you've found a bug, wrap it up in a test case and file a Bugzilla report. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org

Re: multiple domain name support for https

2005-03-30 Thread QM
to the SSL-enabled port. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: JDK usage with Tomcat

2005-03-30 Thread QM
for a given OS and go from there. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Data file owner and group difficulties

2005-03-30 Thread QM
the files in the database. This setup wouldn't sync with the existing (system) user/password tables, but for most of the webapps I've seen/written, this is a feature. =) -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org

Re: caching pattern

2005-03-28 Thread QM
not have to write it yourself from scratch. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Problem with Tomcat Upgrade 4.0 to 5.5

2005-03-25 Thread QM
/index.site Feel free to give that a skim. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: url of caller?

2005-03-23 Thread QM
information (for privacy reasons). Like anything else that can be disabled by the end-user, be careful about code that assumes the referrer field is available. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org

Re: jsp imports

2005-03-23 Thread QM
programming practice. As such, they're not allowed under servlet spec 2.4. Is this question in the wiki/FAQ? (I can't check right now.) It seems to come up often enough. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http

Re: Wild Card Hosting

2005-03-23 Thread QM
source tweakage, but then you have the fun of running a custom install. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail

Re: clientAuth=true; non-SSL?

2005-03-23 Thread QM
for FORM authentication. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: post processing operations after servlet response is sent

2005-03-21 Thread QM
or external) 2/ a JMS message, to be handled by a dedicated listener (again, in-container or otherwise) These solutions have the added benefits of not being tied to your servlet code. (Think modularity and ease of testing, among other things.) -QM -- software -- http://www.brandxdev.net/ tech news

Re: Rookie needs help resolving HTTP Status 500 error message

2005-03-20 Thread QM
. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Slightly OT] MVC approach when JSP are not allowed

2005-03-19 Thread QM
why JSPs were invented! -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: memory usage

2005-03-18 Thread QM
btw, please post a *new* message when writing to the list. Replying to an old (unrelated) message confuses thread-aware mailers, which makes your question harder to find (and thus answer). -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: tomcat 5.5 connector

2005-03-17 Thread QM
to the public. Download and code away! -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Reload webapp and context

2005-03-17 Thread QM
own downtime window. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SV: Reload webapp and context

2005-03-17 Thread QM
. ;) With that in mind, context isoliation and scheduled maintenance/downtime windows are fairly standard practices in the J2EE realm. While they don't directly address your concern of completely reloading a context, they tangentially address your desire to start and stop Tomcat whenever you please. -QM

Re: POST no longer working

2005-03-17 Thread QM
, but POST does not. 1/ at the risk of sounding flippant, diff the two code bases and see what changed 2/ you'll have to elaborate on what doesn't work: error messages in the browser, log messages, etc. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Start and stop Tomcat + Cron

2005-03-17 Thread QM
? What doesn't work? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: localhost ok - how I set up in a real host?

2005-03-17 Thread QM
that I've never been surprised, though... ;) -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: book for servlet programming

2005-03-17 Thread QM
all -- but it contains what every servlet developer should know. Sticking to spec-compliant code will make your apps container-agnostic, such that you can use Tomcat, WebLogic, etc with little difficulty. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: {OT] Re: Jumping in and out of JSP

2005-03-15 Thread QM
the overhead that may be overkill if you use it just for site branding. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: DataSource using Commons libraries 5.5.7

2005-03-14 Thread QM
on the Tomcat-specific classes. : My usage of it was : container manage and requires reformatting Resource : therefore I don't have the need for recompilations. Now I see what you mean. I originally thought your code was directly calling the (now-repackaged) classes. -QM -- software -- http

Re: Restriction of pages?

2005-03-14 Thread QM
of Tomcat you run; but if it's 4.1 or later (maybe 4.0 and later?) you can take advantage of servlet filters. They're part of the servlet spec (2.3 and later) so using them won't tie you to Tomcat. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Redhat Tomcat support

2005-03-14 Thread QM
) and are conservative about upgrades (to avoid being the first to encounter a bug) then maybe you'll do alright on your own. (Well, it also helps to keep up with the servlet spec and follow best practices for J2EE development, but that goes for any container ;) -QM -- software -- http

Re: Redhat Tomcat support

2005-03-14 Thread QM
On Mon, Mar 14, 2005 at 03:57:28PM -0600, Trice, Jim wrote: : [snip] : RedHat support for Tomcat? We're currently running Tomcat 4.1 and would have : to upgrade to 5.5 to get support from RedHat. Is it worth it? by the way, in response to your question Is it worth it? -- did you mean RedHat's

Re: Why so much virtual memory?

2005-03-14 Thread QM
for the heap. In turn, the heap is the raw memory space where the JVM creates objects. The JVM often uses more memory than the heap for its internal housekeeping and such. I don't recall having seen it use as much as 3-4 times the heap allocation, but I suppose it's possible. -QM -- software

Re: Multiple instances of tomcat

2005-03-12 Thread QM
-NPTL Linux kernels show threads as separate processes. That's likely what you're seeing. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Connection pooling verse one connection per session

2005-03-10 Thread QM
don't suffer any first time access hits. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Access Threads informations/state

2005-03-10 Thread QM
the line. If at all possible, consider refactoring the data access of your app such that this isn't an issue. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail

Re: Connection pooling verse one connection per session

2005-03-10 Thread QM
, or just returns an object to the pool, it doesn't matter... -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Connection pooling verse one connection per session

2005-03-10 Thread QM
collection an issue? If you're waiting for finalizers to do your cleanup work for you, yes. : I'm asking about encapsulating into the finalize() : methods because I don't like the asthetics of all the : close/=null + finally statements. Again, your call. -QM -- software -- http

Re: Equivalent of Resin run-at servlet configuration

2005-03-03 Thread QM
threads are properly terminated at container shutdown. Tomcat won't do that for you. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Include other contexts

2005-03-01 Thread QM
many of the apps as individual apps. So somehow I : would like to call another context and then have SiteMesh decorate the : response. Are you using this setup for branding, then, or something else? I may have some suggestions, but knowing your end-goal may help. -QM -- software -- http

Re: can I develop dan deploy myapps as regular user at linux?

2005-02-22 Thread QM
familiar with Tomcat and know what to look for, this is the way to go. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Merge webapp doc roots

2005-02-22 Thread QM
format). You can achieve what you're after by moving the merge into your build process -- that is, have Ant (or whatever you use) create the dir/WAR by copying all of those webapps to it (that is, copy them over one another). -QM -- software -- http://www.brandxdev.net tech news -- http

Re: moving all classes to shared

2005-02-21 Thread QM
know in advance where to start looking. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: moving all classes to shared

2005-02-21 Thread QM
access to (depends on) a class in a child classloader, it will never find it, and the system throws a NoClassDefFoundError. It's for a similar reason one webapp can't see another webapp's classes: they only have a relationship with their parent classloader, and not that of their siblings. -QM

Re: jk vs. jk2

2005-02-21 Thread QM
JK2 had some features over JK(1), but those have already been backported or developers are in the process of doing so. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e

Re: Tomcat: who is knocking on my door?

2005-02-21 Thread QM
. There are myriad non-browser clients out there besides wget, and you'll have a devil of a time fending the all off. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL

Re: Tomcat Includes?

2005-02-01 Thread QM
expression-language syntax (e.g. ${vhost.defs}), though I haven't researched this. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Performance of different Tomcat Releases

2005-02-01 Thread QM
, and you may also see a boost from running JDK 1.5. That said, there are a lot of app-specific considerations here. The only way to be certain is to deploy your app under Tomcat 5.5 and find out. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Deny access to a JSP page

2005-02-01 Thread QM
, OS, etc). There are several versions of Tomcat. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: getAttribute returning null

2005-02-01 Thread QM
.. it doesnt work, all I see is null. In addition to Tim Funk's advice, I'd suggest you post the code. A one-letter typo can cause all sorts of headaches =) -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: SocketException: Too many open files

2005-02-01 Thread QM
. For the life of me, I can't remember this parm right now, but I've seen it here and there. Search the archives for Too many open files and my e-mail address. You should turn up a post in which I've answered this question before. -QM -- software -- http://www.brandxdev.net tech news

  1   2   3   4   5   6   7   8   9   >