Working with EAR file & (Servlet/JSP) Clustering - Please Help

          Hi,
          In my project we pack our application using EAR file. We read BEA's article, which
          discussed the class loaders hierarchy and it looks like this problem should not occur:
          When the garbage collection is being invoked - it somehow fails to resolve the class
          weblogic.jndi.WLInitialContextFactory.
          We have encountered the following error (stack trace):
          Message: severity="ERROR" sessionId="9IUUN4xoQf1wOkfEN8m62SFjEpNC1e4lLHSzyc2s01GPk5Up25cJ!-1680906364!182460375!7559!7002!1728341859!182464192!7559!7002!1023972500766"
          date="Jun 13, 2002" time="3:49:05 PM" threadId="Finalizer"
          Description:
          Throw:     amdocs.jspInfra.exceptions.FailedToRemoveEjbException: [an error occurred
          while trying to remove an ejb.]
          null- caused by: amdocs.jspInfra.exceptions.InitialContextCreationFailureException:
          [an error occurred while trying to create a new initial context.]
          null- caused by: javax.naming.NoInitialContextException: Cannot instantiate class:
          weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException:
          weblogic/jndi/WLInitialContextFactory]
          amdocs.jspInfra.exceptions.InitialContextCreationFailureException: [an error occurred
          while trying to create a new initial context.]
          null- caused by: javax.naming.NoInitialContextException: Cannot instantiate class:
          weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException:
          weblogic/jndi/WLInitialContextFactory]
          javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory.
          Root exception is java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory
               at java.lang.Class.forName0(Native Method)
               at java.lang.Class.forName(Class.java:195)
               at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:45)
               at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
               at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
               at javax.naming.InitialContext.init(InitialContext.java:222)
               at javax.naming.InitialContext.<init>(InitialContext.java:198)
               at amdocs.jspInfra.userManagement.RequestContext._createContext(RequestContext.java:550)
               at amdocs.jspInfra.userManagement.RequestContext.createContext(RequestContext.java:391)
               at amdocs.jspInfra.userManagement.RequestContext.createContext(RequestContext.java:415)
               at amdocs.jspInfra.beans.GenericJspBean._removeConversation(GenericJspBean.java:466)
               at amdocs.jspInfra.beans.GenericJspBean._cleanUp_(GenericJspBean.java:413)
               at amdocs.jspInfra.beans.GenericJspBean.cleanUp_(GenericJspBean.java:117)
               at amdocs.jspInfra.beans.GenericJspBean.finalize(GenericJspBean.java:593)
               at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
               at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:86)
               at java.lang.ref.Finalizer.access$100(Finalizer.java:17)
               at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:163)
          

