[Building Sakai] Problems running trunk

Steve Swinsburg steve.swinsburg at gmail.com
Wed Jun 16 15:28:38 PDT 2010


We'll need more than that snippet. Without seeing more, and at a guess, you've got duplicates in shared/lib, possible for sitestats?

cheers,
Steve



On 16 Jun 2010, at 16:18, DAVID ROLDAN MARTINEZ wrote:

> Here is the output. It seems a SQL problem but I've sakai configured to use HSQLDB so the tables refered should not exist. :(
> 
> 
> Could not resolve placeholder 'sakai.security' in [file:${sakai.security}securit
> y.properties] as system property: neither system property nor environment variab
> le found
> EntityProviderManagerImpl init
> INFO Registered entity provider (org.sakaiproject.entitybroker.impl.entityprovid
> er.EntityProviderManagerImpl$1) prefix (describe) with 1 capabilities
> INFO Registered entity provider (org.sakaiproject.entitybroker.impl.entityprovid
> er.EntityProviderManagerImpl$2) prefix (batch) with 1 capabilities
> INFO: [GenericDao] Could not execute first DDL line, skipping the rest: Statemen
> tCallback; bad SQL grammar [CREATE TABLE ENTITY_PROPERTIES ( id            BIGIN
> T NOT NULL IDENTITY, entityRef       VARCHAR(255) NOT NULL, entityPrefix    VARC
> HAR(255) NOT NULL, propertyName    VARCHAR(255) NOT NULL, propertyValue   LONGVA
> RCHAR NOT NULL)]; nested exception is java.sql.SQLException: Table already exist
> s: ENTITY_PROPERTIES in statement [CREATE TABLE ENTITY_PROPERTIES]:java.sql.SQLE
> xception: Table already exists: ENTITY_PROPERTIES in statement [CREATE TABLE ENT
> ITY_PROPERTIES]
> INFO: [GenericDao] Could not execute first DDL line, skipping the rest: Statemen
> tCallback; bad SQL grammar [CREATE TABLE ENTITY_TAG_APPLICATIONS ( id
> BIGINT NOT NULL IDENTITY, entityRef       VARCHAR(255) NOT NULL, entityPrefix
>  VARCHAR(255) NOT NULL, tag             VARCHAR(255) NOT NULL)]; nested excepti
> on is java.sql.SQLException: Table already exists: ENTITY_TAG_APPLICATIONS in st
> atement [CREATE TABLE ENTITY_TAG_APPLICATIONS]:java.sql.SQLException: Table alre
> ady exists: ENTITY_TAG_APPLICATIONS in statement [CREATE TABLE ENTITY_TAG_APPLIC
> ATIONS]
> INFO Registered entity provider (org.sakaiproject.component.app.messageforums.en
> tity.ForumTopicEntityProviderImpl) prefix (forum_topic) with 5 capabilities
> INFO Registered entity provider (org.sakaiproject.component.app.messageforums.en
> tity.ForumEntityProviderImpl) prefix (forum) with 5 capabilities
> INFO Registered entity provider (org.sakaiproject.component.app.messageforums.en
> tity.ForumMessageEntityProviderImpl) prefix (forum_message) with 5 capabilities
> INFO Registered 1 custom actions for entity prefix (matrixcell): canUserAccessWi
> zardPageAndLinkedArtifcact:null:null
> INFO Registered entity provider (org.theospi.portfolio.matrix.model.impl.MatrixC
> ellEntityProviderImpl) prefix (matrixcell) with 9 capabilities
> INFO Registered 1 custom actions for entity prefix (assignment): annc:list:getAs
> signDataForAnnouncement
> INFO EntityPropertiesService: Added 642 properties for entity prefix (assignment
> ) and basename (assignment)
> INFO Registered entity provider (org.sakaiproject.assignment.impl.AssignmentEnti
> tyProviderImpl) prefix (assignment) with 9 capabilities
> INFO Registered 1 custom actions for entity prefix (chat-channel): listen:edit:l
> isten
> INFO EntityPropertiesService: No properties to load for entity prefix (chat-chan
> nel) and basename (chat-channel)
> INFO Registered entity provider (org.sakaiproject.chat2.model.impl.ChatChannelEn
> tityProvider) prefix (chat-channel) with 17 capabilities
> INFO EntityPropertiesService: No properties to load for entity prefix (chat-mess
> age) and basename (chat-message)
> INFO Registered entity provider (org.sakaiproject.chat2.model.impl.ChatMessageEn
> tityProvider) prefix (chat-message) with 10 capabilities
> INFO Registered entity provider (org.sakaiproject.tool.assessment.entity.impl.Pu
> blishedAssessmentEntityProviderImpl) prefix (sam_pub) with 6 capabilities
> INFO Registered entity provider (org.sakaiproject.sitestats.impl.report.ReportDe
> fEntityProvider) prefix (sitestats-report) with 4 capabilities
> INFO Registered 11 custom actions for entity prefix (sitestats-metrics): get-all
> -metrics:list:getAllMetrics, get-reset-time:list:getResetTime, get-total-events-
> processed:list:getTotalEventsProcessed, get-average-time-event-processing-per-ev
> ent:list:getAverageTimeInEventProcessingPerEvent, get-events-processed-per-sec:l
> ist:getEventsProcessedPerSec, get-time-ellapsed-since-reset:list:getTimeEllapsed
> SinceReset, get-events-generated-per-sec:list:getEventsGeneratedPerSec, get-queu
> e-size:list:getQueueSize, is-idle:list:isIdle, get-time-spent-processing-events:
> list:getTimeSpentProcessingEvents, reset-all-metrics:list:resetAllMetrics
> INFO EntityPropertiesService: Added 12 properties for entity prefix (sitestats-m
> etrics) and basename (sitestats-metrics)
> INFO Registered entity provider (org.sakaiproject.sitestats.impl.entity.SiteStat
> sMetricsEntityProvider) prefix (sitestats-metrics) with 7 capabilities
> java.lang.Exception: traceback
>        at org.sakaiproject.util.NoisierDefaultListableBeanFactory.destroySingle
> tons(NoisierDefaultListableBeanFactory.java:96)
>        at org.sakaiproject.util.NoisierDefaultListableBeanFactory.preInstantiat
> eSingletons(NoisierDefaultListableBeanFactory.java:83)
>        at org.springframework.context.support.AbstractApplicationContext.finish
> BeanFactoryInitialization(AbstractApplicationContext.java:728)
>        at org.springframework.context.support.AbstractApplicationContext.refres
> h(AbstractApplicationContext.java:380)
>        at org.sakaiproject.component.impl.SpringCompMgr.init(SpringCompMgr.java
> :154)
>        at org.sakaiproject.component.cover.ComponentManager.getInstance(Compone
> ntManager.java:98)
>        at org.sakaiproject.component.cover.ComponentManager.get(ComponentManage
> r.java:107)
>        at org.sakaiproject.component.cover.ServerConfigurationService.getInstan
> ce(ServerConfigurationService.java:52)
>        at org.sakaiproject.component.cover.ServerConfigurationService.getString
> s(ServerConfigurationService.java:205)
>        at org.sakaiproject.util.BasicAuth.init(BasicAuth.java:111)
>        at org.sakaiproject.access.tool.AccessServlet.init(AccessServlet.java:14
> 7)
>        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
> java:1139)
>        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:96
> 6)
>        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
> t.java:3996)
>        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 266)
>        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:760)
>        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:74
> 0)
>        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
>        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:884)
>        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:737
> )
>        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498
> )
>        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1203)
>        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
> :319)
>        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
> eSupport.java:120)
>        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
>        at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
>        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
>        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
> )
>        at org.apache.catalina.core.StandardService.start(StandardService.java:4
> 48)
>        at org.apache.catalina.core.StandardServer.start(StandardServer.java:700
> )
>        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
> 
> ________________________________
> De: jonespm at gmail.com [jonespm at gmail.com] En nombre de Matthew Jones [jonespm at umich.edu]
> Enviado el: miércoles, 16 de junio de 2010 23:31
> Para: DAVID ROLDAN MARTINEZ
> CC: Steve Swinsburg; sakai-dev at sakaiproject.org
> Asunto: Re: [Building Sakai] Problems running trunk
> 
> Refer to this old piece of information [1] about customizing log4j to get the standalone windows tomcat to write to a logfile. You can do some other things with log4j to get it to write to other places.
> 
> You can also run it as a NT service as described here [2] and it will create logs as expected, but the log4j overrides would also work in this case as well.
> 
> [1] http://sakai-project-mail-list-archives.1343168.n2.nabble.com/Sakai-Demo-2-5-2-is-not-creating-logs-tt723055.html#a723255
> [2] http://confluence.sakaiproject.org/display/BOOT/Tailing+catalina.out+on+Windows
> 
> On Wed, Jun 16, 2010 at 2:31 PM, DAVID ROLDAN MARTINEZ <darolmar at upvnet.upv.es<mailto:darolmar at upvnet.upv.es>> wrote:
> I would like to but I'm using Windows and don't know how to load the contents of the log window to a file. :-\
> 
> Thanks.
> 
> David
> _______
> ________________________________________
> De: Steve Swinsburg [steve.swinsburg at gmail.com<mailto:steve.swinsburg at gmail.com>]
> Enviado el: miércoles, 16 de junio de 2010 22:30
> Para: DAVID ROLDAN MARTINEZ
> CC: sakai-dev at sakaiproject.org<mailto:sakai-dev at sakaiproject.org>
> Asunto: Re: [Building Sakai] Problems running trunk
> 
> Hi David,
> 
> A bit more of the error above that there should be a few stack traces. Can you include those, the whole section of the log from the last startup would be good.
> 
> cheers,
> Steve
> 
> 
> On 16 Jun 2010, at 14:23, DAVID ROLDAN MARTINEZ wrote:
> 
>> 
>>  Hi all,
>> 
>>  I've just deployed a trunk version over an Tomcat 5.5.29 & Java 1.6.0_20 but I'm not able to make it run. I've used example sakai.properties copied directly from reference/docs.
>> 
>>  When I start Tomcat, it gives me the error shown at the attachment.
>> 
>>  Can anybody help me, please?
>> 
>>  Thank you very much in advance.
>> 
>>   David<desktop.PNG>_______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org<mailto:sakai-dev at collab.sakaiproject.org>
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>> 
>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org<mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a subject of "unsubscribe"
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org<mailto:sakai-dev at collab.sakaiproject.org>
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org<mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a subject of "unsubscribe"
> 



More information about the sakai-dev mailing list