On 2017-09-22 04:58, Sergio Fernández <[email protected]> wrote: 
> Hi,
> 
> the documentation is that. Just be sure you don't have two backends at the
> same time I think we didn't use that backend in production for long time.
> 
> BTW, are you using 3.3.o or 3.4.0-SNAPSHOT? Because currently the backend
> have been reorganized
> https://github.com/apache/marmotta/tree/develop/platform/backends so there
> are quite some Sesame-centered
> backends: marmotta-backend-http, marmotta-backend-sparql,
> marmotta-backend-memory
> and marmotta-backend-native. If I remember correctly, only the first two
> connect to the Sesame Webapps, while the other two just use Sesame
> libraries.
> 
> Basically any other details may be useful to help you figuring out what's
> not working.
> 
> Cheers,
> 
> 
> On Wed, Sep 20, 2017 at 7:12 AM, [email protected] <
> [email protected]> wrote:
> 
> > Team,
> >
> > I'm working on a PoC and wanted to use Sesame Native Backend. I'm
> > following the steps mentioned in the below link
> > http://marmotta.apache.org/platform/backends.html and updated my pom.xml
> > but still facing some issues.
> >
> > I have deployed the sesame wars into my tomcat server. Can someone please
> > help if I'm missing any other steps?
> >
> > Thanks
> > Mohamed Umair
> >
> >
> >
> Thanks Sergio for the response!
I'm using 3.4.0-SNAPSHOT to set sesame as my backend. I'm trying the below 
steps.
1) Imported the marmotta-webapp 3.4.0 into my workspace and updated the pom.xml 
with below configurations

<properties>
        
<marmotta.home>${java.io.tmpdir}${file.separator}marmotta</marmotta.home>
        <marmotta.context>/</marmotta.context>
        <marmotta.port>8080</marmotta.port>
        <marmotta.backend>native</marmotta.backend>
        <jdeb.signing>false</jdeb.signing>
    </properties>

<!-- backend profiles -->--removed kiwi and added below dependencies of 
marmotta-backend-http, marmotta-backend-sparql, also tried with 
marmotta-backend-native pom.xml entries/ 
http://marmotta.apache.org/platform/backends.html Sesame Native Backend 
configurations.
<profile>
            <id>native</id>
            <activation>
                <activeByDefault>true</activeByDefault>
                <property>
                    <name>marmotta.backend</name>
                    <value>native</value>
                </property>
            </activation>
            <dependencies>
                <dependency>
            <groupId>org.apache.marmotta</groupId>
            <artifactId>marmotta-core</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.marmotta</groupId>
            <artifactId>marmotta-sail-transactions</artifactId>
        </dependency>
        <dependency>
            <groupId>org.openrdf.sesame</groupId>
            <artifactId>sesame-sail-federation</artifactId>
        </dependency>
        <dependency>
            <groupId>org.openrdf.sesame</groupId>
            <artifactId>sesame-repository-http</artifactId>
        </dependency>
        <dependency>
            <groupId>org.openrdf.sesame</groupId>
            <artifactId>sesame-repository-sparql</artifactId>
        </dependency>
            </dependencies>
        </profile>
2) successfully build and package the maven project and copied the marmotta 
folder from the target folder to apache-tomcat-7.0.81\webapps folder and 
restarted the server, also 
openrdf-sesame/openrdf-workbench.war(openrdf-sesame-4.1.2) files copied into 
webapps folder

3) Now trying to run below links as per 
"marmotta/platform/backends/marmotta-backend-native/src/main/resources/kiwi-module.properties"
 configurations
http://localhost:8080/marmotta/storage-native/admin/about.html
http://localhost:8080/marmotta/storage-native/admin/configuration.html

4) Getting HTTP Status 404 error and unable to open the page. Post changes, 
also http://localhost:8080/marmotta/storage-kiwi/admin/about.html not working

Please provide your input and do let me know if I'm missing any other steps. 
Thanks in advance.

Regards,
Mohamed Umair




Reply via email to