Hello Cheng, I am trying to make Struts 2 work with RAD 7.0. It is not working I mean the very first page is fine but after that when it tries to look for the action, it is giving error and in the url it is ending .action. It is not able to find the jsp page. I can send the directory structure and struts.xml and the folder where I am putting struts.xml and jsp pages. I am missing something or placing things in wrong directories. I am very close and I guess there is small change that can make it work. Thank you
Cheng Wei Lee wrote: > > I've no difficulties using Struts 2 on RAD v7. What are you actually > trying > to do? To build Struts 2 from scratch? > > On Jan 17, 2008 9:42 PM, <[EMAIL PROTECTED]> wrote: > >> 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] [EMAIL PROTECTED] >> [1] [EMAIL PROTECTED] >> [2] [EMAIL PROTECTED] >> ---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. >> +=========================================================+ >> > > -- View this message in context: http://www.nabble.com/Struts-2-with-RAD-6-tp14919091p17330163.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]