struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: struts 2 presentation layer
Date Mon, 11 Mar 2013 17:53:29 GMT
Uh... no.
 On Mar 11, 2013 1:41 PM, "john lee" <sh_thorn_bird@yahoo.com> wrote:

> struts 2 presentation layer
>
>
> support JSP, freemaker
>
> as i know.
>
> does it support PHP?
>
> what is the presentation layer it support?
>
> thanks
>
> john
>
>
>
> ________________________________
>  From: Martin Gainty <mgainty@hotmail.com>
> To: Struts Users Mailing List <user@struts.apache.org>
> Sent: Monday, March 11, 2013 5:33 AM
> Subject: RE: struts 2 start problem struts2-gxp-plugin-2.3.7.jar
>
> rename struts2-gxp-plugin-2.3.7.jar e.g.
>
> mv
> /var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/struts2-gxp-plugin-2.3.7.jar
> /var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/struts2-gxp-plugin-2.3.7.jar.old
>
> or delete  struts2-gxp-plugin-2.3.7.jar
>
> stop your session and redeploy usually works BUT i would bounce the server
> just ot make sure you start ecommerce webapp clean
>
> Martin
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>
>
>
> > Date: Sun, 10 Mar 2013 20:32:41 -0700
> > From: sh_thorn_bird@yahoo.com
> > Subject: struts 2 start problem struts2-gxp-plugin-2.3.7.jar
> > To: user@struts.apache.org
> >
> > i try to start tomcat, but giving the following error
> >
> > Unable to load configuration...---- struts2-gxp-plugin-2.3.7.jar...
> >
> > in the CLASSPTH, i even did not load struts2-gxp-plugin-2.3.7.jar at
> all, why this happen?
> >
> > please advise
> >
> > thanks in advance
> >
> > john
> >
> >
> > SEVERE: Dispatcher initialization failed
> > Unable to load configuration. - bean -
> jar:file:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/struts2-gxp-plugin-2.3.7.jar!/struts-plugin.xml:8:162
> >         at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:71)
> >         at
> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:429)
> >         at
> org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:471)
> >         at
> org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
> >         at
> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)
> >         at
> org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:278)
> >         at
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:259)
> >         at
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
> >         at
> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:104)
> >         at
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
> >         at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
> >         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> >         at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
> >         at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
> >         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> >         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> >         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> >         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> >         at java.lang.Thread.run(Thread.java:662)
> > Caused by: Unable to load bean:
> type:org.apache.struts2.views.gxp.inject.InjectedObjectContainer
> class:org.apache.struts2.views.gxp.inject.InjectedObjectContainer - bean -
> jar:file:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/struts2-gxp-plugin-2.3.7.jar!/struts-plugin.xml:8:162
> >         at
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:245)
> >         at
> org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)
> >         at
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:215)
> >         at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:68)
> >         ... 18 more
> > Caused by: java.lang.ClassNotFoundException:
> org.apache.struts2.views.gxp.inject.InjectedObjectContainer
> >         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
> >         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
> >         at
> com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:152)
> >         at
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:216)
> >         ... 21 more
> >
> >
> > alpha:/var/apache-tomcat-7.0.34/logs # env  |grep CLASSPATH
> >
> >
> CLASSPATH=/usr/java/jdk1.6.0/lib/dt.jar:/usr/java/jdk1.6.0/lib/tools.jar:/var/apache-tomcat-7.0.34/lib:/var/apache-tomcat-7.0.34/lib/jsp-api.jar:/var/apache-tomcat-7.0.34/lib/servlet-api.jar:/var/apache-tomcat-7.0.34/lib/mysql-connector-java-5.0.5-bin.jar:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/c3p0-0.9.2-pre8.jar:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/commons-fileupload-1.2.2.jar:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/commons-io-2.0.1.jar:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/commons-lang-2.4.jar:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/commons-lang3-3.1.jar:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/commons-logging-1.1.1.jar:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/commons-logging-api-1.1.jar:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/commons-validator-1.3.1.jar:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/json-lib-2.3
> >
> -jdk15.jar:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/ognl-3.0.5.jar:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/struts2-core-2.3.7.jar:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/freemarker-2.3.19.jar:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/xwork-core-2.3.7.jar:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib/javassist-3.11.0.GA.jar
> >
> > alpha:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF/lib # ls
> > antlr-2.7.2.jar               google-gxp-0.2.4-beta.jar
>   spring-core-3.0.5.RELEASE.jar            struts2-oval-plugin-2.3.7.jar
> > aopalliance-1.0.jar           jackson-core-asl-1.9.2.jar
>    spring-expression-3.0.5.RELEASE.jar
> struts2-pell-multipart-plugin-2.3.7.jar
> > asm-3.3.jar                   jackson-mapper-asl-1.9.2.jar
>    spring-test-3.0.5.RELEASE.jar            struts2-plexus-plugin-2.3.7.jar
> > asm-commons-3.3.jar           javassist-3.11.0.GA.jar
>   spring-web-3.0.5.RELEASE.jar             struts2-portlet-plugin-2.3.7.jar
> > asm-tree-3.3.jar              json-lib-2.3-jdk15.jar
>    struts-core-1.3.10.jar                   struts2-rest-plugin-2.3.7.jar
> > c3p0-0.9.2-pre8.jar           juli-6.0.18.jar
>   struts2-codebehind-plugin-2.3.7.jar
> struts2-sitegraph-plugin-2.3.7.jar
> > classworlds-1.1.jar           junk
>    struts2-config-browser-plugin-2.3.7.jar
> struts2-sitemesh-plugin-2.3.7.jar
> > commons-beanutils-1.8.0.jar   ognl-3.0.5.jar
>    struts2-convention-plugin-2.3.7.jar      struts2-spring-plugin-2.3.7.jar
> > commons-chain-1.2.jar
>  org.apache.felix.bundlerepository-1.2.1.jar  struts2-core-2.3.7.jar
>            struts2-struts1-plugin-2.3.7.jar
> > commons-collections-3.1.jar   org.apache.felix.framework-1.4.1.jar
>    struts2-dojo-plugin-2.3.7.jar            struts2-testng-plugin-2.3.7.jar
> > commons-digester-2.0.jar      org.apache.felix.main-1.4.1.jar
>   struts2-dwr-plugin-2.3.7.jar             struts2-tiles-plugin-2.3.7.jar
> > commons-fileupload-1.2.2.jar  org.apache.felix.shell-1.0.2.jar
>    struts2-embeddedjsp-plugin-2.3.7.jar     testng-5.1-jdk15.jar
> > commons-io-2.0.1.jar          org.apache.felix.shell.tui-1.0.2.jar
>    struts2-gxp-plugin-2.3.7.jar             tiles-api-2.0.6.jar
> > commons-lang-2.4.jar          oro-2.0.8.jar
>   struts2-jasperreports-plugin-2.3.7.jar   tiles-core-2.0.6.jar
> > commons-lang3-3.1.jar         oval-1.31.jar
>   struts2-javatemplates-plugin-2.3.7.jar   tiles-jsp-2.0.6.jar
> > commons-logging-1.1.1.jar     plexus-container-default-1.0-alpha-10.jar
>   struts2-jfreechart-plugin-2.3.7.jar      velocity-1.6.3.jar
> > commons-logging-api-1.1.jar   plexus-utils-1.2.jar
>    struts2-jsf-plugin-2.3.7.jar             xmlpull-1.1.3.1.jar
> > commons-validator-1.3.1.jar   sitemesh-2.4.2.jar
>    struts2-json-plugin-2.3.7.jar            xpp3_min-1.1.4c.jar
> > dwr-1.1.1.jar                 spring-aop-3.0.5.RELEASE.jar
>    struts2-junit-plugin-2.3.7.jar           xstream-1.4.2.jar
> > ezmorph-1.0.6.jar             spring-asm-3.0.5.RELEASE.jar
>    struts2-osgi-admin-bundle-2.3.7.jar      xwork-core-2.3.7.jar
> > freemarker-2.3.19.jar         spring-beans-3.0.5.RELEASE.jar
>    struts2-osgi-demo-bundle-2.3.7.jar
> > google-collections-1.0.jar    spring-context-3.0.5.RELEASE.jar
>    struts2-osgi-plugin-2.3.7.jar
> >
> >
> > alpha:/var/apache-tomcat-7.0.34/webapps/ecommerce/WEB-INF # cat web.xml
> > <?xml version="1.0" encoding="UTF-8"?>
> > <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
> >          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >          xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
> >   <filter>
> >     <filter-name>struts2</filter-name>
> >
>  <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
> >     <!--
> >      <filter-class>org.apache.struts2.dispatcher.FilterDispatcher
> </filter-class>
> >     -->
> >   </filter>
> >   <filter-mapping>
> >     <filter-name>struts2</filter-name>
> >     <url-pattern>/*</url-pattern>
> >   </filter-mapping>
> > </web-app>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message