Hi,
If I don't use the attribute factory in context.xml I get following error:
javax.naming.NamingException: Cannot create resource instance
at
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.
java:132)
Context debug=0 reloadable=false
Resource
Instead of rebuilding FOP, I wrote a simple test class
that attempts to instantiate 'Rectangle'. It runs
successfully on one system and fails on the other
(the one with the NoClassDefFoundError):
$ java -Djava.awt.headless=true TestRectangle
Exception in thread main
Hi,
The 5.5.12 stability vote is now over, and the release is stable. The
following votes were cast for stable:
Jeanfrancois Arcand
Allistair Crossley
Henri Gomez
Jim Jagielski (not sure if this one is binding in the strictest sense of the
word)
Remy Maucherat
Peter Rossbach
Yoav Shapira
Mladen
Are you using Struts? Struts has a bizarre idea that causes this type
of problem.
On 10/8/05, Dhiren Bhatia [EMAIL PROTECTED] wrote:
Hi all,
I'm having trouble with the HttpServletRequest object if my post contains
multipart data. The request object loses all the parameters set from the
Yea, I'm using Struts. I like some of its features so I want to continue
using it. But multipart is a mess. So, is there any way to retain the
parameters in HTTPServletRequest?
Thanks.
On 10/9/05, Dakota Jack [EMAIL PROTECTED] wrote:
Are you using Struts? Struts has a bizarre idea that causes
Hmm, I downloaded 5.5.12 and tried the agent-header specific code with it:
public void processLogin(User user, HttpServletRequest req,
HttpServletResponse res) {
StringBuffer info = new StringBuffer();
info.append(login );
I'm not the expert but...
On 10/9/05, Binildas C [EMAIL PROTECTED] wrote:
Hi,
We are building a high volume site in Tomcat5.0.28.
Our single Tomcat5.0.28 instance in the Web Farm is
having 10 HTTP Threads. Each HTTP Thread collects
request events in a ThreadLocal. At every 1000
requests
Leon,
Thank you for the test - but I still get a null user-agent right after the
login. Here is a snippet of my code:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
%@ include file=/common/taglibs.jspf%
%@ page
You either have to stop using ActionForm or go in and rewrite the code
on multiparts. The existing code is really sloppy and bad. There are
references that do nothing. Others do things they shouldn't do, etc.
Essentially, you really should avoid using it and write your own
implementation of
I have set up a connection pool using the following set up:
___-
?xml version=1.0 encoding=iso-8859-1?
!--
Context configuration file for the Road Safety Audit Management System
Web App
--
Context
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Subject: using a datasource connection pool resource with
username and password supplied by user
But what I really want to do is to get a database user and
password from the user and (after validating it) write this
to a session
Chuck is right in that it can't be done with the standard pool that Tomcat
has. Due simply to the fact that the pool is established before anyone has
made a call to the server.
But what you could do is to create a connection for that user when they
authenticate and hold on to the connection
Thanks Doug and Chuck,
I suspected as much re. the connection pool. This sort of negates the
value of it a little (for me anyway).
My original plan was to go with saving the connection to the session once
it was established but I had read somewhere that connections are not
'serializable' and
13 matches
Mail list logo