Re: loading plugin dependencies from ibiblio

2006-08-23 Thread Jason Dillon

I think the code is related to the Maven embedder stuff...

--jason


On Aug 23, 2006, at 1:19 PM, Aaron Mulder wrote:


Oversight.  The Maven guys have suggested that they have some code we
could reuse to execute the downloads, but I've never been able to beat
it out of them.  It would be nice to switch over to theirs, but in the
mean time, it should be easy enought o add the SNAPSHOT support to our
download code.  Have you put in a Jira for that?

Thanks,
Aaron

On 8/23/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote:
Btw, the PluginInstallerGBean is unable to download snapshots  
artifacts.

The problem is that when snapshots are deployed to a m2 repo,
you don't have a jar named -SNAPSHOT, but rather timestamped jars,
where the last one is given in the maven-metadata.xml in the - 
SNAPSHOT
directory (not the one in the parent dir used to know which  
versions are

available).

Is this an oversight or a feature ?


On 8/23/06, Aaron Mulder <[EMAIL PROTECTED]> wrote:
> I'm able to use ibiblio to install the Directory plugin which has
> loads of dependencies.  But maybe this has one more than that one.
> You could try putting a small delay between downloads in the
> PluginInstallerGBean if you think that would help.
>
> I did have trouble with ibiblio once when I requested files but  
closed
> the connection without actually completing the download, so  
there does
> seem to be some DoS protection.  (That was fixed by using HEAD  
instead

> of GET to check whether the file exists.)
>
> Thanks,
>  Aaron
>
> On 8/23/06, Joe Bohn <[EMAIL PROTECTED]> wrote:
> >
> > I created a new geronimo assembly (mini-g) without the tomcat or
> > tomcat-deploy modules.   Then I used a geronimo tomcat j2ee  
assembly

> > admin console to create a plugin for the tomcat module.  I then
> > attempted to deploy the tomcat plugin into my mini-g  
assembly.  I should

> > also note that when I created the tomcat plugin I included
> > http://www.ibiblio.org/maven2/ as a source repository so that the
> > various tomcat and other necessary jars could be downloaded as
necessary.
> >
> > The plug had the following 2 dependencies:
> > - rmi-naming (which was already included in my mini-g assembly
> > - geronimo-tomcat jar   I manually included this jar into
> > repository\org\apache\geronimo\modules\ prior to my
attempt to install
> > the plugin because I knew this version of the jar would not be  
available

> > on GeronimoPlugins.com or ibiblio.
> >
> > When I attempt to install the plugin I get a 503 on the  
geronimo cmd
> > console on the 9th tomcat jar it attempts to download from  
ibiblio.  I

> > can access the jar just fine outside of the deploy.
> >
> > Am I doing something wrong?  Do you think there is there some  
type of
> > denial of service protection on ibiblio that only lets me get  
8 of the
> > tomcat jars before shutting me down on the ninth?  I saw the  
ibiblio
> > reference in another plugin so I assumed that this could be  
used to

> > download these dependencies when I created the tomcat plugin.
> >
> > Here's the error on the server:
> >
> > 12:40:03,437 INFO  [AbstractRepository] Installed module  
configuration;

> > id=org.apache.geronimo.configs/tomcat/1.2-SNAPSHOT/car;
> > location=C:\g-images\trunk\geron
> >
imo-framework-1.2-SNAPSHOT\repository\org\apache\geronimo\configs 
\tomcat\1.2-SNAPSHOT\tomcat-1.2-SNAPSHOT.car
> > 12:40:03,453 WARN  [ConfigurationStoreUtil] Checksum file not  
found:

> > C:\g-images\trunk\geronimo-
framework-1.2-SNAPSHOT\repository\org\apache\geronimo\configs\to
> >
mcat\1.2-SNAPSHOT\tomcat-1.2-SNAPSHOT.car\META-INF\config.ser.sha1
> > 12:40:04,547 WARN  [PluginInstallerGBean] Unable to delete  
temporary

> > download file
> >
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30936.tmp
> > 12:40:05,094 WARN  [PluginInstallerGBean] Unable to delete  
temporary

> > download file
> > C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-
plugin-download-30937.tmp
> > 12:40:06,031 WARN  [PluginInstallerGBean] Unable to delete  
temporary

> > download file
> >
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30938.tmp
> > 12:40:06,547 WARN  [PluginInstallerGBean] Unable to delete  
temporary

> > download file
> >
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30939.tmp
> > 12:40:07,000 WARN  [PluginInstallerGBean] Unable to delete  
temporary

> > download file
> > C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-
plugin-download-30940.tmp
> > 12:40:07,734 WARN  [PluginInstallerGBean] Unable to delete  
temporary

> > download file
> >
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30941.tmp
> > 12:40:08,391 WARN  [PluginInstallerGBean] Unable to delete  
temporary

> > download file
> >
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30942.tmp
> > 12:40:09,297 WARN  [PluginInstallerGBean] Unable to delete  
temporary

> > download file
> > C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-
plugin-download-30943.tmp
> > 12:40:09,516 WARN  [PluginInstallerGBean] Un

Re: loading plugin dependencies from ibiblio

2006-08-23 Thread Jason Dillon

We can easily change that :-)

