You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Zhe Wu <al...@oracle.com> on 2012/05/04 22:24:57 UTC
is there a best practice document on deploying Fuseki in Tomcat or
WebLogic Server?
Hi,
I am wondering if there is a best practice document on deploying Fuseki in Tomcat or WebLogic Server?
Thanks,
Zhe Wu
Oracle
Re: is there a best practice document on deploying Fuseki in Tomcat
or WebLogic Server?
Posted by Zhe Wu <al...@oracle.com>.
Hi Rob,
Thanks. I missed that link.
Zhe
On 5/7/2012 3:17 AM, Robert Vesse wrote:
> Hi Zhe
>
> If you read through the issue I linked previously you will see that I have
> done some investigation of approaches to this on the issue.
>
> The way forward appears to be to create a custom ServletContextListener
> and move the configuration wire up stuff into there.
>
> See the issue for more notes around this
>
> Rob
>
> Rob Vesse -- YarcData.com -- A Division of Cray Inc
> Software Engineer, Bay Area
> m: 925.960.3941 | o: 925.264.4729 | @: rvesse@yarcdata.com | Skype:
> rvesse
> 6210 Stoneridge Mall Rd | Suite 120 | Pleasanton CA, 94588
>
>
>
>
>
>
> On 5/6/12 7:43 PM, "Andy Seaborne"<an...@apache.org> wrote:
>
>> On 06/05/12 19:30, Zhe Wu wrote:
>>> Hi Andy,
>>>
>>>
>>> On 5/6/2012 2:53 AM, Andy Seaborne wrote:
>>>> I see the underlying issue as an architectural one. Deploying in
>>>> tomcat or etc is deploying in the middle tier of application stack (in
>>>> old fashioned 3-tier language). Middle tier business logic is ideally
>>>> stateless code, using a DB or some bus to manage it's application
>>>> state.
>>>>
>>>> Fuseki is a database server; state (the database) is shared across
>>>> requests. It behaves like the database layer in that respect.
>>>>
>>>> The configuration is startup state - getting that into a WAR file is,
>>>> in general, hard to make generic.
>>>>
>>>> Rob found a useful looking approach for a generic WAR file. Building
>>>> your own WAR with the local config in it is also a possibility for now
>>>>
>>> Can this useful looking approach be documented?
>> As Rob said:
>>>>>> There is an open issue JENA-201 [1] for this but there has not been
>>>>>> much progress lately.
>> ServletContextListener
>>
>> Please feel free to contribute a patch.
>>
>> Andy
>>
>>> Thanks,
>>>
>>> Zhe
>>>
>>>> Andy
>>>>
>>>> On 04/05/12 21:43, Zhe Wu wrote:
>>>>> Hi Rob,
>>>>>
>>>>> Thanks for the speedy response!
>>>>>
>>>>> BTW, congratulations to the whole Jena dev team for achieving a top
>>>>> level apache project status!!!
>>>>> Jena APIs are very important to Oracle's Database Semantic
>>>>> Technologies
>>>>> product.
>>>>>
>>>>> Zhe
>>>>> Oracle
>>>>>
>>>>> On 5/4/2012 1:33 PM, Robert Vesse wrote:
>>>>>> Hi Zhe
>>>>>>
>>>>>> No there is not, as it stands Fuseki is not deployable as a WAR
>>>>>> artifact.
>>>>>>
>>>>>> There is an open issue JENA-201 [1] for this but there has not been
>>>>>> much progress lately. It is certainly doable but would require a
>>>>>> certain amount of work on the code. Contributions in this area are
>>>>>> always welcome.
>>>>>>
>>>>>> Rob
>>>>>>
>>>>>> [1] https://issues.apache.org/jira/browse/JENA-201
>>>>>> ________________________________________
>>>>>> From: Zhe Wu [alan.wu@oracle.com]
>>>>>> Sent: 04 May 2012 13:24
>>>>>> To: jena-users@incubator.apache.org
>>>>>> Subject: is there a best practice document on deploying Fuseki in
>>>>>> Tomcat or WebLogic Server?
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I am wondering if there is a best practice document on deploying
>>>>>> Fuseki in Tomcat or WebLogic Server?
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Zhe Wu
>>>>>> Oracle
Re: is there a best practice document on deploying Fuseki in Tomcat
or WebLogic Server?
Posted by Robert Vesse <rv...@yarcdata.com>.
Hi Zhe
If you read through the issue I linked previously you will see that I have
done some investigation of approaches to this on the issue.
The way forward appears to be to create a custom ServletContextListener
and move the configuration wire up stuff into there.
See the issue for more notes around this
Rob
Rob Vesse -- YarcData.com -- A Division of Cray Inc
Software Engineer, Bay Area
m: 925.960.3941 | o: 925.264.4729 | @: rvesse@yarcdata.com | Skype:
rvesse
6210 Stoneridge Mall Rd | Suite 120 | Pleasanton CA, 94588
On 5/6/12 7:43 PM, "Andy Seaborne" <an...@apache.org> wrote:
>On 06/05/12 19:30, Zhe Wu wrote:
>> Hi Andy,
>>
>>
>> On 5/6/2012 2:53 AM, Andy Seaborne wrote:
>>> I see the underlying issue as an architectural one. Deploying in
>>> tomcat or etc is deploying in the middle tier of application stack (in
>>> old fashioned 3-tier language). Middle tier business logic is ideally
>>> stateless code, using a DB or some bus to manage it's application
>>>state.
>>>
>>> Fuseki is a database server; state (the database) is shared across
>>> requests. It behaves like the database layer in that respect.
>>>
>>> The configuration is startup state - getting that into a WAR file is,
>>> in general, hard to make generic.
>>>
>>> Rob found a useful looking approach for a generic WAR file. Building
>>> your own WAR with the local config in it is also a possibility for now
>>>
>>
>> Can this useful looking approach be documented?
>
>As Rob said:
> >>>> There is an open issue JENA-201 [1] for this but there has not been
> >>>> much progress lately.
>ServletContextListener
>
>Please feel free to contribute a patch.
>
> Andy
>
>>
>> Thanks,
>>
>> Zhe
>>
>>> Andy
>>>
>>> On 04/05/12 21:43, Zhe Wu wrote:
>>>> Hi Rob,
>>>>
>>>> Thanks for the speedy response!
>>>>
>>>> BTW, congratulations to the whole Jena dev team for achieving a top
>>>> level apache project status!!!
>>>> Jena APIs are very important to Oracle's Database Semantic
>>>>Technologies
>>>> product.
>>>>
>>>> Zhe
>>>> Oracle
>>>>
>>>> On 5/4/2012 1:33 PM, Robert Vesse wrote:
>>>>> Hi Zhe
>>>>>
>>>>> No there is not, as it stands Fuseki is not deployable as a WAR
>>>>> artifact.
>>>>>
>>>>> There is an open issue JENA-201 [1] for this but there has not been
>>>>> much progress lately. It is certainly doable but would require a
>>>>> certain amount of work on the code. Contributions in this area are
>>>>> always welcome.
>>>>>
>>>>> Rob
>>>>>
>>>>> [1] https://issues.apache.org/jira/browse/JENA-201
>>>>> ________________________________________
>>>>> From: Zhe Wu [alan.wu@oracle.com]
>>>>> Sent: 04 May 2012 13:24
>>>>> To: jena-users@incubator.apache.org
>>>>> Subject: is there a best practice document on deploying Fuseki in
>>>>> Tomcat or WebLogic Server?
>>>>>
>>>>> Hi,
>>>>>
>>>>> I am wondering if there is a best practice document on deploying
>>>>> Fuseki in Tomcat or WebLogic Server?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Zhe Wu
>>>>> Oracle
>>>>
>>>
>>
>
Re: is there a best practice document on deploying Fuseki in Tomcat
or WebLogic Server?
Posted by Andy Seaborne <an...@apache.org>.
On 06/05/12 19:30, Zhe Wu wrote:
> Hi Andy,
>
>
> On 5/6/2012 2:53 AM, Andy Seaborne wrote:
>> I see the underlying issue as an architectural one. Deploying in
>> tomcat or etc is deploying in the middle tier of application stack (in
>> old fashioned 3-tier language). Middle tier business logic is ideally
>> stateless code, using a DB or some bus to manage it's application state.
>>
>> Fuseki is a database server; state (the database) is shared across
>> requests. It behaves like the database layer in that respect.
>>
>> The configuration is startup state - getting that into a WAR file is,
>> in general, hard to make generic.
>>
>> Rob found a useful looking approach for a generic WAR file. Building
>> your own WAR with the local config in it is also a possibility for now
>>
>
> Can this useful looking approach be documented?
As Rob said:
>>>> There is an open issue JENA-201 [1] for this but there has not been
>>>> much progress lately.
ServletContextListener
Please feel free to contribute a patch.
Andy
>
> Thanks,
>
> Zhe
>
>> Andy
>>
>> On 04/05/12 21:43, Zhe Wu wrote:
>>> Hi Rob,
>>>
>>> Thanks for the speedy response!
>>>
>>> BTW, congratulations to the whole Jena dev team for achieving a top
>>> level apache project status!!!
>>> Jena APIs are very important to Oracle's Database Semantic Technologies
>>> product.
>>>
>>> Zhe
>>> Oracle
>>>
>>> On 5/4/2012 1:33 PM, Robert Vesse wrote:
>>>> Hi Zhe
>>>>
>>>> No there is not, as it stands Fuseki is not deployable as a WAR
>>>> artifact.
>>>>
>>>> There is an open issue JENA-201 [1] for this but there has not been
>>>> much progress lately. It is certainly doable but would require a
>>>> certain amount of work on the code. Contributions in this area are
>>>> always welcome.
>>>>
>>>> Rob
>>>>
>>>> [1] https://issues.apache.org/jira/browse/JENA-201
>>>> ________________________________________
>>>> From: Zhe Wu [alan.wu@oracle.com]
>>>> Sent: 04 May 2012 13:24
>>>> To: jena-users@incubator.apache.org
>>>> Subject: is there a best practice document on deploying Fuseki in
>>>> Tomcat or WebLogic Server?
>>>>
>>>> Hi,
>>>>
>>>> I am wondering if there is a best practice document on deploying
>>>> Fuseki in Tomcat or WebLogic Server?
>>>>
>>>> Thanks,
>>>>
>>>> Zhe Wu
>>>> Oracle
>>>
>>
>
Re: is there a best practice document on deploying Fuseki in Tomcat
or WebLogic Server?
Posted by Zhe Wu <al...@oracle.com>.
Hi Andy,
On 5/6/2012 2:53 AM, Andy Seaborne wrote:
> I see the underlying issue as an architectural one. Deploying in tomcat or etc is deploying in the middle tier of application stack (in old fashioned 3-tier language). Middle tier business logic is ideally stateless code, using a DB or some bus to manage it's application state.
>
> Fuseki is a database server; state (the database) is shared across requests. It behaves like the database layer in that respect.
>
> The configuration is startup state - getting that into a WAR file is, in general, hard to make generic.
>
> Rob found a useful looking approach for a generic WAR file. Building your own WAR with the local config in it is also a possibility for now
>
Can this useful looking approach be documented?
Thanks,
Zhe
> Andy
>
> On 04/05/12 21:43, Zhe Wu wrote:
>> Hi Rob,
>>
>> Thanks for the speedy response!
>>
>> BTW, congratulations to the whole Jena dev team for achieving a top
>> level apache project status!!!
>> Jena APIs are very important to Oracle's Database Semantic Technologies
>> product.
>>
>> Zhe
>> Oracle
>>
>> On 5/4/2012 1:33 PM, Robert Vesse wrote:
>>> Hi Zhe
>>>
>>> No there is not, as it stands Fuseki is not deployable as a WAR artifact.
>>>
>>> There is an open issue JENA-201 [1] for this but there has not been
>>> much progress lately. It is certainly doable but would require a
>>> certain amount of work on the code. Contributions in this area are
>>> always welcome.
>>>
>>> Rob
>>>
>>> [1] https://issues.apache.org/jira/browse/JENA-201
>>> ________________________________________
>>> From: Zhe Wu [alan.wu@oracle.com]
>>> Sent: 04 May 2012 13:24
>>> To: jena-users@incubator.apache.org
>>> Subject: is there a best practice document on deploying Fuseki in
>>> Tomcat or WebLogic Server?
>>>
>>> Hi,
>>>
>>> I am wondering if there is a best practice document on deploying
>>> Fuseki in Tomcat or WebLogic Server?
>>>
>>> Thanks,
>>>
>>> Zhe Wu
>>> Oracle
>>
>
Re: is there a best practice document on deploying Fuseki in Tomcat
or WebLogic Server?
Posted by Andy Seaborne <an...@apache.org>.
I see the underlying issue as an architectural one. Deploying in tomcat
or etc is deploying in the middle tier of application stack (in old
fashioned 3-tier language). Middle tier business logic is ideally
stateless code, using a DB or some bus to manage it's application state.
Fuseki is a database server; state (the database) is shared across
requests. It behaves like the database layer in that respect.
The configuration is startup state - getting that into a WAR file is, in
general, hard to make generic.
Rob found a useful looking approach for a generic WAR file. Building
your own WAR with the local config in it is also a possibility for now
Andy
On 04/05/12 21:43, Zhe Wu wrote:
> Hi Rob,
>
> Thanks for the speedy response!
>
> BTW, congratulations to the whole Jena dev team for achieving a top
> level apache project status!!!
> Jena APIs are very important to Oracle's Database Semantic Technologies
> product.
>
> Zhe
> Oracle
>
> On 5/4/2012 1:33 PM, Robert Vesse wrote:
>> Hi Zhe
>>
>> No there is not, as it stands Fuseki is not deployable as a WAR artifact.
>>
>> There is an open issue JENA-201 [1] for this but there has not been
>> much progress lately. It is certainly doable but would require a
>> certain amount of work on the code. Contributions in this area are
>> always welcome.
>>
>> Rob
>>
>> [1] https://issues.apache.org/jira/browse/JENA-201
>> ________________________________________
>> From: Zhe Wu [alan.wu@oracle.com]
>> Sent: 04 May 2012 13:24
>> To: jena-users@incubator.apache.org
>> Subject: is there a best practice document on deploying Fuseki in
>> Tomcat or WebLogic Server?
>>
>> Hi,
>>
>> I am wondering if there is a best practice document on deploying
>> Fuseki in Tomcat or WebLogic Server?
>>
>> Thanks,
>>
>> Zhe Wu
>> Oracle
>
Re: is there a best practice document on deploying Fuseki in Tomcat
or WebLogic Server?
Posted by Zhe Wu <al...@oracle.com>.
Hi Rob,
Thanks for the speedy response!
BTW, congratulations to the whole Jena dev team for achieving a top level apache project status!!!
Jena APIs are very important to Oracle's Database Semantic Technologies product.
Zhe
Oracle
On 5/4/2012 1:33 PM, Robert Vesse wrote:
> Hi Zhe
>
> No there is not, as it stands Fuseki is not deployable as a WAR artifact.
>
> There is an open issue JENA-201 [1] for this but there has not been much progress lately. It is certainly doable but would require a certain amount of work on the code. Contributions in this area are always welcome.
>
> Rob
>
> [1] https://issues.apache.org/jira/browse/JENA-201
> ________________________________________
> From: Zhe Wu [alan.wu@oracle.com]
> Sent: 04 May 2012 13:24
> To: jena-users@incubator.apache.org
> Subject: is there a best practice document on deploying Fuseki in Tomcat or WebLogic Server?
>
> Hi,
>
> I am wondering if there is a best practice document on deploying Fuseki in Tomcat or WebLogic Server?
>
> Thanks,
>
> Zhe Wu
> Oracle
RE: is there a best practice document on deploying Fuseki in Tomcat
or WebLogic Server?
Posted by Robert Vesse <rv...@yarcdata.com>.
Hi Zhe
No there is not, as it stands Fuseki is not deployable as a WAR artifact.
There is an open issue JENA-201 [1] for this but there has not been much progress lately. It is certainly doable but would require a certain amount of work on the code. Contributions in this area are always welcome.
Rob
[1] https://issues.apache.org/jira/browse/JENA-201
________________________________________
From: Zhe Wu [alan.wu@oracle.com]
Sent: 04 May 2012 13:24
To: jena-users@incubator.apache.org
Subject: is there a best practice document on deploying Fuseki in Tomcat or WebLogic Server?
Hi,
I am wondering if there is a best practice document on deploying Fuseki in Tomcat or WebLogic Server?
Thanks,
Zhe Wu
Oracle