facebook

problem in deploying struts1.1 application in WASCE1.0.1

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #263727 Reply

    venkatkumar
    Member

    hi sir,
    please respond quikly it’s urgent
    we are are using EnterpriseWorkbenchInstaller_4.1.1GA_E3.1 in eclipse3.1.2.

    we are developing struts1.1 application using validatorframework. after deploying this application in geronimo server(i.e Websphere Application Server Community Eddition 1.0.1 ).
    the following problem has accured.

    sir, did’t find validation.xml in /WEB-INF so, we had writen it manually does this is a problem? also we did’t have geronimo-web.xml file

    in eclipse Conslole
    Booting Geronimo Kernel (in Java 1.4.2_08)…
    Started configuration 1/17 1s geronimo/rmi-naming/1.0/car
    Started configuration 2/17 3s geronimo/j2ee-server/1.0/car
    Started configuration 3/17 1s geronimo/j2ee-security/1.0/car
    Started configuration 4/17 9s geronimo/activemq-broker/1.0/car
    Started configuration 5/17 1s geronimo/activemq/1.0/car
    Started configuration 6/17 0s geronimo/system-database/1.0/car
    Started configuration 7/17 5s geronimo/tomcat/1.0/car
    Started configuration 8/17 0s geronimo/geronimo-gbean-deployer/1.0/car
    Started configuration 9/17 3s geronimo/j2ee-deployer/1.0/car
    Started configuration 10/17 0s geronimo/tomcat-deployer/1.0/car
    Started configuration 11/17 1s geronimo/welcome-tomcat/1.0/car
    Started configuration 12/17 4s geronimo/webconsole-tomcat/1.0/car
    Started configuration 13/17 2s geronimo/uddi-tomcat/1.0/car
    Started configuration 14/17 0s geronimo/remote-deploy-tomcat/1.0/car
    Started configuration 15/17 2s geronimo/hot-deployer/1.0/car
    14:54:25,296 ERROR [Digester] End event threw exception
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
    at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216)
    at org.apache.commons.digester.Rule.end(Rule.java:230)
    at org.apache.commons.digester.Digester.endElement(Digester.java:1130)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.commons.digester.Digester.parse(Digester.java:1647)
    at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1006)
    at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
    at javax.servlet.GenericServlet.init(GenericServlet.java:168)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
    at org.apache.geronimo.tomcat.GeronimoStandardContext.access$101(GeronimoStandardContext.java:66)
    at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:268)
    at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
    at org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:183)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
    at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:287)
    at org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>)
    at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
    at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
    at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
    at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
    at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
    at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    at org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$37e348e5.addContext(<generated>)
    at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:410)
    at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:936)
    at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
    at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
    at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
    at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:537)
    at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:208)
    at org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(Configuration.java:315)
    at org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f4b4a9b.invoke(<generated>)
    at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
    at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
    at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
    at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
    at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
    at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:173)
    at org.apache.geronimo.kernel.config.ConfigurationManagerImpl.start(ConfigurationManagerImpl.java:142)
    at org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClassByCGLIB$$fbed85d2.invoke(<generated>)
    at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
    at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
    at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
    at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
    at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
    at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    at org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$e288cce2.start(<generated>)
    at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:349)
    at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:86)
    at org.apache.geronimo.system.main.Daemon.main(Daemon.java:474)

    and in browser

    type Exception report

    message

    description The server encountered an internal error () that prevented it from fulfilling this request.

    exception

    javax.servlet.ServletException: Must specify type attribute if name is specified
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
    org.apache.jsp.form.EmployerRegistration_jsp._jspService(org.apache.jsp.form.EmployerRegistration_jsp:158)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

    root cause

    javax.servlet.jsp.JspException: Must specify type attribute if name is specified
    org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:818)
    org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
    org.apache.jsp.form.EmployerRegistration_jsp._jspx_meth_html_form_0(org.apache.jsp.form.EmployerRegistration_jsp:192)
    org.apache.jsp.form.EmployerRegistration_jsp._jspService(org.apache.jsp.form.EmployerRegistration_jsp:143)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

    #263778

    Riyad Kalla
    Member

    These are not MyEclipse issues but rather descriptor files that you will need to write yourself for your application. From your errors I can’t really tell how that relates to the validation issue, it seems you are just missing a type attribute on one of your tags.

    #263829

    venkatkumar
    Member

    problem solved sir. just i have given name of the <html:form> in jsp and did’t specified attribute in config file.

    thanks for the response sir.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: problem in deploying struts1.1 application in WASCE1.0.1

You must be logged in to post in the forum log in