JMS issues when migration from weblogic 9.2 to 10.3.5

We are facing some issues when migration from weblogic 9.2 to 10.3.5
In  weblogic 9.2 :_
BMP Entity EJBs used in our project are read-only in nature using entity cache, below is the configuration details
<!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>
Company
</ejb-name>
<entity-descriptor>
<pool>
<max-beans-in-free-pool>300</max-beans-in-free-pool>
<initial-beans-in-free-pool>150</initial-beans-in-free-pool>
</pool>
<entity-cache>
<max-beans-in-cache>3500</max-beans-in-cache>
<idle-timeout-seconds>100000</idle-timeout-seconds>
<read-timeout-seconds>0</read-timeout-seconds>
<concurrency-strategy>ReadOnly</concurrency-strategy>
</entity-cache>
Entity beans will get refreshed using the JMS messges. with in the MDB descriptor files(weblogic-ejb-jar.xml) we are using the provider URL directly and XA enabled connection factory is set to false.
migration to Weblogic 10.3.5_
With the same configurations MDB are not not getting deployed in weblogic 10 with some exception, so we removed the provider URL from weblogic-ejb-jar.xml and changed the JMS configuration to use foreign JMS and XA enable connection factory is set to true. Now when ever the JMS message is triggered Entity bean is not getting refreshed with the updated values. i.e values are stale.
Can some one look into this and provide your inputs to resolve this issue.

I think the Entity bean refresh problem appears to be unrelated to MDBs. The MDB is only responsible for getting the message to your application (which in turn interacts with Entity beans). You might want to try posting your question to an EJB newsgroup.
Tom

