as David suggested?? where?? even if i want to use the same connections in cache for all the apps, i have to modify the login-config.xml? is there a sample of this modification?
if I want to setup user and pass right on the oracle-service.xml, do I really need to use the login.config.xml??? ----- Original Message ----- From: "Mike Finn" <[EMAIL PROTECTED]> To: "Emerson Cargnin - MSA" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, May 07, 2002 2:25 PM Subject: RE: [JBoss-user] oracle configuration > Emerson, > It's not clear from the forum thread - have you now based your DS service > file on the sample in *RC2*, as David suggested? If you have done that, > could you please restate your problem here? > > Also, have you config'd login-config.xml with a security realm linked to > your DS? > > #mike > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Emerson > Cargnin - MSA > Sent: Tuesday, May 07, 2002 12:17 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] oracle configuration > > > I have been studying oracle configuration in RC2 ver., but the docs could > have a sucint tutorial about how to configure a oracle datasource, what's > files are needed to be changed, how the XA conf is done. The sample conf. of > oracle is still too blured. I've already posted on the online forum > (http://jboss.org/forums/thread.jsp?forum=61&thread=6092&start=0&msRange=50) > , but it's still not answered. > > Thanks in advance > > Emerson Cargnin - MSA > Ramal 861 > ----- Original Message ----- > From: "Dennis Muhlestein" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, May 07, 2002 11:46 AM > Subject: Re: Re[2]: [JBoss-user] one to one/none relationship > > > > Thanks for the reply Alex, > > > > That's what I thought. I found a bug on sourceforge where someone else > > reported this behaviour but under the comments it said it had been > > fixed. > > > > When I call MyObject.getItem(..) I don't get null back, I get an object > > and then the NoSuchEntityException is thrown. > > > > Has anyone experienced this same thing? Is there a fix/patch for it? > > > > -Dennis > > > > > > On Tue, 2002-05-07 at 00:28, Alex Loubyansky wrote: > > > Hello Dennis, > > > > > > Monday, May 06, 2002, 11:34:07 PM, you wrote: > > > > > > If the cmr field isn't set, you should get null as a result of get > > > method invocation. > > > > > > DM> This is concerning JBoss-3.0 on Branch_3_0 latest CVS > > > DM> linux/jdk1.3.1 > > > > > > DM> On Mon, 2002-05-06 at 14:10, Dennis Muhlestein wrote: > > > >> I have a situation where an account can have one or none of an > > another > > > >> entity bean in a relationship. > > > >> > > > >> I've defined it below as a one-one relationship. This works fine > > if the > > > >> billingInfo exists, but if it doesn't and I call getBillingInfo > > from the > > > >> account, I still get an EntityBean Interface back. (No Exception > > > >> occurs) Then, when I try to access or set something on the > > billingInfo > > > >> interface, I get NoSuchEntityException from jboss. > > > >> > > > >> Should I use one-many instead?? Shouldn't I get null back or > > something > > > >> instead of an interface to the ejb when the billingInfo doesn't yet > > > >> exists? If this is the correct functionality, then how to I know > > if a > > > >> billing info record exists or not yet? Is it possible to remove > > the > > > >> billingInfo record in this case or is that against the law in a > > one-one > > > >> relationship? > > > >> > > > >> Thanks for any comments. > > > >> Dennis > > > >> > > > >> <ejb-relation> > > > >> <description>One Account has One/None > > > >> BillingInfo</description> > > > >> > > <ejb-relation-name>Account-BillingInfo</ejb-relation-name> > > > >> <ejb-relationship-role> > > > >> > > > >> > > <ejb-relationship-role-name>AccountToBillingRole</ejb-relationship-role- > > name> > > > >> <multiplicity>One</multiplicity> > > > >> > > > >> > > <relationship-role-source><ejb-name>AccountEJB</ejb-name></relationship- > > role-source> > > > >> <cmr-field> > > > >> <cmr-field-name>billingInfo</cmr-field-name> > > > >> </cmr-field> > > > >> </ejb-relationship-role> > > > >> <ejb-relationship-role> > > > >> > > > >> > > <ejb-relationship-role-name>BillingToAccountRole</ejb-relationship-role- > > name> > > > >> <multiplicity>One</multiplicity> > > > >> <relationship-role-source> > > > >> <ejb-name>BillingInfoEJB</ejb-name> > > > >> </relationship-role-source> > > > >> </ejb-relationship-role> > > > >> </ejb-relation> > > > > > > -- > > > Best regards, > > > Alex mailto:[EMAIL PROTECTED] > > > > > > > > > > > > _______________________________________________________________ > > > > > > Have big pipes? SourceForge.net is looking for download mirrors. We > > supply > > > the hardware. You get the recognition. Email Us: > > [EMAIL PROTECTED] > > > _______________________________________________ > > > JBoss-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
