• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Bean problem

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,


I've a problem...
I've a MessageBean. In the create-method of this bean, I connect to 10 other beans...

Is it possible, if one bean gets disconnected for a certain reason, to make the MessageBean unavailable or something like that???


Thx a lot

Ann
 
Ann Trienemien
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I push the stop-application button and than the redeploy-application button, I've a problem (I'm using Weblogic 8.1 SP3)...

My create of the MessageBean is not correct... Why? Because he connects to other beans, but they are not deployed yet...
Is it possible to say "If creation messageBean failes, to try again after .. time"??

Or is it possible to try to connect to the beans, until it works. But will the create of another bean be executed, while the create of the MessageBean is 'delayed', because I'm waiting for the other bean???


Thx a lot...

Ann
 
Ann Trienemien
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I think I want to set the deployment order... But not of my EJB-modules, but of my EJB's within an EJB-module...

Example:
EjbmoduleA: contains:
ejb1
ejb2
ejb3

EjbmoduleB: contains:
ejb4
ejb5

I know how to set the deployment order for the EjbmoduleA and EjbmoduleB, but not how to set the order within the EjbmoduleA.

Can anyone help me??

Ann
 
Ann Trienemien
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm not getting any further...
I don't think it's the deployment order, because I've looked in the server-log file, and they are deployed in exactly the same way... The beans I can't connect to in my MessageBean are deployed!! When I test 'testBean' in the console, It works fine...

But in my program I get the NamingExceptionError...

What's happening???


Thx a lot

Ann
 
Ann Trienemien
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It works... ;-)))))
 
reply
    Bookmark Topic Watch Topic
  • New Topic