Similar Messages

  • XMLBEANS  classcastexception issues when migrating from WLS 8.1 to WLS 9.2

    Hi
    We are migrating our applications from Weblogic 8.1 / xbean (?) to Weblogic 9.2 / apache xbean 2.2.9-r540734 .
    We compiled our schema successfully with new version after making changes recommended by bea (replaced all com.bea.xml occurrences to org.apache.xmlbeans ) along with ant task def etc.
    XBEAN Compilation produces classes in following package structure: com.tuftshealth.container.providerListService.* and com.tuftshealth.container.providerListService.impl.*
    Our XSD looks like below:
    ===============================
    <?xml version="1.0" encoding="UTF-8"?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:this="http://www.tuftshealth.com/Container/ProviderListService" xmlns:messageheader="http://www.tuftshealth.com/Base/MessageHeader" xmlns:name="http://www.tuftshealth.com/Base/Name" xmlns:status="http://www.tuftshealth.com/Base/Status" xmlns:network="http://www.tuftshealth.com/Base/Network" xmlns:date="http://www.tuftshealth.com/Base/DateRange" xmlns:contact="http://www.tuftshealth.com/Base/Contact" xmlns:address="http://www.tuftshealth.com/Base/Address" xmlns:reference="http://www.tuftshealth.com/Base/Reference" xmlns:member="http://www.tuftshealth.com/Base/Member" xmlns:benefit="http://www.tuftshealth.com/Base/Benefit" xmlns:covlimit="http://www.tuftshealth.com/Base/CoverageLimitations" xmlns:groupriders="http://www.tuftshealth.com/Base/GroupRiders" xmlns:buslninfo="http://www.tuftshealth.com/Base/BusinessLineInfo" xmlns:phone="http://www.tuftshealth.com/Base/Phone" targetNamespace="http://www.tuftshealth.com/Container/ProviderListService" elementFormDefault="qualified">
         <import namespace="http://www.tuftshealth.com/Base/MessageHeader" schemaLocation="../Base/MessageHeader.xsd"/>
         <element name="ProviderListRequest" type="this:PrivderListServiceRequestType"/>
         <complexType name="PrivderListServiceRequestType">
              <sequence>
                   <element name="MessageHeader" type="messageheader:MessageHeaderType"/>
                   <element name="providerRequestInfo" type="this:ProviderListRequestParamsType"/>
    =================================
    This results in exceptions at run time when we call a Tibco using a generic broker class.
    The broker uses following method to return class to us:
    obj = XmlObjectBase.Factory.parse(XMLString);
    XMLString contains following payload:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:ProviderListResponse xmlns:ns0="http://www.tuftshealth.com/Container/ProviderListService">
    Debug Info:
    PACKAGE NAME: **** com.tuftshealth.www.container.providerlistservice.impl
    CLASS NAME: ****** com.tuftshealth.www.container.providerlistservice.impl.ProviderListResponseDocumentImpl
    java.lang.ClassCastException: com.tuftshealth.www.container.providerlistservice.impl.ProviderListResponseDocumentImpl
    XmlObjectBase is returning the class with www in package name. This causes ClassCastException.
    We tried to use XmlObject and XmlOptions is various combinations to see if "www" in package name goes away but it stays the same.
    Can someone please help us here ? It seems that behavior of XmlObject or XmlObjectBase has changed between two versions. Our apps can't work without the broker to return correct class type.
    Thanks for your help,
    Shikhar

    Hi,
    You can get rid of JSP version specific problems by using the following weblogic.xml file:-
    <weblogic-web-app>
    <jsp-descriptor>
    <jsp-param>
    <param-name>backwardCompatible</param-name>
    <param-value>true</param-value>
    </jsp-param>
    </jsp-descriptor>
    <weblogic-web-app>
    It will also confirm if the error you are seeing is due to JSP version differences in 8.1 and 9.x.
    Regards.

  • EJB perfomance issue while migrating from weblogic 10.0 to 10.3

    Hi,
    I have an EJB service which I am migrating from 10.0 to 10.3
    The service contains an entityManager.find() method which takes less than 2 secs to execute on 10.0 and more than 10 secs on 10.3.
    The code snippet and the log trace are as below --
    Code:
          logger.debug("Looking up Person for id " + personId);
       Person info = entityMngr.find(Person.class, personId);
        if(info != null) {
            logger.debug("Found Person" + info.getFirstName() + " " + info.getLastName() + " for id " + personId);
    log entries:
    05/31/2010 *02:35:25,197* DEBUG persistence.bean.PersistenceService [[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)':822] - Looking up Person for id 12014
    05/31/2010 *02:35:36,272* DEBUG persistence.bean.PersistenceService [[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)':829] - Found Person Vitasha Harinarine for id 12014
    Could somebody please help me debugging this issue? The code has not changed before migrating to 10.3. I have checked that the datasources on both environments are exactly the same.
    Any help would be greatly appreciated.
    Thanks in advance!
    Regards,
    Nishtha

    Don't do that. The ClassLoader used to manage web components is the child of the classloader used to manage EJB components - the servlet can use EJB classes, the EJB's cannot use web classes.
    This is also very poor practice as it couples the business logic layers of you system to the presentation - only the reverse should be done. WLS 6.0 is behaving appropriately.
    Chuck

  • Xerces.jar error when migrating from weblogic 8.1SP6 to Oracle Weblogic 10.

    Hi all,
    I am migrating the J2ee (1.4) application from 8.1sp6 to Oracle Weblogic server 10.3
    I have set the environment in build.xml to point to Oracle weblogic server and the java to the one that comes with Oracleweblogic.
    Rite now I am seeing the following error.
    [javac] C:\Zdev10.3\sep09_Build\src\source\com\myapp\sample\ejb\external\pmt\ServicesBean.java:51: package org.apache.xerces.validators.datatype does not exist
    [javac] import org.apache.xerces.validators.datatype.XMLException;
    [javac] ^
    [javac] C:\Zdev10.3\sep09_Build\src\source\com\myapp\sample\ejb\external\pmt\ServicesBean.java:109: cannot find symbol
    [javac] symbol : class XMLException
    [javac] location: class com.myapp.sample.ejb.external.pmt.ServicesBean
    [javac] public static String validateXML(String xmlRequest) throws XMLException {
    [javac] ^
    [javac] C:\Zdev10.3\sep09_Build\src\source\com\myapp\sample\dao\tm\CommonTMDao.java:281: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    [javac] cast to java.lang.Object for a varargs call
    [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
    According to Oracle Weblogic , xerces is been not supported .
    Also we need to go with the xerces.jar for some time.
    Any ideas /inputs/work arounds on this will be appreciated.
    thanks,
    Jyothsna
    Edited by: user10751474 on Oct 9, 2009 9:56 AM

    You have to make sure the LogMessage class (weblogic/i18n/logging/LogMessage) is in the classpath
    Using WebLogic Internationalization utilities: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/utilities.htm#i1011073
    and an example: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/textformatterclasses.htm#g1016464
    and: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/loggerclasses.htm#g1020871

  • When migrating from Bo6.5 to Bo4.0 what are the issues we will face?

    Hi all,
    When migrating from Bo6.5 to Bo4.0 what are the issues may come?
    Thanks,
    Hari.

    Hi,
    first of all you cant direnctly migrate from BO 6.5 to BI4. You have to migrate prior from BO 6.5 to XI 3.1 and afterwards to BI4.
    This is a huge step cause BO 6.5 is a very legace version. You will face a lot of issues with the Security. You have to totally re- design it. You will also face issues with BCA Jobs. Also here you have to do a complete re- design. If you only use Full Client Reports you have to convert them to WebI in XI 3.1 prior to migrating them to BI4 cause with BI4 the support of DeskI has been stopped.
    Maybe you consider to consult the SAP Consulting devision. This kind of Migration will be challenging.
    Regards
    -Seb.

  • Issue listeneing queue from Weblogic Cluster server with multiple managed server

    Haveing issue listeneing queue from Weblogic Cluster server with multiple managed server.
    Weblogic Cluster structure is like
    Weblogic Cluster01
      --ManagedServer01(http://server01.myhost.com:7001)
      --ManagedServer02(http://server02.myhost.com:7001)
    JMS Servers
      JMSserver01 targeting: ManagedServer01
      JMSserver02 targeting: ManagedServer02
      JMSmodule
      ConnectionFactory01 targeting:JMSserver01,JMSserver02
      UDQueue01 targeting:JMSserver01,JMSserver02
    Uniform Distributed Queue in Monitoring tab showing like this
      mysystemmodule!JMSserver01@UDQueue01
      mysystemmodule!JMSserver02@UDQueue01
    So when I am sending message to any Host(by specifying the provider URL) its distributing equally on both server like
      mysystemmodule!JMSserver01@UDQueue01 10
      mysystemmodule!JMSserver02@UDQueue01 10
    But when try to listen message from these queue, it is listening from one server, for which URL given to connect.
      mysystemmodule!JMSserver01@UDQueue01 0
      mysystemmodule!JMSserver02@UDQueue01 10
    untill I connect to other server by giveing its URL, will not able to access other message left on the queue.
    Solutions that tried
      1) we have tried give both server URL coma sparated in provider URL
    we need to configur same scenario for 5 managed server with 3 listener on other servers.
    Do any one have solution for this.

    You need to have:
    1. Consumers connected to each UDQ member
    OR
    2. If no consumers in some of the members is expected, you can configure Forward Delay (specify the amount of time, in seconds, that a queue member with messages, but with no consumers, will wait before forwarding its messages to other queue members that do have consumers):
    http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13952/taskhelp/jms_modules/distributed_queues/ConfigureUDQGeneral.html
    For example you can set it to 10 (10s)
    Additional Information here:
    http://docs.oracle.com/cd/E23943_01/web.1111/e13727/dds.htm#i1314228
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13951/mbeans/DistributedQueueBean.html?skipReload=true#ForwardDelay
    How Does JMS Load Balancing Work with Distributed Queues and Uniform Distributed Queues? (Doc ID 827294.1)
    I hope this helps
    Best Regards
    Luz

  • PL/SQL procedure is 10x slower when running from weblogic

    Hi everyone,
    we've developed a PL/SQL procedure performing reporting - the original solution was written in Java but due to performance problems we've decided to switch this particular piece to PL/SQL. Everything works fine as long as we execute the procedure from SQL Developer - the batch processing 20000 items finishes in about 80 seconds, which is a serious improvement compared to the previous solution.
    But once we call the very same procedure (on exactly the same data) from weblogic, the performance seriously drops - instead of 80 seconds it suddenly runs for about 23 minutes, which is 10x slower. And we don't know why this happens :-(
    We've profiled the procedure (in both environments) using DBMS_PROFILER, and we've found that if the procedure is executed from Weblogic, one of the SQL statements runs noticeably slower and consumes about 800 seconds (90% of the total run time) instead of 0.9 second (2% of the total run time), but we're not sure why - in both cases this query is executed 32742-times, giving 24ms vs. 0.03ms in average.
    The SQL is
    SELECT personId INTO v_personId FROM (            
            SELECT personId FROM PersonRelations
            WHERE extPersonId LIKE v_person_prefix || '%'
    ) WHERE rownum = 1;Basically it returns an ID of the person according to some external ID (or the prefix of the ID). I do understand why this query might be a performance problem (LIKE operator etc.), but I don't understand why this runs quite fast when executed from SQL Developer and 10x slower when executed from Weblogic (exactly the same data, etc.).
    Ve're using Oracle 10gR2 with Weblogic 10, running on a separate machine - there are no other intensive tasks, so there's nothing that could interfere with the oracle process. According to the 'top' command, the wait time is below 0.5%, so there should be no serious I/O problems. We've even checked JDBC connection pool settings in Weblogic, but I doubt this issue is related to JDBC (and everything looks fine anyway). The statistics are fresh and the results are quite consistent.
    Edited by: user6510516 on 17.7.2009 13:46

    The setup is quite simple - the database is running on a dedicated database server (development only). Generally there are no 'intensive' tasks running on this machine, especially not when the procedure I'm talking about was executed. The application server (weblogic 10) is running on different machine so it does not interfere with the database (in this case it was my own workstation).
    No, the procedure is not called 20000x - we have a table with batch of records we need to process, with a given flag (say processed=0). The procedure reads them using a cursor and processes the records one-by-one. By 'processing' I mean computing some sums, updating other table, etc. and finally switching the record to processed=1. I.e. the procedure looks like this:
    CREATE PROCEDURE process_records IS
        v_record records_to_process%ROWTYPE;
    BEGIN
         OPEN records_to_process;
         LOOP
              FETCH records_to_process INTO v_record;
              EXIT WHEN records_to_process%NOTFOUND;
              -- process the record (update table A, insert a record into B, delete from C, query table D ....)
              -- and finally mark the row as 'processed=1'
         END LOOP;
         CLOSE records_to_process;
    END process_records;The procedure is actually part of a package and the cursor 'records_to_process' is defined in the body. One of the queries executed in the procedure is the SELECT mentioned above (the one that jumps from 2% to 90%).
    So the only thing we actually do in Weblogic is
    CallableStatement cstmt = connection.prepareCall("{call ProcessPkg.process_records}");
    cstmt.execute();and that's it - there is only one call to the JDBC, so the network overhead shouldn't be a problem.
    There are 20000 rows we use for testing - we just update them to 'processed=0' (and clear some of the other tables). So actually each run uses exactly the same data, same code paths and produces the very same results. Yet when executed from SQL developer it takes 80 seconds and when executed from Weblogic it takes 800 seconds :-(
    The only difference I've just noticed is that when using SQL Developer, we're using PL/SQL notation, i.e. "BEGIN ProcessPkg.process_records; END;" instead of "{call }" but I guess that's irrelevant. And yet another difference - weblogic uses JDBC from 10gR2, while the SQL Developer is bundled with JDBC from 11g.

  • -error in XML document- when migrating from BPEL 10.1.3.3 to 10.1.3.4

    Hi,
    I've just been handed as set of BPEL processes which were developed in 10.1.3.3 and I'm working on migrating them to 10.1.3.4.
    Migration of most processes was straight forward, however, there is one process (SendMessage) that accepts an XML document as its input. The message payload is successfully sent in the older version, however, in version 10.1.3.4, I keep on getting the following error.
    Server was unable to read request. ---> There is an error in XML document (195, 99). ---> Input string was not in a correct format.
    The line number is the end line number of the xml document message.
    I've checked both versions and in 10.1.3.3 the ValidateXML option is set to false, whereas in 10.1.3.4 its 'none', which is equivalent to false.
    Are there any other settings in 10.1.3.4 that could be causing this error? Has anyone else come across this issue when migrating upgwards from 10.1.3.3?
    I would greatly appreciate any suggestions.
    Kind regards,
    Shiraz

    I had recently done the same migration. One of the issues I had faced was while specifying the nillable elements I used to get an error if the namespace definition was in the header. The error was occuring while sending the message to AQ.
    I do not know if this will help. Also it would be useful if you could provide details of where the process is failing is it failing at the receive activty or later. What does the process do....
    Best of luck with the problem.

  • Migrating from Weblogic 9.2 to 10.3.2 getting Error

    While Migrating from Weblogic 9.2 to 10.3, I am getting the following error. Please help me to solve this issue.
    <openjpa-1.1.1-SNAPSHOT-r422266:807362 fatal user error> org.apache.openjpa.util.MetaDataException: Errors encountered while resolving metadata. See nested exceptions for details.
    at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:563)
    at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:308)
    at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:248)
    at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:219)
    at org.apache.openjpa.enhance.PCClassFileTransformer.transform0(PCClassFileTransformer.java:139)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
    at org.apache.openjpa.meta.ClassMetaData.validateAppIdClass(ClassMetaData.java:1874)
    at org.apache.openjpa.meta.ClassMetaData.validateIdentity(ClassMetaData.java:1832)
    at org.apache.openjpa.meta.ClassMetaData.validateMeta(ClassMetaData.java:1749)
    at org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1622)
    at org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataRepository.java:717)
    Truncated. see log file for complete stacktrace
    Dec 7, 2010 4:17:14 PM weblogic.utils.classloaders.ClassPreProcessor$ClassPreProcessorSupport preProcess
    WARNING: Error pre-processing class com.bac.fvo.model.exposure.RiskRatingExposure with weblogic.deployment.PersistenceUnitInfoImpl$ClassPreProcessorImpl@1074a5f'
    <openjpa-1.1.1-SNAPSHOT-r422266:807362 fatal user error> org.apache.openjpa.util.MetaDataException: Errors encountered while resolving metadata. See nested exceptions for details.
    at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:563)
    at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:308)
    at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:248)
    at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:219)
    at org.apache.openjpa.enhance.PCClassFileTransformer.transform0(PCClassFileTransformer.java:139)
    at org.apache.openjpa.enhance.PCClassFileTransformer.transform(PCClassFileTransformer.java:120)
    at org.apache.openjpa.persistence.PersistenceProviderImpl$ClassTransformerImpl.transform(PersistenceProviderImpl.java:210)
    at weblogic.deployment.PersistenceUnitInfoImpl$ClassPreProcessorImpl.preProcess(PersistenceUnitInfoImpl.java:547)
    at weblogic.utils.classloaders.ClassPreProcessor$ClassPreProcessorSupport.preProcess(ClassPreProcessor.java:102)
    at weblogic.utils.classloaders.GenericClassLoader.doPreProcess(GenericClassLoader.java:357)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:338)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
    at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:107)
    at org.hibernate.ejb.Ejb3Configuration.classForName(Ejb3Configuration.java:1008)
    at org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1080)
    at org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:871)
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:758)
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:425)
    at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:131)
    at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:227)
    at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:281)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1333)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1299)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:463)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:404)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:375)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:263)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:170)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:260)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:184)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:309)
    at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:270)
    at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:122)
    at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:78)
    at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
    at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:97)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1290)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:463)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:404)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:375)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:263)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:170)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:260)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:184)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)
    at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)
    at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:597)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:366)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:254)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1801)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3045)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1397)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:39)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
    at org.apache.openjpa.meta.ClassMetaData.validateAppIdClass(ClassMetaData.java:1874)
    at org.apache.openjpa.meta.ClassMetaData.validateIdentity(ClassMetaData.java:1832)
    at org.apache.openjpa.meta.ClassMetaData.validateMeta(ClassMetaData.java:1749)
    at org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1622)
    at org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataRepository.java:717)
    at org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataRepository.java:616)
    at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:541)
    ... 95 more
    Thanks in Advance
    Sheejo Rapheal

    We have war application and we have antlr in preclasspath. have weblogic.xml entries as suggested. still it's going to OpenJPA.
    WARNING: Error pre-processing class com.bac.fvo.model.pricing.PricingVerificationPK with weblogic.de
    ployment.PersistenceUnitInfoImpl$ClassPreProcessorImpl@3d8b1e3'
    <openjpa-1.1.1-SNAPSHOT-r422266:891341 fatal user error> org.apache.openjpa.util.MetaDataException:
    Type "class com.bac.fvo.model.pricing.PricingVerificationPK" with application identity and no superc
    lass does not declare an id class. This type is not eligible for builtin identity, so it must decla
    re an id class.
    at org.apache.openjpa.meta.ClassMetaData.validateAppIdClass(ClassMetaData.java:1858)
    at org.apache.openjpa.meta.ClassMetaData.validateIdentity(ClassMetaData.java:1834)
    at org.apache.openjpa.meta.ClassMetaData.validateMeta(ClassMetaData.java:1751)
    at org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1624)
    at org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataRepository.java:717)
    at org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataRepository.java:616)
    at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:542)
    at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:308)
    at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:248)
    at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:220)
    at org.apache.openjpa.enhance.PCClassFileTransformer.transform0(PCClassFileTransformer.java:
    139)
    at org.apache.openjpa.enhance.PCClassFileTransformer.transform(PCClassFileTransformer.java:1
    20)
    at org.apache.openjpa.persistence.PersistenceProviderImpl$ClassTransformerImpl.transform(Per
    sistenceProviderImpl.java:210)
    at weblogic.deployment.PersistenceUnitInfoImpl$ClassPreProcessorImpl.preProcess(PersistenceU
    nitInfoImpl.java:620)
    at weblogic.utils.classloaders.ClassPreProcessor$ClassPreProcessorSupport.preProcess(ClassPr
    eProcessor.java:102)
    at weblogic.utils.classloaders.GenericClassLoader.doPreProcess(GenericClassLoader.java:341)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:322)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:285
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:
    56)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:
    42)
    at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:107)
    at org.hibernate.ejb.Ejb3Configuration.classForName(Ejb3Configuration.java:1008)
    at org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1080)
    at org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:871
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:761)
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:425)
    at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersi
    stence.java:132)
    ApplicationContext.xml is
         <!--
              Activates various annotations to be detected in bean classes: Spring's
              @Required and @Autowired, as well as JSR 250's @PostConstruct,
              @PreDestroy and @Resource (if available) and JPA's @PersistenceContext
              and @PersistenceUnit (if available).
         -->
         <context:annotation-config/>
         <!--
              PostProcessors to perform resource injection according to the JPA specification
         (@PersistenceContext, @PersistenceUnit).
         -->
         <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor"/>
         <!--
              Post-processor to perform exception translation on @Repository classes (from native
              exceptions such as JPA PersistenceExceptions to Spring's DataAccessException hierarchy).
         -->     
         <bean class="org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor"/>
              <!--
              Will automatically be transactional due to @Transactional.
              EntityManager will be auto-injected due to @PersistenceContext.
              PersistenceExceptions will be auto-translated due to @Repository.
         -->
         <!-- enable the configuration of transactional behavior based on annotations -->
         <tx:annotation-driven transaction-manager="transactionManager"/>

  • Error while migrating from Weblogic 8.1 to 10.1.3

    Hi
    I am getting the below error while building the xml during migrating from Weblogic 8.1 to 10.1.3.
    Could anyone please suggest how to resolve the below error:
    Error:
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/i18n/logging/LogMessage
    [java]      at weblogic.application.compiler.Appc.runBody(Appc.java:179)
    [java]      at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [java]      at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [java]      at weblogic.application.compiler.Appc.main(Appc.java:188)
    [java]      at weblogic.appc.main(appc.java:14)
    [java] Caused by: java.lang.ClassNotFoundException: weblogic.i18n.logging.LogMessage
    [java]      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    [java]      at java.security.AccessController.doPrivileged(Native Method)
    [java]      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    [java]      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    Regards
    Kiran
    [java]      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [java]      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    [java]      ... 5 more

    You have to make sure the LogMessage class (weblogic/i18n/logging/LogMessage) is in the classpath
    Using WebLogic Internationalization utilities: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/utilities.htm#i1011073
    and an example: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/textformatterclasses.htm#g1016464
    and: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/loggerclasses.htm#g1020871

  • HT4796 When migrating from a PC to my Mac user on the Mac.

    When migrating from a PC to my Mac, the files get created under a new user on the Mac. How do I move the files to my user log on?

    Check out the following KB Articles: 
    http://support.apple.com/kb/PH11393
    OS X Mountain Lion: Transfer your information from a PC
    http://support.apple.com/kb/HT1408
    How to transfer data from a PC to a Mac

  • HT4413 When migrating from time machine to my new hard drive, only some files and applications and setting are transferred, not all of them. In my latest back up I have them all. How can I fix that?

    When migrating from time machine to a new hard drive, not all is transferd, only partial documents, applications , settings etc. How can I migrate the latest back-up with all the content.

    sohs wrote:
    When migrating from time machine to a new hard drive, not all is transferd, only partial documents, applications , settings etc. How can I migrate the latest back-up with all the content.
    If you want to use Time Machine to recover the contents of one of its a backups to a new drive, follow the instructions in Mac OS X 10.6: Recovering your entire system. Note that you must select the "Restore System From Backup" option from the Utilities menu of the Installer disc to do this.
    Also note that if you are transferring files to a hard drive to be used with a different computer, you should use Migration Assistant instead. This intentionally will not copy everything because some settings, applications, etc. are not compatible computer-to-computer. Migration Assistant will copy everything that is.

  • HT201250 When migrating from time machine to my new hard drive, it migrates the first back-up I made several years ago. How can I migrate the latest back-up ?

    When migrating from time machine to my new hard drive, it migrates the first back-up I made several years ago. How can I migrate the latest back-up ? I need time machine to migrate the latest back-up. Should I delete the older back-ups ?

    As noondaywitch says, it should use the latest backup.
    Where are your backups (external HD, Time Capsule, etc.)?
    It sounds like there are two separate sets, and you're not connected to the right set.

  • Migration from Weblogic 7.0 to 8.1

    Hi,
    I have this project where we have to migrate from Weblogic Portal 7.0 to 8.1 . I have a few questions,
    1. Is there any anything like a wildcard event in Page Flow, which existed in the Webflow?
    2. What about proxy nodes? Does Page flow support proxy nodes?
    The reason I ask is my webflow has these things and I need to manually convert it into a page flow.
    Thanks
    PS: This is just the beginning of a long path of migration.:-)

    Hi,
    I have this project where we have to migrate from
    m Weblogic Portal 7.0 to 8.1 . I have a few
    questions,
    1. Is there any anything like a wildcard event in
    Page Flow, which existed in the Webflow?i believe it does - you shoudl post your question on the pageflow newsgroups, as this is not portal specific
    2. What about proxy nodes? Does Page flow support
    proxy nodes?
    The reason I ask is my webflow has these things and I
    need to manually convert it into a page flow.
    Thanksfrom what i remember about webflow the proxy thing was just an IDE thing and as used to kind uf break up you weblows in to nested ones. Pageflow do support tru nested pageflows
    PS: This is just the beginning of a long path of
    migration.:-)

  • Has anyone else noticed that: "The OS X Lion v10.7.3 Update includes Safari 5.1.3 and fixes that: Resolve a Wi-Fi connection issue when waking from sleep" didn't work?

    I installed OS X Lion v10.7.3 because of the following claim.
    The OS X Lion v10.7.3 Update includes Safari 5.1.3 and fixes that:
    Resolve a Wi-Fi connection issue when waking from sleep
    It continues to be a real pain having to reconnect to the network each time I wake my MacBook Air from sleep.
    Does anyone have a suggestion for the resolution to this problem?

    It seems the update fixed old problems for some and caused new problems for others. Sorry to hear you're in the latter group.
    Here are some things to try.
    1. Go to System Preferences > Network, and click the gear icon under the network interfaces like so:
    Whatever service order you have set, drag Wi-Fi either to the top (assuming it's not already there) or someplace else in the list. Click OK and then Apply. Sleep the system then wake it again to observe any changes.
    2. Click Wi-Fi in the above then click Advanced. Select all the networks your computer has ever joined and delete them with the "-" button. OK then Apply again. Select your network under the AirPort icon to re-join it. Sleep and wake again to see if that did anything.
    3. Try creating a new, temporary user account. Log in under that account to see if its behavior is any different.
    You may have done all of these already but perhaps there is something you have not thought of. If nothing helps we may just have to wait a bit longer for Apple to release a fix.

Maybe you are looking for

  • Mini DIsplay Port on MBP (MacBookPro6,2) does not seem to work

    The Mini DIsplay Port on our office's new MBP (MacBookPro6,2) does not work with the office Toshiba projector, (several years old - 800x600 VGA) that I use for presentations. We have used a variety of MBPs with this projector over the years, they hav

  • Order Type wise GL Account While doing Good Issue.

    Dear All, Good Day, We have Different types of Plant Maintenance Order , now when we do Goods Issue against the order we need specific GL Account based on Order type. Example: Preventive Order should need XXXX GL Account                Corrective Ord

  • Problem with importing Web Service Model

    Hello, in my Web Dynpro project I try to import a web service model. After choosing the wsdl file the different classes and files are generated but in the Web Dynpro Explorer there is no Model created in the Node Models. Also after reloading and rebu

  • I use GMAIL, why do I have to install Outlook?

    My iPAD sync all my contacts from my Gmail, but iCloud on my PC has not.  It says I have to install outlook.  Why?  Is there a way around this?

  • I also cannot get into Store or Match but can access everything else

    I've been on my computer for 7 frigging hours and cannot get this thing to work.  I don't want to lose my library of music.  I have Windows Vista and never had any problems before.  Why can't Apple create a solution for their customers!!!!  This is o