掲示板

Web Form plugin not working

thumbnail
14年前 に don busky によって更新されました。

Web Form plugin not working

New Member 投稿: 10 参加年月日: 07/10/01 最新の投稿
Hi,

I am currently running LP 5.2.3 + tomcat6. I downloaded the web form plugin from the community plugins link on the website. However upon deploying, when i attempt to access it, it tells me that the portlet is temporarily unavailable.

The error in tomcat is as follows:

19:17:26,875 ERROR [PortletServlet:104] javax.portlet.PortletException: An exception occurred processing JSP page /
view.jsp at line 46

43: <liferay-ui:error exception="<%= CaptchaTextException.class %>" message="text-verification-failed" />
44: <liferay-ui:error key="error" message="an-error-occurred-while-sending-the-form-information" />
45:
46: <c:if test='<%= WebFormUtil.VALIDATION_SCRIPT_ENABLED && SessionErrors.contains(renderRequest, "validation-script-error") %>'>
47: <liferay-util:include page="/script_error.jsp" />An exception occurred processing JSP page /view.jsp at line 46

43: <liferay-ui:error exception="<%= CaptchaTextException.class %>" message="text-verification-failed" />
44: <liferay-ui:error key="error" message="an-error-occurred-while-sending-the-form-information" />
45:
46: <c:if test='<%= WebFormUtil.VALIDATION_SCRIPT_ENABLED && SessionErrors.contains(renderRequest, "validation-script-error") %>'>
47: <liferay-util:include page="/script_error.jsp" />
48: </c:if>
49:


Stacktrace:
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:307)
... 158 more
Caused by: javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/mozilla/javascript/Scriptable
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:852)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
at org.apache.jsp.view_jsp._jspService(view_jsp.java:1257)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
... 167 more
Caused by: java.lang.NoClassDefFoundError: org/mozilla/javascript/Scriptable
at org.apache.jsp.view_jsp._jspService(view_jsp.java:427)
... 170 more
Caused by: java.lang.ClassNotFoundException: org.mozilla.javascript.Scriptable
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 171 more
19:17:26,906 ERROR [jsp:165] java.lang.NoClassDefFoundError: org/mozilla/javascript/Scriptable
at org.apache.jsp.view_jsp._jspService(view_jsp.java:427)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:307)
at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:107)
at com.liferay.util.bridges.jsp.JSPPortlet.include(JSPPortlet.java:193)
at com.liferay.util.bridges.jsp.JSPPortlet.include(JSPPortlet.java:177)
at com.liferay.util.bridges.jsp.JSPPortlet.doView(JSPPortlet.java:139)
at com.liferay.portal.kernel.portlet.LiferayPortlet.doDispatch(LiferayPortlet.java:149)
at com.liferay.util.bridges.jsp.JSPPortlet.doDispatch(JSPPortlet.java:168)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
Caused by: java.lang.ClassNotFoundException: org.mozilla.javascript.Scriptable
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at org.apache.jsp.view_jsp._jspService(view_jsp.java:427)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
.
.
.

Please, what could be the cause of this and possible solution?
thumbnail
14年前 に Nicolas Grolleau によって更新されました。

RE: Web Form plugin not working

Junior Member 投稿: 90 参加年月日: 09/11/12 最新の投稿
The webform plugin is working fine for me on liferay 5.2.3+tomcat.
I didn't take it from the community pluins but from the svn.

Maybe how I installed Liferay is important? I took the liferay 5.2.3+tomcat 6 bundle and built a ext on top of it.
thumbnail
14年前 に Matias Elola によって更新されました。

RE: Web Form plugin not working

New Member 投稿: 6 参加年月日: 10/01/12 最新の投稿
I have the same problem, but I'm running it with a JBoss, in my localhost it works fine with tomcat, but in the server (JBoss) crashes.... I can't find that "lovely" class, hope someone can help me, but anyway I'm looking for a solution.
Saludos!
thumbnail
14年前 に Mathakin ... によって更新されました。

RE: Web Form plugin not working

New Member 投稿: 6 参加年月日: 10/01/12 最新の投稿
don busky:
Hi,

I am currently running LP 5.2.3 + tomcat6. I downloaded the web form plugin from the community plugins link on the website. However upon deploying, when i attempt to access it, it tells me that the portlet is temporarily unavailable.

The error in tomcat is as follows:

19:17:26,875 ERROR [PortletServlet:104] javax.portlet.PortletException: An exception occurred processing JSP page /
view.jsp at line 46

43: <liferay-ui:error exception="<%= CaptchaTextException.class %>" message="text-verification-failed" />
44: <liferay-ui:error key="error" message="an-error-occurred-while-sending-the-form-information" />
45:
46: <c:if test='<%= WebFormUtil.VALIDATION_SCRIPT_ENABLED && SessionErrors.contains(renderRequest, "validation-script-error") %>'>
47: <liferay-util:include page="/script_error.jsp" />An exception occurred processing JSP page /view.jsp at line 46

43: <liferay-ui:error exception="<%= CaptchaTextException.class %>" message="text-verification-failed" />
44: <liferay-ui:error key="error" message="an-error-occurred-while-sending-the-form-information" />
45:
46: <c:if test='<%= WebFormUtil.VALIDATION_SCRIPT_ENABLED && SessionErrors.contains(renderRequest, "validation-script-error") %>'>
47: <liferay-util:include page="/script_error.jsp" />
48: </c:if>
49:


