protocol.
Also, there's the book How Tomcat Works which is actually a pretty good
book if you want to know how to write a network server in Java.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED
(which don't use hibernate), and appears to be JspC
itself!
I don't see anything resembling a Hibernate jar in the Tomcat distro, so I'm
just curious where this might cropping up.
Any ideas?
Regards,
Will Hartung
([EMAIL PROTECTED
-- please
restart.
All sorts of scary things you can do.
Since you're talking OS/X and Windows, I'd keep the solutions to Java based
ones, tho, rather relying on scripting and such.
Luck!
Regards,
Will Hartung
([EMAIL PROTECTED
and record a days traffic, and then replay it
against a test server (with all the monitoring etc.), then I can more easily
reproduce the problem without heavily impacting performance of the
production server.
Anyone have any ideas?
Regards,
Will Hartung
([EMAIL PROTECTED
also simply use the ClassLoaders getResource methods, and place
things in your classes directory.
(Though I think you're better off getting the ServletContext.getResource()
to work)
Regards,
Will Hartung
([EMAIL PROTECTED
).
But, shouldn't this pretty much work with most common servlet containers?
Thanx for any insight...
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
still just Do It, open up paths to the disk and plonk files and
JSPs in place and see what happens, but it's a flaming hoop I wish I didn't
have to jump through.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail
that to be
possible through the Servlet API, via, say, a Resource Listener or somesuch
thing.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
your JDBC driver? Any reason you can't use
the Oracle thin (JDBC Type 4) drivers?
This looks to me to be a problem with MatrixOne, and I'd give them a call.
Tomcat is but a victim.
Regards,
Will Hartung
([EMAIL PROTECTED
instantiated.
Tomcat is pretty quiet with things like Listners, it doens't write error or
output where you typically see it for you application.
Check all of your logs to make sure the class is loading and starting up
correctly.
Regards,
Will Hartung
([EMAIL PROTECTED
application, rather than just HTTP based server applicatons.
Conecptually you could do this in tomcat, but it's kind of off the main path
of what Tomcat does.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail
a valid and worthwhile pursuit, you
just need to be redundant on the server side.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
can very quite viable.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
than
reinventing the assorted wheels.
So, you'll get things like Filters, Sessions, Event listeners, Request
processing, Forwarding, etc. The whole HTTP stack.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail
. That wasn't pretty. But it eventually
sorted itself out. No idea what caused it, and I can't consistently
duplicate it.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
to your Java code as objects (JSF for one), but the above
is the basic of basics on how it all works and is inevitably done.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
a simple example of how easy this can be when you have
control over the whole shebang.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
static site, then we simply bounce
Apache with the new config.
It's is not particularly subtle, but we're not a 24x7 site so much, and it's
more to let folks coming in know what's happening.
But it's simple and quick.
Regards,
Will Hartung
([EMAIL PROTECTED
out the
reference Ed sent in an earlier post - that seems to have some
potential.
To be clear, you don't update the httpd.conf file, rather you have two
versions (up version and down version), then you simply restart Apache with
the correct version as appropriate.
Regards,
Will Hartung
([EMAIL
be able to get access to the correct stream, or turn off the
buffering.
I'm actually surprised the Tomcat would cache the static resource, which is
what it SEEMS to be doing, but I don't know why it would be doing that.
Regards,
Will Hartung
([EMAIL PROTECTED
by subject, select them en masse, and delete them my self,
then I resort by recieved date like normal.
I'm confident the Powers That Be are working diligently to fix the problem,
whatever the problem may be, so I'm not taking any dramatic measures.
Regards,
Will Hartung
([EMAIL PROTECTED
. Any
ideas on similar projects?
I'm not familiar with any, but that doesn't mean anything.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
and use it as an Include for
your XMLs.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
cookie that you
create on the fly if it doesn't exist yet).
Then you use that credential to access shared information stored in a Cache
that's loaded from the Common classloader.
Regards,
Will Hartung
([EMAIL PROTECTED
system where this may not really be an issue.
Of course, when you add that 21st webapp, you will have a new problem.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
to make sure everything is working
as planned (and unplanned) since the new configuration is that much more
complicated than it was before.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED
!
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
won't be portable if you really on this
though, since you have to change Tomcat itself to make it work.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
it's
possible in Windows, but I don't know the details of how to do it.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
flexible in the future, but they haven't yet, and it's been this way for
quite awhile.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it and make sure), but it may only go as low as 10, or even
100 milliseconds.
You could also simply use the filter to ban the user from a specific
hungry resource if you like.
I'm sure there are other things like this, perhaps something for Apache.
Regards,
Will Hartung
([EMAIL PROTECTED
as well.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
(or at least the few
nasty ones that are grenading your server)? Then you'd perhaps have more
control over memory for the compile that the standard Jasper engine doesn't
expose to you.
Regards,
Will Hartung
([EMAIL PROTECTED
like to think that script is executable for you). And all THAT
does is run the ServerInfo class.
Given all that, you should be able to figure something out.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail
it up)?
Context ctx = new InitialContext();
ctx.bind(yourDBPool, getNewDBPool());
Can you leverage a Custom Resource Factory to do this for you (assuming
simply binding it doesn't work)?
Regards,
Will Hartung
([EMAIL PROTECTED
, the
system realizes there are no more references to it, and removes the actual
data.
Just clearing up the process..
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
, and a file on Unix (in the users home directory). But,
rather then fighting that, you can provide something that will work
consistenly across platforms by leveraging the API and Java.
Regards,
Will Hartung
([EMAIL PROTECTED
From: Tuan, Frank [EMAIL PROTECTED]
Sent: Friday, April 29, 2005 11:35 AM
I'm trying to change the InputStream of the request. I don't think the
wrapper
allows me to change the InputStream.
It's deeper in the ServletRequestWrapper, but it's there.
Regards,
Will Hartung
([EMAIL PROTECTED
.
There's also the option of digging deep into the Tomcat source code and just
fixing it and remove that limitation, but that's rather drastic.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED
handing him.
IMHO, of course, I'm not emperor yet. If I were, I could make an edict,
until then...simple opinion :-).
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
about your app, that's the best 2 cents I can
give at this point. I wouldn't worry at all about using the primitve types
(including String) in a Session. Note, though, that Dates don't count.
Regards,
Will Hartung
([EMAIL PROTECTED
to the stuff you just loaded in.
You can do that by loading the request into a byte buffer, and tying a
ByteArrayInputStream in the new Request that you forward from your Filter.
This has the downside of caching the entire request in RAM, so just be
aware.
Regards,
Will Hartung
([EMAIL PROTECTED
of sites, not enough that the benefit of Apache is going to really
be noticable.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
of how the blogging software
works or is configured. It's a nice, non-invasive system to do exactly what
you want.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
integrate DTrace on Solaris 10 and Java 5 now
too.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, is not replicated.
You need a cluster aware caching solution. Session replication is more for
failover and such.
Look at something like OSCache and its ilk to get the functionality that you
need.
Regards,
Will Hartung
([EMAIL PROTECTED
of replication, at least some of the things you need to be aware of.)
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
or writing my
own, that shouldn't be too hard.
In fact, I'm betting a bunch of this is in Tomcat somewhere (directory
browsing et al), so I was kind of hoping someone might have some hints on
stuff I can leverage to pull this seemingly simply thing off.
Any hints?
Thanx!
Regards,
Will Hartung
user.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, FilterChain
chain)
{
try {
filterChain.doFilter(request, response);
}
catch(Throwable t) {
log.WARN(t);
}
}
(making this work is left as an excercise for the reader)
Regards,
Will Hartung
([EMAIL PROTECTED
you have to
have to where this overhead would actually be measurable, much less make any
kind of difference whatsoever in response time to a single specific app?
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail
be basically event based, particularly calls to
things like DBs.\
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the container that I'm, frankly,
completely uninterested in.
Anyone have any tips on using Commons Logging within a Webapp without
interfereing with TOMCAT itself?
Thanx!
Regards,
Will Hartung
([EMAIL PROTECTED
as well.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
all) which checks how long SQL queries take,
and logs those that hit a specific threshold. Dumps the SQL, dumps the bind,
whole ball of wax. Then we can go through that log on a regular basis to
tune queries, the DB, or the code. That helped a LOT for our system.
Regards,
Will Hartung
([EMAIL
it write to a ~/.java_prefs directory, or what).
By using this API, you can plop a WAR on a server, then when the user first
tries to use it, run them through a configuration wizard.
Perfect.
Thanx!
Regards,
Will Hartung
([EMAIL PROTECTED
folks trying/doing to make easily deployed WARs that
needs to save setup options or even other real data?
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
signed in at 10am,
and expires at 10:30. If Bob actively uses the site, you want the time out
to be since last activity.
How are others doing this and what have you found effective?
Regards,
Will Hartung
([EMAIL PROTECTED
Did you ever manage to get this to work? We're having similar issues but
don't find much in terms of resolution to the problems. Any luck??
Regards,
Will Hartung
([EMAIL PROTECTED])
- Original Message -
From: Rodney Leger [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 23
working, so it's pretty clear to
be the complicated class loader environment of the Tomcat that's tripping me
up here.
Any help at all would be welcome. The hole in my wall, monitor and desk is
ever expanding and my head Really hurts...
Thanx!
Regards,
Will Hartung
([EMAIL PROTECTED
the spec doesn't specify JAR order, it may be different between
containers, containers version, or even OS's.
Right, it's implementation dependent :-/
I could also make my own jar, but I was just curious if they had something
official.
Thanx!
Regards,
Will Hartung
([EMAIL PROTECTED
will find classes and use the classes within mystuff_patch.jar before it
finds the identically named ones in mystuff.jar.
So, is there any way to determine what this order is in the Tomcat lib
directories??
Thanx!
Regards,
Will Hartung
([EMAIL PROTECTED
after restart.
Like I said, JMS does exactly what you want, but if your needs are fairly
limited, writing your own is not overly complicated. A simple queue, a few
threads, a little DB work.
http://openjms.sourceforge.net/ is a free implementation, though I have not
used it.
Regards,
Will Hartung
answer you were looking for, as it
would be nice to just throw the URL at the container and have IT figure it
out, but the current Container Managed security is pretty darn basic and
doesn't expose much functionality to the user.
Regards,
Will Hartung
([EMAIL PROTECTED
with Servlets et al, but that's a big wheel to re carve out of
stone.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it straighaway.
I'm just pointing out that this does not interact in any way with the
Container provided security infrastructure.
FYI
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
implementation does not work, obviously it does,
or you wouldn't be using it.
However I would be curious to see your security-contraint tags and
filter-mapping tags.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail
), it will fail.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Look through the archives. On Dec 18, John Turner wrote a pretty good post
on the various connectors.
Regards,
Will Hartung
([EMAIL PROTECTED])
- Original Message -
From: Deepa Raja [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 28, 2003 3:33 AM
Subject: reference
and
initialized in the order they appear within the directory, which is
internally unsorted and should be considered arbitrary.
There isn't any portable way of ensuring webapp start up order, that I'm
aware of at least.
Let us know what works for you.
Regards,
Will Hartung
([EMAIL PROTECTED
true for session scope then it's a design not JDK issue..
It's a JDK issue, so it's super duper global scope.
It's an interesting nit. It's a shame that they buried this implementation
deep into the JDK.
Regards,
Will Hartung
([EMAIL PROTECTED
(config.properties).openStream
()
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
very little. So if you're expecting the shared
servlet to see something set by WebApp A when run in Web App B, then you'll
be disappointed.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED
framework that does exactly that (among other
things) on UNIX boxes.
Dredge the archives, as I've posted the instructions for doing this before.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED
part of the way folks deal with mailing lists.
Welcome to the Internet.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
don't have to worry editing
in place, simply edit the master, run the filter, and re cut-n-paste.
Here's a simple sed(1) script:
sed -e 's//\\/g' -e 's/.*/out.println()/g'
Regards,
Will Hartung
([EMAIL PROTECTED
the sessions into a global
map with a filter if you'd like to track users, but, particularly with
session persistence and reloading, there's no guarantee that a session is
the same session as the one you have stored in your list.
Regards,
Will Hartung
([EMAIL PROTECTED
,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
already been invented for you.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
(as it
takes changing the actuall classes to solve this problem).
But, the class to look at is com.gaggle.util.Services, that's what it's
complaing about.
Good Luck!
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e
sorta maybe almost do it, but you lose
session affinity and other nice things.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Another thing you can try is to time how long it takes to get the FIRST
record, rather than the entire thing. Sometimes the actual result set is
fully realized until after the first row is fetched.
Once the result set is realized on Oracle, fetching should be pretty quick.
Regards,
Will Hartung
help reduce the load on the web.xml file.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm not saying that it can't be limiting, but it's just not that much
more limiting than the normal happenings within Servlet programming.
Regards,
Will Hartung
(willh@x)
-
To unsubscribe, e-mail: tomcat-user
names an be consistent with them.
Regards,
Will Hartung
(willh@x)
-
To unsubscribe, e-mail: tomcat-user-unsubscribe@xx
For additional commands, e-mail: tomcat-user-help@xx
realistic for your application.
Regards,
Will Hartung
(willh@x)
-
To unsubscribe, e-mail: tomcat-user-unsubscribe@xx
For additional commands, e-mail: tomcat-user-help@xx
= c.isInstance(anObject);
I think that's what he wants. (I haven't tested this).
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
inherent authentication mechanism.
But, the API doesn't let you do this.
Which means you have to implement all of your own security some other way.
Which is a drag.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e
Are Coming From when they don't seem them on the CLASSPATH variable.
However, I also agree with the other poster that CLASSPATH is really a
non-issue.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL
that it works, I'm curious if it working is a fluke,
or is it guaranteed across platforms.)
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, or a writeable JNDI
implementation.
However, to be fair, I think a lot of that motivation is being sucked into
the J2EE side of the equation. It's a real question how long Servlets will
be stand alone at all.
Regards,
Will Hartung
([EMAIL PROTECTED
persistent volume
storage available without configuration.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the drive densities of modern
systems.
The Webapp is your friend. Embrace it and be happy.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
with the JSR groups for future
versions of the spec.
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, but
as I said, I haven't been totally following the thread here. It's probably
glaringly pointed out on line 12 of the initial post (RTFML Will! STFU!).
Humbly...
Regards,
Will Hartung
([EMAIL PROTECTED])
-
To unsubscribe, e-mail
security mechanism, and have an application specific security
mechanism handle the details of the authentication.
Huh. Bother.
Yeah, that's a pain I think from a portability standpoint.
Regards,
Will Hartung
([EMAIL PROTECTED
then.
THEN, come back with questions. Odds are you won't need to. You'll become
much more enlightened. You'll dance in the streets, raving like a loon.
You'll be Brave Sir Robin saying That's EASY! and run off towards the
Keeper of the Bridge...
Good Luck.
Enjoy.
Regards,
Will Hartung
([EMAIL PROTECTED
1 - 100 of 242 matches
Mail list logo