The context classloader needs to be set so that the thread can load the
          Weblogic context factory class inside the finalizer thread.
          Simply save the context classloader when running inside the ejb code and set
          that inside finalize method so that the class can get loaded correctly.
          1) keep a member variable
          ClassLoader myccl;
          2) Instantiate it in the regular application thread as
          myccl = Thread.currentThread().getContextClassLoader();
          3) In the finalize() method keep this as the first line.
          Thread.currentThread().setContextClassLoader(myccl);
          -Sabha
          "Yossi Cohen" <[email protected]> wrote in message
          news:[email protected]...
          >
          > Hi,
          >
          > In my project we pack our application using EAR file. We read BEA's
          article, which
          > discussed the class loaders hierarchy and it looks like this problem
          should not occur:
          > When the garbage collection is being invoked - it somehow fails to resolve
          the class
          > weblogic.jndi.WLInitialContextFactory.
          > We have encountered the following error (stack trace):
          >
          > Message: severity="ERROR"
          sessionId="9IUUN4xoQf1wOkfEN8m62SFjEpNC1e4lLHSzyc2s01GPk5Up25cJ!-1680906364!
          182460375!7559!7002!1728341859!182464192!7559!7002!1023972500766"
          > date="Jun 13, 2002" time="3:49:05 PM" threadId="Finalizer"
          > Description:
          > Throw: amdocs.jspInfra.exceptions.FailedToRemoveEjbException: [an error
          occurred
          > while trying to remove an ejb.]
          > null- caused by:
          amdocs.jspInfra.exceptions.InitialContextCreationFailureException:
          > [an error occurred while trying to create a new initial context.]
          > null- caused by: javax.naming.NoInitialContextException: Cannot
          instantiate class:
          > weblogic.jndi.WLInitialContextFactory [Root exception is
          java.lang.ClassNotFoundException:
          > weblogic/jndi/WLInitialContextFactory]
          > amdocs.jspInfra.exceptions.InitialContextCreationFailureException: [an
          error occurred
          > while trying to create a new initial context.]
          > null- caused by: javax.naming.NoInitialContextException: Cannot
          instantiate class:
          > weblogic.jndi.WLInitialContextFactory [Root exception is
          java.lang.ClassNotFoundException:
          > weblogic/jndi/WLInitialContextFactory]
          > javax.naming.NoInitialContextException: Cannot instantiate class:
          weblogic.jndi.WLInitialContextFactory.
          > Root exception is java.lang.ClassNotFoundException:
          weblogic/jndi/WLInitialContextFactory
          > at java.lang.Class.forName0(Native Method)
          > at java.lang.Class.forName(Class.java:195)
          > at
          com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:45)
          > at
          javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
          > at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
          > at javax.naming.InitialContext.init(InitialContext.java:222)
          > at javax.naming.InitialContext.<init>(InitialContext.java:198)
          > at
          amdocs.jspInfra.userManagement.RequestContext._createContext(RequestContext.
          java:550)
          > at
          amdocs.jspInfra.userManagement.RequestContext.createContext(RequestContext.j
          ava:391)
          > at
          amdocs.jspInfra.userManagement.RequestContext.createContext(RequestContext.j
          ava:415)
          > at
          amdocs.jspInfra.beans.GenericJspBean._removeConversation(GenericJspBean.java
          :466)
          > at amdocs.jspInfra.beans.GenericJspBean._cleanUp_(GenericJspBean.java:413)
          > at amdocs.jspInfra.beans.GenericJspBean.cleanUp_(GenericJspBean.java:117)
          > at amdocs.jspInfra.beans.GenericJspBean.finalize(GenericJspBean.java:593)
          > at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
          > at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:86)
          > at java.lang.ref.Finalizer.access$100(Finalizer.java:17)
          > at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:163)
          >
          

Similar Messages

  • How to embedd Fusion Charts with XML files in java? Please help me.......

    Hi....iam trying to display Fusion Charts. Iam using Hibernate to bring data from database.
    what i want to do is to put data on xml, once my xml gets dynamic data from database, then it will be clubbed with swf files(fusion charts) to show graphs such as line charts,etc.
    I know wat to do. But big Question is how to do ?
    am i right in my Logic ?

    Hi
    Your approach seems to be right.
    Get the data using hibernate into your struts action ( if you are using struts ).
    Set the xml and any other property as request attribute.
    Embed the chart in JSP, by including FusionChartsRenderer.jsp ( found in download package ) and passing xml ( got from request attribute ) and other values as parameters to it.
    Please check the FusionCharts forum for some discussions on Struts, JSP implementation. ( /forum - you could use the search feature available there )
    Please refer to the documentation of FusionCharts as well. ( /docs )
    Hope this helps!
    Srividya

  • Working with Video and Audio...Please help (i am not a coder!)

    Hey all. I am currently working on a project in Flash (CS3
    action 2.0)
    It is an animation and it includes a layer mask of a TV
    screen, which shows a precut quicktime movie on the screen.
    I am working with multiple scenes (11 to be exact) they are
    all my different cut points.
    The animation consists of 1st scene- VO (voice over) and BG
    SFX. When I hit Apple+Enter this part plays sync'd up correctly.
    However as the scenes progress on the sound gets out of whack.
    Scene 2 consists of the quicktime movie (Video and Audio)
    mask playing on the screen. All sound heard is a part of the .mov.
    For this one the timing is also good.
    Here is where it gets fluky. The next scene consists of a VO
    and BG SFX. (and only those things) However, at this point of the
    movie i hear the sound of the next .mov i have embedded in the file
    (from scene 3). This is all happening well before that scene even
    shows up in the preview.
    I hope i explained it as clearly as possible. Anyone have any
    ideas?! I would greatly appreciate it!
    btw- i have set the frame rate to 29fps to match that of the
    quicktime movies that are embedded.

    Hi Brian, I don't mean to nit-pick but this is an
    actionscript 3 forum, so you'd probably have better luck with the
    general forum for non-AS3 questions.
    There could be a couple of things that are causing a problem,
    its hard to say without actually having your project on hand.
    It almost sounds like your movie is taking longer to load, if
    thats the case you could simply start the audio a little later in
    the time line to sync it up.
    I know you don't want coding solutions but you can probably
    have flash "wait" for the movie to begin playing, and have that act
    as the starting point for the audio.

  • External hard drive with music files crashed...please help!!!!

    Is there a way for me to transfer the music files that are in my i tunes music library on to a new external hard drive or my pc hard drive(c drive).
    Lukily, I transfered all 13,000 songs to my itunes library from my lap top when i got my video ipod, now my external hard drive for my lap top died on me and I was hoping, I may be able to transfer the songs in my itunes library on to a new one. PLEASE PLEASE HELP!!!!!!!!!!!!!!!!!

    Have a look at these links one of them should help you out:
    Moving your iTunes Music Folder
    New PC & moving iTunes library
    iTunes: Copying music between authorised computers with iTunes for Windows
    How to use your iPod to move your music to a new computer

  • HT4757 I have a canon power shot G6 that no longer works with my iMac??? Please help

    Up until 2 months ago my Canon Power Shot G6 has always worked with my IMac.  However, my system no longer recognizes the camera upon connecting via usb. Why?
    What should I do?

    Oh my God thank you so much. I spent the last week trying to figure this **** thing out and that's all it took. Sometimes the most simple explanation is all that's required but last looked at. Thank you for pointing out the obvious. I kinda wish Linksys would've pointed that out to me when I exchanged a total of 25 e-mails with them. Oh well. Thank you again. I am so grateful.

  • Photoshop CS6 not working with new version of Yosemite. Please help!

    When I was running Mavericks on my Macbook pro 15" Intel i7,everything seemed to be working completely fine. Now when I try to run Photoshop CS6 on Yosemite, the program keeps on crashing and giving me an error. Please help!

    Sometimes the Yosemite upgrade breaks the install. You may have to uninstall and reinstall CS6, and do so as an administrator.
    Gene

  • Internet doesn't work with Killer Ethernet driver installed! PLEASE HELP!

    Hi guys,
    First of all I might as well start off by saying that I recently upgraded my system to a new build, and so bought some new parts. The motherboard I chose was a MSI z87 gd65 gaming and by gosh is it good to look at, my only problem is that when I install the driver of the disc is that the Killer Ethernet driver doesn't allow me to get internet access (but I am connected to my router).
    I have reset windows, reinstalled the driver, restarted my pc, made the bios default and it still persists not to work! I am not sure if it doesn't won't to work with windows 8 because I had to boot from the installation cd. I can't update to windows 8.1 either because I don't have the internet connect/access Nd I can't get another driver because of the same reason!
    Has anyone else come across this issue?

    Remove Killer driver and suite using >>Killer Cleaner<<. After reboot just install pure drivers: https://forum-en.msi.com/index.php?topic=174229.0

  • Leaopard 10.5.1 - can't work with the os x install cd - please help

    Hey guys...
    I have a Power Mac G5 Dual. I want to re-install my settings, specific files and so on... I don't want to delete everything and re-install. I want to keep my current user, with it's programs, folders and so on.. I know that you're to use the os x cd, and press special under the installation and choose something where you still can keep your user..... However I can't do that: every time I restart my Power Mac and it starts of from the Cd, I choose a language but when i press next, it says: cannot opdate to v10.5 on your computer..
    Why does it say that? I just want to keep my user, but not delete and re-installl everything!!
    Help please : )

    FreakOutBoy wrote:
    Hey guys...
    I have a Power Mac G5 Dual. I want to re-install my settings, specific files and so on... I don't want to delete everything and re-install. I want to keep my current user, with it's programs, folders and so on.. I know that you're to use the os x cd, and press special under the installation and choose something where you still can keep your user..... However I can't do that: every time I restart my Power Mac and it starts of from the Cd, I choose a language but when i press next, it says: cannot opdate to v10.5 on your computer..
    Why does it say that? I just want to keep my user, but not delete and re-installl everything!!
    Help please : )
    Welcome to the Apple forums:
    If you are trying to do a standard update to Leopard and you are already running Leopard, you have to choose the archive and install. The standard upgrade is only from Tiger or lower to Leopard.
    After the language screen, at the lower left, I believe, is an "Options" button. Click it and select archive and install.
    This should keep all your present settings, but I would caution you that you shuold NOT do anything unless you have a full backup of your present system.
    You did not specify why you want to reinstall Leopard. Maybe you do not need to do a complete reinstall if you would post your problems.
    Again, don't do anything unless you have a current backup either with TM or CarbonCopy.

  • Will this video card work with my new lenovo desktop? please help!

    None of my games work on my new Lenovo Desktop due to the integrated factory GMA3100 graphics adapter! Can anyone tell me if the Radeon will work? Thanks!
    Desktop-
    Lenovo 3000 H210   57088851
    vista. (about 3 months old)
    video card-
    Radeon 9800 Pro 256 meg.
    Intel® Pentium® 4, AMD® Athlon® or higher with AGP 8X (0.8v), 4X (1.5V) or Universal AGP 3.0 bus configuration (8X/4X)
    Message Edited by mike114 on 05-01-2009 07:49 AM
    Solved!
    Go to Solution.

    I'm not sure- but it would appear that I'd have to buy a new power supply as well, since the factory one I think is only 265??? Which seems pretty low for a system with an Intel Dual Core, DVD burner, 500 gig HD & 4gigs of memory! Seems most PCI express gaming cards need atleast 300 watts-

  • HT1553 Hi, I'm stuck at step 9. I don't see my external harddrive when I want to save the DMG backup file. Can you please help me with this? I'm desperate to make this backup! Big thanx in advance!

    Hi, I'm stuck at step 9. I don't see my external harddrive when I want to save the DMG backup file. Can you please help me with this? I'm desperate to make this backup! Big thanx in advance!
    http://support.apple.com/kb/HT1553

    Repair permissions and restart your computer.  If this does not work, zap the pram.  You should now see your external hard drive. 

  • Working with flat file as source in owb 10.2

    Hi,
    I am working with flat file as source . While validating the mapping i am getting the following error like
    " to specify a data file configure the mapping , add a node under ' Source data file', type in the file name
    and select the file location."
    Please give me the suggestion . It is very urgent.

    Hi Venkat,
    I tried the following stepts.
    1. in Design Center select your mapping and right click and select configure
    2. select sql loader data files and select create
    3. On right hand side data file Name : enter your source file name (ex : source.csv)
    4. click ok button.
    5. open mapping and validate.
    The mapping is validating. After validating I deployed the mapping. Up to this the mapping is working fine.
    But when I start the mapping, It has completed with errors.
    The error message is:
    Status
    Error Log
    RPE-01013: SQL Loader reported error condition, number 1.
    LRM-00112: multiple values not allowed for parameter 'control'
    Job Summary
    Updated : 2009-02-24 15:32:43.0 Job Final Status : Completed with errors Job Processed Count : 1 Job Error Count : 1 Job Warning Count : 0
    Please give me the suggestions.
    Thanks,
    Venkat

  • Work with office file (.docx, .xlsx)

    Hi!
    How can I open/create/save/change any word file? Can I use some library or must write myself?
    I known that docx file is archive with xml documents, but how I can change, for ex., some paragraph/text/etc.?
    Thanks!

    There are no native controls for working with docx files in Windows Store APIs. You may be able to find a third-party control that does this.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Has anyone not working with .dv files had synchronization problems?

    Has anyone not working with .dv files had sound synchronization problems? I'm not exactly sure what the alternatives to DV are, but I think one of them is HD.
    The reason for asking this question is to help isolate the nature and cause of a very serious flaw in iMovie '11. In the original release of iMovie '11 (version 9.0) there was a small--but serious--synchronization problem. In the 9.01 there is a large synchronization problem. We know of one person who has not experienced the problem, and he is not working with DV files (media). So we want to find out if anyone who is using something other than .dv files is experiencing a lack of synchronization between sound and picture. Knowing the answer to this will help with figuring out where the cause lies. For the initial iMovie '11 release (9.0), you probably would not notice a problem unless you had very long event-clips, e.g., two hours long. Events get this long if you are transferring from analog 8 mm tapes. Even then, it would have to be in scenes in which the connection between event and sound is obvious, e.g., close ups of people talking. It isn't until the 9.01 release that most people would notice anything. All we need to do is establish one case of a synchronization problem in which the person is using something other than DV.
    Message was edited by: Paul Bullen

    Hopefully, the 9.0.2 release will make my question moot. Zyfert must have posted the announcement of the release just as I was formulating my question. Still, if you have information on the subject, it would be interesting to hear.

  • Working with RAW files in PSE9:  Doable or better to use PSE12?

    I have PSE 9 and will soon get a camera with RAW capability.  I notice that Adobe no longer supports PSE 9.  Am I in for trouble if I don't upgrade to PSE 12 since I don't know how to work with RAW files?  It sounds as if I will need something to convert RAW files?  Where do I get it?  Is it a big deal for a beginner with no software skills?

    You can download a free DNG Converter from Adobe and then convert your RAWs to DNGs which can be used in PSE9.
    You don't need PSE12, but if you want to purchase PSE 12, you get the most current features in the Raw processor (which in my opinion is a huge improvement over what is available in PSE9), and you don't need the extra step of converting to DNG.

  • Very slow responce when working with Office file on DFS-Share

    Very slow responce when working with Office file on DFS-Share
    We have implemented the following configuration
    Domain level Windows 2000. Two member servers with Windows Server 2008 R2, sharing the same DFS namespace with, at the moment, one folder target called Home.
    Users complaining that the access to different MS Office files is very slow. Even creating a new MS Word document using right click context menu takes up to 4 minutes to open. Saving, for example, one singe Excel sheet takes also few minutes.
    Tested with both, MS Office 2007 and MS Office 2010. Makes no difference. When using Office 2010 you can see the message like contacting:
    \\DomainName\Root\Home\UserName. Other files like TXT, JPG or PDF are not affected.
     What makes the thing really weird is the fact, that the behavior described above can absolutely change after client machine being rebooted, suddenly everything becomes very fast and this condition can revert back again just after the next
    reboot.
    Considerations until now:
    1. This has nothing to do with the file size. Even tiny files are affected.
    2. AD Sites are configured correctly and the client workstations see themselves in the correct sites.
    3. This is not an Office issue. If I map my folder target not as DFS, but directly as shared network drive
    \\ServerName\Root\Home\UserName , everything functions as expected
    What makes me suspicious: when using f.e. TCPView to monitor connections, I can see, that each time I make any operation on an office file, there will be a connection established to one of the domain controllers, sometimes to remote ones,
    located in other countries. But on the other side, even if the connection is established to the nearest DC, operations are still very very slow!
    Just forget to say. All clients are Windows 7
    Thanks to all who respond.

    Dear all,
    sorry for the delayed reply. The problem has been solved now and since September 19<sup>th</sup>. everything is functioning as expected.
    What was done:
    Deleted replication targets excepting the initial ones
    Carefully recreated folder targets
    Deleted and recreated  replication groups
    Disabled SNP features on both namespace servers
    Created EnableTCPA registry entry
    Checked that the following Updates are installed
    http://support.microsoft.com/kb/2688074
    http://support.microsoft.com/kb/2647452
    Concering Office File validation KB2553065 - This Update was already declined on our WSUS server
    Kind Regards
    Eduard

Maybe you are looking for

  • Java function with Dynamic config throws null pointer exception

    hi Experts,    I am using dynamic config using java function in my message mapping.   The source message has a field called "fname".   The value of "fname" is the input to my java UDF.   The java UDF code is:    public String getDynamicFile(String fn

  • Update failed... Now I have grey screen with flashing icons. Please help!

    I was installing an update for Leopard and I wasn't connected to a power source. I thought it would be ok because I had a full battery. The screen was half closed over also so it may have switched off during update. Whatever happened, now my MacBook

  • SPNegoLoginModule and Fallback

    Hi I have a problem with configuring SPNego on EP6 SP16 The SPNego works fine if configured allone, as a single LoginModule in the stack. EvaluateTicketLoginModule       (Sufficient) SPNegoLoginModule               (Requisite) CreateTicketLoginModule

  • Define Cost Elements Range for Internal Activity Allocation

    Dear All, I have the following scenario, for SAP standard they have defined the Secondary Cost Elemenets 641000 - 641999 as the Internal Activity Allocation.  I would like to ask where in SPRO configuration can I change this range with my own custom

  • Pleas help me

    When I connect my iPhone to the PC to update Apps I get the message that the app is too big and I connect the iPhone to a PC or log on to WiFi. But I have done both and it is still the message. What can i do ?