This forum is no longer active. Please post your questions to our new community site

Forums Liferay

liferay install ok but then..

Subscribe to liferay install ok but then.. 17 post(s), 3 voice(s)

 
Avatar sambkk 11 post(s)

Hi all
killer resources. thank you. most impresive site I have come accross.
having said that..
I installed LIFERAY stack for windows.
I am running vista.
installs just fine, like I assume it is supposed to, starts up with the bitnami welcome screen at [step1] http://127.0.0.1:8080/
Then I go to [step2] http://127.0.0.1:8080/liferay/ I think it is for the login to liferay
I enter test@liferay.com & test and netx thing is just a blank screen step3
I am not 100% sure of the url of step 2 as I didnt write it down but I think it should be correct

can anyone help me out?
Thanks in advance

Sami

 
Avatar sambkk 11 post(s)

I want to ad that when I go to start – programs and start the liferay stack from there, then try to launch bitnami (http://127.0.0.1:8080) the page just hangs
I also have a wamp installation set up previously, I wouldnt expect that to cause any issues but who knows, I obviously dont
And just incase I have been unclear, its a local install as the urls should tell you.
by hanging I mean the page just keeps loading but never loads.
When I initially installed the firts pages loaded just fine, and it wasnt untill I tried to log in that the page loaded blank.
Never did I get any error msgs.(unfortunately, at least those could have helped in troubleshooting)

thanks

Sami

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi Sami,

It is probably a memory issue with Java. Could you take a look to the apache-tomcat/logs/catalina.out? Cheers.

 
Avatar sambkk 11 post(s)

Hi Beltran
thanks for the reply.
I sort of expected the issue to be something to do with memory somewhere.
Anyway I just re-started my machine (its morning here) and was ready to go looking for the logs, but to my amazement it logged me in just fine.
The troubles of yesterday have seem to have gone away..
So hopefully my next question will have to do with being stuck elsewhere..
thanks again

Sami

 
Avatar sambkk 11 post(s)

Ahh..spoke too soon.
I navigated to my apache-tomcat/logs folder
but there is no catalina.out file in there. just a couple of jakarta_service and stdderr_ and stdout_ files (2 each) EDIT
my problem has to be memory related, I restart the machine and everything is back on.
and it says out of memory in plain english in the logs ;-) *END EDIT

if the stdout files are infact the right logs, they do include a few lines that mention out of memory.
here they are below:


(this is stdout_20090412.log - is that for yesterday?)
12.4.2009 23:22:32 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
12.4.2009 23:22:32 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1398 ms
12.4.2009 23:22:32 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
12.4.2009 23:22:32 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.25
12.4.2009 23:22:32 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
12.4.2009 23:22:32 org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop: 
java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:519)
    at java.net.Socket.connect(Socket.java:469)
    at java.net.Socket.<init>(Socket.java:366)
    at java.net.Socket.<init>(Socket.java:179)
    at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395)
    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:585)
    at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)
