Trouble Registering Custom MBean in WLS 6.1 (Example from JMX Guide)

Hi there,
I have trouble getting an example to work provided in the BEA Manual
"Programming WebLogic JMX Services". The example of registering a
custom MBeans produces in my case:
java -cp .;C:\bea\wlserver6.1\lib\weblogic.jar jmx.dummy.MyClient
Getting BEA MBean Server
Using domain: weblogic
Create object name
Create MBean Dummy within MBean Server
Could not create MBean Dummy
java.rmi.UnmarshalException: error unmarshalling arguments; nested
exception is:
java.lang.ClassNotFoundException: jmx.dummy.MyClient
java.lang.ClassNotFoundException: jmx.dummy.MyClient
<<no stack trace available>>
--------------- nested within: ------------------
weblogic.rmi.extensions.RemoteRuntimeException - with nested
exception:
[java.rmi.UnmarshalException: error unmarshalling arguments; nested
exception is:
        java.lang.ClassNotFoundException: jmx.dummy.MyClient]
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:60)
at $Proxy2.registerMBean(Unknown Source)
at jmx.dummy.MyClient.registerMBean(MyClient.java:57)
at jmx.dummy.MyClient.main(MyClient.java:19)
I have a custom MBean: MyCustomMBean:
package jmx.dummy;
public interface MyCustomMBean
public int      getAttribute();
and it's implementation class MyClient listed below. Does anybody know
what I'm doing wrong ?
Greetings,
Alex
package jmx.dummy;
import weblogic.management.MBeanHome;
import weblogic.management.Helper;
import weblogic.management.RemoteMBeanServer;
import javax.management.*;
public class MyClient implements MyCustomMBean, java.io.Serializable
MBeanServer server = null;
ObjectName mbo = null;
String mbeanName = null;
public static void main(String[] args)
MyClient client = new MyClient();
client.createMBeanServer();
client.registerMBean();
client.getMBeanInfo();
private void createMBeanServer()
MBeanHome mbh =
Helper.getMBeanHome("system","beabeabea","t3://localhost:7001","petstoreServer");
echo("Getting BEA MBean Server");
server = mbh.getMBeanServer();
if (server == null)
echo("Server is null");
System.exit(2);
private void registerMBean()
String domain = server.getDefaultDomain();
echo("Using domain: " + domain);
mbeanName = new String("Dummy");
try
echo("Create object name");
mbo = new ObjectName(domain + ":type="+mbeanName);
catch (MalformedObjectNameException e1)
echo("MalformedObjectNameException");
e1.printStackTrace();
System.exit(1);
echo("Create MBean " + mbeanName + " within MBean Server");
try
//server.createMBean(mbeanName,mbo);
server.registerMBean((Object) new MyClient(), mbo);
catch (Exception e)
echo("Could not create MBean " + mbeanName);
e.printStackTrace();
System.exit(1);
private void getMBeanInfo()
echo("getting management information for "+mbeanName);
MBeanInfo info = null;
try
info = server.getMBeanInfo(mbo);
catch (Exception e)
echo("could not get MBeanInfo object for "+mbeanName);
e.printStackTrace();
return;
echo("CLASSNAME: \t"+info.getClassName());
echo("DESCRIPTION: \t"+info.getDescription());
echo("ATTRIBUTES: todo ....");
echo("\n\n");
try
echo("Get MBean Values:");
String state = (String)
server.getAttribute(mbo,"MyAttribute");
catch (Exception e)
echo("Could not read attributes");
e.printStackTrace();
return;
echo("End of DEMO");
private void echo(String error)
System.out.println(error);
public int getAttribute()
return 3434;

Hi, i'm using wl 6.0 on HPunix.
And.. we don't have any serverclasses folder. :(
Audun
[email protected] (Alex) wrote:
OK, I got it working. Will answer it here in case somebody else has a
problem. Editing the CLASSPATH of WLS did not work for me but putting
my classes in ./config/serverclasses/ did the trick. But then I
encountered another problem, new exception that my code was not JMX
compliant. Seperating the MBean implementation for the MyClient class
to a new class worked:
new class MyCustom:
package jmx.dummy;
public class MyCustom implements
jmx.dummy.MyCustomMBean,java.io.Serializable
public int getMyAttribute()
return 3434;
untouched MyCustomMBean class:
package jmx.dummy;
public interface MyCustomMBean
public int      getMyAttribute();
edited MyClient class:
package jmx.dummy;
import weblogic.management.MBeanHome;
import weblogic.management.Helper;
import weblogic.management.RemoteMBeanServer;
import javax.management.*;
public class MyClient
MBeanServer server = null;
ObjectName mbo = null;
String mbeanName = null;
public static void main(String[] args)
MyClient client = new MyClient();
client.createMBeanServer();
client.registerMBean();
client.getMBeanInfo();
     client.unregister();
