[jboss-dev-forums] [Design of POJO Server] - Re: jndiName

bytor99999 do-not-reply at jboss.com
Tue Mar 4 13:07:19 EST 2008


"adrian at jboss.org" wrote : "bytor99999" wrote : 21:47:32,843 WARN  [ManagementViewImpl] Failed to create ManagedDeployment for: MarkDS-ds.xml
  |   | org.jboss.deployers.spi.DeploymentException: Context MarkDS-ds.xml not found
  |   |         at org.jboss.deployers.plugins.main.MainDeployerImpl.getDeploymentContext(MainDeployerImpl.java:173)
  |   |         at org.jboss.deployers.plugins.main.MainDeployerImpl.getManagedDeployment(MainDeployerImpl.java:650)
  |   |         at org.jboss.profileservice.management.ManagementViewImpl.loadProfile(ManagementViewImpl.java:186)
  |   | 
  | 
  | At least part of the problem is that you are passing the wrong deployment name here.

OK, I looked at the code, and in this case I am not passing that value at all

Here is the last bit of code in that stack from our code

 at org.rhq.plugins.jbossas5.factory.ProfileServiceFactory.refreshCurrentProfileView(ProfileServiceFactory.java:1
02) 

This is that method


  |     public static void refreshCurrentProfileView()
  |     {
  |         try
  |         {
  |             Profile activeProfile = getProfileService().getActiveProfile();
  |             ProfileKey activeKey = activeProfile.getKey();
  |             getCurrentProfileView().loadProfile(activeKey);
  |         }
  |         catch (Exception e)
  |         {
  |             LOG.error("Could not find default Profile in Current Profile View", e);
  |         }
  |     }
  | 

We are just refreshing our managementView

Thanks

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

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



More information about the jboss-dev-forums mailing list