Foros de discusión

Error while deploying a portlet...

Sujeet Kumar, modificado hace 12 años.

Error while deploying a portlet...

New Member Mensajes: 24 Fecha de incorporación: 2/11/11 Mensajes recientes
Hi All,

While deploying a portlet in liferay 6.1(using liferay IDE) am getting below error...

Mar 14, 2012 8:28:43 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ~\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\mail-portlet
Mar 14, 2012 8:28:45 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ~\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\web-form-portlet
Mar 14, 2012 8:28:47 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Mar 14, 2012 8:28:47 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Mar 14, 2012 8:28:47 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 222664 ms
Mar 14, 2012 8:28:57 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ~\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\msourceoneadmin-portlet
Mar 14, 2012 8:28:58 PM org.apache.catalina.startup.TldConfig tldScanWebXml
WARNING: Path [http://liferay.com/tld/ui] skipped since URI [/WEB-INF/tld/liferay-ui.tld] is a duplicate
Mar 14, 2012 8:28:58 PM org.apache.catalina.startup.TldConfig tldScanWebXml
WARNING: Path [http://liferay.com/tld/theme] skipped since URI [/WEB-INF/tld/liferay-theme.tld] is a duplicate


Thanks in advance
Sujeet
thumbnail
David H Nebinger, modificado hace 12 años.

RE: Error while deploying a portlet...

Liferay Legend Mensajes: 14914 Fecha de incorporación: 2/09/06 Mensajes recientes
It is not an error, it's a warning.

When the hot deploy processes a portlet, it will automagically copy in all TLD files into your project. Since you already have those files, the deployer is adding a warning that it will not replace your files w/ the static ones it would normally copy in.

It is safe to ignore this warning.
Siddesh B, modificado hace 10 años.

RE: Error while deploying a portlet...

New Member Mensajes: 17 Fecha de incorporación: 2/08/13 Mensajes recientes
Hi David,

Am getting the below error. Please suggest me.

INFO: Deploying web application directory D:\ABRT\Liferay61\WorkSpace\bundles\tomcat-7.0.27\webapps\ContactUs3-portlet
Aug 20, 2013 6:40:55 PM org.apache.catalina.startup.TldConfig tldScanWebXml
WARNING: Failed to process TLD with path [isomorphic] and URI [/WEB-INF/iscTaglib.xml]
java.net.MalformedURLException
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)

Thanks in advance
Jeffrey Jarin, modificado hace 10 años.

RE: Error while deploying a portlet...

Junior Member Mensajes: 30 Fecha de incorporación: 5/07/13 Mensajes recientes
you either have a wrong syntax on how you include your TLD try to doble check the TAGLIB config
Siddesh B, modificado hace 10 años.

RE: Error while deploying a portlet...

New Member Mensajes: 17 Fecha de incorporación: 2/08/13 Mensajes recientes
Hi
below is the taglib in web.xml

<taglib>
<taglib-uri>http://java.sun.com/jstl/core_rt</taglib-uri>
<taglib-location>/WEB-INF/tld/c-rt.tld</taglib-location>
</taglib>

Please suggest me. am waiting for your reply.