Installing Sesame di Ubuntu


yuk kita install Sesame Street😀
Anda bisa lihat disini langkah2nya. Namun banyak yg missing disana yg akan saya tambahakan disini.

  1. Install tomcat
    apt-get install tomcat6
  2. cek tomcat running apa tidak
    http://localhost:8080
  3. download zip Open sesame dan ekstrak ke direktori misal /home/iin/sesame
  4. copi file-file war ke root dir tomcat
    cd /var/lib/tomcat6/webapp
    cp /home/iin/sesame/war/* .
    mkdir -p /usr/share/tomcat6/.aduna/openrdf-sesame/logs
    chown -R tomcat6:tomcat6 /usr/share/tomcat6/.aduna
  5. Edit /etc/tomcat6/policy.d/50local.policy

    // =============================================
    // Additional permissions for openrdf-workbench
    grant codeBase "file:${catalina.base}/webapps/openrdf-workbench/-" {
    permission java.net.SocketPermission "localhost:8080", "connect";
    permission java.net.SocketPermission "locahost:8080", "resolve";
    };
    //
    // Additional permissions for openrdf-sesame
    grant codeBase "file:${catalina.base}/webapps/openrdf-sesame/-" {
    permission java.util.PropertyPermission "info.aduna.platform.appdata.basedir", "read";
    permission java.util.PropertyPermission "aduna.platform.applicationdata.dir", "read";
    permission java.util.PropertyPermission "user.home", "read";
    //permission java.security.AllPermission;
    permission java.lang.RuntimePermission "createSecurityManager";
    permission java.util.logging.LoggingPermission "control";
    permission java.io.FilePermission "/usr/share/tomcat6/.aduna/openrdf-sesame/logs", "read";
    permission java.io.FilePermission "/usr/share/tomcat6/.aduna/openrdf-sesame/logs", "write";
    permission java.io.FilePermission "/usr/share/tomcat6/.aduna/openrdf-sesame/conf/logback.xml", "read";
    permission java.io.FilePermission "/usr/share/tomcat6/.aduna/openrdf-sesame/conf/proxy.properties", "read";
    permission java.util.PropertyPermission "*", "read,write";
    permission java.io.FilePermission "/usr/share/tomcat6/.aduna/openrdf-sesame/conf", "read,write";
    //permission java.io.FilePermission /usr/share/tomcat6/.aduna/openrdf-sesame/*", "read,write";
    permission java.io.FilePermission "/usr/share/tomcat6/.aduna/openrdf-sesame/conf/proxy.properties.default", "read,write";
    permission java.io.FilePermission "/usr/share/tomcat6/.aduna/openrdf-sesame/repositories/SYSTEM/memorystore.data", "read,write";
    permission java.io.FilePermission "/usr/share/tomcat6/.aduna/openrdf-sesame/repositories/SYSTEM/lock", "read,write";
    permission java.io.FilePermission "/usr/share/tomcat6/.aduna/openrdf-sesame/-", "read,write,delete";
    permission java.lang.RuntimePermission "shutdownHooks";
    permission java.lang.RuntimePermission "getProtectionDomain";
    permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
    };
    // ===================================================
  6. Buat file /etc/tomcat6/Catalina/localhost/openrdf-workbench.xml yang berisi :
    <Context path="/openrdf-workbench"
        antiResourceLocking="false" />
  7. Buat file /etc/tomcat6/Catalina/localhost/openrdf-sesame.xml yang berisi :
    <Context path="/openrdf-sesame"
        antiResourceLocking="false" />
  8. Edit file /etc/tomcat6/tomcat-users.xml tambahkan :
    <role rolename="manager"/>
    <user username="tomcat6" password="mudah" roles="manager"/>
  9. Restart tomcat server
    /etc/init.d/tomcat6 restart
  10. Sekarang kita tes instalasi kita
    http://localhost:8080/openrdf-workbench
    http://localhost:8080/openrdf-sesame

Jika tidak ada Java Exception berarti instalasi kita berjalan dengan baik
Selamat ber-sesame ria😉

  1. Assmlkm.wr.wb.

    Maaf Bu’ Izin tanya, bisa tolong ibu jelaskan fungsi dari sesame itu bu’..? Terima kasih..

  2. salam kenal dan semangat berkarya🙂

    uiifan@yahoo.com
    http://fcep.uii.ac.id/

  3. thanks yah buk! :*
    uda jalan sesame ku…

    bisa di jelasin buk kok harus konfigurasi antiResourceLocking dan yang di 50local.policy konfigurasi buat apa aja…

    semalem masih error, baru pagi ini cari installasi sesame di ubuntu🙂 thanks!

    • edi
    • Juni 8th, 2012

    Tutorialnya sangat membantu..
    Untuk di Windows sy coba untuk install tapi sll gagal.. Ketika saya ketikkan localhost:8080/openrdf-sesame
    pesan erornya spt ini:

    HTTP Status 500 –

    type Exception report

    message

    description The server encountered an internal error () that prevented it from fulfilling this request.

    exception

    javax.servlet.ServletException: Servlet.init() for servlet openrdf-http-server threw exception
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
    org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    java.lang.Thread.run(Unknown Source)

    root cause

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘adunaWebappNavigation’ defined in ServletContext resource [/WEB-INF/openrdf-http-server-servlet.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
    PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property ‘navigationModels’ threw exception; nested exception is java.lang.NoSuchMethodError: javax.xml.parsers.DocumentBuilderFactory.setSchema(Ljavax/xml/validation/Schema;)V
    org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1103)
    org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:835)
    org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
    org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)
    org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
    org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:279)
    org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:360)
    org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:329)
    org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:265)
    org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:235)
    org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
    javax.servlet.GenericServlet.init(GenericServlet.java:256)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
    org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    java.lang.Thread.run(Unknown Source)

    root cause

    org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
    PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property ‘navigationModels’ threw exception; nested exception is java.lang.NoSuchMethodError: javax.xml.parsers.DocumentBuilderFactory.setSchema(Ljavax/xml/validation/Schema;)V
    org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:104)
    org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:59)
    org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
    org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:835)
    org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
    org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)
    org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
    org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:279)
    org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:360)
    org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:329)
    org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:265)
    org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:235)
    org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
    javax.servlet.GenericServlet.init(GenericServlet.java:256)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
    org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    java.lang.Thread.run(Unknown Source)

    note The full stack trace of the root cause is available in the Tomcat logs.
    Apache Tomcat/5.0.18

    Mungkin Ibu ada saran .. Maaf sdah memenuhi Blognya&Trimakasih banyak..

  1. Mei 24th, 2011

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s