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.

Similar Messages

  • 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

  • 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.

  • -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.

  • 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.

  • 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.

  • Resolve a Wi-Fi connection issue when waking from sleep

    Hi,
    In the recent release for Mac OS X Lion 10.7.3 "Resolving a Wi-Fi connection issue when waking from sleep" was supposed to be resolved, not so at my end. Has anyone else encountered the same issue and if so will there be a resolve.
    Thank you

    Hello BGreg and thank you for your answer,
    I have alreadty read about this solution, and tried it.
    I downloaded the 1.2 Go file, and applied it. And repaired permissions.
    Everything went fine.
    Unfortunately, it didn't solve the problem.
    Meaning that when iMac wakes up, it doen't join my WiFi network.
    I have to do it manually.
    I don't know what to do : it is very strange because I never had that problem with OS 10.7.2 !
    And my network setup has never changed.
    another info :
    I noticed that in the network setup screen, when I want to close the little lock to restrain further modifications, it won't close. Weird !
    Do you think I should call Apple Assistance ?

  • Migrating from WLS 8.1 SP5 to Sp6

    We have successfully runned WLS 8.1 SP5
    When we were migrating from SP5 to SP6 in starting logs had been occured strange errors:
    <Jul 6, 2007 3:01:49 PM EEST> <Error> <JDBC> <BEA-001263> <Data Source named edx.servman.databasePool should not point to the Pool edxUserConnectionPool, Poo
    l edxUserConnectionPool has already been referenced by the another TxDataSource.>
    <Jul 6, 2007 3:01:49 PM EEST> <Error> <JDBC> <BEA-001263> <Data Source named edx.user.databasePool should not point to the Pool edxUserConnectionPool, Pool e
    dxUserConnectionPool has already been referenced by the another TxDataSource.>
    <Jul 6, 2007 3:01:49 PM EEST> <Error> <JDBC> <BEA-001263> <Data Source named jdbc.ecs_serial_trans should not point to the Pool edxUserConnectionPool, Pool e
    dxUserConnectionPool has already been referenced by the another TxDataSource.>
    All these DSources have been running on SP5 on the same pool. But this config doesn't work on SP6. What is issue?

    Anton Gavazuk wrote:
    We have successfully runned WLS 8.1 SP5
    When we were migrating from SP5 to SP6 in starting logs had been occured strange errors:
    <Jul 6, 2007 3:01:49 PM EEST> <Error> <JDBC> <BEA-001263> <Data Source named edx.servman.databasePool should not point to the Pool edxUserConnectionPool, Poo
    l edxUserConnectionPool has already been referenced by the another TxDataSource.>
    <Jul 6, 2007 3:01:49 PM EEST> <Error> <JDBC> <BEA-001263> <Data Source named edx.user.databasePool should not point to the Pool edxUserConnectionPool, Pool e
    dxUserConnectionPool has already been referenced by the another TxDataSource.>
    <Jul 6, 2007 3:01:49 PM EEST> <Error> <JDBC> <BEA-001263> <Data Source named jdbc.ecs_serial_trans should not point to the Pool edxUserConnectionPool, Pool e
    dxUserConnectionPool has already been referenced by the another TxDataSource.>
    All these DSources have been running on SP5 on the same pool. But this config doesn't work on SP6. What is issue?Hi. This is a known issue with 81sp6. Ask support for the patch
    for CR308071. We document that it is forbidden to have multiple
    XA datasources pointing to the same pool, and we now enforce that,
    but the bug is that we were also preventing mulitple datasources
    to non-XA pools as well.
    Joe

  • Application has problems when migrated from 10g to 11g

    Hi there,
    I am hoping someone can shed some light on a problem I have in moving an application from Oracle 10g to Oracle 11g. The app works fine on 10g (uses Apache webserver with PL/SQL module, and APEX 3.1.2.00.2), but on 11g using the embedded web server and APEX 3.2.0.00.27, it doesnt. Most of the app works fine, but there are a couple of pages that provide the ability to add child rows to a parent/child relationship, where the parameter passing mechanism from one page to the next appears to suffer from some sort of corruption. I have traced this using the "session" and "debug" buttons on the developer interface, which show that the values of the parameters get changed inexplicably, when branching from one page to the next - even when the page is actually branching to itself.
    I am using the "Set these items, "With these values" fields in the branch, and have verified that the correct values are being associated with the correct items in the application builder. But while this does work correctly under 10g, with 11g, the wrong values end up being passed. Just prior to the branch the set of parameters have the correct values, but immediately after the branch, one of the values is NULL, another has the value of a different item, and a third has a totally random value - I have no idea were it comes from!
    I migrated the application from 10g to 11g using the APEX application developer's Export/Import options. There have been no other changes. Should this have worked? If so, any ideas what might have gone wrong?
    Thanks,
    Sid.

    Well, I managed to solve this, but not in a way that makes much sense.
    In desperation (I had tried almost everything else!) I changed the value of "Cached" in the page settings from "No" to "Yes", and ran the app, but the page didnt render correctly (in either Firefox or IE7) - in fact all that displayed was the developers toolbar at the bottom of the page. I changed the value of "Cached" back to "Y", ran the app again, and hey presto - everything worked fine! I actually did this a second time with a fresh import of the app from 10g, just to be sure I wasnt seeing things. I wasnt!
    There was just one further issue - everything worked fine apart from this section of code in a page process:-
    ELSIF (:p9_filter_type = 5) THEN
    IF (:p9_x_gene_list IS NOT NULL) THEN
    :p9_filter := :p9_x_gene_list;
    END IF;
    :p9_entity_types := 'GENE';
    END IF;
    In 11g the value of :p9_entity_types was not being set to 'GENE' when :p9_filter_type was 5. This was (and still is) working in 10g. I changed the code as follows:-
    ELSIF (:p9_filter_type = 5) THEN
    :p9_entity_types := 'GENE';
    IF (:p9_x_gene_list IS NOT NULL) THEN
    :p9_filter := :p9_x_gene_list;
    END IF;
    END IF;
    ... and now it works fine in 11g as well.
    Only wish I knew why!

  • HT4889 Am I wrong or does Migration Assistant not work in Mountain Lion (10.8.2) when migrating from a PowerPC running Tiger (10.4.11)? Apple really needs to get on the ball or face losing people buying their new desktop products.

    The title alone speaks to my frustration about this issue.
    Used the process that was recommended by Apple to migrate from my "Lampshade" iMac (PPC running 10.4.11) to the new iMac (Intel running 10.8.2) and I got bupkiss...
    Just a spinning wheel (not beachball) and no drive recognized using Migration Assistant for both nor when using Target Mode on the iMac running 10.4.11 and Migration Assistant on the iMac running 10.8.2. Which is ironic, or more accurately oxymoronic, since the iMac in Target Mode (10.4.11) is recognized on the desktop of the iMac running 10.8.2 but not in the Migration Assistant. And before you can misdiagnose..it is not the Thunderbolt connection since I have the Apple recommended Thunderbolt to Firewire adapter and also used the Firewire 400 to 800 cable to expedite the transfer.
    On a personal note...
    I'm not bashing Apple for this...they are "head and shoulders" above the competition in what they do but I've been burned a few times so I feel I can share a small bit of loyal customer advice...I understand your iOS and mobile products hold huge sway in company focus and market-share but I find it a tad unwise to slack on the desktop applications. I don't recall any app for the iPhone/iPad family being made on the iPhone/iPad...only from desktop applications if I recall correctly. And how can I clearly "Move my Mac even further ahead"  as your marketing states when I can't even migrate my files from my old Mac to my new one in a simple fashion as per your instructions?
    I thank anyone in advance with an answer or even a workaround for this issue and please have a great day.

    http://support.apple.com/kb/ht4889
    Migration from Mac OS X v10.4 Tiger to OS X Lion
    Migration from Mac OS X v10.4 computers to OS X Lion over your Wi-Fi or a wired network is not supported. However, if both Macs are equipped with a FireWire port, you can use Target Disk Mode to transfer your data:
    Verify that both Macs are equipped with a FireWire port. Note that different model Macs may have different FireWire connectors, which will require an appropriate cable, such as FireWire 400 to FireWire 800.
    On the Mac you want to transfer data from, Restart, and immediately hold the T key.
    Wait for the FireWire logo to appear on the screen.  If it does not, restart and try again.
    Connect both Macs via the FireWire cable.
    On the Mac you want to transfer data to, Open the Migration Assistant application.
    Select the option "From another Mac, PC, Time Machine backup, or other disk" and click Continue.
    Select the option "From a Time Machine backup or other disk" and click Continue.
    Select your other Mac's volume, such as "Macintosh HD", from the list, and click Cont
    EDIT: Actually I realize you did follow these directions and if your drive is seen on the new Mac it should work. You're entitled to free Apple support with the new purchase, I'd give them a call.

  • What are the Issues in Migration from oracle 8i to oracle 10g

    Hi,
    Can you let me know what are the issues that i face when i migrate from oracle 8i to oracle 10g. I will be very thankful if you give me a list of issues that you face while migrating from 8i to 10g

    In addition to Max's reply, you must be aware that you have to test your applications agains 10g database before you actually upgrade the database.
    If you use CBO, it may produce different execution plans for one query when you run it in 8i and 10g. This may affect your application performances, which you don't like to happen.
    Also you have to decide how much downtime you can afford during the migration. Can you afford some downtime and how much? If you can't than this makes the situation more complicated.
    How big is your database? You may end up only with simple export/import solution using export import utility.
    The bottom line is, whatever you decide, you must test your applications running against 10g database before you actually upgrade your database.

  • Problem when migrate from WLI2.1 to WLI7

    I met this problem when migrating my program from WLI2.1 to WLI7.
    It report the following exception in WLI7:
    <2002-10-21 &#19979;&#21320;05&#26102;05&#20998;15&#31186;> <Error> <HTTP> <101019>
    <[ServletContext(id=5904188,name=dkh
    ,context-path=/dkh)] Servlet failed with IOException
    java.rmi.AccessException: Security Violation: User: 'admin' has insufficient permission
    to
    access EJB: type=<ejb>, application=WebLogic Integration, module=WLI-BPM Server,
    ejb=WLPI
    Principal, method=getRolesForUser, methodInterface=Remote, signature={java.lang.String,jav
    a.lang.String,boolean}.
    But it's fine in WLI2.1? Who can tell me why and how to solve it?
    Thanks

    ####<13 oct. 2004 17 h 05 CEST> <Info> <JMS> <ucwwe2> ><ucwls81> <WrapperSimpleAppMain> <<WLS Kernel>> <> <BEA->040114> <JMSServer "JMSServer", Finished scan of file >store "persistence" in directory "c:\bin\bea\jmsstore".                     >Found 2 025 records totalling 21 205 248 bytes.>
              >####<13 oct. 2004 17 h 05 CEST> <Info> <JMS> <ucwwe2> ><ucwls81> <WrapperSimpleAppMain> <<WLS Kernel>> <> <BEA->?040056> <JMSServer "JMSServer". Deleting 2025 messages(s) with no matching destination.>
              My JMS experience on WLS 8.1 ain't great, purley from these error messages it looks like the destination of these messages is the problem. Can you double check the destination exists and is configured correctly.
              Hoos
              www.orbism.com

  • 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

Maybe you are looking for

  • Where do YOU go for stock video?

    Hello, I have just been told that I am going to spend the first six months of 2011 making videos for unknown bands!  Woo-hoo!  Just started shooting groups on our green screen set last week-.which I have done very little of in the past.  I'm using th

  • BPM Synchronous file to file scenario

    Hi All, Could anyone please guide me for BPM Synchronous FILE2FILE steps. I am learning BPM. Design: I want the sender file to be put to receiver. and from receiver i need to fetch the same output file and give back to the sender after transforming b

  • Fehlermeldung beim Einfügen von PDF Dateien in Word 2013

    Hallo, wenn ich in Word 2013 ein PDF Dokument einbetten möchte bekomme ich folgende Fehlermeldung Ich komme leider allein nicht weiter.

  • Buttons Position Problem with IE

    Hi, I'm having a problem with my buttons position. I was testing my application with other display configurations like 800 x 600. When I resize the browser my region button seems to get lost with its original position, its placed on the right of the

  • Can't get on the directory

    I submited my podcast called "A Better Day" over a month ago, but it hasn't appeared on the directory. I put my feed thru http://feedvalidator.org and everything came back ok. Is there someone that can tell me why it hasn't gone into the directory ye