WLS 12c JMS & HermesJMS

Has anyone been able to get HermesJMS working with WLS 12c?
I have followed the setup instructions on various blog posts and such and have basically done the following:
1. Generated the wlfullclient.jar and created a new CLASSPATH group named "WLS12.1".
2. Added a new session using the above classpath.
3. Attempted to discover queues & topics on my WLS instance, and I get a stack trace.
java.lang.NoClassDefFoundError: weblogic/management/WebLogicObjectName
     at hermes.ext.weblogic.WebLogicJMSAdminFactory.createSession(WebLogicJMSAdminFactory.java:63)
     at hermes.impl.HermesAdminAdapter.getAdmin(HermesAdminAdapter.java:64)
     at hermes.impl.HermesAdminAdapter.discoverDestinationConfigs(HermesAdminAdapter.java:82)
     at hermes.impl.DefaultHermesImpl.discoverDestinationConfigs(DefaultHermesImpl.java:1356)
     at hermes.browser.tasks.DiscoverDestinationsTask.invoke(DiscoverDestinationsTask.java:77)
     at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)
     at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)
     at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: weblogic.management.WebLogicObjectName
     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
     ... 8 more
I found some references to including "-Dsun.lang.ClassLoader.allowArraySyntax=true" in the options to Java, but that had no effect.
I am using HermesJMS 1.14, Oracle JDK (1.6.0_35), running on RHEL 5 x86_64.
Here is the classpath section from my hermes-config.xml:
<classpathGroup id="WLS12.1">
<library noFactories="true" jar="/home/wkorb/oracle/middleware/wlserver_12.1/server/lib/wlfullclient.jar"/>
</classpathGroup>
Here is the section that defines my session:
<factory classpathId="WLS12.1">
<provider className="hermes.JNDIConnectionFactory">
<properties>
<property name="initialContextFactory" value="weblogic.jndi.WLInitialContextFactory"/>
<property value="t3://localhost:7001" name="providerURL"/>
<property value="javax/jms/QueueConnectionFactory" name="binding"/>
<property value="weblogic" name="securityPrincipal"/>
<property value="weblogic" name="securityCredentials"/>
</properties>
</provider>
<connection connectionPerThread="false" clientID="">
<session useConsumerForQueueBrowse="false" audit="false" transacted="true" reconnects="0" id="wls12c"/>
</connection>
<extension className="hermes.ext.weblogic.WebLogicJMSAdminFactory">
<properties/>
</extension>
</factory>
Any insight or suggestions would be much appreciated.
Thanks,
Bill

