[Deploying Sakai] Query regarding Starting up Sakai without INternet

Neelesh Gurjar ngurjar at neeleshgurjar.co.in
Wed Jul 9 05:00:11 PDT 2014




Hi,
I found one solution for this.
1. Downloaded mapping
file hibernate-mapping-3.0.dtd
2. Placed it in
TOMCAT_HOME/lib
3. I extracted
sakai-lessonbuildertool-hbm-1.4.3.jar. Replaced all mapping lines which
were going to hibernate.org (http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd)

to
file:///TOMCAT_HOME/hibernate-mapping-3.0.dtd 
4. Compressed all
files as a jar and replaced old jar with new one
sakai-lessonbuildertool-hbm-1.4.3.jar.
5. Started Tomcat and started
working sucessfully.
Thanks for your help. However please let me
know if any better solution for this.
Regards
Neelesh
Gurjar
> This sounds similar to:

>
http://sakai-project-mail-list-archives.1343168.n2.nabble.com/Building-Sakai-Hibernate-DocType-DTD-files-and-slow-Sakai-startups-tp7591499.html

>

> Though I do know that ehcache goes out to check for updates, which
could

> explain the Terracotta connection. Can you see where its trying to
connect

> to? If it is the ehcache check, add this to your Java opts:

>

> -Dnet.sf.ehcache.skipUpdateCheck=true

>

> cheers,

> Steve

>

>

> On Wed, Jul 9, 2014 at 8:26 PM, Diego del Blanco Orobitg <

> diego.delblanco.sakai at gmail.com> wrote:

>

>> I've detected the same, and really is something important. We
have some

>> people interested into run Sakai in local networks (in remote
places in

>> the

>> mountains in Perú) and if they don't have internet they
can't start

>> Sakai.

>>

>> I think this is important to create a JIRA, don't think so?

>>

>>

>> 2014-07-09 7:52 GMT+02:00 Neelesh Gurjar
<ngurjar at neeleshgurjar.co.in>:

>>

>>> Hi

>>>

>>> I have installed Sakai 2.9.3 on OpenSUSE 11 server using
BInary and

>>> source.

>>>

>>> Both runs well when I provide internet connection to the
Server.

>>>

>>> However when I remove internet connectivity, and try to start
Tomcat

>>> using startup.sh.

>>>

>>> It throws bellow exception error in catalina.out:

>>>

>>>

>>>

>>> 2014-07-08 13:25:55,651 ERROR localhost-startStop-1

>>> org.sakaiproject.util.

>>> NoisierDefaultListableBeanFactory - Failed to preinstantiate
the

>>> singleton named

>>>
org.sakaiproject.accountvalidator.dao.impl.ValidationLogicDaoTarget.

>>> Destroying all Spring beans.

>>> org.springframework.beans.factory.BeanCreationException:
Error creating

>>> bean with name

>>>
'org.sakaiproject.accountvalidator.dao.impl.ValidationLogicDaoTarget'

>>> defined in file

>>>
[/opt/tomcat/components/accountvalidator-pack/WEB-INF/spring-hibernate.xml]:

>>> Cannot resolve reference to bean 'org.sakaiproject.

>>> springframework.orm.hibernate.GlobalSessionFactory' while
setting bean

>>> property 'sessionFactory'; nested exception is

>>> org.springframework.beans.factory.BeanCreationException:

>>> Error creating bean with name 'org.sakaiproject.

>>> springframework.orm.hibernate.GlobalSessionFactory' defined
in file

>>>
[/opt/tomcat/components/sakai-kernel-component/WEB-INF/db-components.xml]:

>>> Invocation of init method failed; nested exception is

>>> org.hibernate.MappingException:

>>> Failed to load class path resource
[org/sakaiproject/lessonbuildertool/

>>> simplepageproperty.hbm.xml]

>>>

>>> So I tried to dig into that. When I captured network traffic,
I found

>>> that it is trying to communicate with terracotta.org &
hibernate.org.

>>> However as that machine does not have internet connection,
sakai was

>>> not

>>> comming up. And when I provided internet connection to the
server,

>>> Sakai

>>> started successfully.

>>>

>>>

>>>

>>> My query : How can I start Sakai, without providing Internet
Connection

>>> to the server?

>>>

>>>

>>>

>>> Regards

>>>

>>> Neelesh

>>>

>>>

>>> _______________________________________________

>>> production mailing list

>>> production at collab.sakaiproject.org

>>> http://collab.sakaiproject.org/mailman/listinfo/production

>>>

>>> TO UNSUBSCRIBE: send email to

>>> production-unsubscribe at collab.sakaiproject.org with a subject
of

>>> "unsubscribe"

>>>

>>

>>

>>

>> --

>> ***************************************

>> *Diego del Blanco Orobitg*

>> Spain & LATAM Regional Manager (*ANI Sakai*)

>> Apereo LATAM Representative (*Apereo Foundation*)

>>

>> P: (+34) 653 683 489

>> E: ddelblanco at anisakai.com

>> Sk: ddelblanco.ani

>> ***************************************

>>

>> _______________________________________________

>> production mailing list

>> production at collab.sakaiproject.org

>> http://collab.sakaiproject.org/mailman/listinfo/production

>>

>> TO UNSUBSCRIBE: send email to

>> production-unsubscribe at collab.sakaiproject.org with a subject
of

>> "unsubscribe"

>>

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/production/attachments/20140709/fd9b64d2/attachment.html 


More information about the production mailing list