• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Tomcat startup Problem

 
Ranch Hand
Posts: 338
Scala Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello friends,
I am new to liferay portal 6.0.2,
I have the following problem when i try to startup.:-
Please help me to solve the same.

the log file shows the problem regarding the deployment of seven-cogs-Mobile- theme.
the logs are as follows...

Jul 15, 2010 6:19:46 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jul 15, 2010 6:19:47 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jul 15, 2010 6:30:40 AM org.apache.catalina.core.AprLifecycleListener init
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.2\tomcat-6.0.26\jre1.5.0_22\win\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.6.0_06\bin;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Program Files\apache-ant-1.8.1\bin
Jul 15, 2010 6:30:43 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 15, 2010 6:30:43 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 6993 ms
Jul 15, 2010 6:30:43 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 15, 2010 6:30:43 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
Jul 15, 2010 6:30:43 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor chat-portlet.xml
Jul 15, 2010 6:31:02 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor default-site-templates-hook.xml
Jul 15, 2010 6:31:04 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor google-maps-portlet.xml
Jul 15, 2010 6:31:07 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor opensocial-portlet.xml
Jul 15, 2010 6:31:50 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor ROOT.xml
Jul 15, 2010 6:34:21 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor sevencogs-hook.xml
Jul 15, 2010 6:34:29 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor social-networking-portlet.xml
Jul 15, 2010 6:34:45 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor web-form-portlet.xml
Jul 15, 2010 6:34:51 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor wsrp-portlet.xml
Jul 15, 2010 6:35:10 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory sevencogs-mobile-theme
Jul 15, 2010 6:35:23 AM org.apache.tomcat.util.modeler.Registry registerComponent
SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/sevencogs-mobile-theme,J2EEApplication=none,J2EEServer=none
Jul 15, 2010 6:35:23 AM org.apache.catalina.startup.HostConfig deployDirectory
SEVERE: Error deploying web application directory sevencogs-mobile-theme
java.lang.InternalError: jzentry == 0,
jzfile = 1410420224,
total = 296,
name = C:\LifeRay\liferay-portal-6.0.2\tomcat-6.0.26\webapps\sevencogs-mobile-theme\WEB-INF\lib\log4j.jar,
i = 294,
message = couldn't read LOC header
at java.util.zip.ZipFile$3.nextElement(ZipFile.java:429)
at java.util.zip.ZipFile$3.nextElement(ZipFile.java:415)
at java.util.jar.JarFile$1.nextElement(JarFile.java:221)
at java.util.jar.JarFile$1.nextElement(JarFile.java:220)
at org.apache.catalina.startup.TldConfig.tldScanJar(TldConfig.java:349)
at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:273)
at org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:634)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4377)
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.deployDirectory(HostConfig.java:1041)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
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:443)
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:592)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jul 15, 2010 6:35:25 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory sevencogs-theme
Jul 15, 2010 6:35:28 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory tunnel-web
Jul 15, 2010 6:35:35 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 15, 2010 6:35:36 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jul 15, 2010 6:35:36 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/219 config=null
Jul 15, 2010 6:35:36 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 360659 ms

how to solve this issue??
i have been trying a lot, but could find the solution?

Thanks and Regards,
Pankaj

 
Ranch Hand
Posts: 820
IntelliJ IDE VI Editor Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you using the tomcat bundle (as opposed to the Liferay war) and are you using the default database settings (a pre-loaded hsql database)?
is there a directory $TOMCAT_HOME/webapps/sevencogs-mobile-theme ?

 
Pankaj Shet
Ranch Hand
Posts: 338
Scala Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
yes sure,My problem is solved, I replaced old Log4j.jar with another Log4j.jar, and the problem was solved.
but now the problem is that, it comes till the last message that is :
INFO: Server Startup in xxxxxx ms.
but it does'nt start. at all.
what to do??

Thanks and Regards,
-Pankaj
 
You guys haven't done this much, have ya? I suggest you study this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic