Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Durai pandian
Deleted root.xml
5 de febrero de 2013 3:50
Respuesta

Durai pandian

Ranking: Junior Member

Mensajes: 53

Fecha de incorporación: 26 de octubre de 2012

Mensajes recientes

Hi friends,
Mistakenly I deleted Root.xml file in the tomcat-6.0.29\conf\Catalina\localhost directory and restarted the server. When I place the same file again liefray data base is not working. I dont know how to solve this. please give me the solution.
Hitoshi Ozawa
RE: Deleted root.xml
5 de febrero de 2013 4:01
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7952

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

Look at the log file to find what error you're getting when you try to start liferay.
Kowbathullah Gnaniyar
RE: Deleted root.xml
5 de febrero de 2013 4:04
Respuesta

Kowbathullah Gnaniyar

Ranking: Liferay Master

Mensajes: 603

Fecha de incorporación: 19 de diciembre de 2007

Mensajes recientes

one of my friend mistakenly deleted webapps folder from running portal server. :emoticon

BTW, what you have in that ROOT.xml? Have you added any specific attribute JAAS, etc. ? if not, you can replace that. definitely it should work.

Otherwise, use new tomcat bundle and deploy your plugins from plugin-sdk but copy old portal-ext.properties

- Gnaniyar Zubair
Durai pandian
RE: Deleted root.xml
5 de febrero de 2013 4:48
Respuesta

Durai pandian

Ranking: Junior Member

Mensajes: 53

Fecha de incorporación: 26 de octubre de 2012

Mensajes recientes

Hitoshi Ozawa:
Look at the log file to find what error you're getting when you try to start liferay.


This is error occurred in the log file

Feb 5, 2013 10:11:03 AM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind <null>:80
at org.apache.catalina.connector.Connector.start(Connector.java:1094)
at org.apache.catalina.core.StandardService.start(StandardService.java:534)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Feb 5, 2013 10:11:03 AM org.apache.catalina.startup.Catalina start
Kowbathullah Gnaniyar
RE: Deleted root.xml
5 de febrero de 2013 4:51
Respuesta

Kowbathullah Gnaniyar

Ranking: Liferay Master

Mensajes: 603

Fecha de incorporación: 19 de diciembre de 2007

Mensajes recientes

Already server is running. Kill all the instance and start the server.
Durai pandian
RE: Deleted root.xml
5 de febrero de 2013 5:16
Respuesta

Durai pandian

Ranking: Junior Member

Mensajes: 53

Fecha de incorporación: 26 de octubre de 2012

Mensajes recientes

Hi Gnaniyar Zubair,
I shut down the server and restarted again the problem is coming. This is another error in my log can find out?

SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\Liferay\liferay-portal-6.0.6\tomcat-6.0.29\webapps\ROOT.old does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4249)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4418)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Feb 5, 2013 10:43:58 AM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Feb 5, 2013 10:43:58 AM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Feb 5, 2013 10:43:58 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/ROOT.old] startup failed due to previous errors
Feb 5, 2013 10:43:58 AM org.apache.catalina.core.StandardContext stop
Kowbathullah Gnaniyar
RE: Deleted root.xml
5 de febrero de 2013 5:24
Respuesta

Kowbathullah Gnaniyar

Ranking: Liferay Master

Mensajes: 603

Fecha de incorporación: 19 de diciembre de 2007

Mensajes recientes

It seems you have one folder ROOT.old which is not readable by server.

Please delete it and restart again.

I think error is pretty straight foreword. emoticon
Durai pandian
RE: Deleted root.xml
5 de febrero de 2013 6:24
Respuesta

Durai pandian

Ranking: Junior Member

Mensajes: 53

Fecha de incorporación: 26 de octubre de 2012

Mensajes recientes

Yes I deleted the folder but it dint help me. That older error has gone but some other errors are comming

Feb 5, 2013 5:23:14 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/opensocial-portlet] created a ThreadLocal with key of type (value [org.apache.shindig.common.xml.XmlUtil$2@16a6051]) and a value of type [org.apache.xerces.jaxp.DocumentBuilderImpl] (value [org.apache.xerces.jaxp.DocumentBuilderImpl@d98764]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

and also see

INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Liferay\liferay-portal-6.0.6\tomcat-6.0.29\jre1.6.0_20\win\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\MySQL\MySQL Server 5.0\bin
Siby Mathew
RE: Deleted root.xml
5 de febrero de 2013 8:30
Respuesta

Siby Mathew

Ranking: Expert

Mensajes: 261

Fecha de incorporación: 4 de marzo de 2011

Mensajes recientes

Maybe you should try re-deploying the open-social portlet