12.4.2009 23:22:40 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
12.4.2009 23:22:40 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 990 ms
12.4.2009 23:22:40 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
12.4.2009 23:22:40 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.25
12.4.2009 23:22:40 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
12.4.2009 23:22:45 org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: <a href="http://www.cnn.com">http://www.cnn.com</a>], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: <a href="http://www.yahoo.com">http://www.yahoo.com</a>], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: <a href="http://jakarta.apache.org">http://jakarta.apache.org</a>]]
12.4.2009 23:22:45 org.apache.catalina.realm.JAASRealm parseClassNames
SEVERE: Class com.liferay.portal.security.jaas.PortalPrincipal not found! Class not added.
12.4.2009 23:22:45 org.apache.catalina.realm.JAASRealm parseClassNames
SEVERE: Class com.liferay.portal.security.jaas.PortalRole not found! Class not added.
12.4.2009 23:22:45 org.apache.catalina.realm.JAASRealm setUseContextClassLoader
INFO: Setting useContextClassLoader = false
Loading jar:file:/D:/BTnmiLFrayINST/apache-tomcat/webapps/liferay/WEB-INF/lib/portal-impl.jar!/system.properties
23:22:59,461 INFO  [[/liferay]:647] Initializing Spring root WebApplicationContext
Loading jar:file:/D:/BTnmiLFrayINST/apache-tomcat/webapps/liferay/WEB-INF/lib/portal-impl.jar!/portal.properties
Loading file:/D:/BTnmiLFrayINST/apache-tomcat/webapps/liferay/WEB-INF/classes/portal-ext.properties
23:23:12,969 INFO  [PortalImpl:228] Portal lib directory /D:/BTnmiLFrayINST/apache-tomcat/webapps/liferay/WEB-INF/lib/
12.4.2009 23:23:32 com.sun.portal.container.service.ServiceManagerContextListenerImpl contextInitialized
INFO: PSC_CSPCS001 : Started initializing ServiceManager
12.4.2009 23:23:32 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.CoordinationService, Implementation: com.sun.portal.container.service.coordination.impl.CoordinationServiceImpl
12.4.2009 23:23:32 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.CachingService, Implementation: com.sun.portal.container.service.caching.impl.CachingServiceImpl
12.4.2009 23:23:32 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.ClientCachingService, Implementation: com.sun.portal.container.service.caching.impl.ClientCachingServiceImpl
12.4.2009 23:23:32 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.DeploymentService_Local, Implementation: com.sun.portal.container.service.deployment.impl.DeploymentServiceLocalImpl
12.4.2009 23:23:32 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.ContainerEventService, Implementation: com.sun.portal.container.service.coordination.impl.ContainerEventServiceImpl
12.4.2009 23:23:32 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.PolicyService, Implementation: com.sun.portal.container.service.policy.impl.PolicyServiceImpl
12.4.2009 23:23:32 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS018 : ClassNotFoundException: com.sun.portal.wsrp.consumer.common.DeploymentServiceRemoteImpl, while adding the service: com.sun.portal.container.service.DeploymentService_Remote
12.4.2009 23:23:32 com.sun.portal.container.service.ServiceManagerContextListenerImpl contextInitialized
INFO: PSC_CSPCS002 : Finished initializing ServiceManager
12.4.2009 23:23:32 com.sun.portal.portletcontainer.impl.PortletContainerContextListenerImpl contextInitialized
INFO: PSPL_PCCSPCPCI0003 : Starting PortletContainer 2.0_01
Starting Liferay Portal 5.1.2 (Calvin / Build 5102 / October 3, 2008)
23:23:33,781 WARN  [ReleaseLocalServiceImpl:83] Table 'bitnami_liferay.release_' doesn't exist
23:23:33,784 INFO  [ReleaseLocalServiceImpl:96] Create tables and populate with default data
23:24:39,861 WARN  [DBUtil:425] Table 'quartz_job_details' already exists
23:24:39,866 WARN  [DBUtil:425] Table 'quartz_job_listeners' already exists
23:24:39,869 WARN  [DBUtil:425] Table 'quartz_triggers' already exists
23:24:39,871 WARN  [DBUtil:425] Table 'quartz_simple_triggers' already exists
23:24:39,874 WARN  [DBUtil:425] Table 'quartz_cron_triggers' already exists
23:24:39,876 WARN  [DBUtil:425] Table 'quartz_blob_triggers' already exists
23:24:39,881 WARN  [DBUtil:425] Table 'quartz_trigger_listeners' already exists
23:24:39,884 WARN  [DBUtil:425] Table 'quartz_calendars' already exists
23:24:39,886 WARN  [DBUtil:425] Table 'quartz_paused_trigger_grps' already exists
23:24:39,894 WARN  [DBUtil:425] Table 'quartz_fired_triggers' already exists
23:24:39,896 WARN  [DBUtil:425] Table 'quartz_scheduler_state' already exists
23:24:39,901 WARN  [DBUtil:425] Table 'quartz_locks' already exists
23:24:39,904 WARN  [DBUtil:425] Duplicate entry 'TRIGGER_ACCESS' for key 1
23:24:39,906 WARN  [DBUtil:425] Duplicate entry 'JOB_ACCESS' for key 1
23:24:39,909 WARN  [DBUtil:425] Duplicate entry 'CALENDAR_ACCESS' for key 1
23:24:39,914 WARN  [DBUtil:425] Duplicate entry 'STATE_ACCESS' for key 1
23:24:39,916 WARN  [DBUtil:425] Duplicate entry 'MISFIRE_ACCESS' for key 1
23:24:40,810 INFO  [StartupAction:294] Running verification com.liferay.portal.verify.VerifyProcessSuite
23:24:40,811 INFO  [VerifyProcessSuite:37] Verifying
23:24:40,813 INFO  [VerifyProperties:40] Verifying
23:24:40,815 INFO  [VerifyLucene:37] Verifying
23:24:40,816 INFO  [VerifyCounter:44] Verifying
23:24:40,836 INFO  [VerifyOracle:52] Verifying
23:24:40,880 INFO  [VerifyUUID:52] Verifying
23:24:40,932 INFO  [VerifyBlogs:42] Verifying
23:24:41,095 INFO  [VerifyBookmarks:42] Verifying
23:24:41,099 INFO  [VerifyDocumentLibrary:42] Verifying
23:24:41,103 INFO  [VerifyGroup:46] Verifying
23:24:41,149 INFO  [VerifyImageGallery:42] Verifying
23:24:41,152 INFO  [VerifyJournal:56] Verifying
23:24:41,163 INFO  [VerifyLayout:43] Verifying
23:24:41,168 INFO  [VerifyMessageBoards:42] Verifying
23:24:41,173 INFO  [VerifySocial:46] Verifying
23:24:41,174 INFO  [VerifyUser:44] Verifying
23:24:41,185 INFO  [VerifyWiki:42] Verifying
23:24:41,190 INFO  [StartupAction:300] Finished verification com.liferay.portal.verify.VerifyProcessSuite
23:24:42,360 INFO  [ServerDetector:76] Detected server tomcat
23:24:42,454 INFO  [HotDeployUtil:76] Initializing hot deploy manager 10624483
23:24:42,850 INFO  [AutoDeployDir:76] Creating missing directory D:\BTnmiLFrayINST\apps\liferay\data\deploy
23:24:42,852 INFO  [AutoDeployDir:76] Auto deploy scanner started for D:\BTnmiLFrayINST\apps\liferay\data\deploy
12.4.2009 23:24:46 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
12.4.2009 23:24:46 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
12.4.2009 23:24:46 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/25  config=null
12.4.2009 23:24:46 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
12.4.2009 23:24:46 org.apache.catalina.startup.Catalina start
INFO: Server startup in 126146 ms
23:25:42,408 INFO  [PluginPackageUtil:76] Reloading repositories
23:25:44,490 INFO  [PluginPackageUtil:76] Checking for available updates
23:25:44,491 INFO  [PluginPackageUtil:76] Finished checking for available updates in 0 ms
23:25:47,829 ERROR [[jsp]:723] Servlet.service() for servlet jsp threw exception
java.lang.OutOfMemoryError: PermGen space
23:26:02,302 ERROR [JobRunShell:211] Job DEFAULT.com.liferay.portlet.admin.job.CheckRemoteRepositoriesJob@16632205 threw an unhandled Exception: 
java.lang.OutOfMemoryError: PermGen space
23:26:04,516 ERROR [ErrorLogger:2156] Job (DEFAULT.com.liferay.portlet.admin.job.CheckRemoteRepositoriesJob@16632205 threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: PermGen space]
    at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzScheduler_Worker-2" java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-8080-Processor25" java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-8080-Processor23" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzSchedulerEngineInstance_QuartzSchedulerThread" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzScheduler_QuartzSchedulerEngineInstance-NON_CLUSTERED_MisfireHandler" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzScheduler_QuartzSchedulerThread" java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-8080-Processor24" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzSchedulerEngineInstance_Worker-1" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzScheduler_Worker-10" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzSchedulerEngineInstance_Worker-4" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzSchedulerEngineInstance_Worker-2" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzSchedulerEngineInstance_Worker-4" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzScheduler_Worker-4" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzScheduler_Worker-1" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzScheduler_Worker-7" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzSchedulerEngineInstance_Worker-5" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzSchedulerEngineInstance_Worker-2" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzSchedulerEngineInstance_Worker-3" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzScheduler_Worker-6" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzScheduler_Worker-9" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzScheduler_Worker-3" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzScheduler_Worker-8" java.lang.OutOfMemoryError: PermGen space
Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzSchedulerEngineInstance_Worker-5" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzScheduler_Worker-5" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzSchedulerEngineInstance_Worker-1" java.lang.OutOfMemoryError: PermGen space
Exception in thread "QuartzSchedulerEngineInstance_Worker-3" java.lang.OutOfMemoryError: PermGen space
**********AND THIS IS THE SECOND
stdout_20090413.log - apparently todays file:
13.4.2009 10:18:00 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
13.4.2009 10:18:00 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 7427 ms
13.4.2009 10:18:01 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
13.4.2009 10:18:01 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.25
13.4.2009 10:18:01 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
13.4.2009 10:18:06 org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: <a href="http://www.cnn.com">http://www.cnn.com</a>], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: <a href="http://www.yahoo.com">http://www.yahoo.com</a>], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: <a href="http://jakarta.apache.org">http://jakarta.apache.org</a>]]
13.4.2009 10:18:06 org.apache.catalina.realm.JAASRealm parseClassNames
SEVERE: Class com.liferay.portal.security.jaas.PortalPrincipal not found! Class not added.
13.4.2009 10:18:06 org.apache.catalina.realm.JAASRealm parseClassNames
SEVERE: Class com.liferay.portal.security.jaas.PortalRole not found! Class not added.
13.4.2009 10:18:06 org.apache.catalina.realm.JAASRealm setUseContextClassLoader
INFO: Setting useContextClassLoader = false
Loading jar:file:/D:/BTnmiLFrayINST/apache-tomcat/webapps/liferay/WEB-INF/lib/portal-impl.jar!/system.properties
10:18:20,077 INFO  [[/liferay]:647] Initializing Spring root WebApplicationContext
Loading jar:file:/D:/BTnmiLFrayINST/apache-tomcat/webapps/liferay/WEB-INF/lib/portal-impl.jar!/portal.properties
Loading file:/D:/BTnmiLFrayINST/apache-tomcat/webapps/liferay/WEB-INF/classes/portal-ext.properties
10:18:42,977 INFO  [PortalImpl:228] Portal lib directory /D:/BTnmiLFrayINST/apache-tomcat/webapps/liferay/WEB-INF/lib/
13.4.2009 10:19:01 com.sun.portal.container.service.ServiceManagerContextListenerImpl contextInitialized
INFO: PSC_CSPCS001 : Started initializing ServiceManager
13.4.2009 10:19:01 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.CoordinationService, Implementation: com.sun.portal.container.service.coordination.impl.CoordinationServiceImpl
13.4.2009 10:19:01 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.CachingService, Implementation: com.sun.portal.container.service.caching.impl.CachingServiceImpl
13.4.2009 10:19:01 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.ClientCachingService, Implementation: com.sun.portal.container.service.caching.impl.ClientCachingServiceImpl
13.4.2009 10:19:01 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.DeploymentService_Local, Implementation: com.sun.portal.container.service.deployment.impl.DeploymentServiceLocalImpl
13.4.2009 10:19:01 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.ContainerEventService, Implementation: com.sun.portal.container.service.coordination.impl.ContainerEventServiceImpl
13.4.2009 10:19:01 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.PolicyService, Implementation: com.sun.portal.container.service.policy.impl.PolicyServiceImpl
13.4.2009 10:19:01 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS018 : ClassNotFoundException: com.sun.portal.wsrp.consumer.common.DeploymentServiceRemoteImpl, while adding the service: com.sun.portal.container.service.DeploymentService_Remote
13.4.2009 10:19:01 com.sun.portal.container.service.ServiceManagerContextListenerImpl contextInitialized
INFO: PSC_CSPCS002 : Finished initializing ServiceManager
13.4.2009 10:19:01 com.sun.portal.portletcontainer.impl.PortletContainerContextListenerImpl contextInitialized
INFO: PSPL_PCCSPCPCI0003 : Starting PortletContainer 2.0_01
Starting Liferay Portal 5.1.2 (Calvin / Build 5102 / October 3, 2008)
10:19:06,206 INFO  [ServerDetector:76] Detected server tomcat
10:19:06,284 INFO  [HotDeployUtil:76] Initializing hot deploy manager 25691226
10:19:07,095 INFO  [AutoDeployDir:76] Auto deploy scanner started for D:\BTnmiLFrayINST\apps\liferay\data\deploy
13.4.2009 10:19:08 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
13.4.2009 10:19:08 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
13.4.2009 10:19:08 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47  config=null
13.4.2009 10:19:08 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
13.4.2009 10:19:08 org.apache.catalina.startup.Catalina start
INFO: Server startup in 67770 ms
10:20:06,281 INFO  [PluginPackageUtil:76] Reloading repositories
10:20:06,375 ERROR [PluginPackageUtil:52] Unable to load repository <a href="http://plugins.liferay.com/official">http://plugins.liferay.com/official</a> com.liferay.portal.plugin.PluginPackageException: Unable to communicate with repository <a href="http://plugins.liferay.com/official">http://plugins.liferay.com/official</a>
10:20:06,375 ERROR [PluginPackageUtil:52] Unable to load repository <a href="http://plugins.liferay.com/community">http://plugins.liferay.com/community</a> com.liferay.portal.plugin.PluginPackageException: Unable to communicate with repository <a href="http://plugins.liferay.com/community">http://plugins.liferay.com/community</a>
10:20:06,375 WARN  [PluginPackageUtil:124] Unable to communicate with repository <a href="http://plugins.liferay.com/official">http://plugins.liferay.com/official</a>
10:20:06,391 WARN  [PluginPackageUtil:124] Unable to communicate with repository <a href="http://plugins.liferay.com/community">http://plugins.liferay.com/community</a>
13.4.2009 10:21:04 org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
13.4.2009 10:21:05 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
13.4.2009 10:21:05 com.sun.portal.container.service.ServiceManager removeService
INFO: PSC_CSPCS005 : Service remove, Name: com.sun.portal.container.service.CoordinationService
13.4.2009 10:21:05 com.sun.portal.container.service.ServiceManager removeService
INFO: PSC_CSPCS005 : Service remove, Name: com.sun.portal.container.service.PolicyService
13.4.2009 10:21:05 com.sun.portal.container.service.ServiceManager removeService
INFO: PSC_CSPCS005 : Service remove, Name: com.sun.portal.container.service.CachingService
13.4.2009 10:21:05 com.sun.portal.container.service.ServiceManager removeService
INFO: PSC_CSPCS005 : Service remove, Name: com.sun.portal.container.service.ContainerEventService
13.4.2009 10:21:05 com.sun.portal.container.service.ServiceManager removeService
INFO: PSC_CSPCS005 : Service remove, Name: com.sun.portal.container.service.ClientCachingService
13.4.2009 10:21:05 com.sun.portal.container.service.ServiceManager removeService
INFO: PSC_CSPCS005 : Service remove, Name: com.sun.portal.container.service.DeploymentService_Local
10:21:05,164 INFO  [[/liferay]:647] Closing Spring root WebApplicationContext
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
13.4.2009 10:21:08 org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
13.4.2009 10:22:28 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
13.4.2009 10:22:28 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2041 ms
13.4.2009 10:22:29 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
13.4.2009 10:22:29 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.25
13.4.2009 10:22:29 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
13.4.2009 10:22:31 org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: <a href="http://www.cnn.com">http://www.cnn.com</a>], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: <a href="http://www.yahoo.com">http://www.yahoo.com</a>], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: <a href="http://jakarta.apache.org">http://jakarta.apache.org</a>]]
13.4.2009 10:22:31 org.apache.catalina.realm.JAASRealm parseClassNames
SEVERE: Class com.liferay.portal.security.jaas.PortalPrincipal not found! Class not added.
13.4.2009 10:22:31 org.apache.catalina.realm.JAASRealm parseClassNames
SEVERE: Class com.liferay.portal.security.jaas.PortalRole not found! Class not added.
13.4.2009 10:22:31 org.apache.catalina.realm.JAASRealm setUseContextClassLoader
INFO: Setting useContextClassLoader = false
Loading jar:file:/D:/BTnmiLFrayINST/apache-tomcat/webapps/liferay/WEB-INF/lib/portal-impl.jar!/system.properties
10:22:37,291 INFO  [[/liferay]:647] Initializing Spring root WebApplicationContext
Loading jar:file:/D:/BTnmiLFrayINST/apache-tomcat/webapps/liferay/WEB-INF/lib/portal-impl.jar!/portal.properties
Loading file:/D:/BTnmiLFrayINST/apache-tomcat/webapps/liferay/WEB-INF/classes/portal-ext.properties
10:23:03,570 INFO  [PortalImpl:228] Portal lib directory /D:/BTnmiLFrayINST/apache-tomcat/webapps/liferay/WEB-INF/lib/
13.4.2009 10:23:26 com.sun.portal.container.service.ServiceManagerContextListenerImpl contextInitialized
INFO: PSC_CSPCS001 : Started initializing ServiceManager
13.4.2009 10:23:26 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.CoordinationService, Implementation: com.sun.portal.container.service.coordination.impl.CoordinationServiceImpl
13.4.2009 10:23:26 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.CachingService, Implementation: com.sun.portal.container.service.caching.impl.CachingServiceImpl
13.4.2009 10:23:26 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.ClientCachingService, Implementation: com.sun.portal.container.service.caching.impl.ClientCachingServiceImpl
13.4.2009 10:23:26 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.DeploymentService_Local, Implementation: com.sun.portal.container.service.deployment.impl.DeploymentServiceLocalImpl
13.4.2009 10:23:26 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.ContainerEventService, Implementation: com.sun.portal.container.service.coordination.impl.ContainerEventServiceImpl
13.4.2009 10:23:26 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.PolicyService, Implementation: com.sun.portal.container.service.policy.impl.PolicyServiceImpl
13.4.2009 10:23:26 com.sun.portal.container.service.ServiceManager addService
INFO: PSC_CSPCS018 : ClassNotFoundException: com.sun.portal.wsrp.consumer.common.DeploymentServiceRemoteImpl, while adding the service: com.sun.portal.container.service.DeploymentService_Remote
13.4.2009 10:23:26 com.sun.portal.container.service.ServiceManagerContextListenerImpl contextInitialized
INFO: PSC_CSPCS002 : Finished initializing ServiceManager
13.4.2009 10:23:26 com.sun.portal.portletcontainer.impl.PortletContainerContextListenerImpl contextInitialized
INFO: PSPL_PCCSPCPCI0003 : Starting PortletContainer 2.0_01
Starting Liferay Portal 5.1.2 (Calvin / Build 5102 / October 3, 2008)
10:23:32,337 INFO  [ServerDetector:76] Detected server tomcat
10:23:32,442 INFO  [HotDeployUtil:76] Initializing hot deploy manager 24417264
10:23:33,156 INFO  [AutoDeployDir:76] Auto deploy scanner started for D:\BTnmiLFrayINST\apps\liferay\data\deploy
13.4.2009 10:23:35 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
13.4.2009 10:23:36 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
13.4.2009 10:23:36 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/21  config=null
13.4.2009 10:23:36 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
13.4.2009 10:23:36 org.apache.catalina.startup.Catalina start
INFO: Server startup in 67245 ms
10:24:32,415 INFO  [PluginPackageUtil:76] Reloading repositories
10:24:32,499 ERROR [PluginPackageUtil:52] Unable to load repository <a href="http://plugins.liferay.com/official">http://plugins.liferay.com/official</a> com.liferay.portal.plugin.PluginPackageException: Unable to communicate with repository <a href="http://plugins.liferay.com/official">http://plugins.liferay.com/official</a>
10:24:32,502 ERROR [PluginPackageUtil:52] Unable to load repository <a href="http://plugins.liferay.com/community">http://plugins.liferay.com/community</a> com.liferay.portal.plugin.PluginPackageException: Unable to communicate with repository <a href="http://plugins.liferay.com/community">http://plugins.liferay.com/community</a>
10:24:32,518 WARN  [PluginPackageUtil:124] Unable to communicate with repository <a href="http://plugins.liferay.com/official">http://plugins.liferay.com/official</a>
10:24:32,520 WARN  [PluginPackageUtil:124] Unable to communicate with repository <a href="http://plugins.liferay.com/community">http://plugins.liferay.com/community</a>
10:26:49,282 INFO  [PluginPackageUtil:76] Checking for available updates
10:26:49,283 INFO  [PluginPackageUtil:76] Finished checking for available updates in 0 ms
10:30:20,304 ERROR [[jsp]:723] Servlet.service() for servlet jsp threw exception
java.lang.OutOfMemoryError: PermGen space
10:30:20,307 ERROR [IncludeTag:52] Current URL /liferay/web/guest/home?p_p_id=2&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_2_struts_action=%2Fmy_account%2Fedit_user&_2_backURL=%2Fliferay%2Fweb%2Fguest%2Fhome generates exception: PermGen space
10:30:20,310 ERROR [IncludeTag:52] java.lang.OutOfMemoryError: PermGen space
 
