Re: [JBoss-dev] no dependency error message

2006-03-07 Thread Bill Burke
why doesn't the scanner just listIncompleteDeployments() after a scan 
that involved a new deployment or a redeploy?


Scott M Stark wrote:

The deployment check should be traversing the nested dependency state
then.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill
Burke
Sent: Tuesday, March 07, 2006 5:09 PM
To: jboss-development@lists.sourceforge.net
Subject: Re: [JBoss-dev] no dependency error message

What I found was that unless the *top* DeploymentInfo has the "unready" 
mbean listed in its member variable  DeploymentInfo.mbeans, then there 
is no error message printed.


So, I added the created mbeans to the EAR's DI.mbeans variable and got 
the error message.  Then I jarred the EAR in a .jar and didn't get the 
error message anymore.


What I think I'll do is look for the top DI and add the registered mbean

to it.  The SARDeployer will try to create/start DI.mbeans if they 
exist, but the code seems to check to make sure it hasn't already been 
called.


Scott M Stark wrote:


URLDeploymentScanner.scan calls


MainDeployer.checkIncompleteDeployments


to validate unsatisfied dependencies on each scan so check that.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of


Bill


Burke
Sent: Tuesday, March 07, 2006 3:17 PM
To: jboss-development@lists.sourceforge.net
Subject: [JBoss-dev] no dependency error message

I'm deploying an EAR that contains an EJB3 bean.  The EJB3Deployer 
creates and registers an MBean that manages the deployment of the 
EJB3Container using the servicecontroller manually


The problem:

The EJB3 container's mbean depends on an MBean that does not exist.  I



do not get a deployment error message though.  No message, 
nothing...However, if I manually go to the ServiceController through


the

JMX-Console I do see the correct message when invoking 
listIncompletelyDeployed()





[ObjectName:




jboss.j2ee:service=EJB3,ear=JiraTestApp.ear,jar=JiraTestEJB.jar,name=Jir


aTestInnerBean



State: NOTYETINSTALLED
I Depend On:
  persistence.units:unitName=jiratest
]



What's up here?  Any ideas?








--
Bill Burke
Chief Architect
JBoss Inc.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


RE: [JBoss-dev] no dependency error message

2006-03-07 Thread Scott M Stark
The deployment check should be traversing the nested dependency state
then.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill
Burke
Sent: Tuesday, March 07, 2006 5:09 PM
To: jboss-development@lists.sourceforge.net
Subject: Re: [JBoss-dev] no dependency error message

What I found was that unless the *top* DeploymentInfo has the "unready" 
mbean listed in its member variable  DeploymentInfo.mbeans, then there 
is no error message printed.

So, I added the created mbeans to the EAR's DI.mbeans variable and got 
the error message.  Then I jarred the EAR in a .jar and didn't get the 
error message anymore.

What I think I'll do is look for the top DI and add the registered mbean

to it.  The SARDeployer will try to create/start DI.mbeans if they 
exist, but the code seems to check to make sure it hasn't already been 
called.

Scott M Stark wrote:
> URLDeploymentScanner.scan calls
MainDeployer.checkIncompleteDeployments
> to validate unsatisfied dependencies on each scan so check that.
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
Bill
> Burke
> Sent: Tuesday, March 07, 2006 3:17 PM
> To: jboss-development@lists.sourceforge.net
> Subject: [JBoss-dev] no dependency error message
> 
> I'm deploying an EAR that contains an EJB3 bean.  The EJB3Deployer 
> creates and registers an MBean that manages the deployment of the 
> EJB3Container using the servicecontroller manually
> 
> The problem:
> 
> The EJB3 container's mbean depends on an MBean that does not exist.  I

> do not get a deployment error message though.  No message, 
> nothing...However, if I manually go to the ServiceController through
the
> 
> JMX-Console I do see the correct message when invoking 
> listIncompletelyDeployed()
> 
> 
>>[ObjectName:
> 
>
jboss.j2ee:service=EJB3,ear=JiraTestApp.ear,jar=JiraTestEJB.jar,name=Jir
> aTestInnerBean
> 
>>  State: NOTYETINSTALLED
>>  I Depend On:
>>persistence.units:unitName=jiratest
>>]
> 
> 
> What's up here?  Any ideas?
> 
> 
> 

-- 
Bill Burke
Chief Architect
JBoss Inc.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


Re: [JBoss-dev] no dependency error message

2006-03-07 Thread Bill Burke
What I found was that unless the *top* DeploymentInfo has the "unready" 
mbean listed in its member variable  DeploymentInfo.mbeans, then there 
is no error message printed.


So, I added the created mbeans to the EAR's DI.mbeans variable and got 
the error message.  Then I jarred the EAR in a .jar and didn't get the 
error message anymore.


What I think I'll do is look for the top DI and add the registered mbean 
to it.  The SARDeployer will try to create/start DI.mbeans if they 
exist, but the code seems to check to make sure it hasn't already been 
called.


Scott M Stark wrote:

URLDeploymentScanner.scan calls MainDeployer.checkIncompleteDeployments
to validate unsatisfied dependencies on each scan so check that.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill
Burke
Sent: Tuesday, March 07, 2006 3:17 PM
To: jboss-development@lists.sourceforge.net
Subject: [JBoss-dev] no dependency error message

I'm deploying an EAR that contains an EJB3 bean.  The EJB3Deployer 
creates and registers an MBean that manages the deployment of the 
EJB3Container using the servicecontroller manually


The problem:

The EJB3 container's mbean depends on an MBean that does not exist.  I 
do not get a deployment error message though.  No message, 
nothing...However, if I manually go to the ServiceController through the


JMX-Console I do see the correct message when invoking 
listIncompletelyDeployed()




[ObjectName:


jboss.j2ee:service=EJB3,ear=JiraTestApp.ear,jar=JiraTestEJB.jar,name=Jir
aTestInnerBean


 State: NOTYETINSTALLED
 I Depend On:
   persistence.units:unitName=jiratest
]



What's up here?  Any ideas?





--
Bill Burke
Chief Architect
JBoss Inc.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


RE: [JBoss-dev] no dependency error message

2006-03-07 Thread Scott M Stark
URLDeploymentScanner.scan calls MainDeployer.checkIncompleteDeployments
to validate unsatisfied dependencies on each scan so check that.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill
Burke
Sent: Tuesday, March 07, 2006 3:17 PM
To: jboss-development@lists.sourceforge.net
Subject: [JBoss-dev] no dependency error message

I'm deploying an EAR that contains an EJB3 bean.  The EJB3Deployer 
creates and registers an MBean that manages the deployment of the 
EJB3Container using the servicecontroller manually

The problem:

The EJB3 container's mbean depends on an MBean that does not exist.  I 
do not get a deployment error message though.  No message, 
nothing...However, if I manually go to the ServiceController through the

JMX-Console I do see the correct message when invoking 
listIncompletelyDeployed()

> [ObjectName:
jboss.j2ee:service=EJB3,ear=JiraTestApp.ear,jar=JiraTestEJB.jar,name=Jir
aTestInnerBean
>   State: NOTYETINSTALLED
>   I Depend On:
> persistence.units:unitName=jiratest
> ]

What's up here?  Any ideas?



-- 
Bill Burke
Chief Architect
JBoss Inc.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development