You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Rodrigo Rodrigues da Silva <ro...@gmail.com> on 2007/08/13 23:25:24 UTC
Apache Directory Plugin - missing files
I am trying to install apache directory plugin 1.5.0-SNAPSHOT on geronimo
2.0. But when I choose the plugin and click "Install Plugin" the progress
bar won't change and no plugins is installed. I get error messages saying
some files are missing in repository. The error messages are attached to
this e-mail.
Thanks in advance,
--
Rodrigo Rodrigues da Silva
Engenharia de Computação - Coop8
http://www.coop8.rg.com.br
Grêmio Politécnico - Gestão Colabora
http://www.gremio.poli.usp.br
"Não importa como morre o home, importa como vive." Carijó, velho do rio.
"To the person with only a hammer, everything looks like a nail." bussdriver
Re: Apache Directory Plugin - missing files
Posted by David Jencks <da...@yahoo.com>.
On Aug 13, 2007, at 2:49 PM, Paul McMahan wrote:
> The directory plugin has not been deployed to the online repository
> so it's not available for download yet. It has now been removed
> from the 2.0 catalog so others won't encounter this error and
> should be added back when the plugin is deployed. In the meantime
> I think you can build the plugin locally from the source at http://
> svn.apache.org/repos/asf/geronimo/plugins/directory/trunk/ and
> install it from the command line using bin/deploy.sh install-
> plugin. I haven't tried this but I think it should work.
hah!
here's some instructions I posted to the apacheds list recently.
The plugin features of geronimo don't work all that well yet, and the
plugin I worked on for geronimo 2+ and apacheds 1.5.0 isn't released
yet. It's significantly easier to get the plugin to run on geronimo
trunk or the branches/2.0 versions than the about-to-be-officially-
released (we hope) geronimo 2.0 which unfortunately has a couple of
bugs in the plugin installer that I discovered a few minutes after
the release was tagged.
Here's what to do:
geronimo: get 2.0 or build server/trunk or server/branches/2.0
plugin: check out and build plugins/directory/trunk (for apacheds
1.5.1-SNAPSHOT) or plugins/directory/branches/2.0 (for apacheds 1.5.0).
make your local maven repo look like a geronimo plugin repo: When
you built the plugin, maven will have copied a file geronimo-
plugin.xml to directory/target/classes/META-INF/geronimo-
plugin.xml. Copy this file to ~/.m2/repository/geronimo-plugins.xml
and edit it so it looks like:
<?xml version="1.0" encoding="UTF-8"?>
<geronimo-plugin-list xmlns="http://geronimo.apache.org/xml/ns/
plugins-1.2">
<plugin>
<name>Apache Directory 1.5.1-SNAPSHOT for Geronimo</name>
...
</plugin>
<default-repository>file:///Users/david/.m2/repository/</default-
repository>
</geronimo-plugin-list>
If you are using geronimo 2.0, change
<config-xml-content>
<gbean xmlns="http://geronimo.apache.org/xml/ns/attributes-1.2"
name="DirectoryService">
<attribute name="configFile">var/directory/server.xml</
attribute>
</gbean>
</config-xml-content>
to
<config-xml-content>
<gbean xmlns="http://geronimo.apache.org/xml/ns/attributes-1.1"
name="DirectoryService">
<attribute name="configFile">var/directory/server.xml</
attribute>
</gbean>
</config-xml-content>
(different namespace)
ok... now for the fireworks :-)
Start geronimo and look in the admin console under "plugins". Click
the "add new plugin repository" link and add the file:// url for your
local maven repo: for me it's file://Users/david/.m2/repository
Now click the Search For Plugins button and you should get a page
with the directory plugin shown. If not there might be something
wrong with the "supported versions" in the geronimo-plugin.xml, try
editiing it to whatever version you are using. Click the install
buttons at the bottom of the pages until if finally installs....
On branches/2.0 and trunk the plugin should install and start without
problems. You can check by looking at the bottom of the System
Modules page. On 2.0, you have to do some more work.
from the root of your geronimo install:
mkdir var/directory
cp repository/org/apache/geronimo/plugins/directory/2.0-SNAPSHOT/
directory-2.0-SNAPSHOT.car/META-INF/server.xml var/directory/server.xml
Now you should be able to start the plugin from the system modules
page in the admin console.
I checked that it was working ok by using LDAP Studio to connect: I
could see some plausible entries and appeared to be able to add and
edit entries, so I figured it was working properly.
Obviously this procedure is not yet incredibly convenient :-) but I
think improving it is going to be an immediate focus of a couple of
the geronimo developers. Having a really useful plugin will
hopefully spur this process on :-)
thanks!
david jencks
>
> Best wishes,
> Paul
>
> On Aug 13, 2007, at 5:25 PM, Rodrigo Rodrigues da Silva wrote:
>
>> I am trying to install apache directory plugin 1.5.0-SNAPSHOT on
>> geronimo 2.0. But when I choose the plugin and click "Install
>> Plugin" the progress bar won't change and no plugins is installed.
>> I get error messages saying some files are missing in repository.
>> The error messages are attached to this e-mail.
>>
>> Thanks in advance,
>>
>> --
>> Rodrigo Rodrigues da Silva
>> Engenharia de Computação - Coop8
>> http://www.coop8.rg.com.br
>> Grêmio Politécnico - Gestão Colabora
>> http://www.gremio.poli.usp.br
>>
>> "Não importa como morre o home, importa como vive." Carijó, velho
>> do rio.
>>
>> "To the person with only a hammer, everything looks like a nail."
>> bussdriver
>> <error.txt>
>
Re: Apache Directory Plugin - missing files
Posted by Paul McMahan <pa...@gmail.com>.
The directory plugin has not been deployed to the online repository
so it's not available for download yet. It has now been removed from
the 2.0 catalog so others won't encounter this error and should be
added back when the plugin is deployed. In the meantime I think you
can build the plugin locally from the source at http://svn.apache.org/
repos/asf/geronimo/plugins/directory/trunk/ and install it from the
command line using bin/deploy.sh install-plugin. I haven't tried
this but I think it should work.
Best wishes,
Paul
On Aug 13, 2007, at 5:25 PM, Rodrigo Rodrigues da Silva wrote:
> I am trying to install apache directory plugin 1.5.0-SNAPSHOT on
> geronimo 2.0. But when I choose the plugin and click "Install
> Plugin" the progress bar won't change and no plugins is installed.
> I get error messages saying some files are missing in repository.
> The error messages are attached to this e-mail.
>
> Thanks in advance,
>
> --
> Rodrigo Rodrigues da Silva
> Engenharia de Computação - Coop8
> http://www.coop8.rg.com.br
> Grêmio Politécnico - Gestão Colabora
> http://www.gremio.poli.usp.br
>
> "Não importa como morre o home, importa como vive." Carijó, velho
> do rio.
>
> "To the person with only a hammer, everything looks like a nail."
> bussdriver
> <error.txt>