Thanks it works perfectly now !!! :)loading my log4j and not the cf
one
I tried
jl = createObject(component, JavaLoader).init(paths,
JavaCast(null, ));
but it actually passes the second parameter as null which will not set
the argument but will set the argument to its default value... I
Andrea -
What do you mean by 'loading all the java libraries' ?
You will still have access to all the core java libraries with the
workaround I have mentioned, all you are doing is removing access to
the CF classpath, which is all the jars that are loaded with the CF
install, and I can't see
classes loaded at runtime?
-Original Message-
From: Mark Mandel [EMAIL PROTECTED]
To: cfaussie@googlegroups.com
Date: Thu, 30 Nov 2006 10:01:07 +1100
Subject: [cfaussie] Re: java classpaths etc etc
Why not -
Have you newer version of log4j.jar sitting
]
To: cfaussie@googlegroups.com
Date: Thu, 30 Nov 2006 10:26:05 +1100
Subject: [cfaussie] Re: java classpaths etc etc
The neat thing is - The CF classpath doesn't even see the new version
of log4j - you've think of it as your own personal classpath that
you've loaded externally.
(Which
]
To: cfaussie@googlegroups.com
Date: Wed, 29 Nov 2006 16:12:10 +1100
Subject: [cfaussie] Re: java classpaths etc etc
Drew,
I'd load it all up with JavaLoader
http://www.compoundtheory.com/?action=javaloader.index
with the latest log4j in it.
I've done it with Hibernate, and it works
-Original Message-
From: Andrea [EMAIL PROTECTED]
To: cfaussie cfaussie@googlegroups.com
Date: Wed, 29 Nov 2006 14:28:22 -0800
Subject: [cfaussie] Re: java classpaths etc etc
First of all I believe that if you are using a jar file, surely you
must have the source code
Can you get
PROTECTED]
To: cfaussie@googlegroups.com
Date: Thu, 30 Nov 2006 09:33:44 +1100
Subject: [cfaussie] Re: java classpaths etc etc
Andrea -
That's alot of work! Wow!
I'm guessing then that whatever he is also using with log4j he's going
to have to refactor as well. Ouch!
Using an external
how I go.
cheers
Drew
-Original Message-
From: Mark Mandel [EMAIL PROTECTED]
To: cfaussie@googlegroups.com
Date: Wed, 29 Nov 2006 16:12:10 +1100
Subject: [cfaussie] Re: java classpaths etc etc
Drew,
I'd load it all up
2006 10:01:07 +1100
Subject: [cfaussie] Re: java classpaths etc etc
Why not -
Have you newer version of log4j.jar sitting where you want it, and then
go -
paths = ArrayNew(1);
paths[1] = expandPath(log4j.jar) //newest version
paths[2] = expandPath(my3rdPartyAPI.jar) //your api
jl
Message-
From: Mark Mandel [EMAIL PROTECTED]
To: cfaussie@googlegroups.com
Date: Thu, 30 Nov 2006 10:01:07 +1100
Subject: [cfaussie] Re: java classpaths etc etc
Why not -
Have you newer version of log4j.jar sitting where you want it, and then
go -
paths = ArrayNew(1);
paths[1
@googlegroups.com
Date: Thu, 30 Nov 2006 10:26:05 +1100
Subject: [cfaussie] Re: java classpaths etc etc
The neat thing is - The CF classpath doesn't even see the new version
of log4j - you've think of it as your own personal classpath that
you've loaded externally.
(Which is essentially what you've done
Hey Mark
Thanks, I'll give that a read and see how I go.
cheers
Drew
-Original Message-
From: Mark Mandel [EMAIL PROTECTED]
To: cfaussie@googlegroups.com
Date: Wed, 29 Nov 2006 16:12:10 +1100
Subject: [cfaussie] Re: java classpaths etc etc
Drew,
I'd load it all up
12 matches
Mail list logo