> Thrust me, when dynamically classloading, half of code breaks
^^
*rotfl* this has made my afternoon
---
QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
this is a complex answer that *probably* only the Tomcat devs can answer of
someone knowledgable about the JVM and class loaders, so don't expect too many
users to answer.
i believe from my limited knowledge that you cannot reload single classes in a
tomcat web application as a whole class loa
Hi,
> > The thing is, I do not wish to execute directly from the WAR
> > as that would be inefficient.
>
> If you only have classes (as opposed to resource files) I
> don't think it
> will make a difference. If you do have other resources in there, then
> yes, expanding the war would probably
Hi,
looks like jk is using commons logging, you'll have better success using a
log4j or commons-logging properties configuration to set the threshold to
ERROR. you may be able to do that in jk's config files too, i am sure there is
an error level setting. check out the jk docs.
Allistair.
> -
2005 17:03
> To: Tomcat Users List
> Subject: RE: Continuing Frustration and Misery with Deployer
>
>
> > From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> > Subject: Continuing Frustration and Misery with Deployer
> >
> > deploy:
> >[deploy]
Hi List,
Honestly, I wish Tomcat web application deployment would be easier/smarter. To
pre-empt certain list members from telling me it's my fault, I can assure you
my WAR itself is totally 100% no doubts valid.
Perhaps it is my method of deploying that is causing the issue, I don't know. I
Dave,
If it's working via a solution you've configured, and you are not writing a
specification of how things will work, why do you keep asking this question?
With best intentions, Allistair.
> -Original Message-
> From: David Thielen [mailto:[EMAIL PROTECTED]
> Sent: 27 September 2005
To make this easier in the presentation tier, you would probably want to make
this method a static member of some class (if using scriplet), or a tag if
attempting a non-scripted presentation tier (recommended).
Allistair.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL P
Hi,
Just enter your variables into a text file called abc.properties with
name/value pairs, e.g
var1=val1
var2=val2
Although these will not automatically appear in application scope. You will
need to write a tiny Servlet that you configure in web.xml, pass the filename
as a servlet parameter
[EMAIL PROTECTED]
> Sent: 20 September 2005 15:08
> To: Tomcat Users List
> Subject: RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04
>
>
> > From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> > Subject: RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04
> &
You'll almost likely find that the reload via Ant does not free up all
resources and so each time you perform a reload you'll be leaking some memory
resulting in OOME after a week.
3 things to do;
Get a profiler to see where you may be losing memory.
Ensure no resource/references are held onto
run your dependent web app in it's own tomcat?
> -Original Message-
> From: Peter Menzel [mailto:[EMAIL PROTECTED]
> Sent: 16 September 2005 15:55
> To: Tomcat Users List
> Subject: Re: Order of WebApp Loading
>
>
> I see,
> if i can't count on the order of loading, I tried something oth
Hi,
Create a servlet that is shared by all your web applications, perhaps use
common/classes (or shared/classes - not sure which), and configure it to be a
load-on-startup servlet in each web app's web.xml. your servlet can hook into
your db startup code, or not bother if already started.
Alli
Simplistically ...
Configure Host elements inside your Engine. Create a folder for each
application within webapps. Set the Host docBase to each.
Check out the online ref.
> -Original Message-
> From: Durfee, Bernard [mailto:[EMAIL PROTECTED]
> Sent: 15 September 2005 17:07
> To: tomca
Hi,
To make this URL work
http://localhost/cart.faces - error 404
You need to just define your context as path="" (although I use path="/ROOT"
with no problem).
You URI mappings for JK would need to include (if no other wildcard mapping
exists)
/*.faces=ajp13
to ensure traffic with faces e
ut it's nevertheless
the standard way.
Allistair.
> -Original Message-
> From: Vsevolod (Simon) Ilyushchenko [mailto:[EMAIL PROTECTED]
> Sent: 13 September 2005 17:01
> To: Tomcat Users List
> Subject: Re: Different JDBC sources?
>
>
>
>
> Allistair
The standard way is 2 servers running their own Tomcat. Each Tomcat is then
configured with the datasource with differing connection strings.
Allistair.
> -Original Message-
> From: Vsevolod (Simon) Ilyushchenko [mailto:[EMAIL PROTECTED]
> Sent: 13 September 2005 16:36
> To: Tomcat Users
; From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Sent: 13 September 2005 14:25
> To: Tomcat Users List
> Subject: RE: Where to put context.xml?
>
>
> > From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> > Subject: RE: Where to put context.xml?
> >
>
Hi,
I had the same trouble with undeploy, residual JARs in WEB-INF/lib which then
totally screwed up any chance of redeploying. So another stop Tomcat, delete
manually, deploy.
I'd be interested to learn if there is anything that can be done too ...
Allistair.
> -Original Message-
>
> -Original Message-
> From: Michael Lai [mailto:[EMAIL PROTECTED]
> Sent: 13 September 2005 10:21
> To: Tomcat Users List
> Subject: Re: Where to put context.xml?
>
>
> Allistair Crossley wrote:
>
> >Nearly. Rename your file ROOT.xml and a path of /ROOT and
>
Nearly. Rename your file ROOT.xml and a path of /ROOT and you're away. The
other alternative is create in your web application folder META-INF/context.xml
Allistair
> -Original Message-
> From: Michael Lai [mailto:[EMAIL PROTECTED]
> Sent: 13 September 2005 10:07
> To: tomcat-user@jakart
.windward.net/stroe/cart.jsp. Is there any way
> to get the
> servlet name out of the url for the "default" servlet?
>
> Thanks - dave
>
>
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 12, 2005
Hi,
Just don't bother putting the domain in the mapping from IIS to Tomcat, e.g
/*.jsp=ajp13
would capture both domain requests and forward to Tomcat.
Allistair.
> -Original Message-
> From: David Thielen [mailto:[EMAIL PROTECTED]
> Sent: 12 September 2005 17:03
> To: 'Tomcat Users Lis
Hi,
It works just as great keeping your web application a self-contained unit, you
can still serve HTML from IIS if you really want by setting the document root
for the site, or using virtual folders. you'd also for absolute certainty put
an exlusion mask in uriworkers.properties for static typ
deas?
>
> Thanks - dave
>
> David Thielen
> 303-499-2544
> www.windwardreports.com
>
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 09, 2005 1:57 AM
> To: Tomcat Users List
> Subject: RE: Desperate:
Hi,
The META-INF/context.xml is one way in which a *web application context* can be
configured, not Tomcat itself per se, although it is an instruction on behalf
of the web application *to* Tomcat about what *it* needs Tomcat to setup for
itself, e.g database pools, environment vars or whatever
if your uriworkermap.properties file contains
/servlet-examples/*=ajp13w
!/servlet-examples/*.jpeg=ajp13w
then why are you expecting
http://localhost/jsp-examples/index.html
to work? For that, you'd need to add
/jsp-examples/*=ajp13w
(and restart IIS)
Allistair.
> -Original Message--
Hi,
We've recently noticed that our log4j configuration logs are pretty empty. I
decided I must have changed something that ruptured the configuration, so with
a brand new installation of Tomcat 5.5.11 and a basic log4j config file (shown
below) I set about testing what was happening.
Before
Hi,
You probably need to ensure that the IIS virtual directory for the jakarta dll
has Directory Security set to Windows Integrated?
Allistair.
> -Original Message-
> From: Tracy Spratt [mailto:[EMAIL PROTECTED]
> Sent: 07 September 2005 01:03
> To: Tomcat Users List; [EMAIL PROTECTED]
7;s somewhat of a relief, although I'm sure I have
> plenty of work
> cut out for me :)
>
> Off I go
>
> - Original Message -
> From: "Allistair Crossley" <[EMAIL PROTECTED]>
> To: "Tomcat Users List"
> Sent: Friday, August
Hi there,
Of course you can, you just need to be aware of what elements of Tomcat you
need to configure, e.g JNDI resources and so on and then lookup the way you do
that in Tomcat 5. It's not a *far* cry from Tomcat 3/4, you still use
server.xml for a bunch of stuff, but it's recommended that y
Hi,
I've noticed that undeploy of my web applications that the ROOT folder is left
behind as follows;
ROOT
WEB-INF
classes
log4j.properties
lib
ehcache.jar
struts.jar
The web application has a ContextListener that calls LogManager shutdowns and
Introspector.flush
ployer 5.5.11 NullPointerException
>
>
> Am Donnerstag, 25. August 2005 17:57 schrieb Allistair Crossley:
> > Thanks, that's good to know, it must be something to do with my
> > environment. Are you saying then that you did not have to
> copy any JDT jars
> >
ilto:[EMAIL PROTECTED]
> Sent: 25 August 2005 16:56
> To: Tomcat Users List
> Subject: Re: Client Deployer 5.5.11 NullPointerException
>
>
> Am Donnerstag, 25. August 2005 17:03 schrieb Allistair Crossley:
> > Well that's really unexpected. The only other 2 differences
Well that's really unexpected. The only other 2 differences are perhaps that I
am on Windows, and that I did this with the 5.5.11-alpha download from the
site. I can't think of anything else if you say that copying the JDT jar should
work. It simply doesn't here and I have tested this with pure
is appreciated, Allistair.
> -Original Message-
> From: Remy Maucherat [mailto:[EMAIL PROTECTED]
> Sent: 25 August 2005 14:55
> To: Tomcat Users List
> Subject: Re: Client Deployer 5.5.11 NullPointerException
>
>
> On 8/25/05, Allistair Crossley <[EMAIL PROTECTED]&g
t.JspServlet.serviceJspFile(JspServlet
> .java:291)
> >
> >
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >
> >
> > I have enclosed my server.xml, web.xm
// Log ?
// FIXME: log
}
return compiler;
}
> -Original Message-
> From: Remy Maucherat [mailto:[EMAIL PROTECTED]
> Sent: 25 August 2005 13:05
> To: Tomcat Users List
> Subject: Re: Client Deployer 5.5.11 NullPointerException
>
>
&
lPointerException
>
>
> On 8/25/05, Allistair Crossley <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I've decided to try out the Deployer tool for the first
> time to see if it makes like a little easier for deployments
> to our test servers.
> >
&
Hi,
I've decided to try out the Deployer tool for the first time to see if it makes
like a little easier for deployments to our test servers.
I've used the 5.5.11 Alpha Deployer as I noted some threads indicating a
problem with 5.5.9's version.
I've come across the following when running
Hi,
This is not mandated by the Servlet specification. What you *could* do is write
a servlet that is mapped in web.xml and set init parameters for that servlet.
Also set the load-on-startup to 1. Then in the servlet init method you can
extract the init parametes and call System.setProperty for
Hi,
I did this the other day with a bat file.
First I cause an open/save prompt with
response.addHeader("Content-Disposition", "attachment; filename=somebat.bat");
Then I use the response.getOutputStream() and stream the bat file down it. This
requires of course that you get an inputstream to
you can change the appBase attribute per Host but I am not aware of whether you
can mix based on webapp name.
Allistair.
> -Original Message-
> From: XYZ [mailto:[EMAIL PROTECTED]
> Sent: 24 August 2005 15:51
> To: tomcat-user@jakarta.apache.org
> Subject: Deploying war in another direct
Hi,
Not sure if there's a migration guide, but roughly
1. Download Tomcat 5.0.x or 5.5.x
2. Read the configuration guide for those parts you've configured in 4.1 to see
how to do it in 5.0.x/5.5.x
3. Move your webapp WAR to the new webapps, make configuration changes
4. Test.
Your webapp *shoul
does the
> default java
> namespace in the JNDI work ?
>
> Srinath.
>
>
>
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 24, 2005 9:29 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 5.5.9 missing jars ?
&g
I don't think that's shipped with Tomcat 5.5.9. What is the error you are
getting? Are you running your own web applications yet or just testing the
default ROOT webapp?
Allistair.
> -Original Message-
> From: Srinath Narasimhan [mailto:[EMAIL PROTECTED]
> Sent: 24 August 2005 14:29
> T
automatically
> used Cnnection
> Pooling with a datasource??
>
> Many thanks for your help with this.
>
> Best Regards,
>
> Ian
>
>
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: 23 August 2005 16:05
> To: Tomca
ction Pooling working, or is
> there no need in
> Tomcat 5.5 - In aother words does Tomcat 5.5 automatically
> used Cnnection
> Pooling with a datasource??
>
> Many thanks for your help with this.
>
> Best Regards,
>
> Ian
>
>
> -Original Message-
Hi,
He isn't using that method of configuration, that's just 1 option of 3. He is
nesting his Context definition within the server.xml Host element. Although
this is now scorned, it's still valid. The 2 other methods are contextname.xml
as you say, and also META-INF/context.xml within the webap
> thank you, i will
>
> Allistair Crossley wrote:
>
> >If you could please send
> >
> >1. server.xml
> >2. web.xml
> >3. context.xml or yourwebapp.xml
> >4. list of files in common/lib
> >5. list of files in yourwebapp/WEB-INF/lib
> &g
ent: 23 August 2005 16:41
> To: Tomcat Users List
> Subject: Re: jndi question
>
>
> no, that didn't help. thanks though.
>
> could this maybe be a class problem? am i using the wrong
> jar files? i
> can list the files i'm using if anyone thinks it might be
Hi,
The documentation says;
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup("java:comp/env");
DataSource ds = (DataSource)
envCtx.lookup("jdbc/EmployeeDB");
However, we use;
try {
Context ctx = new InitialContext();
dataSource = (DataSource) ctx.lookup("j
actually you don't *have* to use log4j, since 5.5.8/9 tomcat has shipped with a
customised jdk logging configuration (juli) that sets up a localhost log for
you out of the box
> -Original Message-
> From: Alain Gaeremynck [mailto:[EMAIL PROTECTED]
> Sent: 23 August 2005 16:09
> To: Tomca
; > logger.error("ERROR -
> > NamingException - Config error with
> > JNDI and datasource." +ex);
> > logger.error(ex.getMessage());
> > }
> > catch (NullPointerException npE) {
> >
compiled pages are just classes, and so long as they are mapped correctly in
the web.xml you'll be ok.
> -Original Message-
> From: Paul Singleton [mailto:[EMAIL PROTECTED]
> Sent: 22 August 2005 15:13
> To: Tomcat Users List
> Cc: [EMAIL PROTECTED]
> Subject: Re: tomcat 5.5.9 not recompi
aveyou seen this article?
>
> http://ant.apache.org/faq.html#winzip-lies
>
> Best regards
>
> Robert
>
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: 22 August 2005 11:59
> To: Tomcat Users List
> Subject: RE: Deployi
heers, Allistair.
> -Original Message-
> From: Allistair Crossley
> Sent: 22 August 2005 11:48
> To: Tomcat Users List
> Subject: RE: Deploying ROOT.war indicates missing application web.xml
>
>
> Hi,
>
> Yes, the default ROOT.war does appear to work in the
expect no less.
> -Original Message-
> From: Remy Maucherat [mailto:[EMAIL PROTECTED]
> Sent: 22 August 2005 11:32
> To: Tomcat Users List
> Subject: Re: Deploying ROOT.war indicates missing application web.xml
>
>
> On 8/22/05, Allistair Crossley <[EMAIL PROTECTED]> wrote:
the web.xml??? (wild guess)
Thanks, Allistair.
> -Original Message-
> From: Remy Maucherat [mailto:[EMAIL PROTECTED]
> Sent: 22 August 2005 10:56
> To: Tomcat Users List
> Subject: Re: Deploying ROOT.war indicates missing application web.xml
>
>
> On 8/22/05, Al
If you do have com.jatse.api.User.getLanguage() then the problem is that
language is null. Test with
language is null
Allistair.
> -Original Message-
> From: Allistair Crossley
> Sent: 22 August 2005 10:19
> To: Tomcat Users List
> Subject: RE: Java 1.4.2_08 and
Hi Everyone,
Just been deploying ROOT.war into webapps and it's failing to explode. The logs
indicate;
INFO: Deploying web application archive ROOT.war
22-Aug-2005 09:46:44 org.apache.catalina.startup.ContextConfig
applicationWebConfig
INFO: Missing application web.xml, using defaults only
Ensure that your class members all have getters, since
person.language.localeName will call
person.getLanguage().getLocaleName()
Allistair.
> -Original Message-
> From: Martyn Hiemstra [mailto:[EMAIL PROTECTED]
> Sent: 22 August 2005 09:55
> To: Tomcat Users List
> Subject: Re: Java 1.4
tomcats on 1 machine question
>
>
> Allistair Crossley wrote:
> > Hi,
> >
> > I thought I had this sussed but it seems I haven't :( 2
> tomcats, 1 machine, JK to balance with stick sessions. The
> following configuration works in that JK routes requests t
Hi,
I thought I had this sussed but it seems I haven't :( 2 tomcats, 1 machine, JK
to balance with stick sessions. The following configuration works in that JK
routes requests to both the tomcats and so on.
The issue is that if I look in the access logs for each tomcat I can see that 1
sess
we used to just schedule updates and let all our staff know there would be a
small amount of downtime (for our intranet) but you can't do this on external
production servers, so you need to go with either load balancing/clustering
that allows you to close a node down *while also* letting session
shouldn't that be
log4j.logger.voteLogger=DEBUG, vote
?? else where will it get voteLogger from?
> -Original Message-
> From: Derek Merren [mailto:[EMAIL PROTECTED]
> Sent: 18 August 2005 15:42
> To: tomcat-user@jakarta.apache.org
> Subject: Log4j writing to the same log file for differe
Hi,
What is the error that you receive when uploading > 50kb? I know there was
previously a bug with earlier versions of the now unsupported JK2 connector. If
that's what you are using then you should upgrade to the latest JK 1.2.x
connector.
Allistair.
-Original Message-
In the time it took you to write this email you could have tested this!! ;o)
Looks reasonable so long as you want to connect direct to Tomcat on port 80 for
each IP ... try it out and get back to us.
Allistair.
> -Original Message-
> From: David Erickson [mailto:[EMAIL PROTECTED]
> Sent
gs that JasperCompiler on Tomcat 4.1.30 does not have?
>
> Thanks.
>
> Gary
>
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: August 12, 2005 11:46 AM
> To: Tomcat Users List
> Subject: RE: Cannot
Hi,
Not sure about this one. How are you routing requests to Tomcat? Are you using
the JK connector with a mapping of /*.do? Do you allow image to be handled by
Apache/IIS or is Tomcat doing it?
You may need to ensure your static resource uris like images reference the
context name, e.g src="/
t;%
> > response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
> > response.setHeader("Pragma","no-cache"); //HTTP 1.0
> > response.setDateHeader("Expires", 0); //prevents caching
> at the proxy
> > server
> >
And what is the error you are getting? 404? 500? Exception? What?
Allistair.
> -Original Message-
> From: Fermin Jimenez Najar [mailto:[EMAIL PROTECTED]
> Sent: 12 August 2005 08:54
> To: Tomcat Users List
> Subject: Problems with context
>
>
> Hi. I just has beginning to use the Tomcat
Can you post the full exception stack?
> -Original Message-
> From: t.n.a. [mailto:[EMAIL PROTECTED]
> Sent: 12 August 2005 16:19
> To: tomcat-user@jakarta.apache.org
> Subject: "WEB-INF/lib/myjar.jar doesn't contain file xyz..."
>
>
> Tomcat (5.5) seems reluctant to load a .jar file fro
Can you post the JSP directives, and the scriplet that calls log4j? Also, you
have been given a line number 39 .. can you work out which line this is in the
work directory.
Allistair.
> -Original Message-
> From: Gary Zhu [mailto:[EMAIL PROTECTED]
> Sent: 12 August 2005 16:17
> To: Tomc
> probably
> be better severed by debugging the app to see what is using
> so much RAM.
>
> If you are making a development error like say forgetting to close an
> object something everyone on the list has done it is always better to
> learn of errors as early as possible
og
Summary
---
Note that this is virtual host logging, it is not webapp logging. For webapp
logging you need to configure log4j within the web application itself which is
another example.
-- end --
> -Original Message-
> From: Allistair Crossley
> Sent: 12 August 2005 13:
ir.
> -Original Message-
> From: Robert Abbate [mailto:[EMAIL PROTECTED]
> Sent: 12 August 2005 01:37
> To: Allistair Crossley
> Subject: RE: Tomcat 5.5 upgrade + logging problems
>
>
> I appreciate your response, but I can assure you there are
> many out th
Hi,
Just use the Access Log Value with the pattern you need. You can see the
built-in patterns or define your own one.
Check out the docs
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/valve.html
Cheers, Allistair.
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Be
Oh yes :)
> -Original Message-
> From: Wolfgang Hackl [mailto:[EMAIL PROTECTED]
> Sent: 12 August 2005 09:24
> To: Tomcat Users List
> Subject: RE: Out of memory
>
>
>
> > You can modify the memory settings for the windows service
> also in the
> > service.bat file itself. I've been k
Hi,
You can modify the memory settings for the windows service also in the
service.bat file itself. I've been known to uninstall the service, modify the
bat file and then service install again. I don't like using the binary version
so that should work for you.
Secondly, OOMEs should be address
Really, this has been discussed to death on this mailing list. The 5.5 logging
page for a start gives you instructions for setting logging up. Also, I have a
blog at www.adcworks.com/blog that touches on 5.5 configuration and logging.
Allistair.
> -Original Message-
> From: Robert Abbat
arned something that I was doing wrong, but
> after removing the
> webappname.xml I get the same error.
>
> Any more ideas?
>
> Thanks,
>
> Ian
>
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: 11 August 2005 11:53
>
ssConne
> ction(Http11Protocol.java:744)
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolT
> cpEndpoint.jav
> a:527)
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(Le
> aderFollowerWo
> rkerThread.java:80)
> at
> org.apache.tomcat.util.t
Hi,
Can you please send more information, such as error messages, stdout logging
and the configuration for your pool.
Cheers, Allistair.
> -Original Message-
> From: Wylie, Ian [mailto:[EMAIL PROTECTED]
> Sent: 11 August 2005 10:28
> To: Tomcat Users List
> Subject: RE: Has anyone used
>
>
>
>
> Thanks a lot for the answer, but I would be even more thankfull if a
> bit more explanation goes with it ...
>
> On 8/8/05, Allistair Crossley <[EMAIL PROTECTED]> wrote:
> > you use .key or .value, e.g
> >
>
you use .key or .value, e.g
item.value['key']
item.key
Allistair
> -Original Message-
> From: Guillaume Lederrey [mailto:[EMAIL PROTECTED]
> Sent: 08 August 2005 10:34
> To: Tomcat Users List
> Subject: Easy EL question
>
>
> Hello !
>
> I'm still having problem with all the diffe
log: JK1.2 load balancing as solution to 100% uptime
>
>
> Allistair Crossley wrote:
> > Hi Chaps,
> >
> > If anyone is interested, I blogged last night on my
> experience setting up ...
> >
>
> It would be great if
Hi Chaps,
If anyone is interested, I blogged last night on my experience setting up 2
tomcats on 1 server and then load balancing them with JK 1.2, and tested that
bringing 1 down, and then back up did not lose any requests.
This for my web application is an ideal way to avoid downtime durin
Yes, some of which are pointed out in my blog at www.adcworks.com/blog
> -Original Message-
> From: Bjørn T Johansen [mailto:[EMAIL PROTECTED]
> Sent: 02 August 2005 22:44
> To: Tomcat Users List
> Subject: Upgrading from 5.0.28 to 5.5.9?
>
>
> Anything one should be aware of when moving
the log4j.properties file under the webapp?
>
> Thanks,
> Scott
>
>
>
>
>
>
>
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 02, 2005 8:31 AM
> To: Tomcat Users List
> Subject: RE: Logging With Tomcat
Don't confuse "not understanding" with "not sufficient". The instructions do
lead to a correct configuration. However, here it is more explicitly.
Allistair.
Per-webapp logging
==
1. Add log4j's jar to both your webapp's WEB-INF/lib folders
2. Add log4j.properties to both your w
> would be much appreciated
>
> the app itself uses spring, openamf (an open source flash remoting
> connector) with some jdbc (mysql)
>
> so i guess that any one of these (and my code) could be the culprit.
>
> I'll look into each of these individually and see if they co
Hi,
Hanging, memory up 50%, sounds very much like an OutOfMemoryException to me. I
know from experience that Tomcat can hang with no memory and not log to stdout
either (although most of the time it does).
Have you profiled your application under a load test?
Cheers, Allistair.
> -Origin
I found this on the web for Struts using
org.apache.commons.dbcp.BasicDataSource which I believe Tomcat also uses.
Therefore perhaps you can try defaultAutoCommit instead.
Allistair
> -Original Message-
> From: starki78 [mailto:[EMAIL PROTECTED]
> Sent: 02 August 2005 09:38
Is Context not supposed to be within a Host element? You also have a lowercase
"c" in http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
Allistair.
> -Original Message-
> From: Anish Tom Ashley [mailto:[EMAIL PROTECTED]
> Sent: 01 August 2005 16:30
> To:
agnolia
> manages it's
> own authorization through a repository.
>
> --David
>
> Allistair Crossley wrote:
>
> >from memory you need to ensure you add users and roles to
> the tomcat-users.xml file? it's all in the manual.
> >
> >
> >
>
from memory you need to ensure you add users and roles to the tomcat-users.xml
file? it's all in the manual.
> -Original Message-
> From: Patrick saad [mailto:[EMAIL PROTECTED]
> Sent: 26 July 2005 15:39
> To: tomcat-user@jakarta.apache.org
> Subject: Problem running tomcat with a CMS app
My bad. It is actually coming into the web application afterall with /*.
Cheers!
> -Original Message-
> From: Allistair Crossley
> Sent: 26 July 2005 11:46
> To: Tomcat Users List
> Subject: RE: Requests that are not handled by ROOT
>
>
> According to the spec
gt; To: 'Tomcat Users List'
> Subject: RE: Requests that are not handled by ROOT
>
>
> Try filter map with * instead of /*
>
> Regards
> Guru
>
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: 26 July 2005 11:3
Hi,
Mind's gone a little blank, should know this but our webapp has a setup such
that a filter maps /* requests and handles them.
However, Tomcat is preventing requests that do not match /abc with a 404 I
think because it thinks abc is another web application if it has /abc/def
E.g
/index
1 - 100 of 631 matches
Mail list logo