private void createMBeanServer()
MBeanHome mbh =
Helper.getMBeanHome("system","beabeabea","t3://localhost:7001","examplesServer");
echo("Getting BEA MBean Server");
server = mbh.getMBeanServer();
if (server == null)
echo("Server is null");
System.exit(2);
private void registerMBean()
String domain = server.getDefaultDomain();
echo("Using domain: " + domain);
mbeanName = new String("MyCustomMBean");
try
echo("Create object name");
mbo = new ObjectName(domain + ":type="+mbeanName);
catch (MalformedObjectNameException e1)
echo("MalformedObjectNameException");
e1.printStackTrace();
System.exit(1);
echo("Create MBean " + mbeanName + " within MBean Server");
try
//server.createMBean(mbeanName,mbo);
server.registerMBean((Object) new MyCustom(), mbo);
catch (Exception e)
echo("Could not create MBean " + mbeanName);
e.printStackTrace();
System.exit(1);
private void getMBeanInfo()
echo("getting management information for "+mbeanName);
MBeanInfo info = null;
try
info = server.getMBeanInfo(mbo);
catch (Exception e)
echo("could not get MBeanInfo object for "+mbeanName);
e.printStackTrace();
return;
echo("CLASSNAME: \t"+info.getClassName());
echo("DESCRIPTION: \t"+info.getDescription());
echo("ATTRIBUTES: todo ....");
echo("\n\n");
try
echo("Get MBean Values:");
String state =
(server.getAttribute(mbo,"MyAttribute")).toString();
System.out.println("state is "+state);
catch (Exception e)
echo("Could not read attributes");
e.printStackTrace();
return;
echo("End of DEMO");
private void echo(String error)
System.out.println(error);
public int getAttribute()
return 3434;
private void unregister()
try
server.unregisterMBean(mbo);
catch (Exception e)
echo("could not unregister mbean");
[email protected] (Alex) wrote in message news:<[email protected]>...
Hi there,
I have trouble getting an example to work provided in the BEA Manual
"Programming WebLogic JMX Services". The example of registering a
custom MBeans produces in my case:
java -cp .;C:\bea\wlserver6.1\lib\weblogic.jar jmx.dummy.MyClient
Getting BEA MBean Server
Using domain: weblogic
Create object name
Create MBean Dummy within MBean Server
Could not create MBean Dummy
java.rmi.UnmarshalException: error unmarshalling arguments; nested
exception is:
java.lang.ClassNotFoundException: jmx.dummy.MyClient
java.lang.ClassNotFoundException: jmx.dummy.MyClient
<<no stack trace available>>
--------------- nested within: ------------------
weblogic.rmi.extensions.RemoteRuntimeException - with nested
exception:
[java.rmi.UnmarshalException: error unmarshalling arguments; nested
exception is:
java.lang.ClassNotFoundException: jmx.dummy.MyClient]
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:60)
at $Proxy2.registerMBean(Unknown Source)
at jmx.dummy.MyClient.registerMBean(MyClient.java:57)
at jmx.dummy.MyClient.main(MyClient.java:19)
I have a custom MBean: MyCustomMBean:
package jmx.dummy;
public interface MyCustomMBean
public int      getAttribute();
and it's implementation class MyClient listed below. Does anybody know
what I'm doing wrong ?
Greetings,
Alex
package jmx.dummy;
import weblogic.management.MBeanHome;
import weblogic.management.Helper;
import weblogic.management.RemoteMBeanServer;
import javax.management.*;
public class MyClient implements MyCustomMBean, java.io.Serializable
MBeanServer server = null;
ObjectName mbo = null;
String mbeanName = null;
public static void main(String[] args)
MyClient client = new MyClient();
client.createMBeanServer();
client.registerMBean();
client.getMBeanInfo();
private void createMBeanServer()
MBeanHome mbh =
Helper.getMBeanHome("system","beabeabea","t3://localhost:7001","petstoreServer");
echo("Getting BEA MBean Server");
server = mbh.getMBeanServer();
if (server == null)
echo("Server is null");
System.exit(2);
private void registerMBean()
String domain = server.getDefaultDomain();
echo("Using domain: " + domain);
mbeanName = new String("Dummy");
try
echo("Create object name");
mbo = new ObjectName(domain + ":type="+mbeanName);
catch (MalformedObjectNameException e1)
echo("MalformedObjectNameException");
e1.printStackTrace();
System.exit(1);
echo("Create MBean " + mbeanName + " within MBean Server");
try
//server.createMBean(mbeanName,mbo);
server.registerMBean((Object) new MyClient(), mbo);
catch (Exception e)
echo("Could not create MBean " + mbeanName);
e.printStackTrace();
System.exit(1);
private void getMBeanInfo()
echo("getting management information for "+mbeanName);
MBeanInfo info = null;
try
info = server.getMBeanInfo(mbo);
catch (Exception e)
echo("could not get MBeanInfo object for "+mbeanName);
e.printStackTrace();
return;
echo("CLASSNAME: \t"+info.getClassName());
echo("DESCRIPTION: \t"+info.getDescription());
echo("ATTRIBUTES: todo ....");
echo("\n\n");
try
echo("Get MBean Values:");
String state = (String)
server.getAttribute(mbo,"MyAttribute");
catch (Exception e)
echo("Could not read attributes");
e.printStackTrace();
return;
echo("End of DEMO");
private void echo(String error)
System.out.println(error);
public int getAttribute()
return 3434;

