tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Mixon (qwest)" <rnmi...@qwest.net>
Subject Tomcat 5.5.7 deployer ExceptionInInitializer error
Date Tue, 15 Feb 2005 08:31:27 GMT
When I use the client deployer to compile my web app I am getting this
error under SuSE Linux (SLES9). Under Windows XP it deploys fine.

It seems sort of puzzling as to why the deployer is running the Struts
org.apache.struts.util.MessageResources.getMessageResources during a
compile.

Here is a the output:


  ltojsw@kingfish:~/tc55-deployer> echo $JAVA_HOME
  /usr/java/jdk1.5.0_01
  ltojsw@kingfish:~/tc55-deployer> echo $ANT_HOME
  /opt/apache-ant-1.6.2
  ltojsw@kingfish:~/tc55-deployer> $ANT_HOME/bin/ant compile
  Buildfile: build.xml

  clean:

  compile:
       [copy] Copying 625 files to
/home/ltojsw/tc55-deployer/build/webapp/stars
    [jasper2] log4j:WARN No appenders could be found for logger
(org.apache.jasper.compiler.JspRuntimeContext).
    [jasper2] log4j:WARN Please initialize the log4j system properly.

  BUILD FAILED
  /home/ltojsw/tc55-deployer/build.xml:45:
java.lang.ExceptionInInitializerError

  Total time: 8 seconds

The  stack trace is below (running ant with -verbose flag).

Any idea would fix this?

Thank you - Richard

  [jasper2] Error in class org.apache.jasper.JspC

BUILD FAILED
/home/ltojsw/tc55-deployer/build.xml:45:
java.lang.ExceptionInInitializerError
        at
org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:131)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
        at org.apache.tools.ant.Main.runBuild(Main.java:673)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: java.lang.ExceptionInInitializerError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:164)
        at
org.apache.strutsel.taglib.html.ELFormTagBeanInfo.class$(ELFormTagBeanIn
fo.java:41)
        at
org.apache.strutsel.taglib.html.ELFormTagBeanInfo.getPropertyDescriptors
(ELFormTagBeanInfo.java:41)
        at
java.beans.Introspector.getTargetPropertyInfo(Introspector.java:475)
        at java.beans.Introspector.getBeanInfo(Introspector.java:385)
        at java.beans.Introspector.getBeanInfo(Introspector.java:155)
        at
org.apache.jasper.compiler.Generator$TagHandlerInfo.<init>(Generator.jav
a:3676)
        at
org.apache.jasper.compiler.Generator$GenerateVisitor.getTagHandlerInfo(G
enerator.java:2098)
        at
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.jav
a:1579)
        at
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        at
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
        at
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.jav
a:1685)
        at
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        at
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
        at
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.jav
a:1685)
        at
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        at
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
        at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
        at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        at
org.apache.jasper.compiler.Generator.generate(Generator.java:3268)
        at
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:189)
        at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
        at org.apache.jasper.JspC.processFile(JspC.java:854)
        at org.apache.jasper.JspC.execute(JspC.java:989)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123)
        ... 10 more
Caused by: java.lang.NullPointerException
        at
org.apache.struts.util.MessageResources.getMessageResources(MessageResou
rces.java:498)
        at
org.apache.struts.taglib.html.FormTag.<clinit>(FormTag.java:95)
        ... 44 more
--- Nested Exception ---
java.lang.ExceptionInInitializerError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:164)
        at
org.apache.strutsel.taglib.html.ELFormTagBeanInfo.class$(ELFormTagBeanIn
fo.java:41)
        at
org.apache.strutsel.taglib.html.ELFormTagBeanInfo.getPropertyDescriptors
(ELFormTagBeanInfo.java:41)
        at
java.beans.Introspector.getTargetPropertyInfo(Introspector.java:475)
        at java.beans.Introspector.getBeanInfo(Introspector.java:385)
        at java.beans.Introspector.getBeanInfo(Introspector.java:155)
        at
org.apache.jasper.compiler.Generator$TagHandlerInfo.<init>(Generator.jav
a:3676)
        at
org.apache.jasper.compiler.Generator$GenerateVisitor.getTagHandlerInfo(G
enerator.java:2098)
        at
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.jav
a:1579)
        at
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        at
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
        at
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.jav
a:1685)
        at
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        at
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
        at
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.jav
a:1685)
        at
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        at
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
        at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
        at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        at
org.apache.jasper.compiler.Generator.generate(Generator.java:3268)
        at
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:189)
        at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
        at org.apache.jasper.JspC.processFile(JspC.java:854)
        at org.apache.jasper.JspC.execute(JspC.java:989)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
        at org.apache.tools.ant.Main.runBuild(Main.java:673)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: java.lang.NullPointerException
        at
org.apache.struts.util.MessageResources.getMessageResources(MessageResou
rces.java:498)
        at
org.apache.struts.taglib.html.FormTag.<clinit>(FormTag.java:95)
        ... 44 more

Total time: 13 seconds
ltojsw@kingfish:~/tc55-deployer>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message