|
Re: topic service within an ear: msg#00297java.jboss.user
MDB shouldn't rely on the existence of outside objects until the start step. How hard would this be to change? david jencks On 2002.07.08 14:57:17 -0400 Julien Viet wrote: > I want to pack a topic service within my ear. > > The problem is that the topic is created and registered in JNDI after > my MDB checks for its existence. > > The Topic service binds in startService() and MDB check existence of > topic in createService(). > > Therefore MDB creates a temporary topic and after my Topic can't be > bound. > > Is there a solution for that ? > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > <HTML><HEAD> > <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> > <META content="MSHTML 6.00.2600.0" name=GENERATOR> > <STYLE></STYLE> > </HEAD> > <BODY bgColor=#ffffff> > <DIV><FONT face=Arial size=2> I want to pack a topic service > within my > ear.</FONT></DIV> > <DIV><FONT face=Arial size=2></FONT> </DIV> > <DIV><FONT face=Arial size=2> The problem is that the topic is > created and > registered in JNDI after </FONT><FONT face=Arial size=2>my MDB > checks > for its existence.</FONT></DIV> > <DIV><FONT face=Arial size=2></FONT> </DIV> > <DIV><FONT face=Arial size=2> The Topic service binds in > startService() and MDB check existence of topic in > createService().</FONT></DIV> > <DIV><FONT face=Arial size=2></FONT> </DIV> > <DIV><FONT face=Arial size=2> Therefore MDB creates </FONT><FONT > face=Arial > size=2>a temporary topic and after my Topic can't be bound.</FONT></DIV> > <DIV><FONT face=Arial size=2></FONT> </DIV> > <DIV><FONT face=Arial size=2> Is there a solution for that > ?</FONT></DIV> > <DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML> > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: OracleDS binding on 3.0.1RC1?, David Jencks |
|---|---|
| Next by Date: | Viewing JBoss's log file with Chainsaw, Dimitri PISSARENKO |
| Previous by Thread: | topic service within an ear, Julien Viet |
| Next by Thread: | Re: topic service within an ear, Julien Viet |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |