struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Wyatt" <jwy...@itree.com.au>
Subject RE: [S2] Struts2, JDK 1.4, retrotranslator
Date Fri, 01 Jun 2007 03:49:53 GMT
By the way, the application works fine under tomcat 5.5 with JDK 1.5, with
the normal struts-core and xworks jars and no retrotranslator jars.


-----Original Message-----
From: Jason Wyatt [mailto:jwyatt@itree.com.au] 
Sent: Friday, 1 June 2007 12:09 PM
To: 'Struts Users Mailing List'
Subject: [S2] Struts2, JDK 1.4, retrotranslator

Hi, I'm trying to deploy Struts 2 on Oracle Application Server 9i, which
uses JDK1.4, and I'm getting an error:

Caused by: java.lang.UnsupportedClassVersionError:
org/apache/struts2/codebehind/CodebehindUnknownHandler (Unsupported
major.minor version 49.0)
 
I included the backported Struts 2 and retrotranslator libraries and removed
the j5 equivalent struts-core and xwork jars. 

I'm wondering if I need to backport some other jars?

The full stack trace:

500 Internal Server Error

Unable to load bean: type:com.opensymphony.xwork2.UnknownHandler
class:org.apache.struts2.codebehind.CodebehindUnknownHandler - bean -
jndi:/opt/oracle/product/9.0.4/j2ee/IACD2b/applications/iacd/iacd/WEB-INF/li
b/struts2-codebehind-plugin-2.0.6.jar/struts-plugin.xml:8:-1
	at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(X
mlConfigurationProvider.java:209)
	at
org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlC
onfigurationProvider.java:101)
	at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfi
guration.java:131)
	at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(Configu
rationManager.java:52)
	at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatche
r.java:398)
	at
org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:455)
	at
org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:20
1)
	at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.1.0)].server.http.HttpApplication.getFilterConfig(HttpApplication.jav
a:7432)
	at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.1.0)].server.http.FileRequestDispatcher.handleWithFilter(FileRequestD
ispatcher.java:50)
	at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.1.0)].server.http.FileRequestDispatcher.forwardInternal(FileRequestDi
spatcher.java:192)
	at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandle
r.java:788)
	at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
	at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
	at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableRe
sourcePooledExecutor.java:192)
	at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.UnsupportedClassVersionError:
org/apache/struts2/codebehind/CodebehindUnknownHandler (Unsupported
major.minor version 49.0)
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
	at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
	at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.1.0)].util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureClassLoad
er.java:172)
	at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.1.0)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1
154)
	at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.1.0)].naming.ContextClassLoader.findClass(ContextClassLoader.java:390
)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.1.0)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:138
)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
	at
com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:
139)
	at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(X
mlConfigurationProvider.java:181)


Thanks a lot,
Jason


-----
Falun Dafa  Truth - Compassion - Forbearance

A mind & body practice under persecution in China

http://www.faluninfo.net




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





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


Mime
View raw message