You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Juergen Weber <we...@gmail.com> on 2007/02/07 00:41:31 UTC

Startup without binary; Derby backend

Hi,

can you startup apacheds without the native binary? I'd like to try ds
on z/OS where there is no binary.
And what is the point of making Java unportable with a native starter?

In the quickstarting guide there should be a hint how to start ds on
unix without root install, i.e. without the init.d scripts.


Has anybody tried a Derby backend for ds? Derby is included in Java 1.6
Unfortunately the backend tutorial isn't written yet, is it?

I did not find a source download, isn't there?

Thanks,
Juergen

Re: Startup without binary; Derby backend

Posted by Alex Karasulu <ak...@apache.org>.
Cool you already did the JIRA thang.  For now this is great! Thank you.

For next time though, see if  you can attach the file instead to the 
JIRA issue as an attachment.  This is always better because JIRA does 
not destroy your formatting.

Thanks!
Alex

Juergen Weber wrote:
> https://issues.apache.org/jira/browse/DIRSERVER-845
> 
> Greetings,
> Juergen
> 
> On 2/7/07, Stefan Zoerner <sz...@apache.org> wrote:
>> Juergen Weber wrote:
>>
>> > There is no "documentation" component in JIRA, yet.
>>
>> You can raise issues at JIRA without designating a component. Feel free
>> to add it to http://issues.apache.org/jira/browse/DIRSERVER like that.
>> We'll add an appropriate component soon, and tag your entry afterwards.
>>
>> Greetings from Hamburg,
>>      Stefan
>>
>>
>> ---8<---
>>
>> Stefan Zoerner (szoerner@apache.org)
>> Apache Directory Project
>> Committer :: PMC Member
>>
>>
> 


Re: Startup without binary; Derby backend

Posted by Juergen Weber <we...@gmail.com>.
https://issues.apache.org/jira/browse/DIRSERVER-845

Greetings,
Juergen

On 2/7/07, Stefan Zoerner <sz...@apache.org> wrote:
> Juergen Weber wrote:
>
> > There is no "documentation" component in JIRA, yet.
>
> You can raise issues at JIRA without designating a component. Feel free
> to add it to http://issues.apache.org/jira/browse/DIRSERVER like that.
> We'll add an appropriate component soon, and tag your entry afterwards.
>
> Greetings from Hamburg,
>      Stefan
>
>
> ---8<---
>
> Stefan Zoerner (szoerner@apache.org)
> Apache Directory Project
> Committer :: PMC Member
>
>

Re: Startup without binary; Derby backend

Posted by Stefan Zoerner <sz...@apache.org>.
Juergen Weber wrote:

> There is no "documentation" component in JIRA, yet.

You can raise issues at JIRA without designating a component. Feel free 
to add it to http://issues.apache.org/jira/browse/DIRSERVER like that. 
We'll add an appropriate component soon, and tag your entry afterwards.

Greetings from Hamburg,
     Stefan


---8<---

Stefan Zoerner (szoerner@apache.org)
Apache Directory Project
Committer :: PMC Member


Re: Startup without binary; Derby backend

Posted by Juergen Weber <we...@gmail.com>.
On 2/7/07, Emmanuel Lecharny <el...@gmail.com> wrote:
> Juergen Weber a écrit :
>
> > Hi,
> >
> > can you startup apacheds without the native binary?
>
> > In the quickstarting guide there should be a hint how to start ds on
> > unix without root install, i.e. without the init.d scripts.
>
> Yes, this is missing. Any volunteer to fulfill this task will be
> welcomed :) (anyway, you also might fill a JIRA issue requesting for
> this tutorial, so we will have it somwhere in our roadmap)

There is no "documentation" component in JIRA, yet.

> > Has anybody tried a Derby backend for ds?
>
> Nope.
>
> > Derby is included in Java 1.6
>
> We are not using Java 1.6 currently. And using Derby as a backend might
> be a limitation.

Why, for convenience it is included in 1.6, for older Java versions
you can of course get it from db.apache.org/derby

Juergen

Re: Startup without binary; Derby backend

Posted by Alex Karasulu <ak...@apache.org>.
Emmanuel Lecharny wrote:
> Juergen Weber a écrit :
> 
>> Hi,
>>
>> can you startup apacheds without the native binary?
> 
> The short answer is : yes.
> 
>> I'd like to try ds
>> on z/OS where there is no binary.
> 
>> And what is the point of making Java unportable with a native starter?
> 
> The point is that it can be run as a daemon, which is really much simple.

The jsvc and procrun code was originally developed by the tomcat folks 
and this is what we used instead of java wrapper to make ApacheDS into a 
native service on windows or (daemon) *NIX.

You can run ApacheDS easily though by just doing a:

	server.init debug

instead of a 'start' command.

>> In the quickstarting guide there should be a hint how to start ds on
>> unix without root install, i.e. without the init.d scripts.
> 
> Yes, this is missing. Any volunteer to fulfill this task will be 
> welcomed :) (anyway, you also might fill a JIRA issue requesting for 
> this tutorial, so we will have it somwhere in our roadmap)

Yeah good idea but the best thing is just to use server-main which can 
build you a nice assembly instead of dealing with a gazillion jars.

See the following:

http://svn.apache.org/repos/asf/directory/apacheds/branches/1.0/server-main/

I think just running the shell script will build the assembly if not 
present and running the assembly jar is trivial if you look inside this 
dumb script.

>> Has anybody tried a Derby backend for ds? 

BTW I inquired about using Derby with Debrunner a few years ago at an 
AC.  He basically stated that it would be a bad move since Derby would 
be challenged to deal with hierarchies.

> Nope.
> 
>> Derby is included in Java 1.6
> 
> We are not using Java 1.6 currently. And using Derby as a backend might 
> be a limitation.

I agree and that's why I have not bothered yet.

Alex

Re: Startup without binary; Derby backend

Posted by Emmanuel Lecharny <el...@gmail.com>.
Juergen Weber a écrit :

> Hi,
>
> can you startup apacheds without the native binary?

The short answer is : yes.

> I'd like to try ds
> on z/OS where there is no binary.

> And what is the point of making Java unportable with a native starter?

The point is that it can be run as a daemon, which is really much simple.

>
> In the quickstarting guide there should be a hint how to start ds on
> unix without root install, i.e. without the init.d scripts.

Yes, this is missing. Any volunteer to fulfill this task will be 
welcomed :) (anyway, you also might fill a JIRA issue requesting for 
this tutorial, so we will have it somwhere in our roadmap)

>
>
> Has anybody tried a Derby backend for ds? 

Nope.

> Derby is included in Java 1.6

We are not using Java 1.6 currently. And using Derby as a backend might 
be a limitation.

> Unfortunately the backend tutorial isn't written yet, is it?

Nope... Volunteers ?

>
> I did not find a source download, isn't there?

You can check out the sources :
http://directory.apache.org/community%26resources/sources.html

We might create a tar ball with soucres soon. Lack of time ...

>
> Thanks,
> Juergen


Emmanuel