I don't know a lot about this, but I had a colleague who was having some
trouble getting an SSL connection working from Axis. I thought this was
curious, because when I plugged in HttpClient for an SSL connection, it
worked on the first try. He, however, is getting some error about
"unable to val
I'm trying to run some standalone code that uses commons-logging and
log4j, but I'm getting a LogConfigurationException. I can't find any
useful information on what is really going wrong.
The stack trace is as follows:
org.apache.commons.logging.LogConfigurationException:
java.la
You're trying to make the same property be both a normal and indexed
property. You have to have only one setter and one getter for each
property.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 24, 2003 2:25 AM
> To: Jakarta Common
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>
> Hi Folks,
>
> Before I post I bug report I want to see the problem I face
> is really a bug.
>
> I have a struts application that uses a Mapped (Map) property
> for one of the
> form bean's property.
>
>
I'm doing some testing of some web service constructs. I'm trying to
build a SOAP request with an attachment. If I directly use the SAAJ api
to build the object, and then stringify it, I see the result is
MIME-encoded, with a content-type for the main body of "text/xml", and
the attachment is wha
MultipartPostMethod being the only (rather unfortunate)
> exception to this rule). You'll have to use another library
> to produce mime-encoded content such as attachments.
That's unfortunate. Is there any plan to make this more flexible in
3.0?
> On Thu, 2004-06-10 at 19:41,
I suggest you set "prefer-web-inf-classes" to true in your weblogic.xml, and
ensure that your new libraries are only contained in your WEB-INF/lib
directory. If you don't, either your application or the base WebLogic
infrastructure may develop subtle (or acute) problems.
> -Original Messag
I'm not writing an enhancement request for this yet, because I want to make
sure I understand this situation.
It seems to me that it would be useful to add a method to the DynaBean
interface (and derived classes) called something like "Map getMap()". I
believe adding this will make it easier (pos
s
> easier to
> use with JSTL?
>
>
> You may want to join the discussion of [clazz] on the
> commons-dev mailing
> list. We are outlining/building a design for something that
> builds on the
> DynaBean concepts and extends them.
>
> Stephen
>
> - Origi
At end.
> -Original Message-
> From: robert burrell donkin
> [mailto:robertburrelldonkin@;blueyonder.co.uk]
>
> On Wednesday, October 30, 2002, at 07:25 PM,
> [EMAIL PROTECTED] wrote:
>
> > Using the call-param-rule element in a digester rules XML
> > file in conjunction with a call-met
I've never used Jelly before. I noticed that it has some pretty
powerful SQL Ant tasks. However, I'm limited to Ant 1.5.4 for now.
Will the Jelly Ant tasks work with Ant 1.5.4?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
ubject: Re: Can Jelly Ant tasks be used with Ant 1.5.4?
>
> David,
>
> are you talking about the Jelly SQL Tag Library?
>
> If so, the sql tag library is NOT a set of Ant tasks, it's a
> set of tags to be used within a Jelly script, not an ant build file.
>
> Does
t; Subject: Re: Can Jelly Ant tasks be used with Ant 1.5.4?
>
> I haven't tested it but there's:
> org.apache.commons.jelly.task.JellyTask
> that should do the trick provided you have included all the
> dependencies in the classpath.
> hope that helps.
&g
st
> Subject: Re: Can Jelly Ant tasks be used with Ant 1.5.4?
>
> It's in the ant tag library. So you'll need that and the core
> jelly jar file to do the taskdef.
>
> On 7/20/06, Karr, David <[EMAIL PROTECTED]> wrote:
> > What jar file is that class in? I
ant tag library' is this one:
> http://jakarta.apache.org/commons/jelly/libs/ant/
>
> Get the jar from here:
>
> http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-
> tags-ant-1.1.jar
>
> On 7/20/06, Karr, David <[EMAIL PROTECTED]> wrote:
> > And wh
the ant tag lib.
>
> Jelly's dependencies are:
>
> jexl-1.0.jar, xml-apis-1.0.b2.jar, commons-beanutils-1.6.jar,
> commons-collections-2.1.jar, commons-logging-1.0.3.jar,
> dom4j-1.5.2.jar, jaxen-1.1-beta-4.jar, xerces-2.2.1.jar,
> commons-lang-2.0.jar, jstl-1.0.6.jar
Several days ago, I managed to run into an article or blog that had at
least one detailed example of a jelly script using the sql tags, but now
I can't find it again. The Jelly SQL documentation is very spare,
apparently without any examples. Is anyone aware of any good examples
of jelly sql usag
I'm experimenting with a jelly script to set up and initialize a
database, so I'm trying to use the sql tag library. In order for this
to work, I'll need to set the classpath so it can find my driver.
What are my options for setting the classpath so this can work?
I'd really rather not set the g
I'm guessing the primary commons-user answerers are in a very different
time zone, so I guess I'm going to burst out a bunch of questions,
instead of waiting for answers for each one.
In my Jelly SQL script, I'm going to need to drop and recreate a set of
tables. In order for this to work, it has
I have an Ant script that uses the "sql" task, and I can connect to my
db and run a query.
I also have a jelly script that tries to do the same thing. I'm using
"sql:setDataSource" and "sql:query". I'm using the same properties file
for both the Ant and Jelly tests. The Jelly script fails with:
a "sql:query" without a "var" attribute throws an
NPE. Now I have to figure out what I can do with the var I've set.
At least I'm not throwing exceptions anymore.
> -Original Message-
> From: Karr, David
> Sent: Thursday, July 20, 2006 3:37 PM
> To: J
gs such as "tableAvailable" or
> "dbMetadata"
> or...
> paul
>
> Karr, David wrote:
> > I'm guessing the primary commons-user answerers are in a very
> > different time zone, so I guess I'm going to burst out a bunch of
> > questions, ins
t for the exception
afterwards.
> -----Original Message-
> From: Karr, David
> Sent: Friday, July 21, 2006 10:52 AM
> To: Jakarta Commons Users List; [EMAIL PROTECTED]
> Subject: RE: Can Jelly SQL branch on table existence, or
> error conditions?
>
> Where is an example of
I now need to define blocks that I can call at different times, with
different parameter values. It looks like this would be done with the
"tag" tag. I'm guessing that I don't define what parameters it can
take, it will just take any XML attributes set in the tag call and
assign those to implicit
ource right now... so consider
> these as hints.
This is all helpful. I managed to get all my simple table drop/create
code working. I'm currently at a stage where I'm trying to figure out
how to create code blocks that I can call from different places.
> Karr, David wrote:
If in my Jelly script, I detect a condition that should cause the entire
script to fail? What is the best way to handle this? I don't see how
you throw an exception, or cause the script to exit.
-
To unsubscribe, e-mail: [EMAIL
I have a standalone tool using SAAJ/SOAPConnection that I use to send a
web service request to an external provider, through SSL, with
proxy-auth and basic-auth. This works fine. When I use Ethereal to
monitor the protocol, I see the initial HTTP packet sending the
Proxy-Authorization, Authorizat
ginal Message-
> From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 16, 2006 3:05 PM
> To: Jakarta Commons Users List
> Subject: Re: [httpclient] SOAP req with SSL, proxy auth, and
> basic authdoesn't send basic auth or SOAPAction headers
>
Never mind, I was able to read the response properly.
> -Original Message-
> From: Karr, David
> Sent: Wednesday, August 16, 2006 4:31 PM
> To: Jakarta Commons Users List
> Subject: RE: [httpclient] SOAP req with SSL, proxy auth, and
> basic authdoesn't send b
gt; Subject: Re: [httpclient] SOAP req with SSL, proxy auth, and
> basic authdoesn't send basic auth or SOAPAction headers
>
> On Wed, 2006-08-16 at 14:27 -0700, Karr, David wrote:
> > I have a standalone tool using SAAJ/SOAPConnection that I
> use to send
> > a
Spring 1.2.1, commons-chain 1.0, JDK 1.4.2, WebLogic 8.1.4.
I have a relatively simple chain in a large Spring application context.
I've realized that somewhat near the end of the chain, I need to be able
to "skip" one or more commands, and at least one of those commands is a
reusable parameterize
I have a jelly script using jelly:sql. It works well. I now have to
add TIMESTAMP columns to a bunch of tables I'm defining in the script,
and I want to define a single value at the top of the script,
representing the current time value, and insert that in all my "insert"
references.
I've define
This may seem strange, but is it possible to make HttpClient NOT send
the "Proxy-Connection: Keep-Alive" header?
I'm trying to write a test tool to load test an outside web service, but
doing it in a way that is somewhat consistent with an internal
application that will be calling that outside web
"Proxy-Connection: Keep-Alive" when it connects to the external host.
I even tried overriding the "shouldCloseConnection" method to return
true, in both classes. Still no effect.
> -Original Message-
> From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED]
> Sent: Tu
ist
> Subject: RE: How to make HttpClient NOT send
> "Proxy-Connection: Keep-Alive"?
>
> On Tue, 2006-09-05 at 09:12 -0700, Karr, David wrote:
> > I'm confused. This seemed like it would work. I added two
> > subclasses, one called "GetMethodNo
ect: RE: How to make HttpClient NOT send
> "Proxy-Connection: Keep-Alive"?
>
> On Tue, 2006-09-05 at 10:09 -0700, Karr, David wrote:
> > Well, the URL I'm going to is using https, but I'm not
> doing anything
> > specific with SSL in the HttpClient
t; Sent: Tuesday, September 05, 2006 11:25 AM
> To: Jakarta Commons Users List
> Subject: RE: How to make HttpClient NOT send
> "Proxy-Connection: Keep-Alive"?
>
> On Tue, 2006-09-05 at 11:02 -0700, Karr, David wrote:
> > Acknowledged.
> >
>
> >
send
> "Proxy-Connection: Keep-Alive"?
>
> On Tue, 2006-09-05 at 14:21 -0700, Karr, David wrote:
> > Sigh.
> >
> > Adding the "Connection: close" header didn't help. In
> fact, I don't
> > even see it in Ethereal. I don't
ct: RE: How to make HttpClient NOT send
> "Proxy-Connection: Keep-Alive"?
>
> On Wed, 2006-09-06 at 06:32 -0700, Karr, David wrote:
> > Ok, how do I diagnose that, and is there anything I can do
> about it?
> >
>
> David,
>
> Actually, SSL sess
ection: Keep-Alive"?
>
> On Thu, 2006-09-07 at 08:48 -0700, Karr, David wrote:
> > I thought I'd gone through this explanation already.
> >
> > I have an application that is a web service, which when
> invoked, will
> > send two consecutive requests to
6 9:37 AM
> To: Jakarta Commons Users List
> Subject: RE: How to make HttpClient NOT send
> "Proxy-Connection: Keep-Alive"?
>
> On Thu, 2006-09-07 at 09:31 -0700, Karr, David wrote:
> > Just before sending the http request, I tried setting the session
> > context
I have a large dbinit script written in Jelly. I ended up having my
"insert" tag have a sql:update tag inside of a sql:transaction tag.
This works, but my script is quite large, and I'm wondering about ways
to optimize it.
I imagine I could restructure the entire script so that a single
"sql:tran
> -Original Message-
> From: Karr, David
> Sent: Tuesday, December 19, 2006 11:23 AM
> To: Jakarta Commons Users List
> Subject: [jelly] What happens if sql:update isn't wrapped
> with a sql:transaction element?
>
> I have a large dbinit script written in Je
h insert is on a single
transaction.
> -----Original Message-
> From: Karr, David
> Sent: Tuesday, December 19, 2006 12:33 PM
> To: Jakarta Commons Users List
> Subject: RE: [jelly] What happens if sql:update isn't wrapped
> with a sql:transaction element?
>
> >
I have a Jelly script that puts the current time into a string. It
works ok, but I'm realizing I need to convert the time to GMT before
putting it into the string. It's straightforward to do this in Java,
but I'm having trouble figuring out how to do this in the limited Java
syntax in Jelly.
In
Below.
> -Original Message-
> From: Dion Gillard [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 26, 2007 3:18 AM
> To: Jakarta Commons Users List
> Subject: Re: [jelly] How to build a date object with current
> time in GMT?
>
> On 1/26/07, Karr, David &
Below.
> -Original Message-
> From: Dion Gillard [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 26, 2007 6:47 AM
> To: Jakarta Commons Users List
> Subject: Re: [jelly] How to build a date object with current
> time in GMT?
>
> On 1/27/07, Karr, David &
I know that there are several related tools in this area, but I'm not
sure from a superficial look exactly which one I need.
I just need to have a string with occurrences of substrings like
"${foo}", and I need to be able to replace that with a value specified
at run time. I need to do this direc
substitute marked
> expressions in a string?
>
> On 2/28/07, Karr, David <[EMAIL PROTECTED]> wrote:
> > I know that there are several related tools in this area,
> but I'm not
> > sure from a superficial look exactly which one I need.
> >
> > I just need
I have a large Jelly-SQL script (about 3.8 mb) that just does SQL calls
to insert rows into a database. Each row it inserts is pretty small,
but it inserts a lot of rows (relatively). It currently inserts about
18000 rows. What I'm finding is that the script won't even run on
Windows (2 gig proc
the SQL script and not load it as a string but this would
> mean to decompose the lines in an appropriate way. I do not
> know how that could be done. If you know of a generic way,
> let's open a jira issue and work on that, it'd be easy.
>
> thanks
>
> paul
&g
.hp.com/products1/unix/java/hpjmeter/) to see what was allocated ?
>
> cheers
>
> paul
>
>
> Le 10 juil. 07 à 01:18, Karr, David a écrit :
>
> > Each insert is a separate "call" to a separate "insert" tag that I
> > defined i
52 matches
Mail list logo