npan

Greenhorn
+ Follow
since Jan 16, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by npan

Thanks Sir.
off late i have not checked the respone to my Post. I appreciate you insight in this regards.

N Pan.
18 years ago
I have an issue with validation.

1.##//BeanForm.java

public class BeanForm{
public String str;

// corresponding getter and setters.
}

2.##//In my struts
<form-property name="optionalList" type="java.util.List" size="7"/>


On the JSP, there are 7 rows of the same element repeted. I will have to validate "str" element.

Can any one help me with the syntax of how things should be in my "validation.xml" file.

I tried using the indexedListProperty="". but at server start up there seams to be some isseu.

Truly appreciate any help in this regards.

Thanks.

regards,

N Pan.
18 years ago
Looks Like i cannot integrate jdk 1.4 with WSAD 5.1.0. I will have to get WSAD 5.1.1 to work with JDK 1.4.

One of the reasons for the above exceptions is, with WSAD 5.1.0 my highest J2EE compiler version is 1.3. and is why i think i was getting the above exception.

Any Notes (OR corrections) on this is very much welcome.

Thanks.

npan.
18 years ago
Thanks Merrill for the response.

I have updated my WSAD to 5.1.0. i hve done all the upgrades to what u have mentioned in the mail (for i still have struts 1.1 integrated with 5.1.0 that i ma currently using).

I am using "MappingDispatchAction" and when i do so, i am getting this exception.

I start my server and at the time of server start - up, i ge this exception. In my struts config file, i have one action mapped to a class which extends this MappingDispatchAction.

######################
[3/8/06 15:33:02:232 PST] 4c95a5a2 Digester E org.apache.commons.digester.Digester Begin event threw error
[3/8/06 15:33:02:242 PST] 4c95a5a2 Digester E org.apache.commons.digester.Digester TRAS0014I: The following exception was logged java.lang.LinkageError: LinkageError while defining class: com.web.java.CustomMapping
Could not be defined due to: com/web/java/CustomMapping (Unsupported major.minor version 48.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.classloader.CompoundClassLoader@296a25a4
Local ClassPath: C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\classes;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\antlr.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\commons-beanutils.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\commons-collections.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\commons-digester.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\commons-fileupload.jar;C:\MyPrograms\Projects\Sample\LibWEB \WebContent\WEB-INF\lib\commons-lang.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\commons-logging.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\commons-validator.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\dbbeans.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\dom.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\i18n.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\jakarta-oro.jar;C:\MyProgram s\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\jaxen-full.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\jaxp-api.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\jdbc2_0-stdext.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\jspsql.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\jstl.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\sax.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\saxpath.jar;C:\My Programs\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\standard.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\struts.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\taglibs-application.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\taglibs-datetime.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\taglibs-mailer.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\taglibs-page.jar;C:\MyPrograms\Projects\Sample\LibWEB\Web Content\WEB-INF\lib\taglibs-request.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\taglibs-response.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\taglibs-session.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\taglibs-string.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\utility.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\xalan.jar;C:\MyPrograms\Projects\Sample\LibWEB\WebContent\WEB-INF\lib\xercesImpl.jar;C:\ MyPrograms\Projects\Sample\LibWEB\WebContent;
Delegation Mode: PARENT_FIRST
[1] com.ibm.ws.classloader.JarClassLoader@696149412 Local Classpath: Delegation mode: PARENT_FIRST
[2] com.ibm.ws.classloader.ExtJarClassLoader@1438672303 Local ClassPath: C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5\lib\app; Delegation Mode: PARENT_LAST
[3] com.ibm.ws.classloader.ProtectionClassLoader@d77a5aa
[4] com.ibm.ws.bootstrap.ExtClassLoader@4c9f65a2
[5] sun.misc.Launcher$AppClassLoader@4f6865a2
[6] sun.misc.Launcher$ExtClassLoader@4f6d25a2
---Original exception---
java.lang.UnsupportedClassVersionError: com/web/java/CustomMapping (Unsupported major.minor version 48.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:407)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:357)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:261)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:117)
at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:143)
at org.apache.struts.config.ActionMappingFactory.createObject(ConfigRuleSet.java:375)
at org.apache.commons.digester.FactoryCreateRule.begin(FactoryCreateRule.java:389)
at org.apache.commons.digester.Digester.startElement(Digester.java:1286)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java(Compiled Code))
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java(Compiled Code))
at org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java(Compiled Code))
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java(Compiled Code))
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java(Compiled Code))
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java(Compiled Code))
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:525)
at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1158)
at org.apache.commons.digester.Digester.parse(Digester.java:1572)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:738)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:687)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:333)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:870)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1270)
at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:277)
at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:396)
at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:216)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:984)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:415)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:787)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:351)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:575)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:268)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:246)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
##

Any help in this regards is appreciated.

Thanks.

npan
18 years ago
Can some one please help me with the migration process. I have issues when do so.

I have WSAD 5.0 with struts 1.1. I am trying to migrate to struts 1.2.4.

Can some one please help me in this regards.

Thanks in advance.

Regards.

npan.
18 years ago