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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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
18 matches
Mail list logo