struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Al Sutton" <al.sut...@alsutton.com>
Subject Re: Struts 2 with RAD 6
Date Thu, 17 Jan 2008 13:55:10 GMT
First off, I'd say try to go with jdk5. There is some discussion about 
dropping 1.4 support in S2.1 and it looks like it could be a strong 
possibility.

The exception you're seeing indicates the JDK is 1.4 and your trying to use 
the 1.5 distribution. I've got no idea what  RAD-6 or RAD-7 is, but from the 
error I'd double check RAD-7 is using JDK 5 and you've not got something 
configured to run it under a 1.4 JVM.


----- Original Message ----- 
From: <Rushabh_Raval@external.mckinsey.com>
To: <user@struts.apache.org>
Sent: Thursday, January 17, 2008 1:42 PM
Subject: Struts 2 with RAD 6


> Hi,
>
> I am trying to figure out how could I use Strus-2 with RAD-6 which has Jdk
> 1.4.
>
> I even tried to run the mail reader application on RAD -7 which has jdk
> 1.5 with JRE 5.
>
> Could someone please help me running the sample code on RAD-6. I was also
> not able to figure out how I could use jdk 1.5 on RAD-6.
>
> I am aware that there is a build for jdk1.4 but does it have some
> functional or performance difference from the Struts-2 build for jdk 1.5
>
> I am getting an exception
>
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R
> java.lang.LinkageError: LinkageError while defining class:
> org.apache.struts2.dispatcher.FilterDispatcher
> Could not be defined due to:
> org/apache/struts2/dispatcher/FilterDispatcher (Unsupported major.minor
> version 49.0)
> This is often caused by having a class defined at multiple
> locations within the classloader hierarchy.  Other potential causes
> include compiling against an older or newer version of the class
> that has an incompatible method signature.
> Dumping the current context classloader hierarchy:
>    ==> indicates defining classloader
>   [0] com.ibm.ws.bootstrap.ExtClassLoader@7ebaf861
>   [1] sun.misc.Launcher$AppClassLoader@7eb0b861
>   [2] sun.misc.Launcher$ExtClassLoader@7eb4b861
> ---Original exception---
> java.lang.UnsupportedClassVersionError:
> org/apache/struts2/dispatcher/FilterDispatcher (Unsupported major.minor
> version 49.0)
>        at java.lang.ClassLoader.defineClass0(Native Method)
>        at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled
> Code))
>        at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled
> Code))
>        at
> com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:576)
>        at
> com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled
> Code))
>        at
> com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled
> Code))
>        at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled
> Code))
>        at java.beans.Beans.instantiate(Beans.java:202)
>        at java.beans.Beans.instantiate(Beans.java:63)
>        at
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:289)
>        at
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:155)
>        at
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:202)
>        at
> com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:536)
>        at
> com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:500)
>        at
> com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
>        at
> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
>        at
> com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
>        at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
>        at
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
>        at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
>        at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
>        at
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
>        at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
>        at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
>        at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
>        at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
>        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
>
> --- end Original exception----
>
>        at
> com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:621)
>        at
> com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled
> Code))
>        at
> com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled
> Code))
>        at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled
> Code))
>        at java.beans.Beans.instantiate(Beans.java:202)
>        at java.beans.Beans.instantiate(Beans.java:63)
>        at
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:289)
>        at
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:155)
>        at
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:202)
>        at
> com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:536)
>        at
> com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:500)
>        at
> com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
>        at
> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
>        at
> com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
>        at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
>        at
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
>        at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
>        at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
>        at
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
>        at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
>        at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
>        at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
>        at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
>        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
>
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:621)
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled
> Code))
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled
> Code))
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> java.beans.Beans.instantiate(Beans.java:202)
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> java.beans.Beans.instantiate(Beans.java:63)
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:289)
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:155)
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:202)
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:536)
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:500)
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
> [1/16/08 18:14:21:842 IST] 0000003d SystemErr     R     at
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
> [1/16/08 18:14:21:858 IST] 0000003d SystemErr     R     at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
> [1/16/08 18:14:21:858 IST] 0000003d SystemErr     R     at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
> [1/16/08 18:14:21:858 IST] 0000003d SystemErr     R     at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
> [1/16/08 18:14:21:858 IST] 0000003d SystemErr     R     at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
> [1/16/08 18:14:21:858 IST] 0000003d SystemErr     R     at
> com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
>
> Thanks & Regards,
> Rushabh Raval
> +=========================================================+
> This message may contain confidential and/or privileged
> information.  If you are not the addressee or authorized to
> receive this for the addressee, you must not use, copy,
> disclose or take any action based on this message or any
> information herein.  If you have received this message in
> error, please advise the sender immediately by reply e-mail
> and delete this message.  Thank you for your cooperation.
> +=========================================================+
> 


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


Mime
View raw message