Forums

Home » Liferay Portal » English » Liferay Legacy »

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Anonymous
liferay startup problem with tomcat 5.5
April 4, 2007 7:06 PM
Answer

Anonymous

I installed liferay 4.2.1 with tomcat 5.5 and when I
started my server and tried to go to the site, I got
page not found and the catalina.out indicates that the
server is hanging there with the following as the last
statement in the log:
02:58:14,256 INFO [AutoDeployDir:76] Auto deploy
scanner started for /home/liferay/deploy

Any idea what could be the cause?
Abhijit Y Gurav
RE: liferay startup problem with tomcat 5.5
April 5, 2007 12:18 AM
Answer

Abhijit Y Gurav

Rank: Regular Member

Posts: 155

Join Date: August 9, 2006

Recent Posts

Hi,

Which database?

Regards,
Abhijit Gurav
The Meurwinn Concept Concept
RE: liferay startup problem with tomcat 5.5
April 5, 2007 1:00 AM
Answer

The Meurwinn Concept Concept

Rank: Expert

Posts: 262

Join Date: April 9, 2006

Recent Posts

Hi, can you send the stack trace?
li chen
RE: liferay startup problem with tomcat 5.5
April 5, 2007 6:41 AM
Answer

li chen

Rank: New Member

Posts: 2

Join Date: April 4, 2007

Recent Posts

The database is mysql, I followed the install instruction with tomcat5.5.
There is no stack trace. "02:58:14,256 INFO [AutoDeployDir:76] Auto deploy scanner started for /home/liferay/deploy" Is the last statement in the log. When I tried to stop the server, I do get "Failed to shut down: java.lang.NullPointerException" as the last sentence in the log, right after "02:58:14,256 INFO [AutoDeployDir:76] Auto deploy scanner started for /home/liferay/deploy".

Thanks
Abhijit Y Gurav
RE: liferay startup problem with tomcat 5.5
April 6, 2007 10:31 PM
Answer

Abhijit Y Gurav

Rank: Regular Member

Posts: 155

Join Date: August 9, 2006

Recent Posts

Hi,

I was also getting same problem but with Oracle,for that the problem was with the dump file provided by liferay.I need to check with Mysql.

Regards,
Abhijit Gurav
Eric Dennis Fields
RE: liferay startup problem with tomcat 5.5
June 5, 2007 6:35 AM
Answer

Eric Dennis Fields

Rank: New Member

Posts: 1

Join Date: June 5, 2007

Recent Posts

I'm getting the same error. I'm trying to build this in OS X. Not the same environment, by any chance?

Here are my logs for catalina.out. Like you, it just hangs and hangs and runs up my CPU. Did you ever get this fixed? Would appreciate the help of course.

Jun 5, 2007 1:10:49 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
Jun 5, 2007 1:10:49 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 5, 2007 1:10:49 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8082
Jun 5, 2007 1:10:49 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1423 ms
Jun 5, 2007 1:10:49 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 5, 2007 1:10:49 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
Jun 5, 2007 1:10:49 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jun 5, 2007 1:10:49 PM org.apache.catalina.realm.JAASRealm setUseContextClassLoader
INFO: Setting useContextClassLoader = false
log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.TldConfig).
log4j:WARN Please initialize the log4j system properly.
Loading jar:file:/usr/local/liferay-portal-tomcat-jdk5-4.2.2/webapps/ROOT/WEB-INF/lib/portal-ejb.jar!/system.properties
Loading jar:file:/usr/local/liferay-portal-tomcat-jdk5-4.2.2/webapps/ROOT/WEB-INF/lib/portal-ejb.jar!/portal.properties
Loading file:/usr/local/liferay-portal-tomcat-jdk5-4.2.2/webapps/ROOT/WEB-INF/classes/portal-ext.properties
Starting Liferay Portal Professional 4.2.1 (Machen / Build 3501 / January 10, 2007)
13:11:03,411 INFO [DynamicDialect:74] Determining dialect for MySQL 5
13:11:03,419 INFO [DynamicDialect:81] Using dialect org.hibernate.dialect.MySQLDialect
Loading jar:file:/usr/local/liferay-portal-tomcat-jdk5-4.2.2/webapps/ROOT/WEB-INF/lib/portal-ejb.jar!/cache-multi-vm.properties
13:11:08,414 INFO [HotDeployUtil:76] Initializing hot deploy manager 12123235
13:11:08,445 INFO [ServerDetector:76] Detected server tomcat
13:11:08,589 INFO [AutoDeployDir:76] Auto deploy scanner started for /home/liferay/deploy
Jevon Wright
RE: liferay startup problem with tomcat 5.5
January 12, 2012 5:45 PM
Answer

Jevon Wright

Rank: New Member

Posts: 8

Join Date: December 5, 2011

Recent Posts

I had a similar problem with the recent release of Liferay 6.1.0. From debugging and racking my brain, it looks like the problem was that there were old Liferay apps (such as Liferay layouts and themes) within webapps that were preventing Tomcat from working, probably due to the API changes from 6.1.0RC to 6.1.0.

Removing all of the apps from webapps solved this problem.