[Building Sakai] Problem starting sakai

Jaques Smith jaques at opencollab.co.za
Wed Jan 30 00:24:52 PST 2013


Hi Javier,

See this: https://confluence.sakaiproject.org/display/BOOT/Install+Tomcat+7
Point 9 specifies the changes you need to make for the classloaders.

Cheers,
Jaques


On 30 January 2013 01:24, Javier Martinez <javier at fisica.unam.mx> wrote:

>
> I'm trying to find the solution to my problem, I found this on logs:
>
> Jan 29, 2013 5:13:43 PM org.apache.catalina.core.StandardContext
> listenerStart
> SEVERE: Error configuring application listener of class
> org.sakaiproject.util.ToolListener
> java.lang.ClassNotFoundException: org.sakaiproject.util.ToolListener
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
>         at
> org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:527)
>         at
> org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:509)
>         at
> org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:137)
>         at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4733)
>         at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291)
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
>         at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
>         at
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)
>         at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:722)
>
> Jan 29, 2013 5:13:43 PM org.apache.catalina.core.StandardContext
> listenerStart
> SEVERE: Skipped installing application listeners due to previous error(s)
> Jan 29, 2013 5:13:43 PM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextInitialized()
> Jan 29, 2013 5:13:43 PM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextInitialized()
> Jan 29, 2013 5:13:44 PM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener:
> attributeAdded('org.apache.jasper.compiler.TldLocationsCache',
> 'org.apache.jasper.compiler.TldLocationsCache at 2abc7956')
>
>
> I just tried with mysql, but I have the same problem.
>
> I'm using CLE 2.9.0 and:
>
> javo at ubuntu:/opt/tomcat/apache-tomcat-7.0.35/logs$ java -version
> java version "1.7.0_11"
> Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
> Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
> javo at ubuntu:/opt/tomcat/apache-tomcat-7.0.35/logs$ mvn --version
> Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /opt/maven/apache-maven-3.0.4
> Java version: 1.7.0_11, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_11/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.5.0-17-generic", arch: "amd64", family:
> "unix"
> javo at ubuntu:/opt/tomcat/apache-tomcat-7.0.35/logs$ ../bin/shutdown.sh
> Using CATALINA_BASE:   /opt/tomcat/apache-tomcat-7.0.35
> Using CATALINA_HOME:   /opt/tomcat/apache-tomcat-7.0.35
> Using CATALINA_TMPDIR: /opt/tomcat/apache-tomcat-7.0.35/temp
> Using JRE_HOME:        /usr/lib/jvm/jdk1.7.0_11/
> Using CLASSPATH:
> /opt/tomcat/apache-tomcat-7.0.35/bin/bootstrap.jar:/opt/tomcat/apache-tomcat-7.0.35/bin/tomcat-juli.jar
> javo at ubuntu:/opt/tomcat/apache-tomcat-7.0.35/logs$ ../bin/startup.sh
> Using CATALINA_BASE:   /opt/tomcat/apache-tomcat-7.0.35
> Using CATALINA_HOME:   /opt/tomcat/apache-tomcat-7.0.35
> Using CATALINA_TMPDIR: /opt/tomcat/apache-tomcat-7.0.35/temp
> Using JRE_HOME:        /usr/lib/jvm/jdk1.7.0_11/
> Using CLASSPATH:
> /opt/tomcat/apache-tomcat-7.0.35/bin/bootstrap.jar:/opt/tomcat/apache-tomcat-7.0.35/bin/tomcat-juli.jar
>
>
>
>
>
> Javier Martinez
> javier at fisica.unam.mx
>
>
>
> On 29 Jan, 2013, at 2:07 PM, Steve Swinsburg wrote:
>
> > Hi,
> >
> > With Tomcat 7 you need to make some changes to conf/catalina.properties
> to restore the original Tomcat 5.5 class loader layout/directory structure.
> Did you do that?
> >
> > cheers,
> > Steve
> >
> >
> >
> > On 30/01/2013, at 5:00 AM, Javier Martinez <javier at fisica.unam.mx>
> wrote:
> >
> >>
> >> Hello,
> >>
> >> I'm building sakai from source. I compiled it and got BUILD SUCCESS.
> >>
> >> But when I start tomcat (I tested it and it's working) I had a lot of
> errors in catalina.out (the file is attached).
> >>
> >> I can´t acces to /portal/
> >>
> >>
> >> Thanks for your help.
> >>
> >> Javier<catalina.out>
> >>
> >>
> >>
> >> Javier Martinez
> >> javier at fisica.unam.mx
> >>
> >>
> >>
> >> _______________________________________________
> >> sakai-dev mailing list
> >> 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 with a subject of
> "unsubscribe"
> >
> >
>
>
> _______________________________________________
> sakai-dev mailing list
> 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 with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130130/562ef536/attachment.html 


More information about the sakai-dev mailing list