You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Davanum Srinivas <da...@gmail.com> on 2004/11/04 12:42:12 UTC
Commons Logging problem?
Aaron,
Here's my paste: http://rafb.net/paste/results/I89rnj81.html. If you
look closely, there's some problem loading commons logging stuff in
your environment.
24: [java] [DEBUG] Finding class org.apache.commons.logging.LogFactory
25: [java] [DEBUG] Class org.apache.commons.logging.LogFactory
loaded from ant loader
26: [java] [DEBUG] Class java.security.PrivilegedAction loaded from
parent loader
27: [java] [DEBUG] Finding class
org.apache.commons.logging.LogConfigurationException
On my line 25: maven/ant is able to load the
org.apache.commons.logging.LogFactory class.
24: [java] [DEBUG] Finding class org.apache.commons.logging.LogFactory
25: [java] [ERROR] java.lang.NoClassDefFoundError
26: [ant] [DEBUG] +User task: propertyfile
org.apache.tools.ant.taskdefs.optional.PropertyFile
27: [ant] [DEBUG] +User task: vsscheckin
org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKIN
while on your line 25 (http://rafb.net/paste/results/I89rnj81.html)
there's a java.lang.NoClassDefFoundError...so i believe you have a
rogus commons-logging somewhere that is causing this problem. As you
mentioed you don't have a problem running the
"org.apache.geronimo.ews.ws4j2ee.utils.packager.Packager" task from
the command line which further reinforces this notion of mine.....
-- dims
--
Davanum Srinivas - http://webservices.apache.org/~dims/
Re: Commons Logging problem?
Posted by Aaron Mulder <am...@alumni.princeton.edu>.
It works for me now. Thank you very much!
I guess maybe one of our (by which I mean David B's) standard
builds should wipe out its maven repository before building. The "first
time developer" experience.
Aaron
On Thu, 4 Nov 2004, Davanum Srinivas wrote:
> Yoohoo!!! Fixed it. adding a rm -rf to my build script to make sure
> this does not happen again.
>
> thanks,
> dims
>
>
> On Thu, 4 Nov 2004 08:12:25 -0500 (EST), Aaron Mulder
> <am...@alumni.princeton.edu> wrote:
> > Can you first grep
> > modules/axis/target/generated/samples/echo-war/build.xml for logging and
> > see if you have an include for it?
> >
> > Thanks,
> >
> >
> > Aaron
> >
> > On Thu, 4 Nov 2004, Davanum Srinivas wrote:
> > > hmmm...let me check by cleaning up my axis repo.
> > >
> > >
> > > On Thu, 4 Nov 2004 08:08:12 -0500 (EST), Aaron Mulder
> > > <am...@alumni.princeton.edu> wrote:
> > > > No, never mind, I jsut had a corrupted EWS download that time.
> > > >
> > > > OK, so how I'm looking at the build script for
> > > > modules/axis/target/generated/samples/echo-war/build.xml
> > > >
> > > > It doesn't list commons-logging in the <path id="classpath">
> > > > section. If you still have a commons-logging in
> > > > ~/.maven/repository/axis/jars then it will work, but I don't.
> > > >
> > > >
> > > >
> > > > Aaron
> > > >
> > > > On Thu, 4 Nov 2004, Aaron Mulder wrote:
> > > > > Believe it or not, it looks like only the first JAR in the
> > > > > dependency list is getting onto the classpath. When I put a little
> > > > > wrapper JAR there first, none of the EWS stuff could be loaded. If I take
> > > > > that away, EWS is first and Logging can't be loaded. I need to figure out
> > > > > WTF is going on with this environment. Sorry for taking so much of your
> > > > > time on it!
> > > > >
> > > > > Aaron
> > > > >
> > > > > On Thu, 4 Nov 2004, Davanum Srinivas wrote:
> > > > > > Aaron,
> > > > > >
> > > > > > Here's my paste: http://rafb.net/paste/results/I89rnj81.html. If you
> > > > > > look closely, there's some problem loading commons logging stuff in
> > > > > > your environment.
> > > > > >
> > > > > > 24: [java] [DEBUG] Finding class org.apache.commons.logging.LogFactory
> > > > > > 25: [java] [DEBUG] Class org.apache.commons.logging.LogFactory
> > > > > > loaded from ant loader
> > > > > > 26: [java] [DEBUG] Class java.security.PrivilegedAction loaded from
> > > > > > parent loader
> > > > > > 27: [java] [DEBUG] Finding class
> > > > > > org.apache.commons.logging.LogConfigurationException
> > > > > >
> > > > > > On my line 25: maven/ant is able to load the
> > > > > > org.apache.commons.logging.LogFactory class.
> > > > > >
> > > > > > 24: [java] [DEBUG] Finding class org.apache.commons.logging.LogFactory
> > > > > > 25: [java] [ERROR] java.lang.NoClassDefFoundError
> > > > > > 26: [ant] [DEBUG] +User task: propertyfile
> > > > > > org.apache.tools.ant.taskdefs.optional.PropertyFile
> > > > > > 27: [ant] [DEBUG] +User task: vsscheckin
> > > > > > org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKIN
> > > > > >
> > > > > > while on your line 25 (http://rafb.net/paste/results/I89rnj81.html)
> > > > > > there's a java.lang.NoClassDefFoundError...so i believe you have a
> > > > > > rogus commons-logging somewhere that is causing this problem. As you
> > > > > > mentioed you don't have a problem running the
> > > > > > "org.apache.geronimo.ews.ws4j2ee.utils.packager.Packager" task from
> > > > > > the command line which further reinforces this notion of mine.....
> > > > > >
> > > > > > -- dims
> > > > > >
> > > > > > --
> > > > > > Davanum Srinivas - http://webservices.apache.org/~dims/
> > > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > > Davanum Srinivas - http://webservices.apache.org/~dims/
> > >
> >
>
>
> --
> Davanum Srinivas - http://webservices.apache.org/~dims/
>
Re: Commons Logging problem?
Posted by Davanum Srinivas <da...@gmail.com>.
Yoohoo!!! Fixed it. adding a rm -rf to my build script to make sure
this does not happen again.
thanks,
dims
On Thu, 4 Nov 2004 08:12:25 -0500 (EST), Aaron Mulder
<am...@alumni.princeton.edu> wrote:
> Can you first grep
> modules/axis/target/generated/samples/echo-war/build.xml for logging and
> see if you have an include for it?
>
> Thanks,
>
>
> Aaron
>
> On Thu, 4 Nov 2004, Davanum Srinivas wrote:
> > hmmm...let me check by cleaning up my axis repo.
> >
> >
> > On Thu, 4 Nov 2004 08:08:12 -0500 (EST), Aaron Mulder
> > <am...@alumni.princeton.edu> wrote:
> > > No, never mind, I jsut had a corrupted EWS download that time.
> > >
> > > OK, so how I'm looking at the build script for
> > > modules/axis/target/generated/samples/echo-war/build.xml
> > >
> > > It doesn't list commons-logging in the <path id="classpath">
> > > section. If you still have a commons-logging in
> > > ~/.maven/repository/axis/jars then it will work, but I don't.
> > >
> > >
> > >
> > > Aaron
> > >
> > > On Thu, 4 Nov 2004, Aaron Mulder wrote:
> > > > Believe it or not, it looks like only the first JAR in the
> > > > dependency list is getting onto the classpath. When I put a little
> > > > wrapper JAR there first, none of the EWS stuff could be loaded. If I take
> > > > that away, EWS is first and Logging can't be loaded. I need to figure out
> > > > WTF is going on with this environment. Sorry for taking so much of your
> > > > time on it!
> > > >
> > > > Aaron
> > > >
> > > > On Thu, 4 Nov 2004, Davanum Srinivas wrote:
> > > > > Aaron,
> > > > >
> > > > > Here's my paste: http://rafb.net/paste/results/I89rnj81.html. If you
> > > > > look closely, there's some problem loading commons logging stuff in
> > > > > your environment.
> > > > >
> > > > > 24: [java] [DEBUG] Finding class org.apache.commons.logging.LogFactory
> > > > > 25: [java] [DEBUG] Class org.apache.commons.logging.LogFactory
> > > > > loaded from ant loader
> > > > > 26: [java] [DEBUG] Class java.security.PrivilegedAction loaded from
> > > > > parent loader
> > > > > 27: [java] [DEBUG] Finding class
> > > > > org.apache.commons.logging.LogConfigurationException
> > > > >
> > > > > On my line 25: maven/ant is able to load the
> > > > > org.apache.commons.logging.LogFactory class.
> > > > >
> > > > > 24: [java] [DEBUG] Finding class org.apache.commons.logging.LogFactory
> > > > > 25: [java] [ERROR] java.lang.NoClassDefFoundError
> > > > > 26: [ant] [DEBUG] +User task: propertyfile
> > > > > org.apache.tools.ant.taskdefs.optional.PropertyFile
> > > > > 27: [ant] [DEBUG] +User task: vsscheckin
> > > > > org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKIN
> > > > >
> > > > > while on your line 25 (http://rafb.net/paste/results/I89rnj81.html)
> > > > > there's a java.lang.NoClassDefFoundError...so i believe you have a
> > > > > rogus commons-logging somewhere that is causing this problem. As you
> > > > > mentioed you don't have a problem running the
> > > > > "org.apache.geronimo.ews.ws4j2ee.utils.packager.Packager" task from
> > > > > the command line which further reinforces this notion of mine.....
> > > > >
> > > > > -- dims
> > > > >
> > > > > --
> > > > > Davanum Srinivas - http://webservices.apache.org/~dims/
> > > > >
> > > >
> > >
> >
> >
> > --
> > Davanum Srinivas - http://webservices.apache.org/~dims/
> >
>
--
Davanum Srinivas - http://webservices.apache.org/~dims/
Re: Commons Logging problem?
Posted by Davanum Srinivas <da...@gmail.com>.
hmmm...let me check by cleaning up my axis repo.
On Thu, 4 Nov 2004 08:08:12 -0500 (EST), Aaron Mulder
<am...@alumni.princeton.edu> wrote:
> No, never mind, I jsut had a corrupted EWS download that time.
>
> OK, so how I'm looking at the build script for
> modules/axis/target/generated/samples/echo-war/build.xml
>
> It doesn't list commons-logging in the <path id="classpath">
> section. If you still have a commons-logging in
> ~/.maven/repository/axis/jars then it will work, but I don't.
>
>
>
> Aaron
>
> On Thu, 4 Nov 2004, Aaron Mulder wrote:
> > Believe it or not, it looks like only the first JAR in the
> > dependency list is getting onto the classpath. When I put a little
> > wrapper JAR there first, none of the EWS stuff could be loaded. If I take
> > that away, EWS is first and Logging can't be loaded. I need to figure out
> > WTF is going on with this environment. Sorry for taking so much of your
> > time on it!
> >
> > Aaron
> >
> > On Thu, 4 Nov 2004, Davanum Srinivas wrote:
> > > Aaron,
> > >
> > > Here's my paste: http://rafb.net/paste/results/I89rnj81.html. If you
> > > look closely, there's some problem loading commons logging stuff in
> > > your environment.
> > >
> > > 24: [java] [DEBUG] Finding class org.apache.commons.logging.LogFactory
> > > 25: [java] [DEBUG] Class org.apache.commons.logging.LogFactory
> > > loaded from ant loader
> > > 26: [java] [DEBUG] Class java.security.PrivilegedAction loaded from
> > > parent loader
> > > 27: [java] [DEBUG] Finding class
> > > org.apache.commons.logging.LogConfigurationException
> > >
> > > On my line 25: maven/ant is able to load the
> > > org.apache.commons.logging.LogFactory class.
> > >
> > > 24: [java] [DEBUG] Finding class org.apache.commons.logging.LogFactory
> > > 25: [java] [ERROR] java.lang.NoClassDefFoundError
> > > 26: [ant] [DEBUG] +User task: propertyfile
> > > org.apache.tools.ant.taskdefs.optional.PropertyFile
> > > 27: [ant] [DEBUG] +User task: vsscheckin
> > > org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKIN
> > >
> > > while on your line 25 (http://rafb.net/paste/results/I89rnj81.html)
> > > there's a java.lang.NoClassDefFoundError...so i believe you have a
> > > rogus commons-logging somewhere that is causing this problem. As you
> > > mentioed you don't have a problem running the
> > > "org.apache.geronimo.ews.ws4j2ee.utils.packager.Packager" task from
> > > the command line which further reinforces this notion of mine.....
> > >
> > > -- dims
> > >
> > > --
> > > Davanum Srinivas - http://webservices.apache.org/~dims/
> > >
> >
>
--
Davanum Srinivas - http://webservices.apache.org/~dims/
Re: Commons Logging problem?
Posted by Aaron Mulder <am...@alumni.princeton.edu>.
No, never mind, I jsut had a corrupted EWS download that time.
OK, so how I'm looking at the build script for
modules/axis/target/generated/samples/echo-war/build.xml
It doesn't list commons-logging in the <path id="classpath">
section. If you still have a commons-logging in
~/.maven/repository/axis/jars then it will work, but I don't.
Aaron
On Thu, 4 Nov 2004, Aaron Mulder wrote:
> Believe it or not, it looks like only the first JAR in the
> dependency list is getting onto the classpath. When I put a little
> wrapper JAR there first, none of the EWS stuff could be loaded. If I take
> that away, EWS is first and Logging can't be loaded. I need to figure out
> WTF is going on with this environment. Sorry for taking so much of your
> time on it!
>
> Aaron
>
> On Thu, 4 Nov 2004, Davanum Srinivas wrote:
> > Aaron,
> >
> > Here's my paste: http://rafb.net/paste/results/I89rnj81.html. If you
> > look closely, there's some problem loading commons logging stuff in
> > your environment.
> >
> > 24: [java] [DEBUG] Finding class org.apache.commons.logging.LogFactory
> > 25: [java] [DEBUG] Class org.apache.commons.logging.LogFactory
> > loaded from ant loader
> > 26: [java] [DEBUG] Class java.security.PrivilegedAction loaded from
> > parent loader
> > 27: [java] [DEBUG] Finding class
> > org.apache.commons.logging.LogConfigurationException
> >
> > On my line 25: maven/ant is able to load the
> > org.apache.commons.logging.LogFactory class.
> >
> > 24: [java] [DEBUG] Finding class org.apache.commons.logging.LogFactory
> > 25: [java] [ERROR] java.lang.NoClassDefFoundError
> > 26: [ant] [DEBUG] +User task: propertyfile
> > org.apache.tools.ant.taskdefs.optional.PropertyFile
> > 27: [ant] [DEBUG] +User task: vsscheckin
> > org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKIN
> >
> > while on your line 25 (http://rafb.net/paste/results/I89rnj81.html)
> > there's a java.lang.NoClassDefFoundError...so i believe you have a
> > rogus commons-logging somewhere that is causing this problem. As you
> > mentioed you don't have a problem running the
> > "org.apache.geronimo.ews.ws4j2ee.utils.packager.Packager" task from
> > the command line which further reinforces this notion of mine.....
> >
> > -- dims
> >
> > --
> > Davanum Srinivas - http://webservices.apache.org/~dims/
> >
>
Re: Commons Logging problem?
Posted by Davanum Srinivas <da...@gmail.com>.
No problem at all, on the upside, ews cvs/build now uses the same
commons-logging that geronimo does AND there are a whole bunch of
printStackTrace and log.error to make it easy the next time Axis/EWS
breaks something :)
-- dims
On Thu, 4 Nov 2004 07:43:57 -0500 (EST), Aaron Mulder
<am...@alumni.princeton.edu> wrote:
> Believe it or not, it looks like only the first JAR in the
> dependency list is getting onto the classpath. When I put a little
> wrapper JAR there first, none of the EWS stuff could be loaded. If I take
> that away, EWS is first and Logging can't be loaded. I need to figure out
> WTF is going on with this environment. Sorry for taking so much of your
> time on it!
>
> Aaron
>
>
>
> On Thu, 4 Nov 2004, Davanum Srinivas wrote:
> > Aaron,
> >
> > Here's my paste: http://rafb.net/paste/results/I89rnj81.html. If you
> > look closely, there's some problem loading commons logging stuff in
> > your environment.
> >
> > 24: [java] [DEBUG] Finding class org.apache.commons.logging.LogFactory
> > 25: [java] [DEBUG] Class org.apache.commons.logging.LogFactory
> > loaded from ant loader
> > 26: [java] [DEBUG] Class java.security.PrivilegedAction loaded from
> > parent loader
> > 27: [java] [DEBUG] Finding class
> > org.apache.commons.logging.LogConfigurationException
> >
> > On my line 25: maven/ant is able to load the
> > org.apache.commons.logging.LogFactory class.
> >
> > 24: [java] [DEBUG] Finding class org.apache.commons.logging.LogFactory
> > 25: [java] [ERROR] java.lang.NoClassDefFoundError
> > 26: [ant] [DEBUG] +User task: propertyfile
> > org.apache.tools.ant.taskdefs.optional.PropertyFile
> > 27: [ant] [DEBUG] +User task: vsscheckin
> > org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKIN
> >
> > while on your line 25 (http://rafb.net/paste/results/I89rnj81.html)
> > there's a java.lang.NoClassDefFoundError...so i believe you have a
> > rogus commons-logging somewhere that is causing this problem. As you
> > mentioed you don't have a problem running the
> > "org.apache.geronimo.ews.ws4j2ee.utils.packager.Packager" task from
> > the command line which further reinforces this notion of mine.....
> >
> > -- dims
> >
> > --
> > Davanum Srinivas - http://webservices.apache.org/~dims/
> >
>
--
Davanum Srinivas - http://webservices.apache.org/~dims/
Re: Commons Logging problem?
Posted by Aaron Mulder <am...@alumni.princeton.edu>.
Believe it or not, it looks like only the first JAR in the
dependency list is getting onto the classpath. When I put a little
wrapper JAR there first, none of the EWS stuff could be loaded. If I take
that away, EWS is first and Logging can't be loaded. I need to figure out
WTF is going on with this environment. Sorry for taking so much of your
time on it!
Aaron
On Thu, 4 Nov 2004, Davanum Srinivas wrote:
> Aaron,
>
> Here's my paste: http://rafb.net/paste/results/I89rnj81.html. If you
> look closely, there's some problem loading commons logging stuff in
> your environment.
>
> 24: [java] [DEBUG] Finding class org.apache.commons.logging.LogFactory
> 25: [java] [DEBUG] Class org.apache.commons.logging.LogFactory
> loaded from ant loader
> 26: [java] [DEBUG] Class java.security.PrivilegedAction loaded from
> parent loader
> 27: [java] [DEBUG] Finding class
> org.apache.commons.logging.LogConfigurationException
>
> On my line 25: maven/ant is able to load the
> org.apache.commons.logging.LogFactory class.
>
> 24: [java] [DEBUG] Finding class org.apache.commons.logging.LogFactory
> 25: [java] [ERROR] java.lang.NoClassDefFoundError
> 26: [ant] [DEBUG] +User task: propertyfile
> org.apache.tools.ant.taskdefs.optional.PropertyFile
> 27: [ant] [DEBUG] +User task: vsscheckin
> org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKIN
>
> while on your line 25 (http://rafb.net/paste/results/I89rnj81.html)
> there's a java.lang.NoClassDefFoundError...so i believe you have a
> rogus commons-logging somewhere that is causing this problem. As you
> mentioed you don't have a problem running the
> "org.apache.geronimo.ews.ws4j2ee.utils.packager.Packager" task from
> the command line which further reinforces this notion of mine.....
>
> -- dims
>
> --
> Davanum Srinivas - http://webservices.apache.org/~dims/
>