Migration of portlets in Liferay -
i have deploy portlets in liferay 6.1 ga2 liferay 6.1 ga3.
i have tried doing it's not getting deployed. database connection done. web contents showing portlet part showing "portlet undeployed. please redeploy it."
i new in liferay. can please guide me step step?
thanks in advance.
here log:
16:15:31,436 error [org.apache.catalina.core.containerbase.[jboss.web].[default-host].[/my_project].[default]] (ajp-/0.0.0.0:8009-4) jbweb000236: servlet.service() servlet default threw exception: java.io.filenotfoundexception: jbweb000088: requested resource (/my-project/my-portlet/invoke) not available @ org.apache.catalina.servlets.defaultservlet.serveresource(defaultservlet.java:651) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.servlets.defaultservlet.doget(defaultservlet.java:338) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.servlets.defaultservlet.dopost(defaultservlet.java:374) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ javax.servlet.http.httpservlet.service(httpservlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.final-redhat-1.jar:1.0.2.final-redhat-1] @ javax.servlet.http.httpservlet.service(httpservlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.final-redhat-1.jar:1.0.2.final-redhat-1] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:295) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:214) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ com.liferay.portal.kernel.servlet.filters.invoker.invokerfilterchain.dofilter(invokerfilterchain.java:72) [portal-service.jar:] @ com.liferay.portal.kernel.servlet.filters.invoker.invokerfilter.dofilter(invokerfilter.java:73) [portal-service.jar:] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:246) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:214) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationdispatcher.invoke(applicationdispatcher.java:832) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationdispatcher.doinclude(applicationdispatcher.java:718) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationdispatcher.include(applicationdispatcher.java:655) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.jsp.html.portal.extend_005fsession_jsp._jspservice(extend_005fsession_jsp.java:411) @ org.apache.jasper.runtime.httpjspbase.service(httpjspbase.java:69) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ javax.servlet.http.httpservlet.service(httpservlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.final-redhat-1.jar:1.0.2.final-redhat-1] @ org.apache.jasper.servlet.jspservletwrapper.service(jspservletwrapper.java:365) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.jasper.servlet.jspservlet.servicejspfile(jspservlet.java:309) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.jasper.servlet.jspservlet.service(jspservlet.java:242) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ javax.servlet.http.httpservlet.service(httpservlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.final-redhat-1.jar:1.0.2.final-redhat-1] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:295) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:214) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ com.liferay.portal.kernel.servlet.filters.invoker.invokerfilterchain.dofilter(invokerfilterchain.java:72) [portal-service.jar:] @ com.liferay.portal.kernel.servlet.filters.invoker.invokerfilterchain.dofilter(invokerfilterchain.java:116) [portal-service.jar:] @ com.liferay.portal.kernel.servlet.filters.invoker.invokerfilter.dofilter(invokerfilter.java:73) [portal-service.jar:] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:246) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:214) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationdispatcher.invoke(applicationdispatcher.java:832) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationdispatcher.processrequest(applicationdispatcher.java:620) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationdispatcher.doforward(applicationdispatcher.java:553) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationdispatcher.forward(applicationdispatcher.java:482) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ com.liferay.portal.struts.strutsutil.forward(strutsutil.java:79) [portal-impl.jar:] @ com.liferay.portal.struts.portalrequestprocessor.doforward(portalrequestprocessor.java:282) [portal-impl.jar:] @ org.apache.struts.action.requestprocessor.internalmodulerelativeforward(requestprocessor.java:1023) [apache-struts-1.2.4.jar:1.2.4] @ org.apache.struts.tiles.tilesrequestprocessor.internalmodulerelativeforward(tilesrequestprocessor.java:345) [struts-tiles-1.3.5.jar:1.3.5] @ org.apache.struts.action.requestprocessor.processforward(requestprocessor.java:572) [apache-struts-1.2.4.jar:1.2.4] @ org.apache.struts.action.requestprocessor.process(requestprocessor.java:221) [apache-struts-1.2.4.jar:1.2.4] @ com.liferay.portal.struts.portalrequestprocessor.process(portalrequestprocessor.java:176) [portal-impl.jar:] @ org.apache.struts.action.actionservlet.process(actionservlet.java:1196) [apache-struts-1.2.4.jar:1.2.4] @ org.apache.struts.action.actionservlet.dopost(actionservlet.java:432) [apache-struts-1.2.4.jar:1.2.4] @ javax.servlet.http.httpservlet.service(httpservlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.final-redhat-1.jar:1.0.2.final-redhat-1] @ com.liferay.portal.servlet.mainservlet.callparentservice(mainservlet.java:560) [portal-impl.jar:] @ com.liferay.portal.servlet.mainservlet.service(mainservlet.java:537) [portal-impl.jar:] @ javax.servlet.http.httpservlet.service(httpservlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.final-redhat-1.jar:1.0.2.final-redhat-1] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:295) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:214) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ com.liferay.portal.kernel.servlet.filters.invoker.invokerfilterchain.dofilter(invokerfilterchain.java:72) [portal-service.jar:] @ ... (shortened) @ org.apache.coyote.ajp.ajpprotocol$ajpconnectionhandler.process(ajpprotocol.java:420) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.tomcat.util.net.jioendpoint$worker.run(jioendpoint.java:920) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ java.lang.thread.run(thread.java:662) [rt.jar:1.6.0_38] 16:17:31,500 error [org.apache.catalina.core.containerbase.[jboss.web].[default-host].[/westbengal-ssdg-webservices].[default]] (ajp-/0.0.0.0:8009-11) jbweb000236: servlet.service() servlet default threw exception: java.io.filenotfoundexception: jbweb000088: requested resource (/westbengal-ssdg-webservices/westbengal-ssdg-webservices/invoke) not available @ org.apache.catalina.servlets.defaultservlet.serveresource(defaultservlet.java:651) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.servlets.defaultservlet.doget(defaultservlet.java:338) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.servlets.defaultservlet.dopost(defaultservlet.java:374) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ javax.servlet.http.httpservlet.service(httpservlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.final-redhat-1.jar:1.0.2.final-redhat-1] @ javax.servlet.http.httpservlet.service(httpservlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.final-redhat-1.jar:1.0.2.final-redhat-1] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:295) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:214) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ com.liferay.portal.kernel.servlet.filters.invoker.invokerfilterchain.dofilter(invokerfilterchain.java:72) [portal-service.jar:] @ com.liferay.portal.kernel.servlet.filters.invoker.invokerfilter.dofilter(invokerfilter.java:73) [portal-service.jar:] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:246) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:214) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationdispatcher.invoke(applicationdispatcher.java:832) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationdispatcher.doinclude(applicationdispatcher.java:718) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationdispatcher.include(applicationdispatcher.java:655) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.jsp.html.portal.extend_005fsession_jsp._jspservice(extend_005fsession_jsp.java:411) @ org.apache.jasper.runtime.httpjspbase.service(httpjspbase.java:69) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ javax.servlet.http.httpservlet.service(httpservlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.final-redhat-1.jar:1.0.2.final-redhat-1] @ org.apache.jasper.servlet.jspservletwrapper.service(jspservletwrapper.java:365) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.jasper.servlet.jspservlet.servicejspfile(jspservlet.java:309) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.jasper.servlet.jspservlet.service(jspservlet.java:242) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ javax.servlet.http.httpservlet.service(httpservlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.final-redhat-1.jar:1.0.2.final-redhat-1] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:295) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:214) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ com.liferay.portal.kernel.servlet.filters.invoker.invokerfilterchain.dofilter(invokerfilterchain.java:72) [portal-service.jar:] @ com.liferay.portal.kernel.servlet.filters.invoker.invokerfilterchain.dofilter(invokerfilterchain.java:116) [portal-service.jar:] @ com.liferay.portal.kernel.servlet.filters.invoker.invokerfilter.dofilter(invokerfilter.java:73) [portal-service.jar:] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:246) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:214) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationdispatcher.invoke(applicationdispatcher.java:832) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationdispatcher.processrequest(applicationdispatcher.java:620) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationdispatcher.doforward(applicationdispatcher.java:553) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ org.apache.catalina.core.applicationdispatcher.forward(applicationdispatcher.java:482) [jbossweb-7.2.0.final-redhat-1.jar:7.2.0.final-redhat-1] @ com.liferay.portal.struts.strutsutil.forward(strutsutil.java:79) [portal-impl.jar:] @ com.liferay.portal.struts.portalrequestprocessor.doforward(portalrequestprocessor.java:282) [portal-impl.jar:] @ org.apache.struts.action.requestprocessor.internalmodulerelativeforward(requestprocessor.java:1023) [apache-struts-1.2.4.jar:1.2.4] @ org.apache.struts.tiles.tilesrequestprocessor.internalmodulerelativeforward(tilesrequestprocessor.java:345) [struts-tiles-1.3.5.jar:1.3.5] @ org.apache.struts.action.requestprocessor.processforward(requestprocessor.java:572) [apache-struts-1.2.4.jar:1.2.4] @ org.apache.struts.action.requestprocessor.process(requestprocessor.java:221) [apache-struts-1.2.4.jar:1.2.4] @ ... (shortened)
this way:
- create new portlet same name liferay sdk 6.1.2.
- copy code, html, resources, libs old portlet new portlet.
- copy portlets declaration in
portlet.xml
,liferay-portlet.xml
,liferay-display.xml
, old portlet new portlet (don't overwrite these files). - deploy new portlet.
Comments
Post a Comment