--jason


On Aug 23, 2006, at 3:05 PM, Bruce Snyder wrote:


On 8/23/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote:

Done.
http://issues.apache.org/jira/browse/GERONIMO-2351


Too bad none of the Maven guys are included in the Geronimo group for
JIRA, we could just assign it to one of them.

Bruce
--  
perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61EG;6%I;\"YC;VT*"

);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://incubator.apache.org/activemq/
Apache ServiceMix - http://incubator.apache.org/servicemix/
Castor - http://castor.org/




Re: loading plugin dependencies from ibiblio

2006-08-23 Thread Bruce Snyder

On 8/23/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote:

Done.
http://issues.apache.org/jira/browse/GERONIMO-2351


Too bad none of the Maven guys are included in the Geronimo group for
JIRA, we could just assign it to one of them.

Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61Ehttp://geronimo.apache.org/
Apache ActiveMQ - http://incubator.apache.org/activemq/
Apache ServiceMix - http://incubator.apache.org/servicemix/
Castor - http://castor.org/


Re: loading plugin dependencies from ibiblio

2006-08-23 Thread Guillaume Nodet
Done.http://issues.apache.org/jira/browse/GERONIMO-2351On 8/23/06, Aaron Mulder <
[EMAIL PROTECTED]> wrote:
Oversight.  The Maven guys have suggested that they have some code wecould reuse to execute the downloads, but I've never been able to beatit out of them.  It would be nice to switch over to theirs, but in the
mean time, it should be easy enought o add the SNAPSHOT support to ourdownload code.  Have you put in a Jira for that?Thanks, AaronOn 8/23/06, Guillaume Nodet <
[EMAIL PROTECTED]> wrote:> Btw, the PluginInstallerGBean is unable to download snapshots artifacts.> The problem is that when snapshots are deployed to a m2 repo,> you don't have a jar named -SNAPSHOT, but rather timestamped jars,
> where the last one is given in the maven-metadata.xml in the -SNAPSHOT> directory (not the one in the parent dir used to know which versions are> available).>> Is this an oversight or a feature ?
>>> On 8/23/06, Aaron Mulder <[EMAIL PROTECTED]> wrote:> > I'm able to use ibiblio to install the Directory plugin which has
> > loads of dependencies.  But maybe this has one more than that one.> > You could try putting a small delay between downloads in the> > PluginInstallerGBean if you think that would help.
> >> > I did have trouble with ibiblio once when I requested files but closed> > the connection without actually completing the download, so there does> > seem to be some DoS protection.  (That was fixed by using HEAD instead
> > of GET to check whether the file exists.)> >> > Thanks,> >  Aaron> >> > On 8/23/06, Joe Bohn <[EMAIL PROTECTED]
> wrote:> > >> > > I created a new geronimo assembly (mini-g) without the tomcat or> > > tomcat-deploy modules.   Then I used a geronimo tomcat j2ee assembly> > > admin console to create a plugin for the tomcat module.  I then
> > > attempted to deploy the tomcat plugin into my mini-g assembly.  I should> > > also note that when I created the tomcat plugin I included> > > 
http://www.ibiblio.org/maven2/ as a source repository so that the> > > various tomcat and other necessary jars could be downloaded as> necessary.> > >> > > The plug had the following 2 dependencies:
> > > - rmi-naming (which was already included in my mini-g assembly> > > - geronimo-tomcat jar   I manually included this jar into> > > repository\org\apache\geronimo\modules\ prior to my
> attempt to install> > > the plugin because I knew this version of the jar would not be available> > > on GeronimoPlugins.com or ibiblio.> > >> > > When I attempt to install the plugin I get a 503 on the geronimo cmd
> > > console on the 9th tomcat jar it attempts to download from ibiblio.  I> > > can access the jar just fine outside of the deploy.> > >> > > Am I doing something wrong?  Do you think there is there some type of
> > > denial of service protection on ibiblio that only lets me get 8 of the> > > tomcat jars before shutting me down on the ninth?  I saw the ibiblio> > > reference in another plugin so I assumed that this could be used to
> > > download these dependencies when I created the tomcat plugin.> > >> > > Here's the error on the server:> > >> > > 12:40:03,437 INFO  [AbstractRepository] Installed module configuration;
> > > id=org.apache.geronimo.configs/tomcat/1.2-SNAPSHOT/car;> > > location=C:\g-images\trunk\geron> > >> imo-framework-1.2-SNAPSHOT\repository\org\apache\geronimo\configs\tomcat\1.2-SNAPSHOT\tomcat-1.2-SNAPSHOT.car
> > > 12:40:03,453 WARN  [ConfigurationStoreUtil] Checksum file not found:> > > C:\g-images\trunk\geronimo-> framework-1.2-SNAPSHOT\repository\org\apache\geronimo\configs\to> > >
> mcat\1.2-SNAPSHOT\tomcat-1.2-SNAPSHOT.car\META-INF\config.ser.sha1> > > 12:40:04,547 WARN  [PluginInstallerGBean] Unable to delete temporary> > > download file> > >> C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-
plugin-download-30936.tmp> > > 12:40:05,094 WARN  [PluginInstallerGBean] Unable to delete temporary> > > download file> > > C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-> plugin-download-30937.tmp
> > > 12:40:06,031 WARN  [PluginInstallerGBean] Unable to delete temporary> > > download file> > >> C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30938.tmp> > > 12:40:06,547 WARN  [PluginInstallerGBean] Unable to delete temporary
> > > download file> > >> C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30939.tmp> > > 12:40:07,000 WARN  [PluginInstallerGBean] Unable to delete temporary> > > download file
> > > C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-> plugin-download-30940.tmp> > > 12:40:07,734 WARN  [PluginInstallerGBean] Unable to delete temporary> > > download file> > >
> C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30941.tmp> > > 12:40:08,391 WARN  [PluginInstallerGBean] Unable to delete temporary> > > download file> > >> C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-
plugin-download-30942.tmp> > > 12:40:09,297 WARN  [PluginInstallerGBean] Unable to delete temporary> > > download file> > > C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-> plugin-download-30943.tmp
> > > 12:40:09,516 WAR

Re: loading plugin dependencies from ibiblio

2006-08-23 Thread Aaron Mulder

Oversight.  The Maven guys have suggested that they have some code we
could reuse to execute the downloads, but I've never been able to beat
it out of them.  It would be nice to switch over to theirs, but in the
mean time, it should be easy enought o add the SNAPSHOT support to our
download code.  Have you put in a Jira for that?

Thanks,
Aaron

On 8/23/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote:

Btw, the PluginInstallerGBean is unable to download snapshots artifacts.
The problem is that when snapshots are deployed to a m2 repo,
you don't have a jar named -SNAPSHOT, but rather timestamped jars,
where the last one is given in the maven-metadata.xml in the -SNAPSHOT
directory (not the one in the parent dir used to know which versions are
available).

Is this an oversight or a feature ?


On 8/23/06, Aaron Mulder <[EMAIL PROTECTED]> wrote:
> I'm able to use ibiblio to install the Directory plugin which has
> loads of dependencies.  But maybe this has one more than that one.
> You could try putting a small delay between downloads in the
> PluginInstallerGBean if you think that would help.
>
> I did have trouble with ibiblio once when I requested files but closed
> the connection without actually completing the download, so there does
> seem to be some DoS protection.  (That was fixed by using HEAD instead
> of GET to check whether the file exists.)
>
> Thanks,
>  Aaron
>
> On 8/23/06, Joe Bohn <[EMAIL PROTECTED]> wrote:
> >
> > I created a new geronimo assembly (mini-g) without the tomcat or
> > tomcat-deploy modules.   Then I used a geronimo tomcat j2ee assembly
> > admin console to create a plugin for the tomcat module.  I then
> > attempted to deploy the tomcat plugin into my mini-g assembly.  I should
> > also note that when I created the tomcat plugin I included
> > http://www.ibiblio.org/maven2/ as a source repository so that the
> > various tomcat and other necessary jars could be downloaded as
necessary.
> >
> > The plug had the following 2 dependencies:
> > - rmi-naming (which was already included in my mini-g assembly
> > - geronimo-tomcat jar   I manually included this jar into
> > repository\org\apache\geronimo\modules\ prior to my
attempt to install
> > the plugin because I knew this version of the jar would not be available
> > on GeronimoPlugins.com or ibiblio.
> >
> > When I attempt to install the plugin I get a 503 on the geronimo cmd
> > console on the 9th tomcat jar it attempts to download from ibiblio.  I
> > can access the jar just fine outside of the deploy.
> >
> > Am I doing something wrong?  Do you think there is there some type of
> > denial of service protection on ibiblio that only lets me get 8 of the
> > tomcat jars before shutting me down on the ninth?  I saw the ibiblio
> > reference in another plugin so I assumed that this could be used to
> > download these dependencies when I created the tomcat plugin.
> >
> > Here's the error on the server:
> >
> > 12:40:03,437 INFO  [AbstractRepository] Installed module configuration;
> > id=org.apache.geronimo.configs/tomcat/1.2-SNAPSHOT/car;
> > location=C:\g-images\trunk\geron
> >
imo-framework-1.2-SNAPSHOT\repository\org\apache\geronimo\configs\tomcat\1.2-SNAPSHOT\tomcat-1.2-SNAPSHOT.car
> > 12:40:03,453 WARN  [ConfigurationStoreUtil] Checksum file not found:
> > C:\g-images\trunk\geronimo-
framework-1.2-SNAPSHOT\repository\org\apache\geronimo\configs\to
> >
mcat\1.2-SNAPSHOT\tomcat-1.2-SNAPSHOT.car\META-INF\config.ser.sha1
> > 12:40:04,547 WARN  [PluginInstallerGBean] Unable to delete temporary
> > download file
> >
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30936.tmp
> > 12:40:05,094 WARN  [PluginInstallerGBean] Unable to delete temporary
> > download file
> > C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-
plugin-download-30937.tmp
> > 12:40:06,031 WARN  [PluginInstallerGBean] Unable to delete temporary
> > download file
> >
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30938.tmp
> > 12:40:06,547 WARN  [PluginInstallerGBean] Unable to delete temporary
> > download file
> >
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30939.tmp
> > 12:40:07,000 WARN  [PluginInstallerGBean] Unable to delete temporary
> > download file
> > C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-
plugin-download-30940.tmp
> > 12:40:07,734 WARN  [PluginInstallerGBean] Unable to delete temporary
> > download file
> >
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30941.tmp
> > 12:40:08,391 WARN  [PluginInstallerGBean] Unable to delete temporary
> > download file
> >
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30942.tmp
> > 12:40:09,297 WARN  [PluginInstallerGBean] Unable to delete temporary
> > download file
> > C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-
plugin-download-30943.tmp
> > 12:40:09,516 WARN  [PluginInstallerGBean] Unable to read from
> > http://www.ibiblio.org/maven2/
> > java.io.IOException
> >  at
> >
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:602)
> >   

Re: loading plugin dependencies from ibiblio

2006-08-23 Thread Guillaume Nodet
Btw, the PluginInstallerGBean is unable to download snapshots artifacts.The problem is that when snapshots are deployed to a m2 repo,you don't have a jar named -SNAPSHOT, but rather timestamped jars,where the last one is given in the 
maven-metadata.xml in the -SNAPSHOTdirectory (not the one in the parent dir used to know which versions are available).Is this an oversight or a feature ?On 8/23/06, 
Aaron Mulder <[EMAIL PROTECTED]> wrote:
I'm able to use ibiblio to install the Directory plugin which hasloads of dependencies.  But maybe this has one more than that one.You could try putting a small delay between downloads in thePluginInstallerGBean if you think that would help.
I did have trouble with ibiblio once when I requested files but closedthe connection without actually completing the download, so there doesseem to be some DoS protection.  (That was fixed by using HEAD instead
of GET to check whether the file exists.)Thanks, AaronOn 8/23/06, Joe Bohn <[EMAIL PROTECTED]> wrote:>> I created a new geronimo assembly (mini-g) without the tomcat or
> tomcat-deploy modules.   Then I used a geronimo tomcat j2ee assembly> admin console to create a plugin for the tomcat module.  I then> attempted to deploy the tomcat plugin into my mini-g assembly.  I should
> also note that when I created the tomcat plugin I included> http://www.ibiblio.org/maven2/ as a source repository so that the> various tomcat and other necessary jars could be downloaded as necessary.
>> The plug had the following 2 dependencies:> - rmi-naming (which was already included in my mini-g assembly> - geronimo-tomcat jar   I manually included this jar into> repository\org\apache\geronimo\modules\ prior to my attempt to install
> the plugin because I knew this version of the jar would not be available> on GeronimoPlugins.com or ibiblio.>> When I attempt to install the plugin I get a 503 on the geronimo cmd> console on the 9th tomcat jar it attempts to download from ibiblio.  I
> can access the jar just fine outside of the deploy.>> Am I doing something wrong?  Do you think there is there some type of> denial of service protection on ibiblio that only lets me get 8 of the
> tomcat jars before shutting me down on the ninth?  I saw the ibiblio> reference in another plugin so I assumed that this could be used to> download these dependencies when I created the tomcat plugin.
>> Here's the error on the server:>> 12:40:03,437 INFO  [AbstractRepository] Installed module configuration;> id=org.apache.geronimo.configs/tomcat/1.2-SNAPSHOT/car;> location=C:\g-images\trunk\geron
> imo-framework-1.2-SNAPSHOT\repository\org\apache\geronimo\configs\tomcat\1.2-SNAPSHOT\tomcat-1.2-SNAPSHOT.car> 12:40:03,453 WARN  [ConfigurationStoreUtil] Checksum file not found:> C:\g-images\trunk\geronimo-
framework-1.2-SNAPSHOT\repository\org\apache\geronimo\configs\to> mcat\1.2-SNAPSHOT\tomcat-1.2-SNAPSHOT.car\META-INF\config.ser.sha1> 12:40:04,547 WARN  [PluginInstallerGBean] Unable to delete temporary> download file
> C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30936.tmp> 12:40:05,094 WARN  [PluginInstallerGBean] Unable to delete temporary> download file> C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-
plugin-download-30937.tmp> 12:40:06,031 WARN  [PluginInstallerGBean] Unable to delete temporary> download file> C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30938.tmp> 12:40:06,547 WARN  [PluginInstallerGBean] Unable to delete temporary
> download file> C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30939.tmp> 12:40:07,000 WARN  [PluginInstallerGBean] Unable to delete temporary> download file> C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-
plugin-download-30940.tmp> 12:40:07,734 WARN  [PluginInstallerGBean] Unable to delete temporary> download file> C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30941.tmp> 12:40:08,391 WARN  [PluginInstallerGBean] Unable to delete temporary
> download file> C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30942.tmp> 12:40:09,297 WARN  [PluginInstallerGBean] Unable to delete temporary> download file> C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-
plugin-download-30943.tmp> 12:40:09,516 WARN  [PluginInstallerGBean] Unable to read from> http://www.ibiblio.org/maven2/> java.io.IOException>  at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:602)>  at> org.apache.geronimo.system.plugin.PluginInstallerGBean.connect(PluginInstallerGBean.java:990)
>  at> org.apache.geronimo.system.plugin.PluginInstallerGBean.findArtifact(PluginInstallerGBean.java:1075)>  at> org.apache.geronimo.system.plugin.PluginInstallerGBean.findArtifact(
PluginInstallerGBean.java:1034)>  at> org.apache.geronimo.system.plugin.PluginInstallerGBean.openStream(PluginInstallerGBean.java:924)>  at> org.apache.geronimo.system.plugin.PluginInstallerGBean.downloadArtifact
(PluginInstallerGBean.java:676)>  at> org.apache.geronimo.system.plugin.PluginInstallerGBean.do

Re: loading plugin dependencies from ibiblio

2006-08-23 Thread Aaron Mulder

I'm able to use ibiblio to install the Directory plugin which has
loads of dependencies.  But maybe this has one more than that one.
You could try putting a small delay between downloads in the
PluginInstallerGBean if you think that would help.

I did have trouble with ibiblio once when I requested files but closed
the connection without actually completing the download, so there does
seem to be some DoS protection.  (That was fixed by using HEAD instead
of GET to check whether the file exists.)

Thanks,
Aaron

On 8/23/06, Joe Bohn <[EMAIL PROTECTED]> wrote:


I created a new geronimo assembly (mini-g) without the tomcat or
tomcat-deploy modules.   Then I used a geronimo tomcat j2ee assembly
admin console to create a plugin for the tomcat module.  I then
attempted to deploy the tomcat plugin into my mini-g assembly.  I should
also note that when I created the tomcat plugin I included
http://www.ibiblio.org/maven2/ as a source repository so that the
various tomcat and other necessary jars could be downloaded as necessary.

The plug had the following 2 dependencies:
- rmi-naming (which was already included in my mini-g assembly
- geronimo-tomcat jar   I manually included this jar into
repository\org\apache\geronimo\modules\ prior to my attempt to install
the plugin because I knew this version of the jar would not be available
on GeronimoPlugins.com or ibiblio.

When I attempt to install the plugin I get a 503 on the geronimo cmd
console on the 9th tomcat jar it attempts to download from ibiblio.  I
can access the jar just fine outside of the deploy.

Am I doing something wrong?  Do you think there is there some type of
denial of service protection on ibiblio that only lets me get 8 of the
tomcat jars before shutting me down on the ninth?  I saw the ibiblio
reference in another plugin so I assumed that this could be used to
download these dependencies when I created the tomcat plugin.

Here's the error on the server:

12:40:03,437 INFO  [AbstractRepository] Installed module configuration;
id=org.apache.geronimo.configs/tomcat/1.2-SNAPSHOT/car;
location=C:\g-images\trunk\geron
imo-framework-1.2-SNAPSHOT\repository\org\apache\geronimo\configs\tomcat\1.2-SNAPSHOT\tomcat-1.2-SNAPSHOT.car
12:40:03,453 WARN  [ConfigurationStoreUtil] Checksum file not found:
C:\g-images\trunk\geronimo-framework-1.2-SNAPSHOT\repository\org\apache\geronimo\configs\to
mcat\1.2-SNAPSHOT\tomcat-1.2-SNAPSHOT.car\META-INF\config.ser.sha1
12:40:04,547 WARN  [PluginInstallerGBean] Unable to delete temporary
download file
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30936.tmp
12:40:05,094 WARN  [PluginInstallerGBean] Unable to delete temporary
download file
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30937.tmp
12:40:06,031 WARN  [PluginInstallerGBean] Unable to delete temporary
download file
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30938.tmp
12:40:06,547 WARN  [PluginInstallerGBean] Unable to delete temporary
download file
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30939.tmp
12:40:07,000 WARN  [PluginInstallerGBean] Unable to delete temporary
download file
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30940.tmp
12:40:07,734 WARN  [PluginInstallerGBean] Unable to delete temporary
download file
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30941.tmp
12:40:08,391 WARN  [PluginInstallerGBean] Unable to delete temporary
download file
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30942.tmp
12:40:09,297 WARN  [PluginInstallerGBean] Unable to delete temporary
download file
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30943.tmp
12:40:09,516 WARN  [PluginInstallerGBean] Unable to read from
http://www.ibiblio.org/maven2/
java.io.IOException
 at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:602)
 at
org.apache.geronimo.system.plugin.PluginInstallerGBean.connect(PluginInstallerGBean.java:990)
 at
org.apache.geronimo.system.plugin.PluginInstallerGBean.findArtifact(PluginInstallerGBean.java:1075)
 at
org.apache.geronimo.system.plugin.PluginInstallerGBean.findArtifact(PluginInstallerGBean.java:1034)
 at
org.apache.geronimo.system.plugin.PluginInstallerGBean.openStream(PluginInstallerGBean.java:924)
 at
org.apache.geronimo.system.plugin.PluginInstallerGBean.downloadArtifact(PluginInstallerGBean.java:676)
 at
org.apache.geronimo.system.plugin.PluginInstallerGBean.downloadArtifact(PluginInstallerGBean.java:749)
 at
org.apache.geronimo.system.plugin.PluginInstallerGBean.downloadArtifact(PluginInstallerGBean.java:749)
 at
org.apache.geronimo.system.plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:444)
 at
org.apache.geronimo.system.plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:600)
 at
