Laliwala IT services offers 35+ enterprise open source online Training and Website Development Services. We offer various Training from popular open source stack like JBoss SOA Training, Alfresco Training, JBoss JBPM Training, Mule ESB Training, Activiti BPM Training, Apache Solr Training, Spring Training Course, Cloud Computing AWS Training, Apache Camel Training, Jboss ESB Training and many more.....(Call Now +91 9904245322)
Thursday, February 24, 2011
installe theme, liferay recommend, glassfish solution, theme solution, solaris, cluster, deploy clustering, liferay clustering, deploy lr, liferay ver
Setting up Extention environement, dynamic servlet config, location, phpportlet, tomcat server, app.server, tomcat liferay, java liferay tomacat, dir
Sanghamitra Mitra | : | Hi , | |
While setting up the ext environment for development | |||
as per the instruction @ http://www.liferay.com/community/wiki/-/wiki/Main/Development+Environment+%28Windows%29 | |||
I got the following error while deploying | |||
E:\SM\liferay\portal\build.xml:331: The following error occurred while executing this line: | |||
E:\SM\liferay\portal\build-common-java.xml:100: Failed to copy E:\SM\liferay\por tal\portal-kernel\portal-kernel.jar to E:\SM\liferay\portal\SMliferay omcat\co mmon\lib\ext\portal-kernel.jar due to failed to create the parent directory for E:\SM\liferay\portal\SMliferay omcat\common\lib\ext\portal-kernel.jar | |||
The directory to | |||
E:\SM\liferay\portal\SMliferay omcat\common\lib\ext\ does not exist on my machine. | |||
I believe I have missed to set the right directory in some of the property file , but not able to find out where (which file )to recify the same. | |||
Can any body help me. | |||
Sharing the following for reference. | |||
1. Snapshot of my directory structure | |||
2. release.mitrasag.properties (which lies in the portal directory ) | |||
3. app.server.mitrasag.properties ( which lies in the ext directory ) | |||
Thanks in advance. Sanghamitra
| |||
Mazhar Anwar | : | Hi, you have to point to parent directory of your tomcat server, not java, "app.server.parent.dir=E:/SM/liferay" | |
Please find the attached properties file as per your image. | |||
Attachments: | |||
Sanghamitra Mitra | : | Hi | |
Many thanks .. I could solve the problem with your input. | |||
But now getting the following error : | |||
[javac] E:\SM\liferay\portal\util- | |||
bridges\src\com\liferay\util\bridges\wai\WAIPortlet.java:30: cannot find | |||
symbol | |||
[javac] symbol : class HttpUtil | |||
[javac] location: package com.liferay.util | |||
[javac] import com.liferay.util.HttpUtil; [javac] ^ | |||
[javac] E:\SM\liferay\portal\util- | |||
bridges\src\com\liferay\util\bridges\php\PHPPortlet.java:141: cannot find | |||
symbol | |||
[javac] symbol : class DynamicServletConfig | |||
[javac] location: class com.liferay.util.bridges.php.PHPPortlet | |||
[javac] config = new DynamicServletConfig | |||
(config, params); | |||
[javac] ^ | |||
[javac] E:\SM\liferay\portal\util- | |||
bridges\src\com\liferay\util\bridges\wai\WAIPortlet.java:134: cannot find | |||
symbol | |||
[javac] symbol : variable HttpUtil | |||
[javac] location: class com.liferay.util.bridges.wai.WAIPortlet | |||
[javac] String queryString = HttpUtil.parameterMapToString | |||
(params, false); | |||
[javac] ^ | |||
[javac] Note: Some input files use or override a deprecated API. | |||
[javac] Note: Recompile with -Xlint:deprecation for details. | |||
[javac] Note: Some input files use unchecked or unsafe operations. | |||
[javac] Note: Recompile with -Xlint:unchecked for details. | |||
[javac] 4 errors | |||
What am I missing.. | |||
Thanks & Regards. Sanghamitra | |||
Gaurang Sheladia | : | Hi Sanghamitra, | |
Seems like error is missing jar file so you need to add some jar file on your build path. | |||
Thanks, Gaurang Sheladia | |||
Sanghamitra Mitra | : | Hi, | |
Can any body let me know exactly which jar file(s) is required. | |||
Thanks Sanghamitra | |||
Sandeep Nair | : | HttpUtil is in portal-kernal.jar and DynamicServletConfig is in util-java.jar | |
Regards, San-D |
Struts ActionForms with MultiPart forms, liferay libraty, liferay settings, liferay entry, action.java, com.liferay, portlet.document, strutslifera y
Struts ActionForms with MultiPart forms
Extending Calendar, Hot Deployable, liferay functionalities, liferay calendar portlet, liferay us
Liferay Extending Calendar
Joao Sequeira | : | Hello, |
I need to add new functionalities to the calendar portlet (for example invite other users to an event where they can then accept/decline), but another requirement is that this must be hot-deployable which I believe takes the ext environment out of the equation. | ||
Is there any war file (or extracted calendar portlet) which would do as a starting point? Or is there any way to use the ext environment in an hot-deployable way? | ||
I have looked into using Hooks plugins but there i can only change the JSP and do some pre/post actions, thus not allowing me to change the underlying model. | ||
Best Regards, Joao Sequeira | ||
Mazhar Anwar | : | Hi, |
I think this link may help you in developing hot deployable patch for your requirement. | ||
http://www.liferay.com/web/amos.fong/blog/-/blogs/minimizing-the-ext-environment | ||
You can refer to Jonas's Blog regarding development of portlets in ext using plugins sdk that's the main feature Liferay is introducing in Version 6. | ||
Regards, Mazhar |
Subscribe to:
Posts (Atom)