javax.servlet.ServletException: java.lang.reflect.InvocationTargetException while attempting to process a 'beforeCreate' event for 'page1'. root cause java.lang.RuntimeException: java.lang.reflect.InvocationTargetException while attempting to process a 'beforeCreate' event for 'page1'. root cause java.lang.reflect.InvocationTargetException root cause java.lang.RuntimeException: javax.management.InstanceNotFoundException: MBean not found: com.sun.appserv:type=virtual-server,id=www.mytest7.com,config=server-config,category=config root cause javax.management.InstanceNotFoundException: MBean not found: com.sun.appserv:type=virtual-server,id=www.mytest7.com,config=server-config,category=config note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs. ----- From the server log ---------------------------------------------------------------------- [#|2007-04-10T14:30:09.846-0400|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-4848-1;| RMIClient.getRMIClient: server|#] [#|2007-04-10T14:30:44.696-0400|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=Thread-37;|deployed with moduleid = hello|#] [#|2007-04-10T14:30:45.517-0400|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=13;_ThreadName=httpWorkerThread-4848-1;_RequestID=e03fd5c5-a961-4827-92b8-e9db7930c121;|javax.management.MBeanException: Operation 'getVirtualServer' failed in 'configs' Config Mbean. Target exception message: MBean not found: com.sun.appserv:type=virtual-server,id=www.mytest7.com,config=server-config,category=config

Oracle Community | 392 Guest | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Failed to deploy hello.war to a specified virtural server in Build 41a

    Oracle Community | 10 years ago | 392 Guest
    javax.servlet.ServletException: java.lang.reflect.InvocationTargetException while attempting to process a 'beforeCreate' event for 'page1'. root cause java.lang.RuntimeException: java.lang.reflect.InvocationTargetException while attempting to process a 'beforeCreate' event for 'page1'. root cause java.lang.reflect.InvocationTargetException root cause java.lang.RuntimeException: javax.management.InstanceNotFoundException: MBean not found: com.sun.appserv:type=virtual-server,id=www.mytest7.com,config=server-config,category=config root cause javax.management.InstanceNotFoundException: MBean not found: com.sun.appserv:type=virtual-server,id=www.mytest7.com,config=server-config,category=config note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs. ----- From the server log ---------------------------------------------------------------------- [#|2007-04-10T14:30:09.846-0400|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-4848-1;| RMIClient.getRMIClient: server|#] [#|2007-04-10T14:30:44.696-0400|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=Thread-37;|deployed with moduleid = hello|#] [#|2007-04-10T14:30:45.517-0400|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=13;_ThreadName=httpWorkerThread-4848-1;_RequestID=e03fd5c5-a961-4827-92b8-e9db7930c121;|javax.management.MBeanException: Operation 'getVirtualServer' failed in 'configs' Config Mbean. Target exception message: MBean not found: com.sun.appserv:type=virtual-server,id=www.mytest7.com,config=server-config,category=config

    Root Cause Analysis

    1. javax.management.InstanceNotFoundException

      MBean not found: com.sun.appserv:type=virtual-server,id=www.mytest7.com,config=server-config,category=config

      at com.sun.enterprise.admin.mbeans.ConfigsMBean.doPersistenceCheck()
    2. com.sun.enterprise
      ConfigsMBean.getVirtualServer
      1. com.sun.enterprise.admin.mbeans.ConfigsMBean.doPersistenceCheck(ConfigsMBean.java:1796)
      2. com.sun.enterprise.admin.mbeans.ConfigsMBean.getChild(ConfigsMBean.java:1289)
      3. com.sun.enterprise.admin.mbeans.ConfigsMBean.getChild(ConfigsMBean.java:1279)
      4. com.sun.enterprise.admin.mbeans.ConfigsMBean.getVirtualServer(ConfigsMBean.java:1162)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    4. GlassFish Admin
      MBeanHelper.invokeOperationInBean
      1. com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:353)
      2. com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:336)
      2 frames
    5. com.sun.enterprise
      BaseConfigMBean.invoke
      1. com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:448)
      1 frame