Need help ASAP : Exception with EJB 3.0 while session.xml

Hi,
Kindly help on below exception, which i am getting the exception while changing the mine EJB 2.1 to 3.0.
Exception raised while loading the session.xml, which is reffering to map file which is used by Toplink.
**Mine EJB:**
public class CaseSessionEJBBean implements CaseSessionEJB {
String inBean="[CaseSessionEJBBean] ";
private SessionFactory sessionFactory;
public CaseSessionEJBBean() {
this.sessionFactory =new SessionFactory("META-INF/sessions.xml", "moj");
*private SessionFactory getSessionFactory() {*
return this.sessionFactory;
*}* public PagedResultList<CasedetailsDTO> searchPayment(SearchCriteriaDTO searchCriteriaDTO,Integer startIndex,Integer endIndex) throws MOJException{
String inMethod="[searchPayment] ";
PagedResultList pagedCaseDetailsDTOList=null;
try{
System.out.println("[CaseSessionEJBBean] !!!! ENTERED !!!!!");
Session session = getSessionFactory().acquireSession();
CaseFacade caseFacade = new CaseFacade();
pagedCaseDetailsDTOList=caseFacade.searchPayment(session, searchCriteriaDTO,startIndex,endIndex);
System.out.println("pagedCaseDetailsDTOList.size()="+pagedCaseDetailsDTOList.size());
}catch(Exception e){
e.printStackTrace();
System.out.println("[Exception] While getting payment details:"+e);
throw new MOJException("1001", e.getMessage(),
"Exception occured",
"Exception in searchPayment()",
"searchPayment", "CaseSessionEJBBean",
"searchPayment", e);
return pagedCaseDetailsDTOList;
Exception:
Exception Description: Several [1] SessionLoaderExceptions were thrown:
Exception [TOPLINK-9005] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070608)): oracle.toplink.exceptions.SessionLoaderException
Exception Description: *An exception was thrown while loading the <project-xml> file [META-INF/MOJMap.xml].*
Internal Exception: oracle.classloader.util.AnnotatedLinkageError: duplicate class definition: oracle/toplink/indirection/IndirectList
Invalid class: oracle.toplink.indirection.IndirectList
Loader: current-workspace-app.root:0.0.0
Code-Source: /D:/MOJ_SVN/Lib/toplink.jar
Configuration: <library> in /D:/Temp/MOJ_EJB_3.0/CMS-oc4j-app.xml
Dependent class: oracle.toplink.internal.helper.ConversionManager
Loader: oracle.toplink:10.1.3
Code-Source: /D:/jdevstudio/toplink/jlib/toplink.jar
Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\jdevstudio\j2ee\home\oc4j.jar
The original class instance was also defined in oracle.toplink:10.1.3.
Thanks in Advance:
Need in urgent
Edited by: user636100 on Feb 6, 2009 7:44 AM

You have two copies of toplink.jar visible to the application classloader - D:/MOJ_SVN/Lib/toplink.jar should be removed.
For compilation of the application use toplink.jar provided by the server: D:/jdevstudio/toplink/jlib/toplink.jar

Similar Messages

  • Error when extracting data with extractor 2lis_04_matnr - NEED HELP ASAP !!

    Hi experts!
    Got an error when extracting data with extractor 2lis_04_matnr.
    System says (short dump):
    DUMP TEXT START----
    Runtime error:    CONNE_IMPORT_WRONG_COMP_TYPE
    Exception:   CX_SY_IMPORT_MISMATCH_ERROR
    Error when attempting to import object "MC04P_0MAT_TAB".
    The current ABAP program "SAPLMCEX" had to be terminated because one of the statements could not be executed. This is probably due to an error in the ABAP program. When attempting to import data, it was discovered that the data type of the stored data was not the same as that specified in the program.
    An exception occurred. This exception is dealt with in more detail below. The exception, which is assigned to the class 'CX_SY_IMPORT_MISMATCH_ERROR', was neither caught nor passed along using a RAISING clause, in the procedure  "MCEX_BW_LO_API" "(FUNCTION)".                                                                             
    Since the caller of the procedure could not have expected this exception      
    to occur, the running program was terminated.                                
    The reason for the exception is:  When importing the object "MC04P_0MAT_TAB", the component no. 5 in the dataset has a different type from the corresponding component of the target object in the program "SAPLMCEX". <b>The data type is "D" in the dataset, but "C" in the program.</b>
    DUMP TEXT END----
    Please, can someone explain me how to solve it? 
    Really need help ASAP!
    Thanks in advance,
    Jaume
    Message was edited by:
            Jaume Saumell
    Message was edited by:
            Jaume Saumell

    Hi,
    Check this note: 328181
    So you need to delete entries in SM13/LBWQ for application and also detup table content.
    And then refill teh set up table.
    If you are in production clear the entries by running collective run no of times for this application 04.
    With rgds,
    Anil Kumar Sharma .P

  • How do you overlap PDF's and finish with one PDF file? Need help ASAP

    how do you overlap PDF's and finish with one PDF file?
    Need help ASAP

    I'm not sure if you can do that with CreatePDF.  Try it; you got one free use when you sign up with Acrobat.com
    If not, you will have to use Adobe Acrobat; there is a full-use 30 days trial.

  • User with a paid CC acct, getting "Print.ai" is an unknown format' when trying to open new file. Computer was recently attacked by ransomeware and wonder if I need to re-install Creative cloud software....need help asap!!

    User with a paid CC acct, getting "Print.ai" is an unknown format' when trying to open new file. Computer was recently attacked by ransomeware and wonder if I need to re-install Creative cloud software....need help asap!!

    First, ask in the forum for the program you are using
    This forum is about the Cloud as a delivery process, not about using individual programs
    If you start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll
    Second, do a complete scan with a good anti-virus program to be sure your computer is clean... I use Norton, there are others

  • Stuttering flv playback issue- need help asap

    We need help asap. Have a project is due to deliver today (5/14).
    We have a video to go on a dvd-rom, live action with Motion Graphics behind.
    When output is done thru Projector the Motion Graphics stutter as they scroll.
    Here is more technical info:
    Stuttering flv playback issue:
    Prores 422 timeline 29.97fps 1280x720 output from fcp using current settings.
    Mov file is approx 7gb, plays relatively smooth on a mac pro with no raid.
    Frame by frame analysis shows all frames are present with no jumps tears or skips.
    Tried several output paths, programs and settings to create a smooth flv file to no avail.
    We adjusted data rates from 2k, 3.5k, 4k and 8k, no luck
    We adjusted keyframe rates from low to all frames, no luck.
    We tried cs3 flash encoder, cs5 media encoder, squeeze ect, same results.
    Playback in the flash projector seems to choke slightly no matter what we do.
    Have also posted in the Director Forum.
    Any help much appreciated!

    Here are a few ideas off the top of my head:
    Try playing the file using a different xtra, sometimes different ones will work better.  If you have Director 11.5, there is a native flv playback xtra.
    You can build a player easily in Flash using the flvPlayback component, then bring that into Director as a swf.
    Once you have the video in Director, try making the member Direct To Stage (DTS).  If it is already DTS, try making it not DTS.
    Make sure the video is not transparent, and nothing in Director overlaps the video... in fact, when the video is playing, nothing should be moving at all, and try to keep the amount of code that is running to a minimum.
    Try lowering your video's data rate further or try using a different codec.
    Using VBR (Variable Bit Rate) compression often makes the video appear to play smoother.
    Try compressing the flv with different software.  FFMpeg, for example, is free and does a very good job, often better than the Flash Video Encoder that comes with Flash/Creative Suite.

  • I restored my iphone and updated it but the progress didn't complete and now my iphone is not working. i need help asap.

    my phone was not working only the restore button was available so i restored it and they told me i have to update my iphone 5s as well. i waited till the end the update software was downloaded successfully but then the iphone restarted by itself and now its not working. the iphone screen is shown the picture when you first time open the phone to connect it to an itunes. i connected it by it not working, i restart everything still not working:( i need help asap please. thankyou

    it seems like apple's activation servers have gone down under the weight of the overwhelming amount of activation requests. you will be able to activate your phone once the servers are able to catch up with the activation requests.

  • Objects outside of workspace show in SWF... Need help ASAP!

    When I export a flash movie (.swf file)And play it on full screen, the objects that are outside of the workspace show. Can anyone tell me how to fish this problem? need help ASAP! Thanks :]

    If what follows isn't sufficient for you to figure out, you'll have to spend some time learning how to work with Flash.  While you'll often get help solving problems in these forums, it's less likely you will get tutoring services.  Google is a very good resource for tutorials.
    To create a mask you draw a shape to the size you want and place it on a layer above all the content you want to mask.  A mask is actually not well named because masks normally hide things, while in the graphics world, masks define the are where things are shown... so when you apply a mask to something, only what is under the mask shows.  To finalize, you right click on the label area of the mask's layer and select Mask from the menu that appears.  You may have to drag lower layers up towards the mask layer to get them included, whicxh is why I mentioned creating the rest of the content as a movieclip (a single layer object).
    To control the visibility of objects you set their visibility to true or false (AS2: mcName._visible = true (or false),  AS3:mcName.visible = true (or false)).
    To create a frame around the stage, add a new layer atop everything and draw a rectangle big enough to hide all the content you don't want showing that is off the stage.  Then draw a rectangle that is the same size as the stage on top of that first rectangle, placing it over the stage, and then deselect anything that is selected.  Then reselect the smaller rectangle you just drew and delete it.  The larger rectangle is now framing your stage.

  • I'm trying to reinstall Logic Pro 9, and it says It's already installed. I have a project due for class and I need help asap. Please help!!!

    I'm trying to reinstall Logic Pro 9, and it says It's already installed. I have a project due for class and I need help asap. Please help!!!

    Yea I am. I deleted Logic Pro 9 and moved the App to the Trashcan like normal. Then when I go to install it, it says its already Installed. When I do this with other apps; it works fine, the install thing comes back up like it should once you have deleted the app

  • My Curve 9300 lost service need help ASAP

    I lost all serivce on my blackberry curve 9300 and the only way I get service is if I go outside my house. Sometimes I get service in my house but it's for 5 seconds and then I get "searching for network" then it goes to "SOS" I need help ASAP.

    yankeegirl32491 wrote:
    My carrier won't do anything about it because I'm not an authorized user of the account which is stupid. I wasn't having a problem with service for about a year and yesterday my service just cuts out for no apparent reason.
    Hello...well, that's a bit disconcerting...aiding and abetting what could be an unethical use of service...but I'm hopeful that there are further details that mitigate that suspicion. In any event, review this KB for perhaps helpful information:
    KB03448 Network status indicator shows "SOS" on the BlackBerry smartphone
    It is possible that they have a tower out, and you now are receiving service from a more distant tower, which does not have adequate signal strength to work through the walls of your house. But, sadly, there is no way for you to actually find out if such is the case or not.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I'm restoring my iPhone right now, need help ASAP

    So I've had a corrupt file that's been taking up 7GB in my 'other' stuff on my iPhone 5 so I'm finally restoring it right now, but I'm guessing the backup data with have saved whatever that corrupt file is in it.
    So 3 questions: • If I don't want to backup now but for some reason decide I want to in a say a day or so what would I do?
                             • Can I restore my phone from my iCloud backup, if so how?
                             • After restoring my iPhone will it create new backup data that will wipe over the already existing data with the corrupt file in it or what?
    Thanks for any help/advice, I'm in the middle of doing this so need help asap if anyone can help.

    1. make a backup any time you want.
    2. Yes, if you have a iCloud backup
    Settings > General > Reset > Erase All Content and Settings
    3.Yes on computer it will replace the old backup. (I suggest you manually delete the backup first)
    iTunes > Preferences... > Devices > select backup and click the Delete button.

  • Premiere Pro CS6 keeps crashing when exporting h.264 (NEED HELP ASAP!)

    Alright, so I have a video that I've probably rendered around 30 times now and it ALWAYS ends up either freezing up, and then Premiere stops working, or it just stops working.
    I have a YouTube channel and I'm going away for 2 days tomorrow and I really need to get my videos up online, but I just can't render them! Does anyone know how to fix this? I really need help ASAP!
    Here are my export settings.
    http://imgur.com/ZgAuI4a,OMz4FEd,B8gjHws

    While there are "some" Adobe employees who read/post here, this is primarily a user to user forum... NOT Adobe support
    You are simply going to have to wait for someone to read your message, and look at your settings, and reply... IF that person has an idea (20 minutes is really not much time)
    While you wait for someone to reply with ideas, some reading about your freezing problem... and questions to help people help you
    1st, what are you editing?
    Codec & Format information, with 2 links inside to read http://forums.adobe.com/thread/1270588
    Report back with the codec details of your file, use the programs below... A screen shot works well to SHOW people what you are doing
    http://forums.adobe.com/thread/592070?tstart=30 for screen shot instructions
    Free programs to get file information for PC/Mac http://mediaarea.net/en/MediaInfo/Download
    2nd, you need to give LOTS more information about your computer
    -PPro Information FAQ http://forums.adobe.com/message/4200840
    3rd, What is your exact brand/model graphics adapter (ATI or nVidia or ???)
    What is your exact graphics adapter driver version?
    Have you gone to the vendor web site to check for a newer driver?
    For Windows, do NOT rely on Windows Update to have current driver information
    -you need to go direct to the vendor web site and check updates for yourself
    ATI Driver Autodetect http://support.amd.com/en-us/download/auto-detect-tool
    nVidia Driver Downloads http://www.nvidia.com/Download/index.aspx?lang=en-us
    4th, do you have Dual video adapters?
    Go to the Windows Control Panel and select Hardware and Sound and then select Device Manager... In Device manager you click the + sign to the left of Display Adapters... and see if 2 are listed
    -http://helpx.adobe.com/premiere-pro/kb/error---preludevideo-play-modules.html
    -http://forums.adobe.com/thread/1001579
    -Use BIOS http://forums.adobe.com/thread/1019004?tstart=0
    -link to why http://forums.adobe.com/message/4685328
    -http://www.anandtech.com/show/4839/mobile-gpu-faceoff-amd-dynamic-switchable-graphics-vs-n vidia-optimus-technology/2

  • IPad deactivated. Need help asap!!!

    My daughter deactivated my husband's iPad. The screen says that it's deactivated and that I need to connect it to iTunes. The problem is, that it's connected and a little box appears saying "To allow access, please respond on your iPad...". How am I going to respond if its not working?! Need help asap!!!!

    Is that the computer that it's normally synced to ? With iOS 7 you need to need 'trust' computer that it's connected to, if the iPad is disabled you won't be able to trust it, you will need to put the iPad into recovery mode in order to be able to reset the iPad - there are instructions towards the bottom of this page : http://support.apple.com/kb/HT1212 . You can then restore/resync the content to it.

  • Need help ASAP...iPhone activation problems

    Today i bought two verizon iPhones from the apple store. I activated one just fine but I'm having problems with the other one. I used the upgrade for one of my lines on the account to purchase the other phone. I actually bought this for a friend who will use the iPhone on her own personal account. When I went to the apple store they "activated" the phone but didn't hook it up to the computer for iTunes or anything. Are there any steps I need to take before I give the phone to her so she can have a smooth transition in activating the phone because she lives in another state than I do? Do I have to hook the phone up to iTunes and activate it on my line or no? then switch back to old phone? Phone has never been hooked up to the computer. Need help ASAP please.

    What kind of problems?

  • Need Help ASAP!!! So FRUSTRATING!!! text message problems!!!

    I have 2 problems right now with my BB Torch 9810. I need help ASAP.
    1. It only saves 20 text messages. Messages that I received from august 2012. But it seems other messages are not stored. I don't delete messages, so I don't know where my other messages go. And sometimes if you create a new text, text history will show. But not anymore. This have been going on for a long time. 
    2. When I receive text message from some of my contacts, it will show the first few words of the text. But when you click on it, the message is empty. funny thing is, not all of my contacts are like this. 

    Hey iragarcia,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    I would suggest performing the following to resolve the issue: 
    1. Create a backup of all your data by using BlackBerry Desktop Software.  In BlackBerry Desktop Software go to Device>Backup and save the file onto your PC or Mac.
    2. On the BlackBerry Torch 9810 smartphone go to Options>Security>Security Wipe and put a checkmark beside 3rd party applications as well.  Type in the word BlackBerry and press wipe data.
    Please Note: You can re-install your applications through BlackBerry World.
    3. Once completed test sending and receiving some SMS messages prior to restoring any data.  If the issue is resolved, then go into BlackBerry Desktop Software and go to Device>Restore and choose custom and only choose contacts.
    Let me know if you have any more questions.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Need Help ASAP  my State tax form is in a PDF file and the attachment in my email says Please wait

    Need Help ASAP  my State tax form is in a PDF file and the attachment in my email says Please wait...
    I tried downloading updates like it said to but it still will not display the document.  How do I print the PDF file ASAP

    Can you give us a LOT more info?
    What email client? What version of Reader (I can only assume you even have Reader at this point)?
    Please wait? I'm sure it says more than that, right?
    Have you tried simply saving the PDF (it IS a PDF correct?) to your desktop and opening it from there?
    Did you get this form from the IRS or did it come from somewhere else? If the IRS again, what version of Reader?
    Help us help you.

Maybe you are looking for

  • Computer speakers hooked up to a tv?

    I havea sony bravia kdl 40ex400 and i am thinking about getting the logitech z323 computer speakers and i was wondering if i can hook them up to my sony? if so what do i need to be able to do that?

  • Terminator missing in materialized view diff script

    Is this a known issue?  I'm on Version 4.1.0.18: When a difference in a materialized view is found,  the generated script does not include a semicolon between the CREATE MATERIALIZED VIEW and the COMMENT ON statements.  Is has to be manually added to

  • Syncing checked podcasts

    I've read about a solution for syncing only checked podcasts and manually managing music in iTunes 7 (this was easily accomplished in iTunes 6). However, the first step makes me nervous -- it is to uncheck the "manually manage music" box in the iPod

  • Migration to NetBeans Visual WebPack doesnt really work

    Hi Guys, i was following migration tutorial to NetBeans Visual Web Pack from http://www.netbeans.org/kb/55/vwp-migration.html but apparenlly some of pages didnt work in the runtime and i realized some of jar files have different size example : betwee

  • Forms end-user guide

    Hi, Does anyone know if there is an end-user guide for webforms anywhere? I am looking for something that describes how the user-interface works and also features such as how an end-user can do a query-by-example. Thanks, Pierre.