[jboss-user] [Microcontainer] - Re: Fastest way to migrate mbean services (with dependencies

2009-06-02 Thread jaikiran
anonymous wrote : The problem is that it looks like the microcontainer seems to 
ignore the "depends" relationships specified in META-INF/jboss-service.xml 

Legacy jboss-service.xml should work without any issues. Can you post more 
details including logs, the xml configuration and also a bit about what the 
exact issue is?

More of a FYI - http://www.jboss.org/community/wiki/JBossMicrocontainerFAQ

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234633#4234633

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234633
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Fastest way to migrate mbean services (with dependencies

2009-06-02 Thread jaikiran
jboss.j2ee:module=NavineoDock.jar,service=EJB3
  | 
jboss.j2ee:ear=Navineo.ear,jar=ModuleHORA.jar,service=EJB3

I guess the MBean names have changed in AS-5.x which leads to these exceptions.

What does the JMX console show for these deployments? The logs show that the 
MBean names are (an example):

jboss.j2ee:ear=Navineo.ear,jar=ModuleHORA.jar,name=AlgoHoraDonneesTestCreatorFacade,service=EJB3



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234653#4234653

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234653
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Fastest way to migrate mbean services (with dependencies

2009-06-02 Thread chtimi2
Well spotted. I had started (but not finished) to adapt the ObjectNames since i 
saw they changed.

After changing to "jboss.j2ee:ear=Navineo.ear,jar=[XXX.jar],service=EJB3" 
eveywhere, it still fails in exactly the same way.

For instance, the dependencies of "NAVINEO.Dock:service=ModuleHORA" are still 
unresolved:
 Deployment "NAVINEO.Dock:service=ModuleHORA" is missing the following 
dependencies:
  | Dependency 
"jboss.j2ee:ear=Navineo.ear,jar=NavineoDock.jar,service=EJB3" (should be in 
state "Create", but is actually in state "** NOT FOUND Depends on 
'jboss.j2ee:ear=Navineo.ear,jar=NavineoDock.jar,service=EJB3' **")
  | Dependency "NAVINEO.HORA:service=NoeudsPrets" (should be in state 
"Create", but is actually in state "Configured")
  | Dependency "jboss.j2ee:ear=Navineo.ear,jar=ModuleHORA.jar,service=EJB3" 
(should be in state "Create", but is actually in state "** NOT FOUND Depends on 
'jboss.j2ee:ear=Navineo.ear,jar=ModuleHORA.jar,service=EJB3' **")

If we look at the "DEPLOYMENTS IN ERROR:" at the end of the log, there is 
something interesting: the modules all fail to deploy as if there was a 
circular dependency: 
  Deployment "jboss.j2ee:ear=Navineo.ear,jar=NavineoDock.jar,service=EJB3" is 
in error due to the following reason(s): ** NOT FOUND Depends on 
'jboss.j2ee:ear=Navineo.ear,jar=NavineoDock.jar,service=EJB3' **

The NavineoDock module's jboss-service.xml doesn't explicitly declare this 
mbean, but it does declare dependencies towards it:

  | 
  | 
  | 
  | jboss.j2ee:ear=Navineo.ear,jar=NavineoDock.jar,service=EJB3
  | 
  | 
  | jboss:service=Naming
  | 
  |
  |  
  | 
  | jboss.j2ee:ear=Navineo.ear,jar=NavineoDock.jar,service=EJB3
  | 
  |
  | 
  | 
  | jboss.j2ee:ear=Navineo.ear,jar=NavineoDock.jar,service=EJB3
  | 
  | 
  | jboss:service=Naming
  | 
  | 
  | 
  | 

I don't remember why we explicitly declared dependencies towards the EJB3 
service, probably in some cases the services started before the EJB3 were 
deployed. Maybe removing this dependency (and hoping the services don't start 
before the EJBs are ready) would help, but maybe it is something completely 
different. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234679#4234679

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234679
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Fastest way to migrate mbean services (with dependencies

2009-06-02 Thread chtimi2
By the way after the startup the EJB3 service does exists in the JMX console, 
with name "jboss.j2ee:ear=Navineo.ear,jar=NavineoDock.jar,service=EJB3".
So it isn't a name problem at least for this one.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234681#4234681

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234681
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Fastest way to migrate mbean services (with dependencies

2009-06-02 Thread chtimi2
After a bit of testing:
1/ Removing the dependency towards 
jboss.j2ee:module=NavineoDock.jar,service=EJB3 eliminates the failure 
Deployment "jboss.j2ee:ear=Navineo.ear,jar=NavineoDock.jar,service=EJB3" is in 
error due to the following reason(s): ** NOT FOUND Depends on 
'jboss.j2ee:ear=Navineo.ear,jar=NavineoDock.jar,service=EJB3' **  
-->Conclusion: depends towards the module's EJB3 service seems to cause a 
circularity error? It didn't in JBoss4.

2/ After that i removed in all modules the depends pointing towards the 
modules' EJB3 services: indeed the EJB3 service isn't started completely by the 
time my business mbeans start (stacks about unknown jdbc connections)
-->Conclusion: brutally removing all EJB3 service depends doesn't work

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234694#4234694

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234694
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Fastest way to migrate mbean services (with dependencies

2009-06-02 Thread chtimi2
I did a bit of cleanup (injecting the HAPartition ala JBoss5) to only have this 
one problem, but it still fails in exactly the same way.
DEPLOYMENTS MISSING DEPENDENCIES:
  |   Deployment "NAVINEO.Dock:service=ModuleHORA" is missing the following 
dependencies:
  | Dependency "jboss.j2ee:ear=Navineo.ear,jar=ModuleSA.jar,service=EJB3" 
(should be in state "Create", but is actually in state "** NOT FOUND Depends on 
'jboss.j2ee:ear=Navineo.ear,jar=ModuleSA.jar,service=EJB3' **")
  |   Deployment "NAVINEO.Dock:service=ModuleIVV" is missing the following 
dependencies:
  | Dependency "NAVINEO.Dock:service=ModuleTOPO" (should be in state 
"Create", but is actually in state "Configured")
  |   Deployment "NAVINEO.Dock:service=ModuleSA" is missing the following 
dependencies:
  | Dependency "jboss.j2ee:ear=Navineo.ear,jar=ModuleSA.jar,service=EJB3" 
(should be in state "Create", but is actually in state "** NOT FOUND Depends on 
'jboss.j2ee:ear=Navineo.ear,jar=ModuleSA.jar,service=EJB3' **")
  |   Deployment "NAVINEO.Dock:service=ModuleStatVL" is missing the following 
dependencies:
  | Dependency "NAVINEO.Dock:service=ModuleTOPO" (should be in state 
"Create", but is actually in state "Configured")
  |   Deployment "NAVINEO.Dock:service=ModuleTOPO" is missing the following 
dependencies:
  | Dependency "jboss.j2ee:ear=Navineo.ear,jar=ModuleSA.jar,service=EJB3" 
(should be in state "Create", but is actually in state "** NOT FOUND Depends on 
'jboss.j2ee:ear=Navineo.ear,jar=ModuleSA.jar,service=EJB3' **")
  |   Deployment "NAVINEO.HORA:service=DispatcheurAlarmes" is missing the 
following dependencies:
  | Dependency "jboss.j2ee:ear=Navineo.ear,jar=ModuleSA.jar,service=EJB3" 
(should be in state "Create", but is actually in state "** NOT FOUND Depends on 
'jboss.j2ee:ear=Navineo.ear,jar=ModuleSA.jar,service=EJB3' **")
  |   Deployment "NAVINEO.HORA:service=ImportFichiersNeutres" is missing the 
following dependencies:
  | Dependency "NAVINEO.Dock:service=ModuleHORA" (should be in state 
"Create", but is actually in state "Configured")
  |   Deployment "NAVINEO.HORA:service=ImportGescar" is missing the following 
dependencies:
  | Dependency "NAVINEO.Dock:service=ModuleHORA" (should be in state 
"Create", but is actually in state "Configured")
  |   Deployment "NAVINEO.HORA:service=InstantiateurFTPFileSucker" is missing 
the following dependencies:
  | Dependency "NAVINEO.Dock:service=ModuleSA" (should be in state 
"Create", but is actually in state "Configured")
  |   Deployment "NAVINEO.HORA:service=InstantiateurMoteurAlarmesCentre" is 
missing the following dependencies:
  | Dependency "NAVINEO.Dock:service=ModuleSA" (should be in state 
"Create", but is actually in state "Configured")
  |   Deployment "NAVINEO.HORA:service=InstantiateurMoteurAlarmesSite" is 
missing the following dependencies:
  | Dependency "NAVINEO.Dock:service=ModuleSA" (should be in state 
"Create", but is actually in state "Configured")
  |   Deployment "NAVINEO.HORA:service=InstantiateurMoteurSuivi" is missing the 
following dependencies:
  | Dependency "NAVINEO.Dock:service=ModuleSA" (should be in state 
"Create", but is actually in state "Configured")
  |   Deployment "NAVINEO.HORA:service=SimulateurTR" is missing the following 
dependencies:
  | Dependency "NAVINEO.Dock:service=ModuleHORA" (should be in state 
"Create", but is actually in state "Configured")
  |   Deployment "NAVINEO.SA:service=ConfigEquipement" is missing the following 
dependencies:
  | Dependency "jboss.j2ee:ear=Navineo.ear,jar=ModuleSA.jar,service=EJB3" 
(should be in state "Create", but is actually in state "** NOT FOUND Depends on 
'jboss.j2ee:ear=Navineo.ear,jar=ModuleSA.jar,service=EJB3' **")
  |   Deployment "NAVINEO.SA:service=DonneesDiverses" is missing the following 
dependencies:
  | Dependency "jboss.j2ee:ear=Navineo.ear,jar=ModuleSA.jar,service=EJB3" 
(should be in state "Create", but is actually in state "** NOT FOUND Depends on 
'jboss.j2ee:ear=Navineo.ear,jar=ModuleSA.jar,service=EJB3' **")
  |   Deployment "NAVINEO.SA:service=InstantiateurActivationVersions" is 
missing the following dependencies:
  | Dependency "NAVINEO.Dock:service=ModuleSA" (should be in state 
"Create", but is actually in state "Configured")
  |   Deployment "NAVINEO.SA:service=InstantiateurComEmbarques" is missing the 
following dependencies:
  | Dependency "NAVINEO.Dock:service=ModuleSA" (should be in state 
"Create", but is actually in state "Configured")
  |   Deployment "NAVINEO.SA:service=InstantiateurDummyTacheEgoiste1" is 
missing the following dependencies:
  | Dependency "NAVINEO.Dock:service=ModuleSA" (should be in state 
"Create", but is actually in state "Configured")
  |   Deployment "NAVINEO.SA:service=InstantiateurDummyTacheEgoiste2" is 
missing the following dependencies:
  | Dependency "NAVINEO.Dock:service=ModuleSA" (should be in state 
"Create", but is actually in state "Configured")