JMS: how to make child class loader (classes) available to parent loader

Hi,
Environment: oc4j 10.1.3.1 on SunOS 5.10
Our application (set up in an instance other than "home") sets up a JMS receiver, everything works fine to the point where the receiver receives the message but the message deserialization fails with the below error. Looks like the deserializer (loaded by the parent classloader sytem.root) is not able to load the class from its child code-source (one of my application libraries in WEB-INF/lib) I have seen a lot of documentation on how libraries can be shared between applications, but I haven't come across any that is related to my problem here. I have even tried adding the library in question to bootclasspath that did not help either.
How to get around this problem.
Thanks in advance.
Caused by: java.io.InvalidClassException: toSerializable
at com.evermind.server.jms.JMSUtils.toSerializable(JMSUtils.java:1374)
at com.evermind.server.jms.JMSUtils.toSerializable(JMSUtils.java:1395)
at com.evermind.server.jms.EvermindObjectMessage.getObject(EvermindObjectMessage.java:114)
... 4 more
Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: com.deploy.atao.message.client.Message
Dependent class: com.evermind.io.ClassLoaderObjectInputStream
Loader: oc4j:10.1.3
Code-Source: /export/home/oracle10as/product/10.1.3.1/OracleAS_3/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in /export/home/oracle10as/product/10.1.3.1/OracleAS_3/j2ee/
home/oc4j.jar
This load was initiated at system.root:0.0.0 using the Class.forName() method.
The missing class is available from the following locations:
......( WEB-INF/lib/ directory in /export/home/oracle10as/product/10.1.3.1/OracleAS_3/j2ee/CI11TRY2/ap
plications/dev/ci/WEB-INF/lib)
This code-source is available in loader dev.web.ci:0.0.0. This is a child of the dependent loader system.root:0.0.0.
at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2078)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1679)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.evermind.server.ApplicationContextClassLoader.findClass(ApplicationContextClassLoader.java:23)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.evermind.io.ClassLoaderObjectInputStream.resolveClass(ClassLoaderObjectInputStream.java:33)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
at com.evermind.server.jms.JMSUtils.toSerializable(JMSUtils.java:1364)
... 6 more

Resolved by adding the application library in question to config/application.xml as <library path="<relative path to the library>"/> so the library has instance scope is accessible by the sytem.root loader.

Similar Messages

  • How to make separate/individual text frame from one parent frame in indesign with javascript

    Hi all,
    Please suugest - how to make separate/individual text frame from one parent frame in indesign with javascript.
    Thanks
    Rohit

    @Larry – ah, your interpretation could be the right one…
    May I rephrase the question:
    "How to split threaded text frames to single ones?"
    "SplitStory.jsx" or "BreakFrame.jsx" under Scripts/Samples indeed could be the answer.
    From the comments in the code of "BreakFrame.jsx":
    //Removes the selected text frame (or text frames) from the
    //story containing the text frame and removes the text contained
    //by the text frame from the story.
    //If you want to split *all* of the text fames in the story, use the
    //SplitStory.jsx script.
    Uwe

  • How to make copies of delivered class/function module.

    Hello All,
    Can anybody tell me how/where should I go, to make copies of delivered class "CL_HRMSS_RECRUITING_WF" and the function module "HRWPC_EREC_CREATE_EREC_OBJECT".
    Also if I am renaming with Z<my-class-name>, and using the method "CREATENBOBJECT" in my renamed class, will there be a problem with naming conflicts as "CL_HRMSS_RECRUITING_WF" already has the same method "CREATENBOBJECT".
    Kind Regards
    Srinivas.

    hi Srinivas,
    Can you tell me how I should create a package:
    <i>Ans:
    1-> GOTO transaction <b>SE80</b>
    2->Choose <b>Package</b> from the first drop down box
    3->enter a name starting with Z or Y, press ENTER
    4-> you will be prompted for confirmation to create a PACKAGE..Click YES..</i>
    Thats it.. package is created...
    <b>
    now go to attributes of each objects,  which you had created as local, and change the package name from $TMP to the name of the package that you have created...you will be prompted for Transport request..create a request by clicking on the create button...save...</b>
    Hope this helps,
    Sajan Joseph.

  • How to make BI 7.0 workbook available in analyzer

    Hello,
    I need your help on this: Basis transported my workbook including its role from 3.5 prod system to 7.0 prod system(due to our upgrade from 3.5 to 7.0).
    I am able to see my workbook in the transport connection in 7.0 but it is not in the analyzer at all.
    Please can you tell me how to make my workbook available in the analyzer?
    Thanks.
    Cesar

    Hi,
    Every month end I copy my workbook from the previous month to the new month. We just upgrade our system and when Basis copied 3.5 system to 7.0 i was working on period 3. In system 7.0 I can see my period 3 workbook. Now Basis transported my period 4 from 3.5 into 7.0 including its role. I canno see it even when I try to search it. I can see it in the transport connection but not analyzer. Any idea?

  • How to make a password gen class

    Hi all
    I need to write a java bean that can dynamically general password which contain alphabet and number and long within 8 characters, any one has any ideal how to do that
    Any advise will be greatest appreciate

    Hi jleech
    what is the different between SecureRandom class and Random class, should i use SecureRandom, my ideal is to genreate a completely reandom password, the code that show below which genreate 8 character between 0 to Z, and each character are in reandom, I thing that is quite secure, isn't it.
    public boolean genPassword()
       int rand;
       char c;
       try
        while(password.length() < 8)
         rand=48+(int)(Math.random()*122);
         if((rand>=48&&rand<=57)||(rand>=65&&rand<=90)||(rand>=97&&rand<=122))
          c=(char)rand;
          password+=c;
        } //end of while loop
        return true;
       catch (Exception e)
        System.out.println(e.getMessage());
        setPassword("");
        return false;
    }

  • How to make a specific tab the active one when loading a page.

    We need to be able to navigate between a set of pages all containing the same tabs. When going from one page to another, the active tab on the new page must be "the same" as the active tab on the previous page. In other words: there must be a mapping between one page's tab and another page's tab. To do this we need to tell the next page which tab to set as selected. Is there any way of doing this? Because we use a left-side that is tab-independant for navigation, we can not hard-code the tab-reference in the hyperlink. We have thought about using a page parameter saying which tab is active (by the use of a tab id), but it seems impossible to make a portlet change the value of a page parameter without doing so with an event. Because the content under each tab is passive, we can't send any events. Is there any other way of doing this?

    When I click on the x to close a window, all windows are closing.
    When I click on an active link to open a new window, nothing happens , only the already pen one gets replaced. It' s a pain in the butt, and there is no help or solution from FIREFOX, I studied all help resources. I will not attach screen shot to this mail, as that wouldn't help anything. My solution - I will work with SAFARI or SEAMONKEY instead and not use FIREFOX any longer.

  • How to make files stored in APEX available to non-APEX user?

    Our application generates a number of files that are stored within apex_application_files.
    Some of these are to be made available to a non-APEX application. We intended to do this through a granting access to a view to the non-APEX schema.
    In order to access apex_application_files you need to set-up workspace security, etc. This can be done (details are in this forum), but relies on querying apex_applications - this view filters the applications using 'USER'. Therefore, it will only return applications where the parsing schema matches the user making the query.
    So... how can we make some files available to the non-APEX schema?

    If making serious use of file storage in the database then the best approach would be to store the files in application tables rather than relying on apex_application_files. This gives you total control over security, storage, associated metadata and so on.

  • How to make Federated Portal Network Content available in a Consumer Portal

    Hello Experts,
    we have the following situation:
    We have two NW 7.0 Portals: 1 Main Portal on and 1 BI-Portal
    We would like to do a remote role assignment via the Federated Portal option in the Portal, so that we can make the BEX-Explorer role from the BI Portal available in our main Portal.
    I've already created a connection to the BI-Portal (Producer-Portal) in "Federated Portal" and have already registered the main portal as the Consumer in the BI Portal. I used SAP Help for that:
    http://help.sap.com/saphelp_nw04s/helpdata/en/67/7e70424edcc553e10000000a1550b0/frameset.htm
    Now I have the problem, that I can not find the remote role from the BI Portal in the Identity Management of our main Portal? Does anybody has a idea (or maybe a solution ) how to fix this problem? The SAP Help is not very helpful, it always deals with the same notes...
    Regards
    Andreas
    PS: Of course u can earn points!!!!

    Hi
    first of all i would check that the SSO is working between the two portals..
    Log into one of the portal.. Change the URL to the other portal. If you have to log in, then there is a problem with your SSO. Remember to have enough permission on both the portal.
    If that works, then log into the consumer portal and check what you find in the portal content of the producer portal.
    Let me know the result, and I will help you further..
    Best Regards
    Kristoffer Engh

  • How to make an untwisted camera profile available in LR 4.4?

    I have downloaded dcpTool from http://dcptool.sourceforge.net and generated the untwisted versions of all the Nikon D700 related camera profiles (Adobe Standard, Camera Standard, etc.) that come with LR 4.4. Since the structure of the camera profile filenames seem to be important, for each file I kept the original name but added a distinction to its end (e.g. Nikon D700 Camera Standard UT.dcp).
    According to the information I have collected, 'installation' of these profile versions would be as easy as copying them into the same directories where the original profiles are. Unfortunately LR 4.4 does not bring them up in the Camera Calibration module.
    How should I 'install' these profiles?

    Thanks again for your very useful advice. You gently explain why my idea is groundless. You are right, it is better to stay on ground.
    I changed to LR recently. So far I have used only the Adobe Standard profile, but I am not very pleased with it. A few days ago I started fiddling with other D700 profiles, without any convincing color rendering improvement. This is the reason for entering the camera profiling world.
    As my username reflects, I am a hobbyshooter. Most of my pictures are taken when travelling (landscapes and cityscapes) but I also shoot at family events and parties.
    You have made me even more curious about the ColorChacker based profiles. I hope they will solve my main problems: skin color, the vivid reds of Nikon, and the formerly mentioned hue twist. Nevertheless, I am afraid that finding the right color rendering balance for my typical environments (particularly for indors with totally mixed lighting) will not be easy...
    I am also thinking of reprocessing roughly two thousand pictures, taken years ago with D200 and D300. Do you have any suggestion how to get nice 'generic' profiles for the given camera+lens combos, which I do not have these days, so creating their profiles with ColorChecker is out of the question for me?

  • How to make more hard disc space available

    Working in iMovie, I ran out of hard disk space so I cleared Trash and moved everything that was not essential for the task in hand onto a memory stick, including most applications such as iWork. However, no matter what I removed or cleared I was unable to recover half the 55GB nominally available on the McIntosh HD. What will be tying up the 25+GB of the nominal 55GB available and can I free it up?

    actually most of the data is in the iMovie event, not the project. The project is small until you "Share" and then it contains a copy of the QT movie, that you can only see if you right click (control click) the project and "show package contents". you can toss those Qt movies (you can always make them again) if you want and they are there.
    If you are sure you will never want the unused parts of the clips (stored in iMovie events) again, go to "move event to trash" and you will be prompted to delete
    "delete unused" or delete entire clip. If you delete unused it will take a while to process, but will then trash every clip that you didnt use and any part of any clip you did use , keeping just that parts of the clips you used in your project. Then you will have to get them to the trash through the events browser window, then empty the trash. The other way is to choose "space saver" and that will toss (for all your events, not just the one you highlight) any clips not used, leaving the clips you do use alone, a safer way to free up space, but wont free up as much space.
    roger

  • How to know child procedure Execution time with in parent procedure

    Hi Team,
    I've a requirement in which I need to get the execution time of a child procedure while its running in a parent procedure in PLSQL. While the child process is running, I want to know its execution time so that if it execution time exceeds more than 5 seconds than I want to through an error. Please let me know by what means this can be achieved in plsql.
    Regards,
    Tech D.

    TechD wrote:
    Hi Team,
    I've a requirement in which I need to get the execution time of a child procedure while its running in a parent procedure in PLSQL. While the child process is running, I want to know its execution time so that if it execution time exceeds more than 5 seconds than I want to through an error. Please let me know by what means this can be achieved in plsql.
    Regards,
    Tech D.PL/SQL is NOT a Real Time programming language.
    The procedure that invokes the child procedure is effectively dormant while the child runs.
    Plus there is no easy way to know when 5 seconds has elapsed.

  • How to make the change code result available on development system

    Dear Friends,
    I have done the source code changes after check out code from the SLD.
    In our SLD, the NWDI is installed on Development system and configured other systems are Training, Quality and Production.
    I would like to view the result of changes on development system.
    How can I do that?
    Do I need to activate the code? or Check in the code?
    I do not want to check in the code unless it is confirmed.
    Please help me.
    Early reply appreciated.
    Thanks in advance.
    Lakshmikanthaiah

    Hi Pascal,
    Thanks for ur prompt update.
    Well, in my practice I gone ahead with on more step.
    I check-in the code and asked for activation.
    Meanwhile generated Activation Request Number displayed.
    But even after that there is no changes resulting while executing the page.
    Can you help me further on this.
    Thanks in advance.
    Thanks and regards,
    Lakshmikanthaiah

  • How to make Spotlight search always on available/mounted shares?

    Hi all, is there a way to configure spotlight on our Leopard Clients to always search our spotlight enabled shares on our leopard server?
    The only way we can do this until now is by manually selecting to search "Shares" in the finder. We would appreciate the quicker way via CMD+Space to find files also on our shares.
    By default, CMD+Space seems to search only on the client.

    I finally experienced the "Spotlight just stopped" issue after a year and a half of flawless use. Here is how I fixed it.
    Went to System Preferences, chose User Accounts, and created a new account. Then logged into the new account. Spotlight was working, logged off new account then back into the original account. Spotlight was now working again for it.
    My original intent was to just see if it was my user account that was having problems but it turned out to be the fix.
    Maybe it will work for you and others.
    iMac G5, MacBook Pro   Mac OS X (10.4)  

  • Spry MenuBar - IE6 - how to make that submenu is shown above the parent element

    Hi you all,
    I need the menubar to open the submenu above the parent element.
    Here´s what I did:I inserted a spry menubar and the only css-change I did was the one shown below in red "botom: 2em;"
    This works exactly as I need it to - in Safari, Firefox and Opera.
    In IE6 however, the submenu is shown far below the parent element. Is there a solution?
    Greetings from Germany
    Alex
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: 1020;
        cursor: default;
        width: 100px;
        position: absolute;
        left: -1000em;
        bottom: 2em;   

    thank you very much, Nancy!
    Greetings from Mannheim, Germany
    Alex
    Am 03.09.2010 um 23:45 schrieb Nancy O.:
    >> In IE6 however, the submenu is shown far below the parent element. 
    >> Is there a solution?
    Possibly.  It's hard to tell without seeing your page, though.
    >
    The position of Spry Menu Bar submenus is controlledby the margin 
    property on submenu ul tags.
    1. Locate the ul.MenuBarVertical ul or ul.MenuBarHorizontalul rule.
    2. Change the margin: -5% 0 0 95%; default values to the desired 
    values.
    >
    http://livedocs.adobe.com/en_US/Spry/SDG/help.html?content=WS895F3A6D-6D73-42ef-B568-3D04A BD2F171.html
    >
    Also, look through the CSS coments for IE hacks. Often these 
    workarounds for older browsers can be commented out or deleted.  
    Test before you delete anything permanently.
    >
    >
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    >

  • Unable to see Inspection lot stock tab in UD??? how to make it appear?

    Hello Friends
    Some how i am getting three unexpected observation
    1. Inspection lot stock tab in UD is not there.....how to make it appear so that i can do the quantity posting can be done.
    For your information this is against good receipt & QA32 quantity to be posted is showing the qty correctly.....which means stk is in quality
    2. In MMBE transaction i am not able to view batch & qty posting
    3  In MB51 i can see the document details but qty is showing in unrestricted....which means stk in unrestricted which contractdory to my first statement.
    Kindly let me know
    1. How to make Inspection lot stock table available in UD
    2 Any clue for 2 & 3 point if possible.
    Thanks & Regards
    Swanand

    Thanks for reply
    But the problem is not of stock going to quality or not.....anyway i checked it and it's correct.
    Problem is i am not getting Inspection lot stock tab in UD.......here this inspection lot is created due to good receipt (inspeciton type 01)
    My query is not yet answered
    Thanks & Regards
    Swanand

Maybe you are looking for

  • My apple tv is not listed on my devices anymore, how do I get it back?

    my apple tv is not listed on my devices anymore, how do I get it back?

  • How to send a file without getting Connection Refused??

    Hello everyone! I'm developing a FTP (Client and Server) program as a project and I have 2 main problems: 1. The program can't connect to computers with router (Connection Refused error) 2. If a computer with router connects to me, the program will n

  • Unable to compile form module in 6i

    Hi, I had created a form using forms 6.0 and oracle 8.0 database. now when i am trying to compile the same form using 9i DB and tring to compile. While tryin to compile a form module forms builder gives an error message ora-00600 [17003],[63034260],[

  • Why has my usb ports stopped finding my iphone

    First started with one port now all ports don't work for updating itunes *** I'm starting to hate apple products.

  • Layout for JPopupMenu

    Hi All, I've set JPopupmenu's layout as null, then set bounds for the components which are added to the popupmenu.Does not appeae properly?Will it work by seting Gridbaglayout for it? Thing is that first component is supposed to atke only 20% of the