Similar Messages

  • How to register a custom MBean in weblogic 9.1

    Dear All,
    In weblogic 8.1, I usually register my custom mbeans using the <startup> tag in config.xml file. But in weblogic 9.1 I can not do this. <startup> tag is unrecognizable in weblogic config.xml file. Anybody knows how to write a java program and run it to register the custom MBeans?
    Regards,
    Fahad

    I never promote the method the deletion unless you understand the underlying tables of planning, if you search on the forum you will see posts on the subject just like this one - Delete dimension from planning application
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Where to place my customed mbean jar file?

    Hi all,
    I am totally new to weblogic, and our server is version 6.1. I would like to know
    where should I place my mbean class jar file?
    Mike

    Thanks Bala.
    "Bala" <[email protected]> wrote:
    >
    Hi Mike,
    Adding to start script (startwls.cmd/sh) is fine.
    Bala
    "Mike" <[email protected]> wrote:
    Would you please give more details on what is server's classpath?
    Should I place under %JAVA_HOME%/lib? Or Add the jar to the startWLS.cmd?
    Satya Ghattu <[email protected]> wrote:
    If you have written a custom MBean and would like to register in wls
    mbean server, you should make these classes available to the system
    class loader, i.e place the classes in the server's classpath.
    -satya
    Mike wrote:
    Hi all,
    I am totally new to weblogic, and our server is version 6.1. I wouldlike to know
    where should I place my mbean class jar file?
    Mike

  • After deploy I get An exception occurred while registering the MBean null

    Hi,
    I use Jdeveloper 11.1.1.0.0 and WebLogicServer 10gR3.
    When I run the ADF-Application from JDev via internal WLS, the application runs properly (even the database connection with oracle thin driver).
    I have successfully generated the data source (test with select 1 from dual also ok) on an external WLS.
    But when I deploy from JDev directly to the external WLS the following message is generated on the Server:
    <16.10.2008 10:30 Uhr CEST> <Error> <JMX> <BEA-149500> <An exception occurred while registering the MBean null.
    java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : com.bea:ServerRuntime=AdminServer,Name=tls-bob,Type=ApplicationRuntime new:weblogic.j2ee.J2EEApplicationRuntimeMBeanImpl@1ab7497 existing weblogic.j2ee.J2EEApplicationRuntimeMBeanImpl@1fdff07
    at weblogic.management.jmx.ObjectNameManagerBase.registerObject(ObjectNameManagerBase.java:168)
    at weblogic.management.mbeanservers.internal.WLSObjectNameManager.lookupObjectName(WLSObjectNameManager.java:131)
    at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:87)
    at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
    at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
    Truncated. see log file for complete stacktrace
    with two further similar messages.
    When I run the application the login-mask for database appears correctly in the browser, but when I start the login the following messages are generated on the server:
    16.10.2008 10:11:02 oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl setLifecycleContextBuilder
    WARNUNG: ADFc: Implementierung der ADF-Seitengnltigkeitsdauer wird durch "oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder" ersetzt.
    16.10.2008 10:11:03 oracle.adfinternal.controller.util.model.AdfmInterface initialize
    INFO: ADFc: BindingContext ist vorhanden, ADFm-APIs werden fnr DataControlFrames verwendet.
    16.10.2008 10:11:03 oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider <init>
    INFO: ADFc: Caching von MDS-Metadatenressourcen durch Controller AKTIVIERT.
    16.10.2008 10:11:03 oracle.adf.controller.internal.metadata.MetadataService$Bootstrap add
    INFO: ADFc: Bootstrap-Metadaten werden aus '/WEB-INF/adfc-config.xml' geladen.
    16.10.2008 10:11:19 oracle.adf.share.security.providers.jps.CSFCredentialStore fetchCredential
    WARNUNG: Unable to locate the credential for key tls-bob in D:\oracle\bea\user_projects\domains\TEST\config\oracle.
    16.10.2008 10:11:19 oracle.adf.share.jndi.ReferenceStoreHelper throwPartialResultException
    WARNUNG: Incomplete connection information
    16.10.2008 10:11:24 com.sun.faces.application.ActionListenerImpl processAction
    SCHWERWIEGEND: java.lang.NullPointerException
    javax.faces.el.EvaluationException: java.lang.NullPointerException
    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:70)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:274)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:74)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:70)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:274)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:74)
    Same problem happends, when deploying the ear-file manually from jdev.
    Thanks in advance!
    Oliver
    Edited by: user470087 on Oct 16, 2008 11:24 AM

    Hi,
    I never had this exact exception but to my knowledge your find more info in the full stack trace. The full stack trace has the bundled exceptions too which are the cause of the trouble in all cases I saw.
    Sometimes it helps to turn jbo.debugoutput on.
    Timo

  • Custom MBean - Attribute Display Order & Documentation

    Hi All,
    I've implemented custom security providers for one of our customers. All Providers are working very well. However I've problems about displaying attributes of my MBeans in WLS console. Attributes of my custom mbean definitions are displayed in console in unsorted manner. They're not sorted as I put them in mbean definition file and as I know there is also no display order attribute specified in "commo.dtd". I also checked [MBean Definition|http://download.oracle.com/docs/cd/E15523_01/web.1111/e13718/mdf_ref.htm#i1035144] . Is there a way to specify display order of managed bean attributes that placed in mbean definition file ?
    My second question is about generating description to display WLS console. I first tried to use "Description" attribute of MBeanAttribute element. It didn't worked. So I checked out out-of-the-box security providers to how they've done this before. I created "-doc.xml" files that uses "commodoc.dtd" schema and my attribute element's "Description" attributes as "See ...-doc.xml" in mbean definition file. It also didn't worked. I need to find a way to put my descriptions in WLS console . Any help would be appreciated.
    I'm including sample mbean definition, mbean documentation definition and my mbean generation ant comments. By the way I'm trying all this by using WLS 10.3.2 environment with Sun JDK 1.6.0.18.
    Thanks in advance.
    ANT TASK
    <java classname="weblogic.management.commo.WebLogicMBeanMaker" fork="true"
    failonerror="true" >
         <jvmarg line=" -DdoCheckDescription=true -Dfiles=${build_dir} -DMDFDIR=${build_dir} -DMJF=${build_dir}/${myproviderjar} -DtargetNameSpace=${namespace} -DcreateStubs=true -Dverbose=true"/>
    </java>
    MBEAN DEFINITION
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE MBeanType SYSTEM "commo.dtd">
    <MBeanType Name="SpnegoCredentialMapper" DisplayName="SpnegoCredentialMapper"
         Package="com.dflora.security.wls.cm.spnego" Extends="weblogic.management.security.credentials.CredentialMapper"
         PersistPolicy="OnUpdate" Description="See SpnegoCredentialMapper-doc.xml.">
         <!-- Standard values -->
         <MBeanAttribute Name="ProviderClassName" Type="java.lang.String"
              Writeable="false"
              Preprocessor="weblogic.management.configuration.LegalHelper.checkClassName(value)"
              Default="&quot;com.dflora.security.wls.cm.spnego.SpnegoCredentialMapperProviderImpl&quot;"
              Description="See SpnegoCredentialMapper-doc.xml." />
         <MBeanAttribute Name="Description" Type="java.lang.String"
              Writeable="false"
              Default="&quot; DFlora's Identity Assertion Provider for Spnego Tokens &quot;"
              Description="See SpnegoCredentialMapper-doc.xml." />
         <MBeanAttribute Name="Version" Type="java.lang.String"
              Writeable="false" Default="&quot;1.0&quot;" Description="See SpnegoCredentialMapper-doc.xml." />
         <!-- Extended Attributes -->
         <MBeanAttribute Name="Debug" Type="boolean" Writeable="true"
              Default="false" Description="See SpnegoCredentialMapper-doc.xml." />
         <MBeanAttribute Name="ForwardTicket" Type="boolean"
              Writeable="true" Default="true" Description="See SpnegoCredentialMapper-doc.xml." />
    </MBeanType>
    MBEAN-DOC
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE MBeanType SYSTEM "commodoc.dtd">
    <?xml-stylesheet alternate="yes" href="commodoc.css" type="text/css"?>
    <MBeanType Name="SpnegoCredentialMapper"
    Package="com.dflora.security.wls.cm.spnego">
    <Description>
    <Lead>
    <p>This MBean represents configuration information for the Spnego credential mapper.</p>
    </Lead>
    <Detail>
    Deprecation of MBeanHome and Type-Safe Interfaces
    <p>Additional description about mbean </p>
    </Detail>
    </Description>
    <MBeanAttribute Name="Debug">
    <Description>
    <Lead>
    <p>Enables Disables Debug</p>
    </Lead>
    <Detail>
    <p>Detailed description of debug attribute.</p>
    </Detail>
    </Description>
    </MBeanAttribute>
    </MBeanType>

    Yes the description attribute doesnt work anymore the way it used to work in prev versions.
    On further research it was found that the Mbean required for generating description was missing.
    A bug was filed with the engineering the engineering team. I am not sure what happend after that.
    Let me try to find out.
    If the mean while if any one of u guys have a support contract, you can go ahead and open a case with Oracle.
    As for the order on display in the console, it shows in the order in which its defined in the MDF, m not sure why its behaving differently in your case.
    -Faisal
    http://www.weblogic-wonders.com/weblogic/

  • Having trouble register my account to paypal to complete setup of webforms. Please help?

    Having trouble register my account to paypal to complete setup of webforms. Please help?

    Is it this: http://www.adobe.com/products/acrobat/create-pdf-web-forms-builder.html ?  Which means Acrobat.
    Contact Customer Care - click on the Still need help? button to chat with an agent.

  • JMX BEA-149500 An exception occurred while registering the MBean null.

    Hi
    I am getting the Error below, has anyone ever figured out a resolution to this error?
    Thanks
    <27-Feb-2013 16:54:10 o'clock GMT> <Error> <JMX> <BEA-149500> <An exception occurred while registering the MBean null.
    java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : com.bea:ServerRuntime=AdminServer,Name=FileServlet,ApplicationRuntime=_appsdir_wlossvc_war,Type=ServletRuntime,WebAppComponentRuntime=AdminServer_/wlossvc new:weblogic.servlet.internal.ServletRuntimeMBeanImpl@3b7f4e existing weblogic.servlet.internal.ServletRuntimeMBeanImpl@510bb7
         at weblogic.management.jmx.ObjectNameManagerBase.registerObject(ObjectNameManagerBase.java:168)
         at weblogic.management.mbeanservers.internal.WLSObjectNameManager.lookupObjectName(WLSObjectNameManager.java:131)
         at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:87)
         at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
         at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
         Truncated. see log file for complete stacktrace

    I should have given you more information. This application has been deployed with no issues on Web Logic 11g, but now I am trying to deploy it to 12c and have encountered the error. I am using jdk 160_29 and Web Logic 12c. Please see the complete stack trace below. Has anyone any suggestions on how to resolve this?
    Thanks
    ####<28-Feb-2013 10:43:59 o'clock GMT> <Warning> <Deployer> <SPR-U403824D002> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1362048239487> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Failed to properly unregister weblogic.servlet.internal.ServletRuntimeMBeanImpl@d9edbe for ObjectName com.bea:ServerRuntime=AdminServer,Name=FileServlet,ApplicationRuntime=_appsdir_WLOSService_war,Type=ServletRuntime,WebAppComponentRuntime=AdminServer_/wlossvc
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:732)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:188)
         at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:83)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
         at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:172)
         at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:167)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
         at weblogic.application.internal.flow.ModuleStateDriver.prepare(ModuleStateDriver.java:38)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:139)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:55)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: java.lang.IllegalArgumentException: Failed to properly unregister weblogic.servlet.internal.ServletRuntimeMBeanImpl@d9edbe for ObjectName com.bea:ServerRuntime=AdminServer,Name=FileServlet,ApplicationRuntime=_appsdir_WLOSService_war,Type=ServletRuntime,WebAppComponentRuntime=AdminServer_/wlossvc
         at weblogic.management.jmx.ObjectNameManagerBase.unregisterObject(ObjectNameManagerBase.java:219)
         at weblogic.management.jmx.ObjectNameManagerBase.unregisterObjectInstance(ObjectNameManagerBase.java:192)
         at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.unregisteredInternal(RuntimeMBeanAgent.java:124)
         at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.unregistered(RuntimeMBeanAgent.java:108)
         at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:187)
         at weblogic.management.provider.core.RegistrationManagerBase.unregister(RegistrationManagerBase.java:126)
         at weblogic.management.runtime.RuntimeMBeanDelegate.unregister(RuntimeMBeanDelegate.java:287)
         at weblogic.servlet.internal.ServletRuntimeMBeanImpl$2.run(ServletRuntimeMBeanImpl.java:70)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:64)
         at weblogic.servlet.internal.ServletRuntimeMBeanImpl.destroy(ServletRuntimeMBeanImpl.java:67)
         at weblogic.servlet.internal.ServletStubImpl.destroy(ServletStubImpl.java:492)
         at weblogic.servlet.internal.WebAppServletContext.registerServletStub(WebAppServletContext.java:1977)
         at weblogic.servlet.internal.ServletStubFactory.registerToContext(ServletStubFactory.java:163)
         at weblogic.servlet.internal.ServletStubFactory.getInstance(ServletStubFactory.java:77)
         at weblogic.servlet.internal.WebAppServletContext.registerServlets(WebAppServletContext.java:1386)
         at weblogic.servlet.internal.WebAppServletContext.registerServlets(WebAppServletContext.java:1360)
         at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1060)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1005)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:392)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:367)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:1239)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:723)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:188)
         at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:83)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
         at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:172)
         at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:167)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
         at weblogic.application.internal.flow.ModuleStateDriver.prepare(ModuleStateDriver.java:38)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:139)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:55)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >

  • Having trouble registering for the Creative Cloud $14.99 a month student plan

    I'm having trouble registering for the Creative Cloud $14.99 a month student plan. Once I've filled out the form and hit 'confirm' the following message comes up: "Payment System Unavailable: We're sorry. Something seems to be wrong on our end. Please try again later. If this continues to fail, please contact Customer Support." Customer support on chat transferred me to Sales on chat, and they have been unresponsive for almost 20 minutes. Any advice?

    Hi Lindsey Martin,
    Kindly contact our support team so that we can assist you appropriately.
    Contact Customer Care
    Thanks,
    Atul Saini

  • How to register custom report under Custom Development Application

    Hi 2 all
    How to register custom report under the Custom Development application in R12 vision DB, and also confirm location/folder of Custom Development application in R12.
    Thanks
    Zulqarnain

    Hi,
    You may or may not need to "register" the workflow - it depends on the changes that you made and which Item Type you modified. Some applications are essentially hard-coded to use a specific item type and process, some hard-coded to use an item type but you can configure the process to use, and some allow you to specify which item type and which process to use.
    Without knowing exactly what you have done, though, there is no specific advice that anyone can give you here on what you need to do, apart from to ensure that you have saved the new definition to the database.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • SQL to register custom Interface

    Steps to register a custom interface are given below.
    1) Assign iSetup super user role.
    2) Create Function
    3) Create Menu
    4) Create Grant
    5) Register Interface.
    Since it consumes good amount some time, it may not be required in development or UT environments. I have provided the query that would directly register interface with iSetup schema without having to go through the above flow.
    Also, this provides a chance for customer who are on 11.5.10.2CU to create and register customer interfaces with iSetup.
    Please note that this short cut must be used only in development and UT environments.
    INSERT INTO az_apis
    API_NAME,
    APPLICATION_SHORT_NAME,
    SEQ ,
    DISPLAY_NAME,
    DESCRIPTION,
    COMMIT_IF_WARNING,
    TYPE_CODE,
    METHOD_NAME,
    PATH,
    CREATED_BY,
    CREATION_DATE,
    LAST_UPDATED_BY,
    LAST_UPDATE_DATE,
    LAST_UPDATE_LOGIN,
    API_CODE,
    SEQ_NUM,
    API_DESC,
    COMMIT_IF_WARNING_FLAG,
    API_TYPE,
    REPORT_LAYOUT,
    FILTERING_PARAMETERS,
    DATA_SOURCE_NAME,
    UPDATABLE_FLAG,
    CHANGE_UPDATABLE_FLAG,
    ALLOW_SET_TARGETVAL_FLAG,
    ALLOW_FILTER_FLAG,
    API_STANDALONE_FLAG,
    ACTIVE,
    DISABLE_REPORT_FLAG
    VALUES
    NULL ,
    :1 ,
    NULL ,
    :2,
    NULL ,
    NULL ,
    NULL ,
    'importFromXML',
    :3,
    1,
    to_timestamp('03-JAN-07','DD-MON-RR HH.MI.SSXFF AM'),
    1,
    to_timestamp('21-MAR-07','DD-MON-RR HH.MI.SSXFF AM'),
    0,
    :4,
    NULL,
    NULL,
    'N',
    :5,
    'MULTIPLE',
    :6,
    NULL,
    NULL,
    NULL,
    NULL,
    'Y',
    'Y',
    'Y',
    NULL
    Where
              *:1 => APPLICATION_SHORT_NAME* => Product code under which you would like to register the interface.
              *:2 => DISPLAY_NAME* => Any user friendly name to identify the API. This would appear as data object name while creating custom selection set.
    *:3 => PATH* => Path to lct file or Java path to refer AM.
    Example, for BC4J iSetup framework API => oracle.apps.az.isetup.server.ReportCurrenciesAM
    for Generic Loader (FNDLOAD) API => patch/115/import/mysamplelct.lct
    *:4 => API_CODE* => A unique identifier to register the API.
                                  Naming convention => Application Short Name + “_” + API Name without any spaces.
                                  Example => AZ_Currencies
    *:5 => API_TYPE* => Type of API.
    For iSetup framework BC4J APIs => BC4J
                                  For generic Loader APIs => FNDLOAD          
              *:6 => FILTERING_PARAMETERS* => Filtering Parameters is stored as XML. Keep it NULL if there are no filtering_parameters.
    I have provided a sample XML.
    <?xml version="1.0"?>
    <parameters>
    <conjunction>AND</conjunction>
    <language></language>
    <mode type = "Export">
    <param type = "NameValuePair" seq = "1" display = "DisplayEnabled" editable = "Editable">
    <operator>=</operator>
    <separator></separator>
    <name>PRODUCT_CODE</name>
    <value></value>
    <msgcode>AZ_R12_PRODUCT_CODE</msgcode>
    <appcode>AZ</appcode>
    <filtercode></filtercode>
    <datatype>java.lang.String</datatype>
    <sqlforlov>select distinct product_code from fnd_application_vl</sqlforlov>
    <sqlforlovcol>PRODUCT_CODE</sqlforlovcol>
    </param>
    </mode>
    </parameters>
    Delete Record Query
              DELETE FROM az_apis WHERE api_code= :1;
    where
    *:1 => API_CODE* => A unique identifier to register the API.
                                  Naming convention => Application Short Name + “_” + API Name without any spaces.
                                  Example => AZ_Currencies

    Have your signed your assembly ??
    Microsoft Dynamics CRM Training|Our Blog |
    Follow US |
    Our Facebook Page |
    Microsoft Dynamics CRM 2011 Application Design
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

  • How to register one MBean inside another MBean

    Hi All,
    When i try to register one MBean(DynMBean1) inside another(DynMBean2) by passing object name of this MBean as attribute to the other MBean,iam getting the following error:
    Following shows the adapter interface
    List of MBean attributes:
    Name Type Access Value
    DynBean2 java.lang.ObjectName RW Type Not Supported: [                                                      [DynBean2:bean=sample]
    name java.lang.String RW
    if the above code works properly,in the ''value' column there should be ''view' button and only [DynBean2:bean=sample]' should be present in the value column.Also,if we click on Can any predict what the problem is......?
    Regards
    Ravi
    Mail Me:[email protected]

    I don't understand what you mean by register a bean inside another bean.

  • Trouble registering my MacBook Pro

    Hi everyone..I'm having a bit of a trouble registering my MacBook Pro. First, I've gone to the registration page https://register.apple.com/, and filled out all details. In finishing I got a message saying I would get an email confirming the registration. Days later, no email.
    So I go to the check warranty status page https://selfsolve.apple.com/GetWarranty.do, and enter my MacBook's serial number. It says it is under limited warranty, which seems ok. I click on "more information", and it says the computer is NOT registered. Weird
    So I click on the link on that very same page to re-register, and in finishing I get a message saying the registration cannot be processed at this time.
    I have been at this routine 4 or 5 times now, and don't know why it is that I get that error...Is my computer registered? Will I have trouble asking for servicing?
    Thanks in advance

    AAAARRRGGGHHH! This is maddening. I went through the same endless loops that the first guy on this thread went through. Apple takes you to a page where you are supposed to be able to initiate a phone call back, but it just takes me on loops back to the same page, and I keep getting that dumb message saying they can't provide service at this time. Just what is their online service supposed to be for if it isn't to solve problems. I guess I'll have to be on the phone the next hour on-hold trying to get through to a human being at Apple. And then they will probably want to charge me just to modify my warranty information.

  • How to register custom forms & reports

    Hi,
    Please anyone help me the steps required to register custom forms & reports to e-business suite 11i.
    regards
    sva

    Hi,
    Please refer to the following document.
    Note: 216589.1 - Step By Step Guide to Creating a Custom Application in Applications 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=216589.1
    Note: 177610.1 - Oracle Forms in Applications FAQ
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=177610.1
    Note: 104697.1 - Setup & Usage (Customization)
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=104697.1
    Oracle Applications Developer's Guide
    http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115devg.pdf
    Regards,
    Hussein

  • BUG in 10.1.3 EA: Can't register custom ViewCriteriaAdapter

    I am following Steve Muench's "Implementing a View Criteria Adapter to Customize Query By Example Functionality" article to create custom ViewCriteriaAdapter.
    BUT, framework seams to ignore my attempts to register custom adapter. I am using code like this:
    setViewCriteriaAdapter(something);I also try setting jbo.ViewCriteriaAdapter property but with no result.
    No matter what I do, it uses default OracleSQLBuilderImpl.
    Realy simple test case can be found at http://www.sharanet.org/~icuric/Test_BUG_1.zip (zipped application workspace).

    In case you didn't see it in subject, I am using JDeveloper 10.1.3 EA.
    Client is ADF Swing.
    I tried the same code in JDeveloper 10.1.2 and it works as advertised :)

  • Unable to register custom workflow activity on MS CRM 2015 Online

    Hi All,
    I am trying to register custom workflow activity using plugin registration tool on MS CRM 2015 Online.
    Error says that 'No Plugin have been selected from list. Please select atleast one and try again'
    In short my assembly is not considered as custom workflow activity.
    I am giving my code let me know, If any thing is wrong.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Activities;
    using Microsoft.Xrm.Sdk;
    using Microsoft.Xrm.Sdk.Workflow;
    namespace Training.SamplePlugin
        public class SampleCustomworkflow : CodeActivity
            [Input("Birthday")]
            public InArgument<DateTime> BirthDate { get; set; }
            [Output("NextBirthday")]
            public OutArgument<DateTime> NextBirthDay { get; set; }
            protected override void Execute(CodeActivityContext executionContext)
                //Create the tracing service
                ITracingService tracingService = executionContext.GetExtension<ITracingService>();
                //Create the context
                IWorkflowContext context = executionContext.GetExtension<IWorkflowContext>();
                IOrganizationServiceFactory serviceFactory = executionContext.GetExtension<IOrganizationServiceFactory>();
                IOrganizationService service = serviceFactory.CreateOrganizationService(context.UserId);
                if (context.PrimaryEntityName.ToLowerInvariant() == "contact")
                    DateTime birthDate = BirthDate.Get<DateTime>(executionContext);
                    DateTime nextBirthDate = new DateTime(DateTime.Now.AddYears(1).Year, birthDate.Month, birthDate.Day);
                    //NextBirthDay.Set(executionContext, nextBirthDate);
                    Entity newContact = new Entity();
                    newContact.LogicalName = "contact";
                    newContact.Id = context.PrimaryEntityId;
                    newContact["new_nextbirthday"] = nextBirthDate;
                    service.Update(newContact);
    If code is correct then has somebody faced this kind of issue earlier, what is resolution.
    Thanks
    Apurv

    Have your signed your assembly ??
    Microsoft Dynamics CRM Training|Our Blog |
    Follow US |
    Our Facebook Page |
    Microsoft Dynamics CRM 2011 Application Design
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

Maybe you are looking for

  • Assorted Free Goods Problems in Sales Order

    Hello All, The problem is related to Assorted Free Goods Pricing in Sales Order.I have two queries which are provided below with example:- In the sales order I am giving 2 Line Items. - Material A & Material B of total quantity 10PC Then 1 PC of the

  • Best approach for setting up iCloud for a child

    Hi, I have bought my son an iPad Air for his birthday. We already have an iMac in the house which is shared by us all, with each person having their own login. My original question was going to be how I can create an iCloud login for him. I tried cre

  • Apple Software update

    Today I received a software update message from Apple. I went ahead and downloaded upgrades - amongst them OS 10.4.11... Also Quicktime, Pro, some others I don't remember... After downloading and restart, neither Mail nor Safari open - not from the d

  • CFM script injection hack...

    Our servers have been hacked and we're having trouble finding the point of entry for the trojan. What we're seeing is essentially every web file (.htm(l),.cfm,.php,.js, etc) being appended with a script code trying to load a swf from "chanm.3322.org/

  • Adobe Acrobat 8.1.0 update

    I need to install the Adobe Acrobat 8.1.0 update and can't find it anywhere to download. Can anyone direct me to it? Thanks