On 2001.12.29 15:15:25 -0500 Dain Sundstrom wrote: > Thanks that seamed to work. Now I am getting an exception > RuntimeOperationException "Object name cannot be null". Any ideas? > > -dain
Have you switched your mbean-ref tags to depends and the associated name to optional-attribute-name? (I'm not convinced yet these are shorter, better, clearer, simpler names) If this isn't the problem can you post the jboss-service.xml? thanks david jencks > > > > -----Original Message----- > > From: David Jencks [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, December 29, 2001 2:13 PM > > To: Dain Sundstrom > > Cc: 'jboss-development @ lists . sourceforge . net' > > Subject: Re: [JBoss-dev] sar problems > > > > > > On 2001.12.29 14:28:26 -0500 Dain Sundstrom wrote: > > > I'm trying to convert my postgres-ds-service.xml file into > > a sar, so I > > > don't > > > have to copy the jar and then the service file. I created > > a sar file > > > with > > > my previous service file at META-INF/jboss-service.xml and > > the postgres > > > jar > > > (jdbc7.0-1.2.jar) in the root of the sar. Now when I copy > > the jar to the > > > deploy directory, I get an exception about not being able > > to find the > > > jdbc7.0-1.2.jar file. In my jboss-service.xml file I have > > the following > > > xml: > > > > > > <server> > > > <classpath archives="jdbc7.0-1.2.jar"/> > > > .... > > > </server> > > > > > > > > Do I need to add something to the archives tag to tell it > > to look in the > > > current sar? > > > > > Since you are including the jar in the sar, you should remove > > the classpath > > element: it's there to help find stuff not in the sar. > > Anything in the sar > > should be picked up automatically. > > > > > > > I there a way to integrate my sar into an ear? > > > > I haven't tried this yet: it may very well work, there is > > some code in j2ee > > deployer that is supposed to do this. Try just including the > > sar in the > > ear as if it is a ejb jar. Otherwise I presume when marc is > > done it will > > work. > > > > david jencks > > > > > > Thanks, > > > > > > -dain > > > > > > _______________________________________________ > > > Jboss-development mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > > > > > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development