For the "No destinations found" situation, I'm confused. In the WLS console I did the following:
1. Created a JMS server.
2. Created a JMS module.
3. Added to resources to the module: a QueueConnectionFactory & a Queue.
If I am indeed getting connected to the JMS service, should I not see those resources when I try to discover them?You may have missed a few steps during configuration that are required to make sure the Queue is active.
Assuming non-clustered WebLogic:
- The JMS Server target needs to be configured to specify a WL server.
- The JMS module target needs to be set to the same WL server as the JMS server.
- You should configure a "subdeployment" for the module that references the JMS Server.
- You should reference the name of this subdeployment as part of configuring the Queue.
(Using a subdeployment for setting up the association between a Queue and its JMS Server(s) isn't strictly required but is a highly recommended best practice, per http://docs.oracle.com/cd/E24329_01/web.1211/e24385/best_practice.htm#JMSAD455)
To verify the queue is up, you should be able to see the queue on one of the console's monitoring screens, and you should also be able to write a simple thin-t3-jar JMS client that looks up the CF and Q in JNDI and sends a message. The console also provides "message management" screens that allow an admin to inject a test message and/or view messages...
HTH,
Tom

Similar Messages

  • Where can I download the JMS C API for WLS 12c?

    Where can I download the JMS C API for WLS 12c? It doeesn't appear to be bundled with the standard or supplemental WLS zip files, nor obvious as a separate download bundle. Searching oracle.com finds plenty of documents which reference its existence, but not how to obtain it (unless I missed something). Pointers appreciated, thanks.

    Thanks. Unfortunately, that's just a reference to the documentation. As I said, there's lots of reference to the C API in the documentation but I need the source code (I have an existing application running against WLS8.1/Solaris that I want to port to WLS12c/linux).

  • Webservices.jar is missing from WL_HOME/server/lib in WLS 12c

    webservices.jar is missing from WL_HOME/server/lib in WLS 12c. Was it replaced by a different jar or is this a new implementation i'm unfamiliar with? It does appear in all versions up to 11g.
    Without it i won't be able to migrate my application to 12c from the older versions...

    hi,
    In the 12.1.1 release, the 8.1 WebLogic Web services run time has been removed. So you will no longer see the webservices.jar file
    http://docs.oracle.com/cd/E24329_01/web.1211/e24497/upgrade_ws.htm#BGBIDHIJ
    Regards,
    Sunil P

  • Oepe not recognizing WLS 12c server home

    I have installed oepe from oepe-12.1.1.2-juno-distro-win32-x86_64.zip and WLS 12c from wls1212_dev.zip which is a generic installer downloaded from Oracle. When I tried to add WLS 12c runtime environment in oepe, its not recognizing the WLS home. Its throwing following error  "The path "C:\Servers\wls12120\wlserver" does not contain a valid WebLogic Server install."
    But I can start server using .cmd files and its running perfectly. Need help on this one. How to make oepe recognize my wls 12c home?

    Hi,
    You will just need to get a copy of OEPE that is v12.1.2 or higher in order to deploy to WebLogic Server 12.1.2. OEPE 12.1.2.2 is the current version and can be downloaded from the main download page - http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/index.html
    Thanks,
    Greg

  • Extending WLS 12c domain using ohs_managed_template_12.1.2.jar

    Hello experts!
    I'm trying to create a WLS domain + a collocated OHS instance but it is failing with the following error:
    Reason: oracle.security.opss.tools.lifecycle.LifecycleException: JDBC password for opss-data-source is missing for configuring security store to database.
    Exception:
    oracle.security.opss.tools.lifecycle.LifecycleException: JDBC password for opss-data-source is missing for configuring security store to database.
            at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:55)
            at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1967)
            at com.oracle.cie.domain.script.jython.WLScriptContext.updateDomain(WLScriptContext.java:604)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:606)
    com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: Domain Extension Application Failed!
    Here is my code when adding a template:
    print('')
    print 'Adding OHS Template'
    addTemplate(ohsTemplate);
    print('')
    updateDomain()
    closeDomain()

    Yes - you are correct.
    I've found the most useful reference for installing Oracle BPM 12c is this:  Installing SOA Suite and Business Process Management Suite Quick Start Guide for Developers.
    1. To Download Oracle BPM 12c JDeveloper download the software from http://www.oracle.com/technetwork/middleware/bpm/downloads/index.html
    2. To Install the JDK:
    Install JDK 1.7 (jdk1.7.0_55).
    Set JAVA_HOME environment variable to D:\Java\jdk1.7.0_55
    3. To Install Oracle BPM 12c JDeveloper
    Open a command prompt as an administrator (right mouse click “Command Prompt” -> “Run as administrator”)
    From the command prompt run: %JAVA_HOME%\bin\java -jar fmw_12.1.3.0.0_bpm_quickstart.jar
    Hope this gets you going,
    Dan

  • Installation JDK Questions for WLS 12c

    I was trying a demo install of WLS12c 12.1.2 and curious on the JDK/Jrockit part of the cert matrix (below)....can I successfully install with just Jrockit 28.2.5?  Or does the install (and/or admin console) acutally need an actual JDK, not Jrockit to install?  Although I don't see it in the matrix below, I assume all the managed servers will work and be certified on JRockit28.2.5?   Thanks!
    Oracle
      WebLogic Server
    12c (12.1.1.x)
    x64
    Windows Server
      2008 R2 (all SP levels included)
    64
    64
    Oracle JDK     1.6.0_29+    
    64
    Oracle
      11.1.0.7+     Oracle 11.2.0.3+     Oracle 12.1.0.1+
    For certification with Oracle DB 12.1.0.1+,
      refer to  My Oracle Support Doc ID
      1564509.1 on https://support.oracle.com/.
    Oracle WebLogic Server
    12c
      (12.1.1.x)
    x64
    Windows
      Server 2008 R2 (all SP levels included)
    64
    64
    Oracle
           JDK 1.7.0_02+
    64
    Oracle
      11.1.0.7+     Oracle 11.2.0.3+     Oracle 12.1.0.1+
    1. See JDK7 certification
      information in the "What's New in Oracle WebLogic Server"
      document.
        2. For certification
      with Oracle DB 12.1.0.1+, refer to  My
      Oracle Support Doc ID 1564509.1 on https://support.oracle.com/.
    Click

    You can find the version by using: java -version (on the command-line).
    "I pointed the 12c install to my 28.2.5 Jrockit and it installed fine pointed to that"
    When you can do that, you are probably using WebLogic 12.1.1 (that still supports Java SE6). In 12.1.2 you would have a problem as the install checks for Java version (which in this case Java SE7).
    "So should I bind all my managed servers to the JDK7 rather than the 28.2.5 JRockit?"
    Just use one Java Virtual Machine in your domain (otherwise you will probably run into problems, as the native libraries of the JVM's are different).
    When you are using WebLogic 12.1.1 you can just keep using JRockit. But in this case copy the endorsed jars, i.e.,
    copy_endorse_jars() {
      echo 'COPY ENDORSE JARS'
      mkdir -p ${JAVA_HOME}/jre/lib/endorsed
      cp ${WEBLOGIC_HOME}/endorsed/*.jar ${JAVA_HOME}/jre/lib/endorsed

  • Working with xpath attribute values in WLS 12c deployment plans

    I'm trying to use a deployment plan to adjust the hibernate.dialect property in persistence.xml
    persistence.xml
    <property name="hibernate.dialect" value="org.hibernate.dialect.DerbyDialect" />
    but whenever I attempt to refer to attributes in xpath using the usual @ sign, I get an XPathLexer barf.
    plan.xml
    <variable>
              <name>dialect</name>
               <value xsi:nil="false">org.hibernate.dialect.Oracle10gDialect</value>
    </variable>
                 <variable-assignment>
                     <name>dialect</name>
                     <xpath>/persistence/persistence-unit[@name="DPLV1PU"]/properties/property[@name="hibernate.dialect"]/@value</xpath>
                     <operation>replace</operation>
                 </variable-assignment>
    I receive:
    Error loading the persistence descriptor META-INF/persistence.xml from the module DPLV1EJB.jar.  See the following stack trace for nested errors: weblogic.application.descriptor.DeploymentPlanException: [Munger:2156213]An error occurred while parsing the specifed XPath "/persistence/persistence-unit[@name="DPLV1PU"]/properties/property[@name="hibernate.dialect"]/@value" : line 1:31: unexpected char: '@'.
    line 1:31: unexpected char: '@'
      at weblogic.application.descriptor.parser.XPathLexer.nextToken(XPathLexer.java:148)
    It seems wrong that I can't use a basic xpath feature like the @ to refer to an attribute here. Nor does the alternative axis syntax attribute:: work.
    It's almost like there isn't a real XPath implementation under there. 

    Hi Chris,
    I remember an earlier discussion along these lines... I haven't tested this myself, but the docs do say this:
    Generic File Loading Overrides
    This feature allows you to place application-specific files to be overridden into a new optional subdirectory (named /AppFileOverrides) in the existing plan directory structure. The presence or absence of this new optional subdirectory controls whether file overrides are enabled for the deployment. If this subdirectory is present, an internal ClassFinder is added to the front of the application and module classloaders for the deployment. As a result, the file override hierarchy rules follow the existing classloader and resource loading rules and behaviors for applications. For more information on WebLogic Server application classloading, see WebLogic Server Application Classloading in Developing Applications for Oracle WebLogic Server.
    It seems to me that this would be the way to customise the bc4j.xcfg in the deployment plan. In the 10g days, I did this by building my EARs using ANT - I had several bc4j.xcfg files sitting in a separate directory, and each of my targets (dev/test/qa/prod) used the appropriate bc4j.xcfg to build the EAR. I did do a bit of research, and I didn't find anything obvious that would let you use a deployment plan directly for changing bc4j.xcfg - you cannot use the WLS console to change any of the properties (if you could do it via a deployment plan directly, I would expect to find the option there).
    Sorry for the rambling post which doesn't give you any definitive answers, but it's just a brain dump at this point.
    John

  • Passivation EJB statefull with PersistenceContextType.EXTENDED in WLS 12c

    Hi guys,
    I have one web app with some EJB stateful working under Weblogic 12c.
    A snippet of code:
    public abstract class CommonHibernateDao<T extends AbstractModel, K extends Serializable> {
         private static final Logger LOGGER = LoggerFactory.getLogger(GenericHibernateDao.class);
         @PersistenceContext(type = PersistenceContextType.EXTENDED)
         protected transient EntityManager em;
         protected transient Session session;
         @SuppressWarnings("unused")
         private Class<T> persistentClass;
    // common method like save delete...
    @Stateful(name = "myDao")
    public class MyDaoImpl extends CommonHibernateDao<Pojo, Serializable> implements MyDao, Serializable {
    // methods with specific querys
    In Glassfish 3.1.2 works fine, but in Weblogic 12c not.
    What is happened?
    When in Weblogic 12c the passivation the EJB throw one exception:
    Message: <BEA-010024> <Error occurred during passivation: java.io.NotSerializableException: weblogic.persistence.ExtendedPersistenceContextWrapper
    Stack: at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
         at java.util.HashSet.writeObject(HashSet.java:267)
         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 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
         at weblogic.ejb.container.swap.PassivationUtils.write(PassivationUtils.java:101)
         at weblogic.ejb.container.swap.DiskSwap.write(DiskSwap.java:173)
         at weblogic.ejb.container.manager.StatefulSessionManager.swapOut(StatefulSessionManager.java:1582)
         at weblogic.ejb.container.cache.LRUCache.put(LRUCache.java:149)
         at weblogic.ejb.container.manager.StatefulSessionManager.create(StatefulSessionManager.java:1246)
         at weblogic.ejb.container.manager.StatefulSessionManager.createBean(StatefulSessionManager.java:1313)
         at weblogic.ejb.container.internal.StatefulEJBLocalHomeImpl.createBeanAndReturnPK(StatefulEJBLocalHomeImpl.java:112)
         at weblogic.ejb.container.internal.StatefulSessionBeanReferenceImpl.getBusinessObject(StatefulSessionBeanReferenceImpl.java:39)
         at com.oracle.injection.integration.EjbDescriptorAdapter$EjbInstanceManagerAdapter.getEjbInstance(EjbDescriptorAdapter.java:236)
         at com.oracle.injection.provider.weld.WeldEjbServicesAdapter.resolveEjb(WeldEjbServicesAdapter.java:45)
         at org.jboss.weld.bean.SessionBean.createReference(SessionBean.java:406)
         at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.<init>(EnterpriseBeanProxyMethodHandler.java:69)
         at org.jboss.weld.bean.SessionBean.create(SessionBean.java:293)
         at org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:61)
         at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:630)
         at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:691)
         at org.jboss.weld.injection.ParameterInjectionPoint.getValueToInject(ParameterInjectionPoint.java:120)
         at org.jboss.weld.injection.MethodInjectionPoint.getParameterValues(MethodInjectionPoint.java:217)
         at org.jboss.weld.injection.MethodInjectionPoint.invoke(MethodInjectionPoint.java:111)
         at org.jboss.weld.util.Beans.callInitializers(Beans.java:712)
         at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:701)
         at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget$1$1.proceed(ManagedBean.java:156)
         at com.oracle.injection.provider.weld.WeldInjectionServicesAdapter.aroundInject(WeldInjectionServicesAdapter.java:88)
         at org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:45)
         at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget$1.work(ManagedBean.java:152)
         at org.jboss.weld.bean.ManagedBean$FixInjectionPoint.run(ManagedBean.java:126)
         at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.inject(ManagedBean.java:148)
         at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:285)
         at org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:61)
         at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:630)
         at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:657)

    I got exactly the same issue with Weblogic 11g (10.3.6)
    Could anybody take a look ?

  • Apex_admin page is blank - 11gR2 - WLS 12C - ORDS 2.09 - APEX 4.2.5.0.0.8

    I'm struggling to get APEX 4.2.5 installed, in the current configuration : Oracle Enterprise Linux 6.4, WebLogic 12C, Oracle REST Data Service 2.09
    Detailed configuration follows. Any clue is welcome, I''m completely stuck.
    Did I miss a configuration step?
    A contributor mentionned in another thread ( Blank page when apex_admin page is accssed.) that "application Express Listener's settings for the images and APEXs." should be the same? What does that mean ?
    Symptoms:
    1/ Can not even access to apex_version.txt : demovbox:8080/ords/apex_version.txt returns 404 - Not Found
    2/ demovbox:8080:/ords/apex_admin is converted to an apex URL but returns a blank page:
    3/ Direct access to an static gif image such a demovbox:8080/ords/i/red.gif also return a ORDS - 404 - Not Found.
    Configuration
    - im working in a Virtualbox image. 11gR2 is up and running, accessible both from sql developper on the host machine and the guest one.
    - WebLogic is configured with one domain, having one admin server (port 7001) and one managed server (port 8080)
    - ords.war and i.war are both deployed on the admin and the managed server
    - i.war was created accordingly to install instructions :
    java -jar ords.war static /u01/app/oracle/product/11.2.0/dbhome_1/apex/images
    - as a check i inflated the war file into a temporary directory and the weblogix.xml file correctly point to the apex/images directory.

    Did you resolve your issue?
    You seemed like you have the major parts.
    The only comment I have is that your test for the images directory was a little off.
    http://demovbox:8080/i/apex_version.txt
    This is your test for the images directory.
    The only suggestion I have is to make sure the versions of images in your path ( /u01/app/oracle/product/11.2.0/dbhome_1/apex/images ) is the same as the version of APEX you are using.
    -- asked a different way --
    Did you upgrade APEX?
    If so - you may need a new version of the images folder from the most recent install.
    -- Tim St.

  • Migration of JMS Queues from Weblogic 10.3 to 12c

    Hi - We are currently planning to move our JMS Queues from existing 10.3 server to 12c and for the same we are looking for some feedback : 
    We need to define a rollback strategy in case our migration to 12c does not work well and we need to revert back to using weblogic 10.3. Are messages sent to weblogic 12c backward compatible with version 10.3? As part of rollback, business would want to drain out any remaining messages from 12c and feed them back to 10.3 queues to allow them for processing. Is this feasible? If yes then, could you please suggest how, If not then could you please suggest a strategy for rollback and process remaining messages in 12c?
    We would also want to know if we can keep the same Database for both 10.3 and 12c JMS persistent stores for the same queues or should we define a completely new DB? With weblogic we can define prefixes for the DB stores which would make queue tables to have different names between 10.3 and 12c for same queues. However we are not sure if there are any other internal tables that JMS creates in the persistent stores DB, not using these prefixes, which would then corrupt the data since both 10.3 and 12c tables would be on the same DB.
    Thanks
    Nitin

    Hello,
    the final release for WLP is 10.3.6, running on WebLogic Server 10.3.6.
    Emmanuel

  • MDB with foreign JMS : WLS 9.23

    For the love of _____ (fill in your own muse of desperation here), is there some categorical statement of whether WLS9.23 actually ***works*** with MDB's and foreign JMS providers? Whereever I search/find, people have trouble with this.
              Some kind BEA sould - please. Please, please please : publish a canonical example of MDB with secured foreign-JNDI provided connx factory, and either a queue or a topic.
              I'm beginning to wonder if this works at all.

    Good morning!
              Categorical Statement: WLS supports JMS spec compliant foreign providers for MDBs, bridges, resource-references, foreign providers. We also support sending a foreign providers message using a WebLogic JMS client.
              For general Tibco integration questions, I recall that the Tibco docs themselves contain WebLogic integration examples. There's also some much mention of Tibco in the out-dated "Using Foreign JMS Providers with WebLogic Server" white-paper on dev2dev.
              That said, there have been definitely been problems with Tibco and MQ's latest release, as they both recently released semi-non-JMS compliant clients that our wrapper code was unprepared to deal with. In short, we were caught unawares when these clients stopped supporting the 1.0.2 APIs even though 1.1 specification clearly requires both 1.1 and 1.0.2 support. Rather than ask Tibco and MQ teams to have them patch their code (an approach we've sometimes taken over the years), we chose this time to enhance our code.
              I think the problems were all fixed by 9.23 - but you may want to contact customer support to see if there are any additional patches required. Alternatively, you can try use a slightly older Tibco client, as presumably their older clients are still able to interoperate with their latest server version (this approach works with MQ).
              Tom

  • Microsoft SQL Server JDBC driver and WLS JMS problem?

              Greetings,
              I'm using the Microsoft SQL Server JDBC driver with WLS with JMS
              persisted to SQL Server, during WLS startup the JMS attempts to
              read the JMSStore and JMSState tables in the db, if they are
              already present (say, from a previous run) the driver kicks out:
              java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]ResultSet can
              not re-read row data for column 1.
              If the tables are not present, then WLS creates them and
              everything proceeds fine. Now, its not a good thing to attempt
              to reread row data for a ResultSet, especially for portability. Why is WLS JMS
              doing this? is there some config I can use to adjust JMS startup behavior for
              persisted JMS stores?
              Jay Houghton
              Centiv
              [email protected]
              long exception trace follows:
              <Oct 1, 2002 8:29:11 AM EDT> <Info> <JMS> <User connection factory "BroadcastTopicFactory"
              is started.>
              <Oct 1, 2002 8:29:18 AM EDT> <Info> <JMS> <JMSServer "EnergizerJMSServer", Opening
              JDBC store tables "JMSStore
              " and "JMSState" using connection pool "JMSConnectionPool".>
              <Oct 1, 2002 8:29:20 AM EDT> <Alert> <JMS> <JMSServer "EnergizerJMSServer", store
              failed to open, java.io.IOEx
              ception: JMS JDBC store, connection pool = <JMSConnectionPool>, prefix = <null>:
              recover
              java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]ResultSet can
              not re-read row data for colum
              n 1.
              at com.microsoft.jdbc.base.BaseResultSet.getLong(Unknown Source)
              at com.microsoft.jdbc.base.BaseResultSet.getLong(Unknown Source)
              at weblogic.jdbc.pool.ResultSet.getLong(ResultSet.java:304)
              at weblogic.jms.store.JDBCIOStream.doRecover(JDBCIOStream.java:618)
              at weblogic.jms.store.JDBCIOStream.recover(JDBCIOStream.java:728)
              at weblogic.jms.store.JMSStore.recover(JMSStore.java:112)
              at weblogic.jms.backend.BEStore.open(BEStore.java:179)
              at weblogic.jms.backend.BackEnd.initialize(BackEnd.java:330)
              at weblogic.jms.JMSService.createBackEnd(JMSService.java:923)
              at weblogic.jms.JMSService.addJMSServer(JMSService.java:1277)
              at weblogic.jms.JMSService.addDeployment(JMSService.java:1174)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279)
              at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:23
              3)
              at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:193)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
              at $Proxy40.updateDeployments(Unknown Source)
              at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub
              .java:2734)
              at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:362
              at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:154)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
              at $Proxy57.start(Unknown Source)
              at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean
              _CachingStub.java:480)
              at weblogic.management.Admin.startApplicationManager(Admin.java:1151)
              at weblogic.management.Admin.finish(Admin.java:571)
              at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:508)
              at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
              at weblogic.Server.main(Server.java:35)
              

              Tom,
              thanks for the info, I'll bring this to support.
              I did try the weblogic jDriver for SQL Server and it works fine, so i think it
              must be the way JMS is interacting with the MS driver.
              here are my components:
              WLS 6.1sp1
              Microsoft® SQL Server™ 2000 Driver for JDBC™ is a (Type 4 JDBC) which provides
              partial JDBC 2 support (no blobs, clobs, etc)
              MS SQL Server 2000 (sp2?)
              thanks!
              Jay Houghton
              [email protected]
              Tom Barnes <[email protected]> wrote:
              >Hi Jay,
              >
              >This is not a known issue at BEA as far as I know, perhaps it is the
              >result
              >of a new driver/database combination. Try using a different driver,
              >or a different
              >version of the current driver. Meanwhile, use a file store (just as
              >reliable but faster) and log a case with customer support, including
              >information on your version, service-pack, and what driver you are using.
              >
              >Tom, BEA
              >
              >Jay Houghton wrote:
              >
              >> Greetings,
              >>
              >> I'm using the Microsoft SQL Server JDBC driver with WLS with JMS
              >> persisted to SQL Server, during WLS startup the JMS attempts to
              >> read the JMSStore and JMSState tables in the db, if they are
              >> already present (say, from a previous run) the driver kicks out:
              >>
              >> java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]ResultSet
              >can
              >> not re-read row data for column 1.
              >>
              >> If the tables are not present, then WLS creates them and
              >> everything proceeds fine. Now, its not a good thing to attempt
              >> to reread row data for a ResultSet, especially for portability. Why
              >is WLS JMS
              >> doing this? is there some config I can use to adjust JMS startup behavior
              >for
              >> persisted JMS stores?
              >>
              >> Jay Houghton
              >> Centiv
              >> [email protected]
              >>
              >> long exception trace follows:
              >>
              >> <Oct 1, 2002 8:29:11 AM EDT> <Info> <JMS> <User connection factory
              >"BroadcastTopicFactory"
              >> is started.>
              >> <Oct 1, 2002 8:29:18 AM EDT> <Info> <JMS> <JMSServer "EnergizerJMSServer",
              >Opening
              >> JDBC store tables "JMSStore
              >> " and "JMSState" using connection pool "JMSConnectionPool".>
              >> <Oct 1, 2002 8:29:20 AM EDT> <Alert> <JMS> <JMSServer "EnergizerJMSServer",
              >store
              >> failed to open, java.io.IOEx
              >> ception: JMS JDBC store, connection pool = <JMSConnectionPool>, prefix
              >= <null>:
              >> recover
              >> java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]ResultSet
              >can
              >> not re-read row data for colum
              >> n 1.
              >> at com.microsoft.jdbc.base.BaseResultSet.getLong(Unknown Source)
              >> at com.microsoft.jdbc.base.BaseResultSet.getLong(Unknown Source)
              >> at weblogic.jdbc.pool.ResultSet.getLong(ResultSet.java:304)
              >> at weblogic.jms.store.JDBCIOStream.doRecover(JDBCIOStream.java:618)
              >> at weblogic.jms.store.JDBCIOStream.recover(JDBCIOStream.java:728)
              >> at weblogic.jms.store.JMSStore.recover(JMSStore.java:112)
              >> at weblogic.jms.backend.BEStore.open(BEStore.java:179)
              >> at weblogic.jms.backend.BackEnd.initialize(BackEnd.java:330)
              >> at weblogic.jms.JMSService.createBackEnd(JMSService.java:923)
              >> at weblogic.jms.JMSService.addJMSServer(JMSService.java:1277)
              >> at weblogic.jms.JMSService.addDeployment(JMSService.java:1174)
              >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
              >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279)
              >> at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:23
              >> 3)
              >> at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:193)
              >> at java.lang.reflect.Method.invoke(Native Method)
              >> at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608)
              >> at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592)
              >> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352)
              >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
              >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
              >> at $Proxy40.updateDeployments(Unknown Source)
              >> at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub
              >> java:2734)
              >> at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:362
              >> )
              >> at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:154)
              >> at java.lang.reflect.Method.invoke(Native Method)
              >> at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608)
              >> at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592)
              >> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352)
              >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
              >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
              >> at $Proxy57.start(Unknown Source)
              >> at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean
              >> _CachingStub.java:480)
              >> at weblogic.management.Admin.startApplicationManager(Admin.java:1151)
              >> at weblogic.management.Admin.finish(Admin.java:571)
              >> at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:508)
              >> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
              >> at weblogic.Server.main(Server.java:35)
              >
              

  • OEM 12c - web logic server(wls1211 and wls 1035)

    Hi ,
    I have installed the wls 12c (wls1211_generic.jar) and later I downloaded EM12CR2 which came with wls( wls1035_generic.jar)
    I don't want to install the wls which comes with EM12CR2.
    How can I exclude that while installing the EM12CR2, Since I already installed the wls(1211).
    or should I deinstall the wls 12c ??
    Thanks,

    Here http://docs.oracle.com/cd/E24628_01/install.121/e22624/install_em_exist_db.htm#BDCJBGCE you can see what is installed and configured.
    The installer intalls Oracle WebLogic Server 11g Release 1 (10.3.5) for you, so you do not need the weblogic 12c.
    "If Oracle WebLogic Server 11g Release 1 (10.3.5) does not exist and if you want to manually install it, then ensure that you install it using JDK 1.6 v24+ (64-bit version for 64-bit platforms and 32-bit version for 32-bit platforms)."

  • JDeveloper 12c & Standalone WLS w/ADF Runtime 12.1.2

    My question is related to setting up WLS with ADF...
    Has anyone tried setting up WLS 12.1.2 with ADF Runtime 12.1.2? I cannot seem to successfully deploy a simple ADF 12c app against the new standalone WLS container.
    First, I installed WLS 12.1.2 (no coherence) followed by ADF Runtime 12.1.2.
    When creating a new domain, I setup the domain with default option (nothing checked-EM,JRF,etc..)
    Upon deploying a simple app with a page, I receive the following error:
    [02:32:43 PM] [Deployer:149193]Operation "deploy" on application "ADF12cTest" has failed on "AdminServer".
    [02:32:43 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application ADF12cTest on AdminServer.: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
    [02:32:43 PM] weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false]
    [02:32:43 PM] Deployment cancelled.
    [02:32:43 PM] ----  Deployment incomplete  ----.
    [02:32:43 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    However, if I check off EM,JRF. I am asked to create a DB connection!
    http://i.imgur.com/fPPaw7t.jpg
    I am not interested in using Coherence at the moment, is there an option to just setup a standalone WLS 12c server with ADF 12.1.2 runtime?
    Also, does the "Coherence" option imply that ADF Runtime will be included in the domain libs?

    Shay, that was the doc I was following, seems like I might have to go another direction now that Brian has confirmed the additional JRF requirements associated with wls 12c. I'm not going to start using technology which I do not understand or have a need yet...so paddling backwards with some wishful thinking, I attempted to run the ADF 12c infrastructure installer against a wls 10.3.6 setup, which results in:
    http://i.imgur.com/u3dv5Km.jpg
    That pretty much dashes my hopes for an easy install...so moving on.
    JDev/ADF 12c is certified for wls 10.3.5+, are there any documentation on how to upgrade ADF Runtime 11.1.2 on WLS 10.3.6 to ADF 12c (perhaps via OPatch)?

  • Are ADF 12c apps supported on JCS with WLS 12.1.3 instance?

    A customer is interested in JCS Enterprise (not JCS- Sas Ext) with WLS 12.1.3 release. 
    Customer is asking whether ADF 12c apps are supported on JCS and on WLS 12.1.3 instance.
    Thank you.

    Guys,
    Just to close this topic, the answer (that George already got) is:
    "A full JRF is included and preconfigured in both the 11g and 12c choices of WLS on JCS.
    It is ADF 12c (12.1.3) on the WLS 12c (12.1.3) environment.."
    Cheers,
    Bogdan
    #OracleCloud
    https://blogs.oracle.com/oraclecloud4developers/

Maybe you are looking for

  • STRANGE ERROR dvdsp4.2.1

    I have a strange error. DVDSP keeps telling me that there is a hvdvd file in the build location. It is this that prevents dvdsp to burn. Now, i can not find this file at all. I have searched for it. I have trash prefs, moved the m2v & aiff to other d

  • h: commandButton submit issue

    I am using <h: commandButton> as: <h:commandButton type="button" id="logout" action="#{logOff.logout}" image="images/logout_icon.jpg" alt="Logout" style="border:0"> </h:commandButton> Now i want the button to call this action without validating the f

  • Temporarily disable STMS/MPXIO for maintenance

    Hi- Looking for advice. I have six active/active arrays using STMS/MPXIO, Sun/Qlogic FC4 hbas and V40z's running S10_U3 x86. Each array has 84 LUNs, with 8 paths, presented to around 20 hosts. Periodically I need to bring down one of the arrays for m

  • Cannot install CS5.5 Upgrade now

    Hi, I know it's older software but I am in need of some serious help! I tried to contact support but because it's older software he said he could not help and that was the last thing he said. I really need to get this up and running and have been goi

  • Calendar events repeated in Outlook after synching

    Can anyone tell me how to avoid having the same appointments duplicated on my handheld after I sync.  I have synchronized my curve 8330 to outlook, but now I have every appointment 3 times on my calendar.  How wipe my calendar clean completely and st