留言板

RE portlet war file deploy

thumbnail
Manikantha Rajamani,修改在9 年前。

RE portlet war file deploy

Expert 帖子: 258 加入日期: 14-3-25 最近的帖子
Hi Liferay masters,

I have rcs-video-chart-portlet-6.1.0.1.war file
war file size is 28.8mb
now i have to deploy these war file in tomcat server...
post some easyest way to hot deploy the .war file....


Thanks & Regards
Manikantha R
thumbnail
Zsigmond Rab,修改在9 年前。

RE: RE portlet war file deploy

Liferay Master 帖子: 727 加入日期: 10-1-5 最近的帖子
Hi Manikantha,

what if you copy that to the deploy folder?

Regards,
Zsigmond
thumbnail
Manikantha Rajamani,修改在9 年前。

RE: RE portlet war file deploy

Expert 帖子: 258 加入日期: 14-3-25 最近的帖子
Hi Zsigmond Rab

when I put war file in deployed folder i'm getting following error..

17:08:11,079 INFO [liferay/hot_deploy-1][HotDeployMessageListener:175] Group or layout set prototype already exists for company utlibrary.com
17:09:39,623 INFO [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1438] Checking for available updates
17:09:58,345 ERROR [liferay/scheduler_dispatch-1][PluginPackageUtil:1326] Unable to load repository http://plugins.liferay.com/community com.liferay.portal.plugin.PluginPackageException: Unable to communicate with repository http://plugins.liferay.com/community
17:10:18,449 WARN [liferay/scheduler_dispatch-1][PluginPackageUtil:335] Unable to communicate with repository http://plugins.liferay.com/community
17:10:38,869 ERROR [http-bio-8080-exec-8][ImageImpl:67] Error reading image 12001
com.liferay.portlet.documentlibrary.NoSuchContentException: 12001.png
at com.liferay.portlet.documentlibrary.service.impl.DLContentLocalServiceImpl.getContent(DLContentLocalServiceImpl.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:117)
at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:52)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:218)
at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationHandler.java:62)
at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHandler.java:51)
at com.sun.proxy.$Proxy301.getContent(Unknown Source)
at com.liferay.portlet.documentlibrary.service.DLContentLocalServiceUtil.getContent(DLContentLocalServiceUtil.java:316)
at com.liferay.portlet.documentlibrary.store.DBStore.getFileAsStream(DBStore.java:121)
at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.getFileAsStream(StoreProxyImpl.java:167)
at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.getFileAsStream(SafeFileNameStoreWrapper.java:246)
at com.liferay.portlet.documentlibrary.store.DLStoreImpl.getFileAsStream(DLStoreImpl.java:284)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.liferay.portal.security.pacl.PortalSecurityManagerImpl$DoBeanLocatorImplPACL$1.invoke(PortalSecurityManagerImpl.java:475)
at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationHandler.java:62)
at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHandler.java:51)
at com.sun.proxy.$Proxy746.getFileAsStream(Unknown Source)
at com.liferay.portlet.documentlibrary.store.DLStoreUtil.getFileAsStream(DLStoreUtil.java:425)
at com.liferay.portal.model.impl.ImageImpl.getTextObj(ImageImpl.java:58)
at com.liferay.portal.webserver.WebServerServlet.getImageBytes(WebServerServlet.java:430)
at com.liferay.portal.webserver.WebServerServlet.writeImage(WebServerServlet.java:1137)
at com.liferay.portal.webserver.WebServerServlet.service(WebServerServlet.java:254)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:191)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:79)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
17:13:09,314 WARN [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1429] Unable to communicate with repository http://plugins.liferay.com/community
thumbnail
Zsigmond Rab,修改在9 年前。

RE: RE portlet war file deploy

Liferay Master 帖子: 727 加入日期: 10-1-5 最近的帖子
Hi Manikantha,

are you sure about that the exception is coming because of the deployment? Can you attach the whole log file and point that tiem when the plugin is being deployed?

Regards,
Zsigmond
thumbnail
Manikantha Rajamani,修改在9 年前。

RE: RE portlet war file deploy

Expert 帖子: 258 加入日期: 14-3-25 最近的帖子
Hi
Zsigmond Rab,

I have uploaded complete log file of rcs-video-portlet deploye log file
If u find any solution for these error file.
please post the solution to overcome the fault...




Thanks and Regards
Manikantha R
thumbnail
Zsigmond Rab,修改在9 年前。

RE: RE portlet war file deploy

Liferay Master 帖子: 727 加入日期: 10-1-5 最近的帖子
HI Manikantha,

are you trying o deploy the "rcs-VideoChat-portlet" plugin?

As I can see there is some problem with one of the filters defined in the web.xml:

"Filter mapping specifies an unknown filter name OpenSessionInViewFilter"

Is that possible?

Regards,
Zsigmond
thumbnail
Manikantha Rajamani,修改在9 年前。

RE: RE portlet war file deploy

Expert 帖子: 258 加入日期: 14-3-25 最近的帖子
Hi
Zsigmond Rab


now i imported "rcs-VideoChat-portlet" plugin into eclipse in that i finded there in error in file...
some 4 to 5 .xml files also error....

regards
Manikantha R
thumbnail
Zsigmond Rab,修改在9 年前。

RE: RE portlet war file deploy

Liferay Master 帖子: 727 加入日期: 10-1-5 最近的帖子
Hi Manikantha,

does it mean that the problem has been found and solved?

Regards,
Zsigmond
thumbnail
Manikantha Rajamani,修改在9 年前。

RE: RE portlet war file deploy

Expert 帖子: 258 加入日期: 14-3-25 最近的帖子
Hi
Zsigmond Rab

some problem as been resolved still some other problem is there...
still i have to identify the problem and i have to solve..

Regards
Manikantha R
thumbnail
Zsigmond Rab,修改在9 年前。

RE: RE portlet war file deploy

Liferay Master 帖子: 727 加入日期: 10-1-5 最近的帖子
Hi Manikantha,

do you have any further problem where you need help?

Ragards,
Zsigmond
thumbnail
Manikantha Rajamani,修改在9 年前。

RE: RE portlet war file deploy

Expert 帖子: 258 加入日期: 14-3-25 最近的帖子
HI
Zsigmond Rab

thank u for reply
That problem as solved...


Thanks and Regards
Manikantha R
thumbnail
Ahamed Sakir,修改在9 年前。

RE: RE portlet war file deploy

Regular Member 帖子: 129 加入日期: 08-8-22 最近的帖子
Hi
While doing migration from 6.1 to 6.2 following exception showing.
In Portal-ext.properties
dl.store.impl=com.liferay.portlet.documentlibrary.store.DBStore

05:24:15,879 ERROR [http-bio-8080-exec-3][ImageImpl:69] Error reading image 12777
com.liferay.portlet.documentlibrary.NoSuchContentException: 12777.png
at com.liferay.portlet.documentlibrary.service.impl.DLContentLocalServiceImpl.getContent(DLContentLocalServiceImpl.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)


Any solution please?
thumbnail
Zsigmond Rab,修改在9 年前。

RE: RE portlet war file deploy

Liferay Master 帖子: 727 加入日期: 10-1-5 最近的帖子
Hi Ahamed,

that exception is coming if there is no entry in the DLContent table with 12777.png in its path field for the DLFileEntry with 12777.png in it's name field.

Is that possible? You can investigate how that. Can you select those items from DLFileEntry table for which there is no appropriate entries in the DLContent table? If there is any, do you have any idea what may have happened?

Isn't there any other suspicious part in the log file?

Regards,
Zsigmond
thumbnail
Ahamed Sakir,修改在9 年前。

RE: RE portlet war file deploy

Regular Member 帖子: 129 加入日期: 08-8-22 最近的帖子
Hi Zsigmond Rab ,
My requirement is 6.1 version having file system store(data folder) but while doing upgrade to 6.2 need to use DBStore. So i used following property dl.store.impl=com.liferay.portlet.documentlibrary.store.DBStore.
Udgarding time above exception are throwing. Even liferay is not upgrading "DLContent" Table.
After that manually inserted values into DLContent table "Path" and "size" . Now Exception is not throwing but images are not displaying in UI.....
Any help please.
thumbnail
Dave Weitzel,修改在9 年前。

RE: RE portlet war file deploy

Regular Member 帖子: 208 加入日期: 09-11-18 最近的帖子
i'm not sure you can change document storage medium while doing an upgrade.

Can I suggest doing the upgrade using the existing data folder and then once upgraded using the Data migration capability in the Control Panel to migrate it from file store to DBStore and restarting your system with the new settings in portal-ext.properties. It is under serve Administration > Data migration or /group/control_panel/manage/-/server/data-migration

if for some reason you cant do it that way around you cold Migrate to DB Store first then do the upgrade.

I've been using this tool for snap shotting the system database to hypersonic for laptop demos and it is superb, I would expect the documents to be jsut as easy to use.
thumbnail
Zsigmond Rab,修改在9 年前。

RE: RE portlet war file deploy

Liferay Master 帖子: 727 加入日期: 10-1-5 最近的帖子
Hi Ahamed,

Dave was right. It's not enough just change the store type. It's necessary to run the storage migration separately.

Regards,
Zsigmond