Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Krishna Singh
Warning During Deployment in Linux
February 14, 2012 11:37 PM
Answer

Krishna Singh

Rank: New Member

Posts: 7

Join Date: January 30, 2012

Recent Posts

Hi All,

After setup the liferay tomcat portal, during deployment of any plugins linux tomcat has following warnings,

INFO: Deploying web application directory /root/liferaybundle-7/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ResourceProperty-hook
Feb 15, 2012 7:31:22 AM org.apache.catalina.startup.TldConfig tldScanWebXml
WARNING: Failed to process TLD with path [http://java.sun.com/portlet_2_0] and URI [/WEB-INF/tld/liferay-portlet.tld]
java.net.MalformedURLException
at java.net.URL.<init>(URL.java:601)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:650)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:772)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1537)
at org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:515)
at org.apache.catalina.startup.TldConfig.tldScanWebXml(TldConfig.java:328)
at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:243)
at org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:540)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5148)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)


Thanks & Regards,
Krishna
Ram Manusani
RE: Warning During Deployment in Linux
February 16, 2012 1:04 PM
Answer

Ram Manusani

Rank: Regular Member

Posts: 124

Join Date: October 27, 2011

Recent Posts

There was a bug filed in Jira for the same

http://issues.liferay.com/browse/IDE-491

But looks like the bug is fixed.

Did you try deploying the hook? and while deploying the hook, you get the error message?
Hitoshi Ozawa
RE: Warning During Deployment in Linux
February 16, 2012 2:33 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Exactly, how did you setup your Liferay?

Are you using Oracle JDK (formally Sun JDK)?
Did you download the Tomcat Liferay bundle?
Did you just extract the file from the download bundle and just executed startup.sh script?
Simon Marcini
RE: Warning During Deployment in Linux
February 28, 2012 3:09 PM
Answer

Simon Marcini

Rank: New Member

Posts: 18

Join Date: February 13, 2012

Recent Posts

I get the same error when trying to deploy hooks... Does anybody know how to fix this?

 1WARNING: Failed to process TLD with path [http://java.sun.com/portlet_2_0] and URI [/WEB-INF/tld/liferay-portlet.tld]
 2java.net.MalformedURLException
 3    at java.net.URL.<init>(URL.java:601)
 4    at java.net.URL.<init>(URL.java:464)
 5    at java.net.URL.<init>(URL.java:413)
 6    at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:650)
 7    at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
 8    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:772)
 9    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
10    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
11    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
12    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
13    at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1537)
14    at org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:515)
15    at org.apache.catalina.startup.TldConfig.tldScanWebXml(TldConfig.java:328)
16    at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:243)
17    at org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:540)
18    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
19    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
20    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5161)
21    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
22    at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1362)
23    at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1450)
24    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:295)
25    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
26    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
27    at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1381)
28    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1539)
29    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1549)
30    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1528)
31    at java.lang.Thread.run(Thread.java:662)