Stacktrace:
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:307)
... 158 more
Caused by: javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/mozilla/javascript/Scriptable
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:852)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
at org.apache.jsp.view_jsp._jspService(view_jsp.java:1257)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
... 167 more
Caused by: java.lang.NoClassDefFoundError: org/mozilla/javascript/Scriptable
at org.apache.jsp.view_jsp._jspService(view_jsp.java:427)
... 170 more
Caused by: java.lang.ClassNotFoundException: org.mozilla.javascript.Scriptable
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 171 more
19:17:26,906 ERROR [jsp:165] java.lang.NoClassDefFoundError: org/mozilla/javascript/Scriptable
at org.apache.jsp.view_jsp._jspService(view_jsp.java:427)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:307)
at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:107)
at com.liferay.util.bridges.jsp.JSPPortlet.include(JSPPortlet.java:193)
at com.liferay.util.bridges.jsp.JSPPortlet.include(JSPPortlet.java:177)
at com.liferay.util.bridges.jsp.JSPPortlet.doView(JSPPortlet.java:139)
at com.liferay.portal.kernel.portlet.LiferayPortlet.doDispatch(LiferayPortlet.java:149)
at com.liferay.util.bridges.jsp.JSPPortlet.doDispatch(JSPPortlet.java:168)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
Caused by: java.lang.ClassNotFoundException: org.mozilla.javascript.Scriptable
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at org.apache.jsp.view_jsp._jspService(view_jsp.java:427)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
.
.
.

Please, what could be the cause of this and possible solution?


Solution found!! emoticon
the solution is:

download from HERE the 1.7R2 version (that's what I've download) then unzip in your favourite folder and then copy the jar file "js-14.jar" to the web form's lib folder. Then stop and start the server and the web form is running. I don't know if it works fine for sending emails or anithing else.

En español, bajar de AQUI la version 1.7R2 (es la que baje yo), luego descomprimirla en un directorio deseado para luego copiar el jar "js-14.jar" al directorio lib del war del web form y para finalizar parar y volver a iniciar el servidor de aplicaciones sea tomcat/jboss y ya el portlet de web form estara funcionando. No se si funciona el envio de emails o algo mas.


-----EDIT--------
Now there is a new problem with the submit button, so... I'll take a look to find out how to solve that new problem.. :/
Ahora hay un nuevo problema con el boton de enviar, entonces... echaré un vistazo a ver si puedo solucionar ese nuevo problema
13年前 に M Kamran Saleem によって更新されました。

RE: Web Form plugin not working

New Member 投稿: 5 参加年月日: 11/01/21 最新の投稿
Seems that plugin located at (http://plugins.liferay.com/official) is not correct.
I have downloaded from SVN and deploy using ant deploy and its start working.


The error observed from the Plugin Installer was:

PortletRequestDispatcherImpl.dispatch:316 - org.apache.jasper.JasperException: An exception occurred processing JSP page /view.jsp at line 46

43: <liferay-ui:error exception="<%= CaptchaTextException.class %>" message="text-verification-failed" />
44: <liferay-ui:error key="error" message="an-error-occurred-while-sending-the-form-information" />
45:
46: <c:if test='<%= WebFormUtil.VALIDATION_SCRIPT_ENABLED && SessionErrors.contains(renderRequest, "validation-script-error") %>'>
47: <liferay-util:include page="/script_error.jsp" />
48: </c:if>
49:


Stacktrace:
org.apache.jasper.JasperException: An exception occurred processing JSP page /view.jsp at line 46

43: <liferay-ui:error exception="<%= CaptchaTextException.class %>" message="text-verification-failed" />
44: <liferay-ui:error key="error" message="an-error-occurred-while-sending-the-form-information" />
45:
46: <c:if test='<%= WebFormUtil.VALIDATION_SCRIPT_ENABLED && SessionErrors.contains(renderRequest, "validation-script-error") %>'>
47: <liferay-util:include page="/script_error.jsp" />
48: </c:if>
49:


Caused by: javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/mozilla/javascript/Scriptable
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
at org.apache.jsp.view_jsp._jspService(view_jsp.java:1257)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
... 150 more
Caused by: java.lang.NoClassDefFoundError: org/mozilla/javascript/Scriptable
at org.apache.jsp.view_jsp._jspService(view_jsp.java:427)
... 153 more
12年前 に Susan Young によって更新されました。

RE: Web Form plugin not working

New Member 投稿: 17 参加年月日: 12/01/25 最新の投稿
Hi,

I am trying to get the web forms portlet installed to a Liferay 5.2.3 server (I'm using the Tomcat bundle 5.5.27). There's an application dependency preventing us from upgrading to 6.1 currently unfortunately.

I've tried installing the webform portlet from the following sources:

- SVN: using the source for the portlet from the Liferay SVN site. I get build errors on multiple classes when I attempt to build the portlet using ant. I'm using the latest source from the plug-ins trunk.

- Liferay Plug-ins Repository: using the webform 5.2.01 portlet available in the repository. I get multiple java exceptions when I try to deploy the portlet.

The other posts in this thread indicate that users had some success copying the Rhino js4.jar file in the WEB-INF/lib directory for the portlet and in building the source for the portlet from the SVN.

Neither of these options is working for me. Does anyone have a link to a version of the web portlet that will work under 5.2.3 or a workaround?

Many thanks! Any insights would be greatly appreciated.

Susan
10年前 に Mahesh Narke によって更新されました。

RE: Web Form plugin not working

Regular Member 投稿: 105 参加年月日: 13/10/11 最新の投稿
any update on this ..
not able to solve the issue with any above mentioned solution..