Weblogic WorkManager vs Coherence WorkManager

I'm wondering if anyone has comments on using the Weblogic WorkManager vs Coherence WorkManager. The Weblogic WorkManager has a much simpler api but since it is tied into Weblogic workload management the simpler api may be sufficient. We are currently using the Coherence WorkManager but the idea of a single thread pool and taking advantage of the Weblogic work load management (and not developing own workload distribution scheme is appealing).

Hi Richard,
Both the Weblogic and Coherence WM implement the same commonj.work.WorkManager interface (just four methods, not sure how much simpler could it get). Both are built to the same specification (by IBM and BEA) that was a foundation to JSR 237 (see http://www.ibm.com/developerworks/library/j-commonj-sdowmt/). Weblogic's WM was a single process one, while Coherence implementation allowed you to distribute tasks arbitrary across the cluster, which explains some additional implementation complexity and a number of additional methods it exposes.
If you have some specific questions or suggestions regarding the Coherence WM implementation, we'd be happy to hear them.
Regards,
Gene

Similar Messages

  • Error when starting Weblogic server with Coherence

    We want to use Coherence 3.6 with Weblogic Server 10.3. During server startup, we get the following error. My understanding is the cluster should be started automatically based on the configuration listed below the error. Appreciate any pointers.
    <Dec 15, 2011 3:20:11 PM PST> <Error> <Coherence> <BEA-000000> <2011-12-15 15:20:11.920/67.311 Oracle Coherence SE 3.6.0.4 <Error> (thread=Cluster, member=n/a): This member could not join the cluster because of a configuration mismatch between this member and the configuration being used by the rest of the cluster. This member specified a cluster name of "EPCIS" which did not match the name of the running cluster. This indicates that there are multiple clusters on this network attempting to use overlapping network configurations. Rejected by Member(Id=9, Timestamp=2011-11-16 13:58:42.941, Address=10.229.189.30:8088, MachineId=21022, Location=site:us.oracle.com,machine:adc2101177,process:30667, Role=WeblogicServer).>
    <Dec 15, 2011 3:20:11 PM PST> <Error> <oracle.apps.pas.epc.framework.db.Cache> <BEA-000000> <java.lang.RuntimeException: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_JOINING)>
    <Dec 15, 2011 3:20:11 PM PST> <Error> <Coherence> <BEA-000000> <2011-12-15 15:20:11.957/67.349 Oracle Coherence SE 3.6.0.4 <Error> (thread=[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Error while starting cluster: java.lang.RuntimeException: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_JOINING)
    CONFIGURATION:
    We have the following descriptor (epcis-coherence-cache-config.xml) in $DOMAIN_HOME/epc-config:
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>*</cache-name>
    <scheme-name>distributed</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <distributed-scheme>
    <scheme-name>distributed</scheme-name>
    <service-name>DistributedCache</service-name>
    <backing-map-scheme>
    <local-scheme></local-scheme>
    </backing-map-scheme>
    <autostart>true</autostart>
    </distributed-scheme>
    </caching-schemes>
    </cache-config>
    We also have tangosol-coherence-override.xml in the same dir:
    <coherence>
    <cluster-config>
    <member-identity>
    <cluster-name system-property="tangosol.coherence.clustername">EPCIS</cluster-name>
    </member-identity>
    </cluster-config>
    <configurable-cache-factory-config>
    <class-name>com.tangosol.net.DefaultConfigurableCacheFactory</class-name>
    <init-params>
    <init-param>
    <param-type>java.lang.String</param-type>
    <param-value>epcis-coherence-cache-config.xml</param-value>
    </init-param>
    </init-params>
    </configurable-cache-factory-config>
    <license-config>
    <edition-name system-property="tangosol.coherence.edition">SE</edition-name>
    <license-mode system-property="tangosol.coherence.mode">dev</license-mode>
    </license-config>
    </coherence>
    We have modified startWebLogic.sh by adding:
    PRE_CLASSPATH="/slot/xyz/oracle/mwhome/oracle_common/modules/oracle.coherence_3.6/coherence.jar:${DOMAIN_HOME}/epc-config/:${PRE_CLASSPATH}"

    As the error message says, your WebLogic server is trying to join a cluster that has a different cluster name.
    This bit in your tangosol-coherence-override.xml file or the tangosol.coherence.clustername system property must be the same in all members of the cluster
    <cluster-name system-property="tangosol.coherence.clustername">EPCIS</cluster-name>JK

  • Weblogic server with coherence

    Hi all,
    Could you please provide me a "Oracle WebLogic Server 11gR1 (10.3.3) + Coherence installation guide"
    Regards
    cnu

    As the error message says, your WebLogic server is trying to join a cluster that has a different cluster name.
    This bit in your tangosol-coherence-override.xml file or the tangosol.coherence.clustername system property must be the same in all members of the cluster
    <cluster-name system-property="tangosol.coherence.clustername">EPCIS</cluster-name>JK

  • Coherence local storage behavior on Weblogic server

    Hi,
    I am setting the following parameter as input to my Weblogic process - Dtangosol.coherence.session.localstorage=false.
    However, I see the below output -
    <Sep 16, 2010 11:42:01 AM CST> <Notice> <Stdout> <BEA-000000> <[EL Fine]: 2010-09-16 11:42:01.188--ServerSession(65344116)--Thread(Thread[[ACTIVE] ExecuteThread
    : '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Coherence(OslTags)::Get: 3 result: ejb.OslTags@354d5f8>
    I have killed the Cache server running. So, in the coherence server, there is only one node - the weblogic container, with tangosol.coherence.session.localstorage=false.
    So, why is Get returning results?
    Thanks.

    If you are using the default session cache configuration session-cache-config.xml
    There also is a distributed cache configured. Could be that this is the get
    you are seeing. You can use -Dtangosol.coherence.distributed.localstorage=false.

  • Coherence, Weblogic

    Please tell what steps are necessary to configure the Coherence cluster for Weblogic Server.

    I was try the same configuration (WLS 10.3.5 + Coherence 3.6, manual "e15831") at the two PC. One of them work fine with Counter application. And second one is return error.
    What could be causing the error descripted below?
    >
    <02.08.2012 8:28:49 MSD> <Warning> <J2EE> <BEA-160188> <Unresolved WebApp library references defined in weblogic.xml, of module 'counter.war' [Extension-Name: coherence-web-spi, exact-match: false].>
    <02.08.2012 8:29:11 MSD> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'counter'.>
    <02.08.2012 8:29:11 MSD> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Missing Coherence jar or WebLogic Coherence Integration jar
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    Truncated. see log file for complete stacktrace
    Caused By: weblogic.application.ModuleException: Missing Coherence jar or WebLogic Coherence Integration jar
    at weblogic.servlet.internal.WebAppModule.setupCoherenceCaches(WebAppModule.java:1833)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:391)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)
    Truncated. see log file for complete stacktrace
    >
    <02.08.2012 8:29:11 MSD> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException: Missing Coherence jar or WebLogic Coherence Integration jar
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:47)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:614)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
    at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:208)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)
    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:160)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.jav
    a:171)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:47)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: weblogic.application.ModuleException: Missing Coherence jar or WebLogic Coherence Integration jar
    at weblogic.servlet.internal.WebAppModule.setupCoherenceCaches(WebAppModule.java:1833)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:391)
    >
    >
    Edited by: 915814 on 01.08.2012 23:52
    Edit classpath with adding of several libs has solved this trouble:
    %COHERENCE_HOME%\lib\coherence.jar
    %MW_HOME%\modules\features\weblogic.server.modules.coherence.server_10.3.4.0.jar
    %MW_HOME%\modules\com.oracle.core.coherence.server_1.0.0.0.jar
    %MW_HOME%\modules\com.oracle.core.coherence.integration_1.1.0.0.jar

  • Which will be the more demanding product for future? Coherence or Weblogic

    Which will be the more demanding product for future?
    Coherence or Weblogic Server?
    If Coherence , Why?
    If Weblogic Server, Why?
    How will be demand for Coherence after 5 or 6 years?

    This isn't a question that I've heard before ;-)
    Today, a very good portion of the WebLogic customers are also buying Coherence with WebLogic, often as part of the product called "WebLogic Suite". Also, many large WebLogic customers have been using Coherence since long before Oracle acquired either BEA WebLogic or Tangosol Coherence.
    When it comes to building high-scale Java EE applications, Oracle Coherence is an invaluable tool, so as long as there are Java and Java EE applications, and as long as high scalability, high availability and high performance are important, there is demand for Coherence, and that demand has grown year after year.
    WebLogic is a much larger and more mature product, with many more customers. WebLogic continues to grow at Oracle, even though it is considered a mature product.
    So I guess you could say there is good demand for both :)
    Peace,
    Cameron Purdy | Oracle Coherence
    http://coherence.oracle.com/

  • Unable to start weblogic 10 with eclipse

    Hello,
    i've a weblogic 10 server and it runs normally if i want to start from the DOS command-line and my ear is correctly deployed.
    When i try to start the same server within eclipse, my application seems to be initialized but at the end of the starting i've the following error :
    <Critical> <WebLogicServer> <AdminServer> <main> <<WLS Kernel>> <> <BEA-000386> <Server subsystem failed. Reason: java.lang.NoClassDefFoundError: weblogic/management/internal/DynamicMBeanImpl
    java.lang.NoClassDefFoundError: weblogic/management/internal/DynamicMBeanImpl
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:253)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:205)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClassDeployment(ClassDeploymentManager.java:198)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClassDeployments(ClassDeploymentManager.java:177)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.runStartupsAfterAppActivation(ClassDeploymentManager.java:158)
         at weblogic.management.deploy.classdeployment.StartupClassPrelistenService.start(StartupClassPrelistenService.java:13)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    >
    I don't know what i have to do, and where should i find the DynamicMBeanImpl in the weblogic 10 API.
    Thanks

    Hi, David. Adding weblogic.jar by the full path will and does work. It makes sense to doubt this, but have a look at the manifest.mf file. It is these relative classpath entries that don't resolve correctly unless the real path of weblogic.jar is in the eclipse launch path. Hunting individual jars is a never-ending process in wls10. It is easiest to just use the original weblogic.jar file.
    This is why. Notice all the relative classpath entries:
    unknown-00-1b-63-07-ce-dc:~/bea/wlserver_10.3/server/lib adriancole$ jar -xvf weblogic.jar META-INF/MANIFEST.MF
    inflated: META-INF/MANIFEST.MF
    unknown-00-1b-63-07-ce-dc:~/bea/wlserver_10.3/server/lib adriancole$ cat META-INF/MANIFEST.MF
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.6.5
    Created-By: R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32 (B
    EA Systems, Inc.)
    Main-Class: weblogic.Server
    Implementation-Vendor: BEA Systems
    Implementation-Title: WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 20
    08 1137967
    Implementation-Version: 10.3.0.0
    Class-Path: ../../../modules/features/weblogic.server.modules_10.3.0.0
    .jar schema/weblogic-domain-binding.jar schema/diagnostics-binding.ja
    r schema/diagnostics-image-binding.jar wlcipher.jar webservices.jar x
    mlx.jar ojdbc6.jar jconn2.jar jconn3.jar jConnect.jar EccpressoAsn1.j
    ar EccpressoCore.jar EccpressoJcae.jar mysql-connector-java-commercia
    l-5.0.3-bin.jar wlbase.jar wlutil.jar wlsqlserver.jar wldb2.jar wlsy
    base.jar wloracle.jar wlinformix.jar wlw-langx.jar ../../common/lib/p
    dev.jar wlw-system.jar jcom.jar weblogic-L10N.jar
    unknown-00-1b-63-07-ce-dc:~/bea/wlserver_10.3/server/lib adriancole$ jar -xvf ../../../modules/features/weblogic.server.modules_10.3.0.0.jar META-INF/MANIFEST.MF
    inflated: META-INF/MANIFEST.MF
    unknown-00-1b-63-07-ce-dc:~/bea/wlserver_10.3/server/lib adriancole$ cat META-INF/MANIFEST.MF
    Manifest-Version: 1.0
    Implementation-Vendor: BEA Systems
    Implementation-Title: BEA Modules WebLogic Server Dependencies 10.3 Th
    u Jul 10 07:58:50 MDT 2008
    Implementation-Version: 10.3.0.0
    Feature-Name: weblogic.server.modules
    Source-Repository-Change-Id: 1133362
    Class-Path: weblogic.server.modules.L10N_10.3.0.0.jar ../com.bea.core.
    antlr.runtime_2.7.7.jar ../com.bea.core.descriptor.j2ee_1.1.0.0.jar .
    ./com.bea.core.descriptor.j2ee.binding_1.1.0.0.jar ../com.bea.core.de
    scriptor.wl_1.1.0.0.jar ../com.bea.core.descriptor.wl.binding_1.1.0.0
    .jar ../com.bea.core.datasource6_1.4.0.0.jar ../com.bea.core.datasour
    ce6.binding_1.4.0.0.jar ../com.bea.core.beangen_1.4.0.0.jar ../com.be
    a.core.descriptor.settable.binding_1.4.0.0.jar ../com.bea.core.diagno
    stics.accessor_1.1.0.0.jar ../com.bea.core.diagnostics.accessor.bindi
    ng_1.1.0.0.jar ../com.bea.core.management.core_2.3.0.0.jar ../com.bea
    .core.management.core.binding_2.3.0.0.jar ../com.bea.core.ejbgen_1.0.
    0.0.jar ../org.apache.ant.patch_1.1.0.0_1-6-5.jar ../org.apache.ant_1
    .6.5/lib/ant-all.jar ../com.bea.core.repackaged.apache.bcel_5.2.1.0.j
    ar ../com.bea.core.repackaged.jdt_3.2.2.0.jar ../com.bea.core.apache.
    commons.collections_3.2.0.jar ../com.bea.core.apache.commons.lang_2.1
    .0.jar ../com.bea.core.apache.commons.pool_1.3.0.jar ../com.bea.core.
    apache.dom_1.0.0.0.jar ../com.bea.core.apache.logging_1.0.0.0.jar ../
    org.apache.openjpa_2.2.0.0_1-1-0.jar ../com.bea.core.xml.xmlbeans_1.0
    .0.0_2-4-0.jar ../com.bea.core.logging_1.4.0.0.jar ../com.bea.core.be
    a.opensaml_1.0.0.0_5-0-2-0.jar ../com.bea.core.bea.opensaml2_1.0.0.0_
    5-0-2-0.jar ../com.bea.core.monitoring.harvester.api_2.1.0.0.jar ../c
    om.bea.core.monitoring.harvester.jmx_2.1.0.0.jar ../com.bea.adaptive.
    harvester.utils_1.2.0.0.jar ../com.bea.mbean.typing.util_1.2.0.0.jar
    ../javolution_3.7.19.0.jar ../joda.time_1.2.1.0.jar ../com.bea.core.x
    ml.staxb.buildtime_1.3.0.0.jar ../com.bea.core.xml.staxb.runtime_1.3.
    0.0.jar ../com.bea.core.annogen_1.2.0.0.jar ../com.bea.core.kodo_1.0.
    0.0_4-2-0.jar ../com.bea.core.kodo.integration_1.3.0.0.jar ../com.bea
    .core.kodo.integration.binding_1.3.0.0.jar ../com.bea.core.kodo.integ
    ration.tools_1.2.0.0.jar ../com.bea.core.process_5.4.0.0.jar ../com.b
    ea.core.xml.beaxmlbeans_1.0.0.0_2-4-0.jar ../com.bea.core.repackaged.
    aspectj.aspectjweaver_5.1.0.jar ../com.bea.core.repackaged.apache.com
    mons.logging_1.2.0.jar ../com.bea.core.repackaged.springframework.spr
    ing_2.0.3.jar ../com.bea.core.repackaged.springframework.pitchfork_1.
    1.0.0_1-0.jar ../com.bea.core.common.security.i18n_1.0.0.0_5-0-2-0.ja
    r ../com.bea.core.common.security.xacml_1.0.0.0_5-0-2-0.jar ../com.be
    a.core.common.security.saml2.utils_1.0.0.0_5-0-2-0.jar ../com.bea.cor
    e.common.engine.impl_1.0.0.0_5-0-2-0.jar ../com.bea.core.common.engin
    e.api_1.0.0.0_5-0-2-0.jar ../com.bea.core.common.security.api_1.0.0.0
    _5-0-2-0.jar ../com.bea.core.common.security.impl_1.0.0.0_5-0-2-0.jar
    ../com.bea.core.common.security.jdkutils_1.0.0.0_5-0-2-0.jar ../com.
    bea.core.common.security.utils_1.0.0.0_5-0-2-0.jar ../com.bea.core.co
    mmon.security.saml2_1.0.0.0_5-0-2-0.jar ../com.bea.core.common.securi
    ty.saml2.manage_1.0.0.0_5-0-2-0.jar ../com.bea.core.common.security.p
    roviders.utils_1.0.0.0_5-0-2-0.jar ../com.bea.core.common.security.sa
    ml.utils_1.0.0.0_5-0-2-0.jar ../com.bea.core.common.security.xacmlpro
    viders.utils_1.0.0.0_5-0-2-0.jar ../com.bea.core.common.security.prov
    iders.env_1.0.0.0_5-0-2-0.jar ../com.bea.core.certj_1.0.0.0.jar ../co
    m.bea.core.ldapjdk_1.0.0.0.jar ../com.bea.core.apache.commons.net_1.0
    .0.0_1-4-1.jar ../com.bea.core.weblogic.saaj_1.3.0.0.jar ../com.bea.c
    ore.weblogic.stax_1.4.0.0.jar ../glassfish.el_2.1.0.jar ../glassfish.
    jaxb_2.1.6.jar ../glassfish.jaxb.xjc_2.1.6.jar ../glassfish.jaxws.res
    olver_2.1.3.jar ../glassfish.jaxws.fastinfoset_2.1.3.jar ../glassfish
    .jaxws.rt_2.1.3.jar ../glassfish.jaxws.mimepull_1.0.144.jar ../com.be
    a.core.woodstox_1.0.0.0_3-2-4.jar ../glassfish.jaxws.tools_1.0.0.0_2-
    1-3.jar ../glassfish.stax.ex_1.0.0.0_1-2.jar ../glassfish.xmlstreambu
    ffer_0.5.221.jar ../com.bea.core.apache.oro_1.0.0.0_2-0-8.jar ../java
    x.activation_1.1.0.0_1-1.jar ../javax.annotation_1.1.jar ../javax.int
    erceptor_1.0.jar ../javax.ejb_3.0.1.jar ../javax.jdo_2.0.1.jar ../jav
    ax.enterprise.deploy_1.2.jar ../javax.jms_1.1.1.jar ../javax.jsp_1.1.
    0.0_2-1.jar ../javax.jws_2.0.jar ../javax.mail_1.1.0.0_1-1.jar ../jav
    ax.management.j2ee_1.0.jar ../javax.persistence_1.0.0.0_1-0.jar ../ja
    vax.resource_1.5.1.jar ../javax.security.jacc_1.0.0.0_1-1.jar ../java
    x.servlet_1.0.0.0_2-5.jar ../javax.transaction_1.0.0.0_1-1.jar ../jav
    ax.xml.bind_2.1.1.jar ../javax.xml.registry_1.0.0.0_1-0.jar ../javax.
    xml.soap_1.3.1.0.jar ../javax.xml.stream_1.1.1.0.jar ../javax.xml.ws_
    2.1.1.jar ../javax.xml.rpc_1.2.1.jar ../monfox.dsnmp.agent_1.0.0.0_4-
    6-5.jar ../com.bea.core.jsafe_3.5.0.jar ../com.bea.core.serp_1.14.2.0
    .jar ../com.bea.core.apache_1.2.0.0.jar ../com.bea.core.beaninfo_1.4.
    0.0.jar ../com.bea.core.descriptor_1.4.0.0.jar ../com.bea.core.repack
    aged.asm_3.0.jar ../com.bea.core.repackaged.asm.commons_3.0.jar ../co
    m.bea.core.repackaged.asm.tree_3.0.jar ../com.bea.core.repackaged.asm
    .util_3.0.jar ../com.bea.core.diagnostics.core_2.1.0.0.jar ../com.bea
    .core.diagnostics.logging_1.1.0.0.jar ../com.bea.core.diagnostics.que
    ry_1.0.0.0.jar ../com.bea.core.diagnostics.accessor_1.1.0.0.jar ../co
    m.bea.core.diagnostics.instrumentor_1.3.0.0.jar ../com.bea.core.diagn
    ostics.notifications_1.1.0.0.jar ../com.bea.core.diagnostics.query_1.
    0.0.0.jar ../com.bea.core.diagnostics.snmp_1.1.0.0.jar ../com.bea.cor
    e.i18n_1.4.0.0.jar ../com.bea.core.i18n.generator_1.3.0.0.jar ../com.
    bea.core.i18n.tools_1.1.0.0.jar ../com.bea.core.management.jmx_1.1.0.
    0.jar ../com.bea.core.mbean.maker_1.3.0.0.jar ../com.bea.core.mbean.s
    upport_1.3.0.0.jar ../com.bea.core.messaging.kernel_1.4.0.0.jar ../co
    m.bea.core.resourcepool_1.4.0.0.jar ../com.bea.core.weblogic.socket.a
    pi_1.0.0.0.jar ../com.bea.core.weblogic.rmi.client_1.4.0.0.jar ../com
    .bea.core.weblogic.security.wls_1.0.0.0_5-0-2-0.jar ../com.bea.core.w
    eblogic.lifecycle_1.1.0.0.jar ../com.bea.core.store_1.4.0.0.jar ../co
    m.bea.core.store.gxa_1.4.0.0.jar ../com.bea.core.store.admintool_1.1.
    0.0.jar ../com.bea.core.store.jdbc_1.1.0.0.jar ../com.bea.core.transa
    ction_2.5.0.0.jar ../com.bea.core.utils.full_1.4.0.0.jar ../com.bea.c
    ore.utils.agent_1.0.0.0.jar ../com.bea.core.utils.classloaders_1.4.0.
    0.jar ../com.bea.core.utils.compiler_1.0.0.0.jar ../com.bea.core.util
    s.expressions_1.3.0.0.jar ../com.bea.core.utils.wrapper_1.3.0.0.jar .
    ./com.bea.core.timers_1.4.0.0.jar ../com.bea.core.weblogic.workmanage
    r_1.4.0.0.jar ../com.bea.core.workarea_1.4.0.0.jar ../com.bea.core.xm
    l.weblogic.xpath_1.1.0.0.jar ../com.bea.core.jatmi_1.2.0.3.jar ../com
    .bea.core.weblogic.security_1.0.0.0_5-0-2-0.jar ../com.bea.core.weblo
    gic.security.auth_1.0.0.0.jar ../com.bea.core.weblogic.security.diges
    t_1.0.0.0.jar ../com.bea.core.weblogic.security.identity_1.1.0.0.jar
    ../com.bea.core.weblogic.security.logger_1.1.0.0.jar ../com.bea.core.
    nodemanager.plugin_1.2.0.0.jar ../com.bea.core.jmspool_1.4.0.0.jar ..
    /com.bea.core.compat.wl.90_1.1.0.0.jar ../com.bea.core.http.pubsub.mb
    ean_1.2.0.0.jar ../com.bea.core.weblogic.web.api_1.2.0.0.jar ../com.b
    ea.core.redef_1.1.0.0.jar ../com.bea.core.redefagent_1.1.0.0.jar ../c
    om.bea.core.redef.binding_1.1.0.0.jar
    Source-Repository-URI: p4://p4jrep.bea.com:7999://depot/dev/src_stable
    /repository/modules/features
    Created-By: 1.6.0_03-p3-landonf_19_aug_2008_14_55-b00 (Sun Microsystem
    s Inc.)
    See what I mean? You would end up needing a crazy amount of individual jars to get the equivalent classpath of the weblogic.jar in its original location.
    Does that make sense?
    Cheers,
    -Adrian

  • Weblogic JMS Client App fails creating queue connection

    Using the example provided from installation: ...\bea\wlserver_10.0\samples\server\examples\src\examples\jms\queue\QueueBrowse.java
    I can successfully connect and display the queue when this test app runs on the local Weblogic Server. When I run the test app on a remote server (not the Weblogic server), I get the following error:
    Exception in thread "main" weblogic.jms.common.JMSException: [JMSClientExceptions:055053]Error creating connection to the server: java.rmi.MarshalException: failed to marshal connectionCreateRequest(Lweblogic.jms.frontend.FEConnectionCreateRequest;); nested exception is:
         java.rmi.UnexpectedException: Failed to parse descriptor file; nested exception is:
         java.lang.NullPointerException
         at weblogic.jms.client.JMSConnectionFactory.setupJMSConnection(JMSConnectionFactory.java:258)
         at weblogic.jms.client.JMSConnectionFactory.createConnectionInternal(JMSConnectionFactory.java:285)
         at weblogic.jms.client.JMSConnectionFactory.createQueueConnection(JMSConnectionFactory.java:165)
         at com.lodestarcorp.custom.QueueBrowse.init(QueueBrowse.java:53)
         at com.lodestarcorp.custom.QueueBrowse.main(QueueBrowse.java:129)
    Caused by: java.rmi.MarshalException: failed to marshal connectionCreateRequest(Lweblogic.jms.frontend.FEConnectionCreateRequest;); nested exception is:
         java.rmi.UnexpectedException: Failed to parse descriptor file; nested exception is:
         java.lang.NullPointerException
         at weblogic.rjvm.BasicOutboundRequest.marshalArgs(BasicOutboundRequest.java:91)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:332)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
         at weblogic.jms.frontend.FEConnectionFactoryImpl_1001_WLStub.connectionCreateRequest(Unknown Source)
         at weblogic.jms.client.JMSConnectionFactory.setupJMSConnection(JMSConnectionFactory.java:224)
         ... 4 more
    Caused by: java.rmi.UnexpectedException: Failed to parse descriptor file; nested exception is:
         java.lang.NullPointerException
         at weblogic.rmi.internal.DescriptorManager.createRuntimeDescriptor(DescriptorManager.java:118)
         at weblogic.rmi.internal.DescriptorManager.getBasicRuntimeDescriptor(DescriptorManager.java:89)
         at weblogic.rmi.internal.DescriptorManager.getDescriptor(DescriptorManager.java:55)
         at weblogic.rmi.internal.DescriptorManager.getDescriptor(DescriptorManager.java:41)
         at weblogic.rmi.internal.OIDManager.makeServerReference(OIDManager.java:194)
         at weblogic.rmi.internal.OIDManager.getReplacement(OIDManager.java:175)
         at weblogic.rmi.utils.io.RemoteObjectReplacer.replaceSmartStubInfo(RemoteObjectReplacer.java:116)
         at weblogic.rmi.utils.io.RemoteObjectReplacer.replaceObject(RemoteObjectReplacer.java:102)
         at weblogic.rmi.utils.io.InteropObjectReplacer.replaceObject(InteropObjectReplacer.java:62)
         at weblogic.utils.io.ChunkedObjectOutputStream.replaceObject(ChunkedObjectOutputStream.java:40)
         at weblogic.utils.io.ChunkedObjectOutputStream$NestedObjectOutputStream.replaceObject(ChunkedObjectOutputStream.java:141)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeObject(Unknown Source)
         at weblogic.messaging.dispatcher.DispatcherWrapper.writeExternal(DispatcherWrapper.java:152)
         at weblogic.jms.frontend.FEConnectionCreateRequest.writeExternal(FEConnectionCreateRequest.java:98)
         at java.io.ObjectOutputStream.writeExternalData(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeObject(Unknown Source)
         at weblogic.rjvm.MsgAbbrevOutputStream.writeObject(MsgAbbrevOutputStream.java:614)
         at weblogic.rjvm.MsgAbbrevOutputStream.writeObjectWL(MsgAbbrevOutputStream.java:605)
         at weblogic.rmi.internal.ObjectIO.writeObject(ObjectIO.java:38)
         at weblogic.rjvm.BasicOutboundRequest.marshalArgs(BasicOutboundRequest.java:87)
         ... 8 more
    Caused by: java.lang.NullPointerException
         at weblogic.rmi.internal.BasicRuntimeDescriptor.createSkeletonClass(BasicRuntimeDescriptor.java:272)
         at weblogic.rmi.internal.BasicRuntimeDescriptor.<init>(BasicRuntimeDescriptor.java:158)
         at weblogic.rmi.internal.BasicRuntimeDescriptor.<init>(BasicRuntimeDescriptor.java:140)
         at weblogic.rmi.internal.DescriptorManager.createRuntimeDescriptor(DescriptorManager.java:110)
         ... 30 more
    FYI: I did create the wlfullclient.jar from the installation.
    Could the problem be related to a proxy issue? It's not a DNS problem (I've tested with the IP address).
    Thanks,
    Brian

    I had this very same issue, in a project I was importing directly individual jars:
         <classpathentry kind="lib" path="lib/javax.jms_1.1.1.jar"/>
         <classpathentry kind="lib" path="lib/weblogic.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.weblogic.security.identity_1.1.2.1.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.weblogic.workmanager_1.9.0.0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.weblogic.workmanager.ja_1.9.0.0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.transaction_2.7.0.0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.weblogic.rmi.client.ja_1.8.0.0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.weblogic.rmi.client_1.8.0.0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.weblogic.security.wls_1.0.0.0_6-1-0-0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.utils.full_1.9.0.0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.weblogic.security_1.0.0.0_6-1-0-0.jar"/>
         <classpathentry kind="lib" path="lib/wlclient.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.utils.classloaders_1.8.0.0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.management.core_2.8.0.0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.descriptor_1.9.0.0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.logging_1.8.0.0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.timers_1.7.0.0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.weblogic.socket.api_1.2.0.0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.weblogic.security.digest_1.0.0.0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.weblogic.lifecycle_1.4.0.0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.store_1.7.0.0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.common.security.api_1.0.0.0_6-1-0-0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.utils.wrapper_1.4.0.0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.messaging.kernel_1.8.0.0.jar"/>
         <classpathentry kind="lib" path="lib/com.bea.core.utils.expressions_1.4.0.0.jar"/>
    and everything was working;
    in another project I was importing the "Weblogic System Libraries" libraries, and I was getting the NullPointerException...
    I have the sensation that there is room for improvement in the way libraries are managed.

  • Unable to install oracle weblogic 10.3.5.0 in HP-UX 11.31 itanium server

    Hi friends,
    I am trying to install "oracle weblogic 10.3.5.0 in HP-UX 11.31(itanium server). But it didnot show any inbuild(sofftware kit itself) java package and it take from operating system inbuild java. Atlast i got the error like below. Please go through my console installtion steps and the error.
    Please help me to solve this problem.
    Thanks to all.
    # java -jar installer.jar -mode=console
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Welcome:
    This installer will guide you through the installation of WebLogic 10.3.5.0.
    Type "Next" or enter to proceed to the next prompt. If you want to change data entered previously, type "Previous". You may quit the installer at any time by typing "Exit".
    Enter [Exit][Next]>
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Choose Middleware Home Directory:
    "Middleware Home" = [Enter new value or use default
    "/usr/local/Oracle/Middleware"]
    Enter new Middleware Home OR [Exit][Previous][Next]> /app/oracle/product/Middleware/
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Choose Middleware Home Directory:
    "Middleware Home" = [app/oracle/product/Middleware]
    Use above value or select another option:
    1 - Enter new Middleware Home
    2 - Change to default [usr/local/Oracle/Middleware]
    Enter option number to select OR [Exit][Previous][Next]>
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Register for Security Updates:
    Provide your email address for security updates and to initiate configuration manager.
    1|Email:[]
    2|Support Password:[]
    3|Receive Security Update:[Yes]
    Enter index number to select OR [Exit][Previous][Next]> 1
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Register for Security Updates:
    Provide your email address for security updates and to initiate configuration manager.
    "Email:" = [Enter new value or use default ""]
    Enter new Email: OR [Exit][Previous][Next]>
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Register for Security Updates:
    Provide your email address for security updates and to initiate configuration manager.
    1|Email:[]
    2|Support Password:[]
    3|Receive Security Update:[Yes]
    Enter index number to select OR [Exit][Previous][Next]> 2
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Register for Security Updates:
    Provide your email address for security updates and to initiate configuration manager.
    "Support Password:" = [Enter new value or use default ""]
    Enter new Support Password: OR [Exit][Previous][Next]>
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Register for Security Updates:
    Provide your email address for security updates and to initiate configuration manager.
    1|Email:[]
    2|Support Password:[]
    3|Receive Security Update:[Yes]
    Enter index number to select OR [Exit][Previous][Next]> 3
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Register for Security Updates:
    Provide your email address for security updates and to initiate configuration manager.
    "Receive Security Update:" = [Enter new value or use default "Yes"]
    Enter [Yes][No]? No
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Register for Security Updates:
    Provide your email address for security updates and to initiate configuration manager.
    "Receive Security Update:" = [Enter new value or use default "Yes"]
    ** Do you wish to bypass initiation of the configuration manager and
    ** remain uninformed of critical security issues in your configuration?
    Enter [Yes][No]? Yes
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Register for Security Updates:
    Provide your email address for security updates and to initiate configuration manager.
    1|Email:[]
    2|Support Password:[]
    3|Receive Security Update:[No]
    Enter index number to select OR [Exit][Previous][Next]>
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Register for Security Updates:
    Provide your email address for security updates and to initiate configuration manager.
    1|Email:[]
    2|Support Password:[]
    3|Receive Security Update:[No]
    Enter index number to select OR [Exit][Previous][Next]>
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Register for Security Updates:
    Provide your email address for security updates and to initiate configuration manager.
    1|Email:[]
    2|Support Password:[]
    3|Receive Security Update:[No]
    ** Invalid My Oracle Support credentials. Specify the correct email
    ** address and password that you use to log in to My Oracle
    ** Support.After two more incorrect attempts, the product will be
    ** registered anonymously with the specfied email address.
    Enter index number to select OR [Exit][Previous][Next]>
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Register for Security Updates:
    Provide your email address for security updates and to initiate configuration manager.
    1|Email:[]
    2|Support Password:[]
    3|Receive Security Update:[No]
    ** Invalid My Oracle Support credentials. Specify the correct email
    ** address and password that you use to log in to My Oracle Support.
    ** After one more incorrect attempt, the product will be registered
    ** anonymously with the specfied email address.
    Enter index number to select OR [Exit][Previous][Next]>
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Choose Install Type:
    Select the type of installation you wish to perform.
    ->1|Typical
    | Install the following product(s) and component(s):
    | - WebLogic Server
    | - Oracle Coherence
    2|Custom
    | Choose software products and components to install and perform optional
    |configuration.
    Enter index number to select OR [Exit][Previous][Next]> 2
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Choose Products and Components:
    Release 10.3.5.0
    |_____WebLogic Server [1] x
    | |_____Core Application Server [1.1] x
    | |_____Administration Console [1.2] x
    | |_____Configuration Wizard and Upgrade Framework [1.3] x
    | |_____Web 2.0 HTTP Pub-Sub Server [1.4] x
    | |_____WebLogic SCA [1.5] x
    | |_____WebLogic JDBC Drivers [1.6] x
    | |_____Third Party JDBC Drivers [1.7] x
    | |_____WebLogic Server Clients [1.8] x
    | |_____WebLogic Web Server Plugins [1.9] x
    | |_____UDDI and Xquery Support [1.10] x
    | |_____Server Examples [1.11]
    | |_____Evaluation Database [1.12] x
    |_____Oracle Coherence [2] x
    |_____Coherence Product Files [2.1] x
    |_____Coherence Examples [2.2]
    *Estimated size of installation: 653.8 MB
    Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> 2
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Choose Products and Components:
    Release 10.3.5.0
    |_____WebLogic Server [1] x
    | |_____Core Application Server [1.1] x
    | |_____Administration Console [1.2] x
    | |_____Configuration Wizard and Upgrade Framework [1.3] x
    | |_____Web 2.0 HTTP Pub-Sub Server [1.4] x
    | |_____WebLogic SCA [1.5] x
    | |_____WebLogic JDBC Drivers [1.6] x
    | |_____Third Party JDBC Drivers [1.7] x
    | |_____WebLogic Server Clients [1.8] x
    | |_____WebLogic Web Server Plugins [1.9] x
    | |_____UDDI and Xquery Support [1.10] x
    | |_____Server Examples [1.11]
    | |_____Evaluation Database [1.12] x
    |_____Oracle Coherence [2]
    |_____Coherence Product Files [2.1]
    |_____Coherence Examples [2.2]
    *Estimated size of installation: 646.7 MB
    Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]>
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    JDK Selection (Any * indicates Oracle Supplied VM):
    JDK(s) chosen will be installed. Defaults will be used in script string-substitution if installed.
    1|Add Local Jdk
    2|/opt/java6[x]
    *Estimated size of installation: 646.7 MB
    Enter 1 to add or >= 2 to toggle selection OR [Exit][Previous][Next]>
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    Choose Product Installation Directories:
    Middleware Home Directory: [app/oracle/product/Middleware]
    Product Installation Directories:
    "WebLogic Server" = [Enter new value or use default
    "/app/oracle/product/Middleware/wlserver_10.3"]
    **Enter new WebLogic Server OR [Exit][Previous][Next]>**
    **java.lang.reflect.InvocationTargetException**
    **at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)**
    **at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)**
    **at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)**
    **at java.lang.reflect.Method.invoke(Method.java:597)**
    **at com.bea.plateng.common.ui.console.DelegateConsoleWidget.invokeWidgetCallback(DelegateConsoleWidget.java:200)**
    **at com.bea.plateng.wizard.console.tasks.ConsoleInteractTask2.onLeave(ConsoleInteractTask2.java:439)**
    **at com.bea.plateng.wizard.console.tasks.ConsoleInteractTask2.okNext(ConsoleInteractTask2.java:361)**
    **at com.bea.plateng.wizard.WizardController.nextTask(WizardController.java:642)**
    **at com.bea.plateng.wizard.WizardController.run(WizardController.java:519)**
    **at java.lang.Thread.run(Thread.java:662)**
    **Caused by: java.lang.NullPointerException**
    **at java.io.File.<init>(File.java:231)**
    **at com.bea.plateng.wizard.installer.diskspace.TempDir.<init>(TempDir.java:55)**
    **at com.bea.plateng.wizard.installer.diskspace.TempDir.getInstance(TempDir.java:41)**
    **at com.bea.plateng.wizard.installer.helpers.DiskSpaceHelper.checkDiscSpaceForProductInstallation(DiskSpaceHelper.java:255)**
    **at com.bea.plateng.wizard.installer.helpers.ProductDirHelper.setStoreKeysAndValidateDiskSpace(ProductDirHelper.java:476)**
    **at com.bea.plateng.wizard.installer.helpers.ProductDirHelper.validateAndSet(ProductDirHelper.java:278)**
    **at com.bea.plateng.wizard.installer.console.tasks.ProductDirChooserConsoleTask.onLeave(ProductDirChooserConsoleTask.java:236)**
    **... 10 more**
    <-------------------- Oracle Installer - WebLogic 10.3.5.0 ------------------->
    The following Products and JDKs will be installed:
    WebLogic Platform 10.3.5.0
    |_____WebLogic Server
    |_____Core Application Server
    |_____Administration Console
    |_____Configuration Wizard and Upgrade Framework
    |_____Web 2.0 HTTP Pub-Sub Server
    |_____WebLogic SCA
    |_____WebLogic JDBC Drivers
    |_____Third Party JDBC Drivers
    |_____WebLogic Server Clients
    |_____WebLogic Web Server Plugins
    |_____UDDI and Xquery Support
    |_____Evaluation Database
    *Estimated size of installation: 646.7 MB
    Enter [Exit][Previous][Next]>

    Hi Mike,
    Thanks for your reply. Please can you tell me the compatiable version of ODSI for Oracle Weblogic 10.3.5.0?
    Regards,
    Ven.

  • ResourceAdapter(RA) on WebLogic (12.1.3)

    Hi,
    I'am trying to do an example configuration of  ResourceAdapter (RA) on WebLogic (12.1.3) but
    I am getting following error:
    javax.resource.NotSupportedException: failure looking up resource provider factory for OracleJMSConnector.WLManagedXAQueueConnectionFactory. javax.resource.ResourceException: Resolving macros failed: macro(rp_name) cannot be resolved!weblogic.connector.external.EndpointActivationException: javax.resource.NotSupportedException: failure looking up resource provider factory for OracleJMSConnector.WLManagedXAQueueConnectionFactory
    even if I have following lines in ra.xml file:
          <config-property-type>java.lang.String</config-property-type>
                <config-property-value>
                   (rp_name: jndiEnv=(java.naming.factory.initial=weblogic.jms.WrappedInitialContextFactory,java.naming.provider.url=t3://@@@HOST@@@:7002,java.naming.security.principal=wxyzUser1,java.naming.security.credentials=wxyzPass1))
                </config-property-value>
            </config-property>
            <config-property>
                <config-property-name>groupDefinitions</config-property-name>
                <config-property-type>java.lang.String</config-property-type>
                <config-property-value>
                    (wls:     connectorName=rp_name,
                                cf=myCF,
                                xacf=myXACF,
                                topic1=myT1,
                                topic2=myT2,
                                queue1=myQ1,
                                queue2=myQ12)
                </config-property-value>
            </config-property>
    <!--  WebLogic JMS XA javax.jms.QueueConnectionFactory  -->
                <connection-definition>
                    <managedconnectionfactory-class>weblogic.jms.ra.WLManagedXAQueueConnectionFactory</managedconnectionfactory-class>
                    <config-property>
                            <config-property-name>group</config-property-name>
                            <config-property-type>java.lang.String</config-property-type>
                            <config-property-value>wls</config-property-value>
                    </config-property>
                    <config-property>
                        <config-property-name>rpResourceLocation</config-property-name>
                        <config-property-type>java.lang.String</config-property-type>
                        <config-property-value>rpResourceLocation=connector\:{rp_name}</config-property-value>
                    </config-property>               
                    <connectionfactory-interface>weblogic.jms.ra.WLXAQueueConnectionFactoryInterface</connectionfactory-interface>
                    <connectionfactory-impl-class>weblogic.jms.ra.WLXAQueueConnectionFactory</connectionfactory-impl-class>
                    <connection-interface>weblogic.jms.ra.WLXAQueueConnectionInterface</connection-interface>
                    <connection-impl-class>weblogic.jms.ra.WLXAQueueConnection</connection-impl-class>
                </connection-definition>
    Why "rp_name" connector can not be find even I defined it on config-property ?
    Could somebody help me with some hints around this topic?
    -Razvan

    Vinod wrote:
    However, it seems like for 12c, we need to have a database schema for even a simple component (from the FMW 12c infrastructure stack?).
    You are correct. In order to get Fusion Middleware Control you need the infrastructure. The infrastructure requires an Oracle Database and schemas.
    See: 3 Overview of Oracle Fusion Middleware Components (12c (12.1.3))
    3.1 Understanding Oracle Fusion Middleware Infrastructure
    Oracle Fusion Middleware Infrastructure is an Oracle Fusion Middleware distribution that provides Oracle WebLogic Server, Oracle Coherence, and the Oracle JRF infrastructure services, such as:
        Oracle Application Development Framework
        Oracle Metadata Services
        Oracle Platform Security Services
        Oracle Web Services Manager
        Oracle Enterprise Manager Fusion Middleware Control
    These services are installed into the Oracle common directory inside the Oracle Fusion Middleware 12c Oracle home by the Infrastructure installer.
    Note that the equivalent installer in Oracle Fusion Middleware 11g is the Application Developer 11g installer, which requires an existing installation of Oracle WebLogic Server. In 12c, the Oracle Fusion Middleware Infrastructure distribution consists of both Oracle WebLogic Server and the Oracle JRF in a single installer.
    Vinod wrote:
    So, can I get an EM extension template installed without having to go for a Oracle DB provisioning?
    No.

  • Verify whether the session data is kept in the Coherence caches

    I have successfully combined the MapViewer application with WebLogic and Oracle Coherence*Web.
    How to verify whether the session data of MapViewer application is kept in the Coherence caches or not?
    All out put show that both of MapViewer and WebLogic server as well as Coherence are running well.
    All the following steps are right?
    The procedure is as the following:
    1. Create a WebLogic domain: Map_domain.
    2. Start the WebLogic domain Map_domain by running startWebLogic.sh script.
    3. Install Coherence.jar as a library on WebLogic.
    4. Copy the coherence.jar in the WAR's WEB-INF/lib directory.
    5. Create a reference to the shared library by modifying the weblogic.xml in web applications WEB-INF directory
    and add the following contents:
    <weblogic-web-app>
         <library-ref>
              <library-name>coherence-web-spi</library-name>
              <specification-version>1.0.0.0</specification-version>
              <implementation-version>1.0.0.0</implementation-version>
              <exact-match>false</exact-match>
         </library-ref>
    <weblogic-web-app>6. Install Coherence-web-spi.war as a WebLogic library.
    7. Install the MapViewer as a WebLogic application.
    8. Start a Coherence cache server using the cmd file web-cache-server.cmd and then start MapViewer application.
    The content of web-cache-server.cmd file:
    @echo off
    @rem This will start a cache server
    setlocal
    :config
    @rem specify the Coherence installation directory
    set coherence_home=F:\coherence
    @rem specify the JVM heap size
    set memory=256m
    :start
    if not exist "%coherence_home%\lib\coherence.jar" goto instructions
    if "%java_home%"=="" (set java_exec=java) else (set java_exec=%java_home%\bin\java)
    :launch
    set java_opts="-Xms%memory% -Xmx%memory%"
    "%java_exec%" -server -showversion "%java_opts%" -cp %coherence_home%\lib\coherence.jar;
    %coherence_home%\lib\coherence-web-spi.war
    -Dtangosol.coherence.management.remote=true
    -Dtangosol.coherence.cacheconfig=WEB-INF/classes/session-cache-config.xml
    -Dtangosol.coherence.session.localstorage=true
    com.tangosol.net.DefaultCacheServer %1
    goto exit
    :instructions
    echo Usage:
    echo   ^<coherence_home^>\bin\cache-server.cmd
    goto exit
    :exit
    endlocal
    @echo onEdited by: jetq on Jan 13, 2010 9:32 AM

    Any opinions are welcome.

  • Coherence in SOA BPEL Java Embedding error

    I am trying to use Coherence to cache message in SOA BPEL process.
    The BPEL process is deployed into WebLogic 10.3.2 on SOA 11g platform.
    Withing the BPEL, I use Java Embedding, try to cache a meesage on another coherence instance (Running as a server from
    a different JVM). But I am getting "Storage is not configured" exception after the "Jave Embedding invoked" message.
    Here is my code:
    System.out.println("Jave Embedding invoked");
    try{
    //set localstorage to false, use remote Coherence server
    System.setProperty("tangosol.coherence.distributed.localstorage", "false");
    System.setProperty("tangosol.coherence.log.level", "3");
    catch(Exception e) {
    e.printStackTrace();
    CacheFactory.ensureCluster();
    NamedCache myCache = CacheFactory.getCache("mycache");
    // put key, value pair into the cache.
    myCache.put("Name","Test");
    System.out.println("Value in cache is " + myCache.get("Name"));
    I use the same code in JDeveloper, and see the message is put on the remote cache server. But when I invoke it through BPEL, I don't even see the new coherence member join the cluster.
    I use the default cache-server.cmd from Coherence package to start the server.
    Anyone has similar experience to share?
    Thanks
    George

    Brian,
    Thanks for the reply. For your questions:
    1. A firewall between your process and the rest of the cluster.
    I run Weblogic and Coherence server on the same development laptop, so no firewall here.
    2. Mis/different configuration between your process and the cluster.
    I did not use any customized configuration files, all configs are straight from coherence.jar.
    3. A classloader issue leading to the wrong cache configuration being picked up.
    Since I use the same jar in Coherence server and weblogic server, and confgurations are from the jar, so they are the same.
    4. Using different and incompatible versions of Coherence between your process and the cluster.
    See answer to 3.
    I do not see the process from BPEL join the coherence server from the server console.
    I am wondering if Weblogic server block coherence multicast messages, if that's the case, what other choices I can have to communicate to coherence server? is Coherence-extend the right direction to explore?
    Thanks
    George

  • Verify if the sessision data of MapViewer app is stored in Coherence caches

    I have successfully combined the MapViewer application with WebLogic and Oracle Coherence*Web.
    How to verify whether the session data of MapViewer application is kept in the Coherence caches or not?
    All out put show that both of MapViewer and WebLogic server as well as Coherence are running well.
    All the following steps are right?
    The procedure is as the following:
    1. Create a WebLogic domain: Map_domain.
    2. Start the WebLogic domain Map_domain by running startWebLogic.sh script.
    3. Install Coherence.jar as a library on WebLogic.
    4. Copy the coherence.jar in the WAR's WEB-INF/lib directory.
    5. Create a reference to the shared library by modifying the weblogic.xml in web applications WEB-INF directory
    and add the following contents:
    <weblogic-web-app>
         <library-ref>
              <library-name>coherence-web-spi</library-name>
              <specification-version>1.0.0.0</specification-version>
              <implementation-version>1.0.0.0</implementation-version>
              <exact-match>false</exact-match>
         </library-ref>
    <weblogic-web-app>6. Install Coherence-web-spi.war as a WebLogic library.
    7. Install the MapViewer as a WebLogic application.
    8. Start a Coherence cache server using the cmd file web-cache-server.cmd and then start MapViewer application.
    The content of web-cache-server.cmd file:
    @echo off
    @rem This will start a cache server
    setlocal
    :config
    @rem specify the Coherence installation directory
    set coherence_home=F:\coherence
    @rem specify the JVM heap size
    set memory=256m
    :start
    if not exist "%coherence_home%\lib\coherence.jar" goto instructions
    if "%java_home%"=="" (set java_exec=java) else (set java_exec=%java_home%\bin\java)
    :launch
    set java_opts="-Xms%memory% -Xmx%memory%"
    "%java_exec%" -server -showversion "%java_opts%" -cp %coherence_home%\lib\coherence.jar;
    %coherence_home%\lib\coherence-web-spi.war
    -Dtangosol.coherence.management.remote=true
    -Dtangosol.coherence.cacheconfig=WEB-INF/classes/session-cache-config.xml
    -Dtangosol.coherence.session.localstorage=true
    com.tangosol.net.DefaultCacheServer %1
    goto exit
    :instructions
    echo Usage:
    echo   ^<coherence_home^>\bin\cache-server.cmd
    goto exit
    :exit
    endlocal
    @echo onEdited by: jetq on Jan 12, 2010 9:02 PM

    Any opinions are welcome.

  • Configuring Coherence-java.lang.RuntimeException: Storage is not configured

    Hi,
    I am try to use web coherence to store session data for our application. I am trying to integrate Coherence with Weblogic 10.3.
    I tried configuration steps mentioned at:
    http://download.oracle.com/docs/cd/E14526_01/coh.350/e14536/wslinstall.htm
    I packaged and configured EAR scoped cluster nodes as mentioned in step 2.2.2.2 in the document.
    I have following setup configured:
    1.Apache Web server
    2.2 Weblogic managed servers.
    All the servers are on same machine.
    I started coherence server (coherence 3.5 bundled with Weblogic ), and then i started managed server nodes.
    While server startup i can see in console output that Weblogic is talking to coherence and vice - versa.
    But when i hit application I end up with error.Following is the stack trace associated with it:
    I got same exception when i tried hitting through Apache or individually Weblogic server as well.
    java.lang.RuntimeException: Storage is not configured
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.onMissingStorage(DistributedCache.CDB:9)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.ensureRequestTarget(DistributedCache.CDB:34)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.containsKey(DistributedCache.CDB:16)
         at com.tangosol.util.ConverterCollections$ConverterMap.containsKey(ConverterCollections.java:1519)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ViewMap.containsKey(DistributedCache.CDB:1)
         at com.tangosol.coherence.component.util.SafeNamedCache.containsKey(SafeNamedCache.CDB:1)
         at com.tangosol.net.cache.CachingMap.containsKey(CachingMap.java:401)
         at com.tangosol.coherence.servlet.AbstractHttpSessionCollection.isExistent(AbstractHttpSessionCollection.java:569)
         at weblogic.servlet.internal.session.CoherenceWebSessionContextImpl.getSessionInternal(CoherenceWebSessionContextImpl.java:363)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.getValidSession(ServletRequestImpl.java:2847)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.getSessionInternal(ServletRequestImpl.java:2402)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.getSession(ServletRequestImpl.java:2369)
         at weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.java:1285)
         at weblogic.servlet.security.internal.SecurityModule$SessionRetrievalAction.run(SecurityModule.java:610)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.security.internal.SecurityModule.getUserSession(SecurityModule.java:501)
         at weblogic.servlet.security.internal.ServletSecurityManager.checkAccess(ServletSecurityManager.java:81)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2204)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<Feb 11, 2011 12:48:40 PM IST> <Error> <HTTP> <PAWADHIYA-IN> <managed1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <68c8ed900610f403:74e29dca:12e13930e60:-7fe8-0000000000000019> <1297408720625> <BEA-101020> <[ServletContext@32833247[app:OSLLearningToolApp module:LTWeb path:/LTWeb spec-version:2.5 version:V2.0]] Servlet failed with Exception
    java.lang.IllegalStateException: Failed to retrieve session: Storage is not configured
         at weblogic.servlet.security.internal.SecurityModule.getUserSession(SecurityModule.java:505)
         at weblogic.servlet.security.internal.ServletSecurityManager.checkAccess(ServletSecurityManager.java:81)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2204)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Please help.

    java.lang.RuntimeException: Storage is not configuredThis just means that you are not running any cache servers, and that the WebLogic servers are configured as "storage disabled".
    Normally, with a WebLogic application, the Coherence "storage cluster" is run separately from the WebLogic "application cluster". Basically, you're going to run a number of Coherence "cache servers" with the same Coherence configuration as is used by WebLogic, but specify on the command line that the cache servers are "storage enabled".
    -Dtangosol.coherence.distributed.localstorage=truePeace,
    Cameron Purdy | Oracle Coherence
    http://coherence.oracle.com/

  • 11g and Coherence (pre-requisite?, included?)

    We are planning to work with SOA Suite 11g for a mid scale project.
    From the download's site it looks like Weblogic + Coherence "package" is a pre-requisite.
    However we see licencing issues as we did not purchase any license for Coherence.
    Is Coherence a Formal Pre-Requisite for SOA Suite 11g and/or OSB (service bus) 11g ?
    Some people on forums suggest Coherence is "included" in SOA Suite. Would this be the case from the licensing point of view (i.e. licence for SOA Suite / OSB gives us the right to use Coherence without paying separately ?
    Last not least, can we install SOA Suite with Weblogic only (no Coherence), even if the download page indicates we should have the Weblogic + Coherence package in place ?
    Many thanks,
    CL.

    Hi
    1. I am not much familiar with Coherence License stuff. As far as I know, Coherence is used for Caching Framework and is part of the Weblogic Server and it may not have anything to do with SOA Stuff. BUT incase if internally SOA files uses Coherence APIs for Caching, then you may need this component also installed.
    2. YES, you can install WLS without coherence. Even though your installer has WLS + Coherence, at the time of installation of WLS, choose the option like Custom (instead of default Typical). In the following screens, you can UnCheck the boxes for Coherence (and its samples). So you get only WLS installed. On top of this install SOA. Create a SOA Domain. Start admin and soa servers. If they start fine without any errors referring coherence APIs, then you are good to go.
    Thanks
    Ravi Jegga

Maybe you are looking for