Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

473090Oct 16 2008 — edited Oct 17 2008
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

Comments

bansak@loxinfo.co.th

Dear Sir,

I don't have CSI (Customer Support Identifier) How to get "Patch Set Bundle for Oracle APEX 20.1 (30990551)" ?

If I purchase Oracle Database Personal Edition on Oracle Store (link below) Can I get CSI for download this patch?

Best regards,

Bansak.

https://shop.oracle.com/apex/f?p=DSTORE:PRODUCT:::NO:RP,6:P6_LPI,P6_PROD_HIER_ID:4508888120961805719862,4509958287721805…

seanzh

First I can't speak for Oracle, my experience to your question is YES: I have Oracle Database Personal Edition Support Contract and I am able to download this patch. HTH

Pravin Kale

Hi,

Can we upgrade APEX from  5.0.4.00.12 to  20.1  Current database version is 12.1.0 .2

Thanks

Pravin

joelkallman-Oracle

Hi Pravin,

Yes.  You can upgrade directly to the latest version of APEX.  No need for you to install all of the interim versions.

Joel

bansak@loxinfo.co.th

Dear Mr.Seanzh,

What happend if I am not pay license and support per year over 2 years and back to use it again. How much license and support I will pay, only current year or 2 years+current year?

Thanks and Best regards,

Bansak.

seanzh

Again, I only speak for my own experience.

Our company used to use Oracle EE for ERP, 7 years ago we migrated to another ERP system which uses different database and we discontinued Oracle license, 3 years ago I found a couple of my small applications still need Oracle patches so I decided to buy Oracle Database Personal Edition at price like $470( first year)+$150 ( for 1st year support)= $620 /1st year , subsequent years the contract renewal for about  $150/Yr, very good price. The CSI support# enables me access to support.oracle.com to download patches, new DB software AND request support, one time I even got great support on 365 email integration with Apex by none other than  Apex director Joel Kallman himself, who sent me a patch personally and I was  grateful for that.  OK, I am detouring too much, back to your answer I'd  say, only current year=$620; 2years support+current year=$770... HTH

Yevon

Hi apex team! Congrats and good job for all new features of this release, but it has a very urgent bug thats makes it unusable, we are having lots and random issues because of it after upgrading to latest version with last available patchset installed (30990551). It doesn't behave properly with varchar2 extended mode activated. I read in release notes that this bug is suposed to be fixed, but it isn't.

Apex 20.1 release notes fixes bugs:

| 30589770 | FORM REGION INIT PROCESS THROWS ORA-06502 WITH MAX_STRING_SIZE=EXTENDED AND VARCHAR2 VALUES > 4000 BYTE |

Any report or process that produces varchar2 > 4000 fails with ORA-06502. If you debug the process or query in sql developer, it works nicely, in apex fails. I tested it in apex workapaces, but I don't know if this instance has extended mode active:

https://apex.oracle.com/pls/apex/pcat_test/r/test-varchar2-4000-bug/test-bug-varchar2-4000

Any workarounds? Is it possible that installing the patchset this bug returns and with standsrd install is correct? I can't check it. Thanks for your work.

joelkallman-Oracle escribió:

Oracle APEX, the world's most popular low-code platform for enterprise apps, changes the game yet again. Reduce costs, deliver on time, and produce beautiful results for your business, with Oracle APEX!

Oracle proudly announces the general availability of APEX 20.1!

Release Announcement: https://blogs.oracle.com/apex/announcing-oracle-apex-201

All Information about Oracle APEX: https://apex.oracle.com

APEX 20.1.png

1 - 8
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 14 2008
Added on Oct 16 2008
2 comments
1,114 views