Avatar sambkk 11 post(s)

Hi
can anyone help be with debugging this memory issue?

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

This is a common problem with RAM memory. How much RAM have your computer? Try the following:

1. Edit the following line in the apache-tomcat/bin/service.bat file:

++JvmOptions “-Djava.io.tmpdir=CATALINA_BASE\temp”—JvmMs 128—JvmMx 512

Decrease the JvmMs to 64 and increase the JvmMx to 1024 for example. Then resintall the service using apache-tomcat/scripts/serviceinstall.bat:

> serviceinstall.bat REMOVE

Then open a new command line prompt and run the following command to install the service:

> serviceinstall.bat INSTALL

I hope it helps.

 
Avatar sambkk 11 post(s)

Chhers beltran
I will get going with your instructions. I do have 4gb ram.
Hope your instructions work.
Thanks again

Sami

 
Avatar sambkk 11 post(s)

Hi
step 2 is unclear to me. Should I run the file
apache-tomcat/scripts/serviceinstall.bat

or make an edit into the file?

I am leaning towards running with command prompt.
this is what it says inside the file:
:remove
rem—STOP SERVICES BEFORE REMOVING
sc stop liferayTomcat >NUL
call “D:\BTnmiLFrayINST/apache-tomcat\bin\service.bat” remove liferayTomcat

I understand that as running D:\BTnmiLFrayINST/apache-tomcat\bin\service.bat from command prompt.
Is that correct?

My service is stopped, can I just restart?

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Right, you only have to execute the script to remove/install the service. You not only should stop the service, it is necessary to reinstall it.

 
Avatar sambkk 11 post(s)

Hi
just when I thought i understood it..cold reality kicked in.
I started command prompt and tried to type in D:\BTnmiLFrayINST/apache-tomcat\bin\service.bat REMOVE
but that command only resulted in a reply stating that

“the tomcat.exe was not found”

“The CATALINA_HOME environment variable is not defined correctly”

“this environment variable is needed to run this program”

does this mean I need to go and adjust the system environment settings through control panel-system-advanced system settings-environment variables?
Or whats the problem.
This is getting confusing.

in my apache-tomcat/bin/service.bat
it says:

rem Guess CATALINA_HOME if not defined

set CURRENT_DIR=cd

if not “CATALINA_HOME” == ”” goto gotHome

set CATALINA_HOME=cd

if exist “CATALINA_HOME\bin\tomcat5.exe” goto okHome

rem CD to the upper dir

cd ..

set CATALINA_HOME=cd

and the tomcat5.exe is in that folder as far as I can see.

And thanks again for all the assistance

 
Avatar sambkk 11 post(s)

