Hi Krish,
Thank you for your help
I have changed plan1.xml to
...
<dependency>
<uri>mygbean/0.0.1</uri>
</dependency>
....
and exception differs ->
java -jar bin/deployer.jar --verbose --user system --password manager deploy
~/projects/autogen-pe/MyGBean/src/plans/plan1.xml
Error: Unable to distribute plan1.xml:
java.lang.ArrayIndexOutOfBoundsException: 2
org.apache.geronimo.common.DeploymentException:
java.lang.ArrayIndexOutOfBoundsException: 2
at
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:312)
at
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:102)
at
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
So I am not sure about it.
When jar is not in the path then I would obtain
org.apache.geronimo.kernel.repository.MissingDependencyException:
uri mygbean/0.0.1/jar not found in repository
regards
Martin
On Fri 10. February 2006 12:56, Krishnakumar B wrote:
> hi martin,
>
> i get this error when i dont add the correct format for jar to dependency.
>
> Try adding correct path for dependency jar in 1.0 format.
>
> <dependency>
> <uri><directory..>/mygbean/0.0.1</uri>
> </dependency>
>
> where <directory> is folder under repository where u have
> mygbean-0.0.1.jar under jars folder.
>
> Regards
> Krish
>
> On 2/10/06, Gromar <[EMAIL PROTECTED]> wrote:
> > Thank you for answer,
> >
> > in the attachmet are
> > java -jar bin/deployer.jar --verbose --user system --password manager
> > deploy ~/projects/autogen-pe/MyGBean/src/plans/plan1.xml >out.txt
> >
> > and geronimo.log
> >
> > regards,
> > Martin
> >
> > On Fri 10. February 2006 03:33, Aaron Mulder wrote:
> > > It would really help to have the whole stack trace for this exception.
> > > Please sent it along. If you didn't get it originally, then you can
> > > run the deploy tool with --verbose and it should print it for you.
> > >
> > > Thanks,
> > > Aaron
> > >
> > > On 2/9/06, Gromar <[EMAIL PROTECTED]> wrote:
> > > > Hello all.
> > > >
> > > > I have tried to deploy plan (attachmet) and I have got and error
> > > >
> > > > Error: Unable to distribute plan1.xml:
> > > > java.lang.ArrayIndexOutOfBoundsException: 1
> > > >
> > > > 1
> > > >
> > > > Can somebody help please?
> > > >
> > > > Thank you,
> > > >
> > > > Regards,
> > > > Martin