You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by jiangshachina <ji...@gmail.com> on 2007/05/31 10:40:05 UTC

Re: Why is struts2 called struts2 and not webworks2?

Hi,
Currently, WebWork is 2.2.5 released in April this year,
but Struts is 2.0.6 released in February this year.
Does it mean that just Struts uses WebWork's codes, but WebWork still has
its own roadmap?
Shortly, the two project isn't merged.
That's right?

a cup of Java, cheers!
Sha Jiang


Ted Husted wrote:
> 
> On 1/20/07, Zsolt Koppany <zk...@intland.com> wrote:
>> as far as I see struts2 has very little to do with struts1. Why is it
>> called
>> struts2 at all (and not webworks2)?
> 
> Essentially, Patrick Lightbody (of WebWork) suggested that instead of
> a WebWork 3, that we all work together on creating Struts 2, and the
> rest of us agreed.
> 
> For a summary, see
> 
> *
> http://www.oreillynet.com/onjava/blog/2006/10/my_history_of_struts_2.html
> 
> For  the nitty-gritty details, see
> 
> * http://opensource.atlassian.com/confluence/oss/display/STRUTS2/Home
> 
> -Ted.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Why-is-struts2-called-struts2-and-not-webworks2--tf3045999.html#a10889716
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: Why is struts2 called struts2 and not webworks2?

Posted by jiangshachina <ji...@gmail.com>.
Hello,
Thanks!
The reply resolved a puzzle in my mind :-)

If I want to use Struts2, then I just go to http://struts.apache.org/2.x/,
I needn't care Struts1 and WebWork.

a cup of Java, cheers!
Sha Jiang


Musachy Barroso wrote:
> 
> There is no new development going on in WW. You might see minor releases
> to
> fix bugs, but that's all. I might be off on this one, but I think 2.2.5 is
> the last release.
> 
> musachy
> 
> On 5/31/07, jiangshachina <ji...@gmail.com> wrote:
>>
>>
>> Hi,
>> Currently, WebWork is 2.2.5 released in April this year,
>> but Struts is 2.0.6 released in February this year.
>> Does it mean that just Struts uses WebWork's codes, but WebWork still has
>> its own roadmap?
>> Shortly, the two project isn't merged.
>> That's right?
>>
>> a cup of Java, cheers!
>> Sha Jiang
>>
>>
>> Ted Husted wrote:
>> >
>> > On 1/20/07, Zsolt Koppany <zk...@intland.com> wrote:
>> >> as far as I see struts2 has very little to do with struts1. Why is it
>> >> called
>> >> struts2 at all (and not webworks2)?
>> >
>> > Essentially, Patrick Lightbody (of WebWork) suggested that instead of
>> > a WebWork 3, that we all work together on creating Struts 2, and the
>> > rest of us agreed.
>> >
>> > For a summary, see
>> >
>> > *
>> >
>> http://www.oreillynet.com/onjava/blog/2006/10/my_history_of_struts_2.html
>> >
>> > For  the nitty-gritty details, see
>> >
>> > * http://opensource.atlassian.com/confluence/oss/display/STRUTS2/Home
>> >
>> > -Ted.
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> > For additional commands, e-mail: user-help@struts.apache.org
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Why-is-struts2-called-struts2-and-not-webworks2--tf3045999.html#a10889716
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
> 
> 
> -- 
> "Hey you! Would you help me to carry the stone?" Pink Floyd
> 
> 

-- 
View this message in context: http://www.nabble.com/Why-is-struts2-called-struts2-and-not-webworks2--tf3045999.html#a10904657
Sent from the Struts - User mailing list archive at Nabble.com.


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


RE: [S2] Struts2, JDK 1.4, retrotranslator

Posted by Jason Wyatt <jw...@itree.com.au>.
A few other jars were required to be retrotranslated after all... for the
record, to get Struts 2 working on JDK 1.4 on Oracle App Server 10R2 I had
to run retrotranslator on: 

Struts2-*.jar	(except struts2-core-j4-2.0.6.jar which was provided)
jsf-api.jar
jsf-impl.jar
tiles-api-2.0-20070207.130156-4.jar
tiles-core-2.0-20070207.130156-4.jar

OAS also needed el-api-2005-08-17.jar


Regards
Jason


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

Thanks Taras. 

I ran retrotranslator on each of the struts2 jars one-by-one, as they each
showed the same kind of version issue. 
Makes sense as they are all compiled for JDK 1.5. 

S2 now seems to be running OK on Oracle App Server 10R2. I only needed to
covert the struts2-*.jar files.

Regards
Jason