org.apache.geronimo.system.plugin.PluginInstallerGBean$2.run(PluginInstallerGBean.java:545)
 at org.apache.geronimo.pool.Threa

loading plugin dependencies from ibiblio

2006-08-23 Thread Joe Bohn


I created a new geronimo assembly (mini-g) without the tomcat or 
tomcat-deploy modules.   Then I used a geronimo tomcat j2ee assembly 
admin console to create a plugin for the tomcat module.  I then 
attempted to deploy the tomcat plugin into my mini-g assembly.  I should 
also note that when I created the tomcat plugin I included 
http://www.ibiblio.org/maven2/ as a source repository so that the 
various tomcat and other necessary jars could be downloaded as necessary.


The plug had the following 2 dependencies:
- rmi-naming (which was already included in my mini-g assembly
- geronimo-tomcat jar   I manually included this jar into 
repository\org\apache\geronimo\modules\ prior to my attempt to install 
the plugin because I knew this version of the jar would not be available 
on GeronimoPlugins.com or ibiblio.


When I attempt to install the plugin I get a 503 on the geronimo cmd 
console on the 9th tomcat jar it attempts to download from ibiblio.  I 
can access the jar just fine outside of the deploy.


Am I doing something wrong?  Do you think there is there some type of 
denial of service protection on ibiblio that only lets me get 8 of the 
tomcat jars before shutting me down on the ninth?  I saw the ibiblio 
reference in another plugin so I assumed that this could be used to 
download these dependencies when I created the tomcat plugin.


Here's the error on the server:

12:40:03,437 INFO  [AbstractRepository] Installed module configuration; 
id=org.apache.geronimo.configs/tomcat/1.2-SNAPSHOT/car; 
location=C:\g-images\trunk\geron

imo-framework-1.2-SNAPSHOT\repository\org\apache\geronimo\configs\tomcat\1.2-SNAPSHOT\tomcat-1.2-SNAPSHOT.car
12:40:03,453 WARN  [ConfigurationStoreUtil] Checksum file not found: 
C:\g-images\trunk\geronimo-framework-1.2-SNAPSHOT\repository\org\apache\geronimo\configs\to

mcat\1.2-SNAPSHOT\tomcat-1.2-SNAPSHOT.car\META-INF\config.ser.sha1
12:40:04,547 WARN  [PluginInstallerGBean] Unable to delete temporary 
download file 
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30936.tmp
12:40:05,094 WARN  [PluginInstallerGBean] Unable to delete temporary 
download file 
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30937.tmp
12:40:06,031 WARN  [PluginInstallerGBean] Unable to delete temporary 
download file 
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30938.tmp
12:40:06,547 WARN  [PluginInstallerGBean] Unable to delete temporary 
download file 
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30939.tmp
12:40:07,000 WARN  [PluginInstallerGBean] Unable to delete temporary 
download file 
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30940.tmp
12:40:07,734 WARN  [PluginInstallerGBean] Unable to delete temporary 
download file 
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30941.tmp
12:40:08,391 WARN  [PluginInstallerGBean] Unable to delete temporary 
download file 
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30942.tmp
12:40:09,297 WARN  [PluginInstallerGBean] Unable to delete temporary 
download file 
C:\DOCUME~1\bohn\LOCALS~1\Temp\geronimo-plugin-download-30943.tmp
12:40:09,516 WARN  [PluginInstallerGBean] Unable to read from 
http://www.ibiblio.org/maven2/

java.io.IOException
at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:602)
at 
org.apache.geronimo.system.plugin.PluginInstallerGBean.connect(PluginInstallerGBean.java:990)
at 
org.apache.geronimo.system.plugin.PluginInstallerGBean.findArtifact(PluginInstallerGBean.java:1075)
at 
org.apache.geronimo.system.plugin.PluginInstallerGBean.findArtifact(PluginInstallerGBean.java:1034)
at 
org.apache.geronimo.system.plugin.PluginInstallerGBean.openStream(PluginInstallerGBean.java:924)
at 
org.apache.geronimo.system.plugin.PluginInstallerGBean.downloadArtifact(PluginInstallerGBean.java:676)
at 
org.apache.geronimo.system.plugin.PluginInstallerGBean.downloadArtifact(PluginInstallerGBean.java:749)
at 
org.apache.geronimo.system.plugin.PluginInstallerGBean.downloadArtifact(PluginInstallerGBean.java:749)
at 
org.apache.geronimo.system.plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:444)
at 
org.apache.geronimo.system.plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:600)
at 
org.apache.geronimo.system.plugin.PluginInstallerGBean$2.run(PluginInstallerGBean.java:545)

at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:172)
at 
org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:289)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Thread.java:534)
Caused by: java.io.IOException: Server returned HTTP response code: 503 
for URL: 
http://www.ibiblio.org/maven2/tomcat/jasper-runtime/5.5.15/jasper-runtime-5.5.1

5.jar
at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection