[jboss-dev-forums] [Design of POJO Server] - Re: ManagedOperation aspects for the ProfileService.Manageme

alesj do-not-reply at jboss.com
Mon Sep 24 17:25:26 EDT 2007


"scott.stark at jboss.org" wrote : 
  | The properties are updated during the ManagementView.process call based on what updateComponent calls have been made. These currently just map back to the deployemnt attachment. 
  | 


  |          ManagedProperty ctxProp = serverComp.getProperties().get(prop.getName());
  |          // Check for a mapped name
  |          if( ctxProp == null )
  |          {
  |             String mappedName = prop.getMappedName();
  |             if( mappedName != null )
  |                ctxProp = serverComp.getProperties().get(mappedName);
  |          }
  |          if( ctxProp == null )
  |          {
  |             formatter.applyPattern(i18n.getString("ManagementView.InvalidTemplateProperty")); //$NON-NLS-1$
  |             Object[] args = {prop.getName()};
  |             String msg = formatter.format(args);
  |             throw new IllegalArgumentException(msg);
  |          }
  |          ctxProp.setValue((Serializable)prop.getValue());
  | 

I'm failing to see where this change gets applied on the server side?
ManagementView.process calls MainDeployer.process, which only processes undeployments and new deployments.
But I can't see where changed/updated components/deployments are processed ...

"scott.stark at jboss.org" wrote : 
  | ... we also need to send the change to the runtime component.
  | 

How should we wire this with ManagementView?
Or just use plain KernelBus on the MC side?

I get this when running PS tests.
Was this fixed?

  | *** CONTEXTS IN ERROR: Name -> Error
  | 
  | vfsfile:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/profileservice/deploy/testHqldbDS-ds.xml -> org.xml.sax.SAXParseException: Premature end of file.
  | 

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088190



More information about the jboss-dev-forums mailing list