[Building Sakai] problem facing while trying to run sakai-bin-2.5.0
bhishek_80
bhishek_80 at yahoo.co.in
Sun Jul 10 23:00:37 PDT 2011
Hi ,
please find the complete attached error log.
http://old.nabble.com/file/p32035072/sakai-2.5_error.txt sakai-2.5_error.txt
I put all the new directories(eg;components etc) as well as new files(eg;all
the new wars of webapp , shared->lib->*.jars..etc) from the unpacked
"sakai-bin-2.5.0" to tomcat but didn't overwrite any directory/files to
"tomcat".
One more thing, could you please tell me if an customised application
developed on sakai-2.5 version can be executed/supported by sakai-2.8.
If its supported then what all changes we need to follow/inject from our
side to build/run our existing customised sakai-2.5 application.
Thanks,
Abhishek
Steve Swinsburg-3 wrote:
>
> Hi,
>
> Once you unpack into Tomcat, do you have a directory 'components' with
> more sakai directories in there, and a directory shared/lib with a number
> of jars, many with sakai in their name, and a directory ;webapps' with a
> number of .war files?
>
> Can you also send your full output from the startup, there is likely an
> error further up which prevented Sakai from starting properly.
>
> Also, please don't use 2.5.0 as a starting point. It is unsupported. Use
> 2.8.0
>
> cheers,
> Steve
>
>
>
> On 10/07/2011, at 10:25 AM, bhishek_80 wrote:
>
>>
>> Hi,
>> please look into the following issue while trying to configure and run
>> sakai-bin-2.5.0.
>>
>> I am using the apache-tomcat-5.5.28 , jdk1.5.0_14 , apache-maven-2.2.1 ,
>>
>> I made the following steps.
>> 1. Set environment variables to windows7 as follows
>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_14
>> CATALINA_HOME=D:\apache-tomcat-5.5.28
>> M2_HOME=D:\apache-maven-2.2.1
>> MAVEN_HOME=D:\apache-maven-2.2.1
>> MAVEN_OPTS=-Xmx512m
>>
>> 2.Also set the system variable as path upto bin directory for tomcat,jdk
>> and
>> maven
>> 3.create a setenv.bat file to TOMCAT_HOME->bin.
>> setenv.bat contains following
>> set JAVA_OPTS=-server -XX:+UseParallelGC -Xmx768m -XX:MaxPermSize=160m
>> -Djava.awt.headless=true
>>
>> 4.edit $CATALINA_HOME/conf/server.xml like the follwoing
>> <Connector port="8080" maxThreads="150" minSpareThreads="25"
>> maxSpareThreads="75"
>> enableLookups="false" redirectPort="8443" acceptCount="100"
>> debug="0"
>> connectionTimeout="20000" disableUploadTimeout="true"
>> URIEncoding="UTF-8"/>
>>
>>
>> 5.create a sakai directory under TOMCAT_HOME and put sakai.properties
>> into
>> it.plz find the attached sakai.properties where auto.ddl=true .
>> http://old.nabble.com/file/p32029838/sakai.properties sakai.properties
>>
>> 6.unzip sakai-bin-2.5.0.zip and put everything under TOMCAT_HOME.
>> 7.start tomcat using startup.bat
>>
>> 8.once server has started then go to browser and put
>> http://localhost:8080/portal
>>
>> but getting the following error in the tomcat console as well as browser.
>>
>>
>> WARN: Bug Report user: null usage-session: null time: Jul 7, 2011
>> 13:49:11
>> user comment: null stack trace
>> org.sakaiproject.portal.api.PortalHandlerException:
>> java.lang.NullPointerException
>> at
>> org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:891)
>> caused by: java.lang.NullPointerException
>> at
>> org.sakaiproject.portal.charon.SkinnableCharonPortal.startPageContext(SkinnableCharonPortal.java:1101)
>> at
>> org.sakaiproject.portal.charon.handlers.SiteHandler.doSite(SiteHandler.java:246)
>> at
>> org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:114)
>> at
>> org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:891)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>> at
>> org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:592)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
>> at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
>> at
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>> at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>> at
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>> at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>> at java.lang.Thread.run(Thread.java:595)
>>
>> Tool Placement:
>> No Placement
>>
>> Request:
>> : AuthType:null
>> : CharEncoding:UTF-8
>> : ContentLength:-1
>> : ContentType:null
>> : ContextPath:/portal
>> : LocalAddress:0.0.0.0
>> : LocalName:0.0.0.0
>> : LocalPort:8080
>> : Method:GET
>> : PathInfo:/
>> : Protocol:HTTP/1.1
>> : QueryString:null
>> : RemoteAddress:0:0:0:0:0:0:0:1
>> : RemoteHost:0:0:0:0:0:0:0:1
>> : RemotePort:64623
>> : Requested URL:http://localhost:8080/portal
>> : Scheme:http
>> : ServerName:localhost
>> : Headers:
>> : Header:host:localhost:8080
>> : Header:user-agent:Mozilla/5.0 (Windows NT 6.1; rv:5.0)
>> Gecko/20100101 Firefox/5.0
>> :
>> Header:accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
>> : Header:accept-language:en-us,en;q=0.5
>> : Header:accept-encoding:gzip, deflate
>> : Header:accept-charset:ISO-8859-1,utf-8;q=0.7,*;q=0.7
>> : Header:connection:keep-alive
>> : Parameters:
>> : Attributes:
>> :
>> Attribute:sakai.session:org.sakaiproject.tool.impl.SessionComponent$MySession at 7801c181
>> :
>> Attribute:sakai.character.encoding.done:sakai.character.encoding.done
>> : Attribute:sakai.filtered:sakai.filtered
>> Session:
>> : Created:1310026751145
>> : LastAccess:1310026751145
>> : MaxInactive:3600
>> : Attributes:
>> (2011-07-07 13:49:11,235
>> http-8080-Processor25_org.sakaiproject.portal.util.ErrorReporter)
>> WARN: send: javax.mail.internet.AddressException: Illegal address in
>> string
>> ``'' (2011-07-07 13:49:11,245
>> http-8080-Processor25_org.sakaiproject.email.impl.BasicEmailService)
>> INFO: Preparing to send the mail digests for
>> 20110706183000000]20110707183000000 (2011-07-07 13:49:29,394
>> Timer-2_org.sakaiproject.email.impl.BasicEmailService)
>>
>>
>> Appreciate your cooperations.
>> Thanks in advance
>> Abhishek
>> --
>> View this message in context:
>> http://old.nabble.com/problem-facing-while-trying-to-run-sakai-bin-2.5.0-tp32029838p32029838.html
>> Sent from the Sakai - Development mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> 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"
>
>
--
View this message in context: http://old.nabble.com/problem-facing-while-trying-to-run-sakai-bin-2.5.0-tp32029838p32035072.html
Sent from the Sakai - Development mailing list archive at Nabble.com.
More information about the sakai-dev
mailing list