Classloader/Resource handling differences between 5.0 and 5.5?

2005-01-10 Thread David Ramsey
I saw an offhand comment from Yoav about differences between 5.0 and 5.5 in resource loading and class loading. He mentioned some change was made due to Windows usage of file handles. Under 5.0.x and JDK 1.4.2_06 under Windows 2000 SP4, our web application works fine. However, under JDK 5 and Tomc

Tomcat 5, JDK 1.5 beta, and MissingResourceException oddness - seeking suggestions

2004-09-24 Thread David Ramsey
I was looking at a recent Tiger beta and after installing it, I began to get MissingResourceExceptions for my property files which have always lived in WEB-INF/classes. Thinking I might have a Tiger bug, I uninstalled the 1.5 JRE and the 1.5 JDK, rebooted my Win2000 machine, and tried restarting To

Re: Problems getting Tomcat 5.0.18 to work with IIS 5

2004-02-13 Thread David Ramsey
Is Tomcat running as a service? Is that service running as a user that has that path and environmental settings the same as you do? Can you start Tomcat manually and access your jsp using something like? http://localhost:8080/mywebapp/myjsppage.jsp --- "Alex L." <[EMAIL PROTECTED]> wrote: > Thi

Re: jsp deployment

2004-02-13 Thread David Ramsey
Do you have a JDK installed? Do you have a JAVA_HOME environment variable set? Can Jasper find the java compiler (javac)? --- Jerry Ford <[EMAIL PROTECTED]> wrote: > Logs show class-not-found exception for open.jsp. > > Which brings me back to my original question---what do I need to > config

JBoss AOP

2004-02-12 Thread David Ramsey
I work for a company that has developed a Java version of one of their products. Many of our customers use Tomcat as their application server and it works wonderfully for that. Recently, we've started looking hard at aspect oriented programming. Looking at the "practitioner's list" of AOP framewor

Re: Servlet thread safety in Tomcat

2004-02-09 Thread David Ramsey
Your primary mistake seems to be in assuming that Tomcat will create a new instance of a servlet for every thread started. This is not what happens, therefore servlet instance variables are not thread safe unless you take additional actions to make them safe. Likewise, application global entities,

Re: Can deployment order be captured.

2004-02-05 Thread David Ramsey
I am rather curious about what you consider a dependency and why. You cannot share class files between two apps unless you replicate the class files between the apps. Connecting to a common database is possible between two apps but if each app contains stateful information about the changes the use

RE: Redeployment of War over and over Supported?

2004-02-04 Thread David Ramsey
Everyone I've seen uses one container from one vendor. WebLogic and WebSphere appear to be fairly popular choices but I've heard of lots of Tomcat and JBoss usage throughout Texas as well. --- [EMAIL PROTECTED] wrote: > > Thanks for the feedback. :) Do you know if the larger shops tend > to us

RE: Redeployment of War over and over Supported?

2004-02-04 Thread David Ramsey
My personal experience has shown both. Shops that plan for enterprise wide services tend to get large servers and host multiple webapps on one container on such machines. This lends itself well to centralized administration, etc. Shops that add webapps incrementally or at the departmental levels t

Re: JspC problem

2004-01-28 Thread David Ramsey
I don't claim to be an Ant master but from first look, Ant appears doing exactly what you have told it to do. You may want to look at the jspC task documentation in the Ant manual. Additionally, I believe destdir attribute is required, even if you specify uribase attribute. See: http://ant.apache

Re: long startup time with JDK1.4

2004-01-20 Thread David Ramsey
I would remove your application from Tomcat and observe the startup times with only the shipped example applications loaded. In other words, be sure that Tomcat is at fault here and not your own application. __ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bon

Re: OFF TOPIC-incremental development

2004-01-13 Thread David Ramsey
With a small database, you could consider rebuilding the database from scratch via SQL scripts possibly. We had a similar problem with a much larger database though, using Oracle, and ultimately we opted to export the database using Oracle's tools to recreate the base environment. We did this with

Re: Sharing among session of ONE application

2004-01-13 Thread David Ramsey
If the data is truly once only for the entire application, I'd write a singleton and have the applications each access that. You can control race conditions to start by synchronizing the methods of the singleton and later optimize the performance by removing the synchronization there and instead sy

Re: Running Tomcat 4.1.2.7 from Service vs DOS

2004-01-13 Thread David Ramsey
I don't know the reason but amongst other things to research are which JVM you end up using in either scenario. It appears that the default with Sun's JDK is that starting from a CMD.EXE prompt results in the client JVM being selected by default, whereas starting as a service uses the server JVM in

RE: Classes cannot be found

2003-12-30 Thread David Ramsey
Put your class in a package and see if that changes the results. --- Jeff Greenland <[EMAIL PROTECTED]> wrote: > Thanks, I'll go through and see if anything in here gives me some > hints. > However, I'm not getting "ClassNotFound" exceptions -- my files are > not > even compiling because the compi

Re: Threaded servlets okay in a compliant container?

2003-12-30 Thread David Ramsey
SRV.9.11 says the same thing in the 2.4 spec so it's still not defined as of Tomcat 5 either. --- Tim Funk <[EMAIL PROTECTED]> wrote: > Also ... (From 2.3 spec) > > In SRV.1.2 What is a Servlet Container? > ... "For example, high-end application servers may limit the creation > of a > Thread ob

Re: Problem with database updates using DBCP

2003-12-23 Thread David Ramsey
I've not used DBCP specifically but are you sure you are committing your writes? Most pools will default rollback connections returned to the pool, if I am not mistaken. --- [EMAIL PROTECTED] wrote: > Hello all. I've recently had a need to implement connection pooling > under > Tomcat 4.0.6 (I

Welcome File Oddities in Tomcat 5.0.16

2003-12-19 Thread David Ramsey
In a webapp on which I work, we could specify a welcome file with the following syntax: jsp/myLogin.jsp This worked in Tomcat 4.x without problems. I yesterday installed Tomcat 5.0.16 and am unable to get this to work any longer. Reviewing the 2.4 servlet s