Ahh.
my apache-tomcat\scripts\serviceinstall.bat says that:

JAVA_HOME=D:\BTNMIL~1\java

now as I was manually installing java a few times before I found Bitnami and these wonderful stacks,
so I had set in advanced system settings-environment variables
under system variables

JAVA_HOME to D:JAVA_SE\bin

i had done that previously since thats where I manually installed the java kit downloaded
could that be the problem?

Also in user variables I set PATH to JAVA_HOME\bin
Could those settings be causing something?
it still doesnt really explain this to me but its my “best guess” at the moment.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

The Stack is totally independent that you have installed in the system so it is not necessary to install/uninstall Java or set any environment variable. What error you can see if you execute > apache-tomcat\scripts\serviceinstall.bat REMOVE ?

Cheers.

 
Avatar sambkk 11 post(s)

Hi
I may have trouble with how I am using c-prompts as well so just for reference
my BITNAMI STACK is on D:\BTnmiLFrayINST\

SO I did the following:
in command prompt I typed D:
then once the command line looked like D:\>

I typed in apache-tomcat\scripts\serviceinstall.bat REMOVE
resulted in: The system cannot find the path specified

ok so then I typed (still in D:\>): D:\BTnmiLFrayINST\apache-tomcat\scripts\serviceinstall.bat REMOVE

I got an application system error pop up, Access Is Denied

unable to delete liferayTomcat service

if I run the same line from C:\Users\Sami>
(I am user Sami) so that is:

C:\Users\Sami>D:\BTnmiLFrayINST\apache-tomcat\scripts\serviceinstall.bat REMOVE

I get no msg, the command prompt just flashes away.
I am hoping it worked?
alltough it would seem odd that theres is no response, confirmation of any kind from cprompt
running the linje from D:\> and getting the error msg kinda made sens after I typed it up inhere for you as I realised the user sami part might have something to do with authorizations.

Should I just follow up with the serviceinstall.bat INSTALL command now?

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

You can confirm that the service was deleted in the services panel. Type “services.msc” in a command prompt and search “liferayTomcat” and “liferayMySQL”. The first one should be removed and then when you type “serviceinstall.bat INSTALL”, refresh the service panel and it should appear.

Cheers.

 
Avatar sambkk 11 post(s)

hi beltran
(great name by the way)
thanks for all the advice. my liferay is now ok.

 
Avatar apia 1 post

In addition I needed to change to 1024:

set JAVA_HOME=C:\PROGRA2\BITNAM1\java
set JAVA_OPTS=JAVA_OPTS -Xmx1024m

in the setenv.bat

Forums Liferay