Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » XSL Tools - Transformation Run Configuration
XSL Tools - Transformation Run Configuration [message #221094] Tue, 09 September 2008 16:11 Go to next message
Matthew Hailstone is currently offline Matthew HailstoneFriend
Messages: 2
Registered: July 2009
Junior Member
------------------------------------------------------------ -----------
Environment:
Eclipse Platform Version: 3.4.0 Build id: I20080617-2000
XSL Tools SDK (Incubating) Version:
0.5.0.v20080804-07949-GB7ZHO-jcQcGiURfiqP7xT

------------------------------------------------------------ -----------
XSL Run Configuration:

XML Input File (Workspace file specified)
Transformation Pipeline (Workspace file specified)


Xalan 2.7.1


(Defaults)


(Workspace Default - jre1.6.0_07)


JRE System Library
log4j.jar
Folder containing log4j.properties


Default (XML Input file and folder containing log4j.properties)


(Default)

------------------------------------------------------------ -----------
log4j.properties:
log4j.rootCategory=DEBUG, R, O

# Stdout
log4j.appender.O=org.apache.log4j.ConsoleAppender

# File
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=log4j.log

# Control the maximum log file size
log4j.appender.R.MaxFileSize=100KB

# Archive log files (one backup file here)
log4j.appender.R.MaxBackupIndex=1

log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.O.layout=org.apache.log4j.PatternLayout

log4j.appender.R.layout.ConversionPattern=%5p%6.6r%x -
%C.%M(%F:%L) - %m%n
log4j.appender.O.layout.ConversionPattern=%5p%6.6r[%t]%x -
%C.%M(%F:%L) - %m%n

------------------------------------------------------------ -----------
Result:
java.lang.ExceptionInInitializerError
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: No suitable Log
constructor [Ljava.lang.Class;@173831b for
org.apache.commons.logging.impl.Log4JLogger (Caused by
java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by
org.apache.commons.logging.LogConfigurationException: No suitable Log
constructor [Ljava.lang.Class;@173831b for
org.apache.commons.logging.impl.Log4JLogger (Caused by
java.lang.NoClassDefFoundError: org/apache/log4j/Category))
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.java:543)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.java:235)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java :351)
at org.eclipse.wst.xsl.invoker.Main.<clinit>(Main.java:31)
Caused by: org.apache.commons.logging.LogConfigurationException: No
suitable Log constructor [Ljava.lang.Class;@173831b for
org.apache.commons.logging.impl.Log4JLogger (Caused by
java.lang.NoClassDefFoundError: org/apache/log4j/Category)
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryImpl.java:413)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.java:529)
... 4 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.getConstructor(Unknown Source)
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryImpl.java:410)
... 5 more
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Category
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 10 more
Exception in thread "main"
Re: XSL Tools - Transformation Run Configuration [message #221110 is a reply to message #221094] Tue, 09 September 2008 16:41 Go to previous messageGo to next message
Matthew Hailstone is currently offline Matthew HailstoneFriend
Messages: 2
Registered: July 2009
Junior Member
I should have noted that the expected result is to have it work. :)

Also, the only reason I'm including the log4j stuff is because without it,
I still get the log4j initialization exception.

Is the default run configuration dependent on log4j?

Thanks for any insight into what I may be doing wrong.

(I have used the orangevolt transform plugin, and I liked it very much,
but I was really wanting to use the built-in Eclipse functionality.)

Matthew
Re: XSL Tools - Transformation Run Configuration [message #221137 is a reply to message #221110] Tue, 09 September 2008 18:49 Go to previous message
Eclipse UserFriend
Originally posted by: dcarver.starstandard.org

Matthew Hailstone wrote:
> I should have noted that the expected result is to have it work. :)
>
> Also, the only reason I'm including the log4j stuff is because without
> it, I still get the log4j initialization exception.
>
> Is the default run configuration dependent on log4j?
>
> Thanks for any insight into what I may be doing wrong.
>
> (I have used the orangevolt transform plugin, and I liked it very much,
> but I was really wanting to use the built-in Eclipse functionality.)
>
> Matthew
>

Have you tried updating to the release version of XSL Tools:

http://download.eclipse.org/webtools/downloads/drops/R0.5/R- 0.5-20080820002020/

You should be able to update through Software Updates as well to upgrade
your existing XSL Tools installation.

If you are continuing to have problems, please open a bugzilla request
with your logs, and steps to reproduce.

Dave
Previous Topic:error adding wtp to clean update java eclipse ganymede
Next Topic:Re: Scripting headless export of WAR file
Goto Forum:
  


Current Time: Thu Mar 28 23:13:04 GMT 2024

Powered by FUDForum. Page generated in 0.01849 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top