You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2006/03/13 20:10:58 UTC
DO NOT REPLY [Bug 38955] New: - Example application doesn't deploy
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38955
Summary: Example application doesn't deploy
Product: Struts
Version: Unknown
Platform: Other
OS/Version: other
Status: NEW
Severity: critical
Priority: P1
Component: Faces
AssignedTo: dev@struts.apache.org
ReportedBy: roland@gisplan.com.br
Hello,
I'm running Apache Tomcat/4.1.31
And java version "1.4.2_06" on Linux.
I'm trying to deploy the example applications which come with
struts-faces-20060313 nightly but I get the following errors:
2006-03-13 14:45:44 WebappLoader[/struts-faces-example2]: Deploy JAR
/WEB-INF/lib/struts-faces.jar to
/var/roland/CATALINA_BASE/webapps/struts-faces-example2/WEB-INF/lib/struts-faces.jar
2006-03-13 14:45:44 WebappLoader[/struts-faces-example2]: Deploy JAR
/WEB-INF/lib/struts.jar to
/var/roland/CATALINA_BASE/webapps/struts-faces-example2/WEB-INF/lib/struts.jar
2006-03-13 14:45:44 StandardManager[/struts-faces-example2]: Seeding random
number generator class java.security.SecureRandom
2006-03-13 14:45:44 StandardManager[/struts-faces-example2]: Seeding of random
number generator has been completed
2006-03-13 14:45:46 StandardContext[/struts-faces-example2]: Exception sending
context initialized event to listener instance of class
com.sun.faces.config.ConfigureListener
java.lang.UnsupportedClassVersionError:
org/apache/struts/faces/application/ActionListenerImpl (Unsupported major.minor
version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1649)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:931)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1373)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1252)
at com.sun.faces.util.Util.loadClass(Util.java:403)
at com.sun.faces.util.Util.createInstance(Util.java:1150)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:460)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:402)
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:332)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3212)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3554)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:774)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:548)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:260)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:741)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:445)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:353)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:671)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1149)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:707)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)
at org.apache.catalina.startup.Catalina.start(Catalina.java:463)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)
2006-03-13 14:45:46 StandardContext[/struts-faces-example2]: Context startup
failed due to previous errors
2006-03-13 14:45:46 StandardHost[localhost]: ContainerBase.addChild: start:
LifecycleException: Context startup failed due to previous errors
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3578)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:774)
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
DO NOT REPLY [Bug 38955] - [struts-faces] Example application doesn't deploy
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38955
wsmoak@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From wsmoak@apache.org 2006-03-28 03:48 -------
Fixed in r389368 for the 20060328 nightly build.
http://svn.apache.org/viewcvs?rev=389368&view=rev
I added source and target attributes to all the javac tasks, so we should now be
targetting 1.3 for all the binaries. Both examples deploy and work in Tomcat
4.1.31 w/ JDK 1.4.2 even though I built the project with 1.5.0.
Thanks for your patience. :)
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
DO NOT REPLY [Bug 38955] - [struts-faces] Example application doesn't deploy
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38955
------- Additional Comments From wsmoak@apache.org 2006-03-16 00:29 -------
(In reply to comment #1)
> The problem is that the struts-faces.jar was compiled with a higher java
> version(probably java 5.0). Please fix this.
Adding source and target attributes to the javac task should fix it.
default.properties
# Java platform version which source code must conform to
platform.source=1.4
# Java platform version which generated class files must conform to
platform.target=1.4
build.xml
<property file="../default.properties"/>
...
<!-- Compile Java Sources -->
<javac srcdir="src/java"
destdir="${build.home}/classes"
debug="${compile.debug}"
deprecation="${compile.deprecation}"
optimize="${compile.optimize}"
source="${platform.source}"
target="${platform.target}">
<classpath refid="compile.classpath" />
</javac>
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
DO NOT REPLY [Bug 38955] - [struts-faces] Example application doesn't deploy
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38955
------- Additional Comments From roland@gisplan.com.br 2006-03-15 23:53 -------
The problem is that the struts-faces.jar was compiled with a higher java
version(probably java 5.0). Please fix this.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
DO NOT REPLY [Bug 38955] - [struts-faces] Example application doesn't deploy
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38955
roland@gisplan.com.br changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Example application doesn't |[struts-faces] Example
|deploy |application doesn't deploy
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
DO NOT REPLY [Bug 38955] - [struts-faces] Example application doesn't deploy
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38955
------- Additional Comments From wsmoak@apache.org 2006-03-16 00:37 -------
(In reply to comment #2)
> default.properties
> # Java platform version which source code must conform to
> platform.source=1.4
> # Java platform version which generated class files must conform to
> platform.target=1.4
I copied that from Shale, but I believe Struts Faces should target 1.3 instead.
Craig, is that correct?
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org