It goes in an .ear next to application.xml and looks like this:

<?xml version="1.0" encoding="UTF-8"?>


<jboss-app>
  <module>
    <service>versantjca-service.xml</service>
  </module>
  <module>
    <service>admintools.sar</service>
  </module>
</jboss-app>

You can also use it to specify the classloader space for the ear: look at
the cts/test/CtsCMP2UnitTestCase.

david jencks

On 2002.07.09 09:53:22 -0400 Jamie Burns wrote:
> I've searched the JBossBook_24x.pdf and JBoss.3.0QuickStart.pdf for
> jboss-app.xml. No hits. What is it, where does it live and what goes in
> it
> to make your solution work?
> 
> Thanks
> 
> ----- Original Message -----
> From: "David Jencks" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 08, 2002 9:02 PM
> Subject: Re: [JBoss-user] OracleDS binding on 3.0.1RC1?
> 
> 
> > This might be an order-of-startup problem.  If you deploy your ejbs "by
> > hand" after the OracleDS is started is there a problem?
> >
> > You can include both in an .ear  with a jboss-app.xml to get the
> > oracle-service.xml deployed, or change the names of the packages -- I
> think
> > 10oracle-service.xml and 20myejbs.jar will work.
> >
> > david jencks
> >
> > On 2002.07.08 14:27:16 -0400 Brian Topping wrote:
> > > G'day!
> > >
> > > Wondering if anyone has a solution to this.  I'm trying to regress a
> > > classloader problem that I am having with 3.0 release, figured i
> would
> > > try
> > > 3.0.1RC1.  I added classes12.jar to server/default/lib put my
> > > oracle-service.xml into server/default/deploy and the OracleDS
> reports
> it
> > > was
> > > bound to java:/OracleDS, but when my CMP2.0 tries to find it, i get a
> > > report
> > > stating "Error: can't find data source: java:/OracleDS".  See below
> for
> > > the
> > > full output (20 lines or so) from the console.
> > >
> > > Does anyone have any ideas what I am doing wrong?  The names sure
> look
> > > the
> > > same to me...
> > >
> > > thanks!
> > >
> > > -b
> > >
> > > 13:01:51,657 INFO  [MainDeployer] Starting deployment of package:
> > >
> file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy/oracle-servic
> e
> > > .xml
> > > 13:01:51,737 WARN  [ServiceController]
> > > jboss.jca:service=LocalTxDS,name=OracleDS does not implement any
> Service
> > > methods
> > > 13:01:51,737 INFO  [JBossManagedConnectionPool] Creating
> > > 13:01:51,737 INFO  [JBossManagedConnectionPool] Created
> > > 13:01:51,737 INFO  [LocalTxConnectionManager] Creating
> > > 13:01:51,747 INFO  [LocalTxConnectionManager] Created
> > > 13:01:51,747 INFO  [JBossManagedConnectionPool] Starting
> > > 13:01:51,747 INFO  [JBossManagedConnectionPool] Started
> > > 13:01:51,747 INFO  [LocalTxConnectionManager] Starting
> > > 13:01:51,767 INFO  [OracleDS] Bound connection factory for resource
> > > adapter
> > > 'JBoss LocalTransaction JDBC Wrapper' to JNDI name 'java:/OracleDS'
> > > 13:01:51,767 INFO  [LocalTxConnectionManager] Started
> > > 13:01:51,767 INFO  [MainDeployer] Deployed package:
> > > file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy/oracl
> > > e-service.xml
> > > 13:01:51,767 ERROR [URLDeploymentScanner] Incomplete Deployment
> listing:
> > > Packages waiting for a deployer:
> > >   <none>
> > > Incompletely deployed packages:
> > >   <none>
> > > MBeans waiting for classes:
> > >   <none>
> > > MBeans waiting for other MBeans:
> > > [ObjectName: jboss.j2ee:service=EJB,jndiName=ejb/bill2/Customer
> > >  state: FAILED
> > >  I Depend On:
> > >  Depends On Me: org.jboss.deployment.DeploymentException: Error:
> can't
> > > find
> > > data source: java:/OracleDS; - nested throwable:
> > > (javax.naming.NameNotFoundException: OracleDS not bound)]
> > >
> > > _________________________________________________________
> > > If you have some ice cream, I will give it to you.
> > > If you have no ice cream, I will take it away from you.
> > >          - Ice Cream Koan
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by:ThinkGeek
> > > Oh, it's good to be a geek.
> > > http://thinkgeek.com/sf
> > > _______________________________________________
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > >
> > >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Oh, it's good to be a geek.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Stuff, things, and much much more.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Stuff, things, and much much more.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to