-----Original Message-----
From: Taras Puchko [mailto:taras.puchko@gmail.com]
Sent: Friday, 1 June 2007 5:08 PM
To: Struts Users Mailing List
Subject: Re: [S2] Struts2, JDK 1.4, retrotranslator

Hi, you have to translate struts2-codebehind-plugin-2.0.6.jar since the
distribution has only struts2-core-2.0.6.jar and xwork-2.0.1.jar translated.

Cheers,
Taras

On 5/31/07, Jason Wyatt <jw...@itree.com.au> wrote:
> 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.regi
> ster(X
> mlConfigurationProvider.java:209)
>        at
> org.apache.struts2.config.StrutsXmlConfigurationProvider.register(Stru
> tsXmlC
> onfigurationProvider.java:101)
>        at
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(Defaul
> tConfi
> guration.java:131)
>        at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(C
> onfigu
> rationManager.java:52)
>        at
> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dis
> patche
> r.java:398)
>        at
> org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:455)
>        at
> org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.j
> ava:20
> 1)
>        at com.evermind[Oracle Application Server Containers for J2EE 
> 10g 
> (9.0.4.1.0)].server.http.HttpApplication.getFilterConfig(HttpApplicati
> on.jav
> a:7432)
>        at com.evermind[Oracle Application Server Containers for J2EE 
> 10g 
> (9.0.4.1.0)].server.http.FileRequestDispatcher.handleWithFilter(FileRe
> questD
> ispatcher.java:50)
>        at com.evermind[Oracle Application Server Containers for J2EE 
> 10g 
> (9.0.4.1.0)].server.http.FileRequestDispatcher.forwardInternal(FileReq
> uestDi
> spatcher.java:192)
>        at com.evermind[Oracle Application Server Containers for J2EE 
> 10g 
> (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequest
> Handle
> 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(Releas
> ableRe
> 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(OC4JSecureCla
> ssLoad
> 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.ja
> va: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.ja
> va: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.regi
> ster(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





---------------------------------------------------------------------
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


RE: [S2] Struts2, JDK 1.4, retrotranslator

Posted by Jason Wyatt <jw...@itree.com.au>.
Thanks Taras. 

I ran retrotranslator on each of the struts2 jars one-by-one, as they each
showed the same kind of version issue. 
Makes sense as they are all compiled for JDK 1.5. 

S2 now seems to be running OK on Oracle App Server 10R2. I only needed to
covert the struts2-*.jar files.

Regards
Jason



-----Original Message-----
From: Taras Puchko [mailto:taras.puchko@gmail.com] 
Sent: Friday, 1 June 2007 5:08 PM
To: Struts Users Mailing List
Subject: Re: [S2] Struts2, JDK 1.4, retrotranslator

Hi, you have to translate struts2-codebehind-plugin-2.0.6.jar since the
distribution has only struts2-core-2.0.6.jar and xwork-2.0.1.jar translated.

Cheers,
Taras

On 5/31/07, Jason Wyatt <jw...@itree.com.au> wrote:
> 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.regi
> ster(X
> mlConfigurationProvider.java:209)
>        at
> org.apache.struts2.config.StrutsXmlConfigurationProvider.register(Stru
> tsXmlC
> onfigurationProvider.java:101)
>        at
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(Defaul
> tConfi
> guration.java:131)
>        at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(C
> onfigu
> rationManager.java:52)
>        at
> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dis
> patche
> r.java:398)
>        at
> org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:455)
>        at
> org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.j
> ava:20
> 1)
>        at com.evermind[Oracle Application Server Containers for J2EE 
> 10g 
> (9.0.4.1.0)].server.http.HttpApplication.getFilterConfig(HttpApplicati
> on.jav
> a:7432)
>        at com.evermind[Oracle Application Server Containers for J2EE 
> 10g 
> (9.0.4.1.0)].server.http.FileRequestDispatcher.handleWithFilter(FileRe
> questD
> ispatcher.java:50)
>        at com.evermind[Oracle Application Server Containers for J2EE 
> 10g 
> (9.0.4.1.0)].server.http.FileRequestDispatcher.forwardInternal(FileReq
> uestDi
> spatcher.java:192)
>        at com.evermind[Oracle Application Server Containers for J2EE 
> 10g 
> (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequest
> Handle
> 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(Releas
> ableRe
> 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(OC4JSecureCla
> ssLoad
> 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.ja
> va: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.ja
> va: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.regi
> ster(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





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


Re: [S2] Struts2, JDK 1.4, retrotranslator

Posted by Taras Puchko <ta...@gmail.com>.
Hi, you have to translate struts2-codebehind-plugin-2.0.6.jar since
the distribution has only struts2-core-2.0.6.jar and xwork-2.0.1.jar
translated.

Cheers,
Taras

On 5/31/07, Jason Wyatt <jw...@itree.com.au> wrote:
> 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


Re: [S2] Struts2, JDK 1.4, retrotranslator

Posted by wang huan <fi...@gmail.com>.
We met this exception before under tomcat.  It seems like some version
problem.  At last we replaced the tools.jar under Tomcat/common/lib with the
one under jdk/lib.

Have no idea about Oracle Application Server 9i, and just wish this tip
might help.


Fitzwilliam

-- 
北半球的狗几月份掉毛?

RE: [S2] Struts2, JDK 1.4, retrotranslator

Posted by Jason Wyatt <jw...@itree.com.au>.
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


[S2] Struts2, JDK 1.4, retrotranslator

Posted by Jason Wyatt <jw...@itree.com.au>.
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


Re: Why is struts2 called struts2 and not webworks2?

Posted by Don Brown <do...@gmail.com>.
My guess is there will continue to be bug fix and perhaps minor
feature improvements on WebWork.  There are a lot of WebWork 2
applications that may not be actively developed, but need the latest
bug fixes, so I foresee WebWork 2 being supported indefinitely, just
like Struts 1.

Don

On 5/31/07, Musachy Barroso <mu...@gmail.com> wrote:
> There is no new development going on in WW. You might see minor releases to
> fix bugs, but that's all. I might be off on this one, but I think 2.2.5 is
> the last release.
>
> musachy
>
> On 5/31/07, jiangshachina <ji...@gmail.com> wrote:
> >
> >
> > Hi,
> > Currently, WebWork is 2.2.5 released in April this year,
> > but Struts is 2.0.6 released in February this year.
> > Does it mean that just Struts uses WebWork's codes, but WebWork still has
> > its own roadmap?
> > Shortly, the two project isn't merged.
> > That's right?
> >
> > a cup of Java, cheers!
> > Sha Jiang
> >
> >
> > Ted Husted wrote:
> > >
> > > On 1/20/07, Zsolt Koppany <zk...@intland.com> wrote:
> > >> as far as I see struts2 has very little to do with struts1. Why is it
> > >> called
> > >> struts2 at all (and not webworks2)?
> > >
> > > Essentially, Patrick Lightbody (of WebWork) suggested that instead of
> > > a WebWork 3, that we all work together on creating Struts 2, and the
> > > rest of us agreed.
> > >
> > > For a summary, see
> > >
> > > *
> > >
> > http://www.oreillynet.com/onjava/blog/2006/10/my_history_of_struts_2.html
> > >
> > > For  the nitty-gritty details, see
> > >
> > > * http://opensource.atlassian.com/confluence/oss/display/STRUTS2/Home
> > >
> > > -Ted.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> > >
> >
> > --
> > View this message in context:
> > http://www.nabble.com/Why-is-struts2-called-struts2-and-not-webworks2--tf3045999.html#a10889716
> > Sent from the Struts - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>

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


Re: Why is struts2 called struts2 and not webworks2?

Posted by Musachy Barroso <mu...@gmail.com>.
There is no new development going on in WW. You might see minor releases to
fix bugs, but that's all. I might be off on this one, but I think 2.2.5 is
the last release.

musachy

On 5/31/07, jiangshachina <ji...@gmail.com> wrote:
>
>
> Hi,
> Currently, WebWork is 2.2.5 released in April this year,
> but Struts is 2.0.6 released in February this year.
> Does it mean that just Struts uses WebWork's codes, but WebWork still has
> its own roadmap?
> Shortly, the two project isn't merged.
> That's right?
>
> a cup of Java, cheers!
> Sha Jiang
>
>
> Ted Husted wrote:
> >
> > On 1/20/07, Zsolt Koppany <zk...@intland.com> wrote:
> >> as far as I see struts2 has very little to do with struts1. Why is it
> >> called
> >> struts2 at all (and not webworks2)?
> >
> > Essentially, Patrick Lightbody (of WebWork) suggested that instead of
> > a WebWork 3, that we all work together on creating Struts 2, and the
> > rest of us agreed.
> >
> > For a summary, see
> >
> > *
> >
> http://www.oreillynet.com/onjava/blog/2006/10/my_history_of_struts_2.html
> >
> > For  the nitty-gritty details, see
> >
> > * http://opensource.atlassian.com/confluence/oss/display/STRUTS2/Home
> >
> > -Ted.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Why-is-struts2-called-struts2-and-not-webworks2--tf3045999.html#a10889716
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd