ClassNotFound exception, when load own Customizer

I have own BooleanCustomizer that implements DescriptorCustomizer, it's packed in the same jar as entity classes. It's registered in persistence.xml:
<property
     name="toplink.descriptor.customizer.MyEntityClass"
     value="jpa.util.BooleanCustomizer"/>
Customizer works fine out of container - JUnit tests from Eclipse and Swing app. But in JSF app running on Tomcat, I get exception:
oracle.toplink.essentials.exceptions.EntityManagerSetupException Exception Description: ClassNotFound: [jpa.util.BooleanCustomizer]
It looks similar as:
class not found exception - where to put custom session customizer?
Any solution ?

Which version are you using? A change was made recently to TopLink essentials to correct a classloader issue on session customizers.
Cheers,
Guy

Similar Messages

  • ClassNotFound error when loading applet from a NTLM authenticated  site

    Hi,
    I wrote a Java applet and put it into a JAR file and signed the JAR file. It works fine if the user doesn't need to be authenticated. However, when I place the same JAR to a site that uses NTLM (NT challenging) authentication. The applet failed to load and returns ClassNotFound exception. Does anyone know why?
    The following is the complete error message:
    java.io.IOException: Server returned HTTP response code: 401 for URL: http://unibox.MySite.com/fileupload/FileUpload.jar
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:697)
         at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:369)
         at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(HttpURLConnection.java:1139)
         at sun.plugin.net.protocol.http.HttpURLConnection.checkCookieHeader(HttpURLConnection.java:330)
         at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:367)
         at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:39)
         at sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:311)
         at sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:131)
         at sun.plugin.cache.JarCache.get(JarCache.java:177)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:71)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:56)
         at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:498)
         at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:459)
         at sun.misc.URLClassPath$2.run(URLClassPath.java:255)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(URLClassPath.java:244)
         at sun.misc.URLClassPath.getLoader(URLClassPath.java:221)
         at sun.misc.URLClassPath.getResource(URLClassPath.java:134)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:132)
         at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:189)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:473)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1621)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)
         at sun.applet.AppletPanel.run(AppletPanel.java:290)
         at java.lang.Thread.run(Thread.java:536)
    load: class FileUpload.class not found.
    java.lang.ClassNotFoundException: FileUpload.class
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:151)
         at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:189)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:478)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1621)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)
         at sun.applet.AppletPanel.run(AppletPanel.java:290)
         at java.lang.Thread.run(Thread.java:536)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:224)
         at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:40)
         at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:141)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:138)
         ... 10 more

    It appears that the latest jvm plugins use java to get the archive files instead of using the browser to download the archive files.
    In addition sun does not support NTLM authentication, because of this the latest jvms are unable to download the jar file containing the applet.
    I have been working on finding a way to replace suns http Handler, but have had no luck with setting the java.protocol.handler.pkgs for the plugin and having it retain the setting.
    I have achieved partial results using the appletviewer with -J-Djava.protocol.handler=com.nogoop
    you might try taking a look at http://www.nogoop.com

  • ClassNotFound Exception when try to list cardservice

    I was trying to list the applications in the card with the codes in OCF1.2 programmer's guide, but got a ClassNotFound Exception. Here is my code:
         AppletAccessCardService aacs = null;
                   aacs = (AppletAccessCardService)sc.getCardService(AppletAccessCardService.class, true);
                   if(aacs != null){
                        AppletInfo[] ai = aacs.list();
                        for(int i=0; i<ai.length; i++)
                             System.out.println(ai.toString());
    The output message:
    java.lang.ClassNotFoundException: CardService implementing interface opencard.opt.applet.mgmt.AppletAccessCardService
    at opencard.core.service.CardServiceRegistry.getCardServiceInstance(CardServiceRegistry.java:269)
    at opencard.core.service.SmartCard.getCardService(SmartCard.java:331)
    at GetCID.main(GetCID.java:27)
    But cardman list shows there are applets in the card:
    Application: PERSONALIZED (--------) 080000000A0001
    Load File : LOADED (--------) A0000000620001 (java.lang)
    Load File : LOADED (--------) A0000000620101 (javacard.framework)
    Load File : LOADED (--------) A0000000620102 (javacard.framework)
    Load File : LOADED (--------) A0000000620201 (javacardx.crypto)
    Load File : LOADED (--------) A0000000030000 (visa.openplatform)
    Load File : LOADED (--------) A000000167413001
    Load File : LOADED (--------) A0000001320001
    Load File : LOADED (--------) A0000000035350
    Load File : LOADED (--------) A000000063 (PKCS15)
    Load File : LOADED (--------) 080000000A00
    Why did I get this Exception? Is it because that no applet in the card implements the AppletAccessService interface? Thanks in advance.

    The problem is located in your opencard.properties file:
    You have to include opencard.opt.emv.mgmt.EMVCardServiceFactory to your list of OpenCard.services.
    My complete opencard.properties is as follows:
    # Card service configuration  #
    OpenCard.services = \
        com.ibm.opencard.factory.MFCCardServiceFactory \
        opencard.opt.util.PassThruCardServiceFactory \
         opencard.opt.emv.mgmt.EMVCardServiceFactory
    # Card terminal configuration #
    OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
    # Trace configuration         #
    OpenCard.trace = opencard:5

  • Security Exception when loading image from other host

    Hi,
    I have a signed webstart application, with 'all-permissions' set, which displays HTML in an JEditorPane.
    The displayed HTML code contains an image tag which wants to load the image from another host. This results in a security exception.
    I thought 'all-permissions' allows everything. Is there a workaround?
    TIA
    Chris

    signing your app and specifying <all-permissions> in the security tag of the jnlp file will grant all permissions to all code loaded by the JNLPClassLoader.
    In some cases your app or an extension it includes contains it's own classloader which dosnt extend SecureClassLoader, and so code loaded by that classloader will not be run with all-permissions when a SecurityManager is installed by Java Web Start. If this is the case you can get around this by calling:
    Systerm.setSecurityManager(null).
    To see what the specific cause in this case, you would have to post the exception thrown.
    /Andy

  • Exception when loading an image in ImageIcon component

    Hello,
    I want to load an image whose name or path contains special character such as accents (a french name). So that generates an exception. For exemple for an image named caf�.jpeg I obtain this message :
    java.io.FileNotFoundException: /media/disk/images/caf��.jpeg (No such file or directory)
    Can you please help me.
    Thanks in advance.

    Can you store multiple images in memory and be able
    to reference them all individually, or is it better
    to store them in a construct, such as an array and
    then loop through that when attempting to match?I'm sorry but I don't understand the question. And does it
    have anything to do with images per se? Can it be generalized
    without losing its meaning:
    Can you store multiple objects in memory and be able
    to reference them all individually, or is it better
    to store them in a construct, such as an array and
    then loop through that when attempting to match?It seems to me that multiple objects should be stored in
    an appropriate collection, if that is what is required.
    Perhaps you need to say more about what you are trying to
    do, what your goal is, to make your question meaningful.

  • X11 exception when loading graphics

    Hello, Oracle community. It's my first post.
    I installed Weblogic, SOA and BAM in development mode on Linux. I'm accessing it from Windows.
    I managed to establish a DB connection, extract data, but there is one thing missing: the graphics.
    Any time i try to create a report in Active Studio with a graphic component i get the following exception:
    NOCLASSDEFFOUNDERROR_REPORTSERVER_THREEDBARCHART_INITIALIZE
    Details...
    Exception Message Could not initialize class sun.awt.X11GraphicsEnvironment
    When i try to load a sample report containing graphics it doesn't work either, the textual data loads, but the graphic views hang.
    I understand my problem has nothing to do with me having an Xcygwin server or alike, as the web interface must be cross-plattform.
    I found no solutions in the internet, so i write to you.
    Thank you beforehand for any clues on solving this.
    Andres.

    Hi,
    I'm having exactly the same problem... but cannot solve it, can you detail a bit more?
    Thanks
    (falas português?)

  • SQL Developer EA 3.1 -Java Null pointer exception when loading model viewer

    a) I have a simple 3 node flow -- 1) DataSource selects CLOB and VARCHAR column; 2) BuildText node transforms CLOB into NESTED COLUMN; 3) ClustBuild node build K-Means cluster
    b) The "run" step succeeds for all three nodes, however when I try to launch the viewer for the cluster model, it fails with the stack trace below after 5 mins or so. I have a custom stoplist for the BuildText node that extends the "English" stoplist. If I replace the custom stoplist with the "default" (the English stoplist I believe), then the viewer loads without the exception.
    NB) Database version is 11.2.0.1.0, Sql Dev build is 3.1.06 Build MAIN-06-44
    java.lang.NullPointerException
         at oracle.dmt.dataminer.mviewer.clustering.tree.model.ClusterTreeSDMModel.load(ClusterTreeSDMModel.java:57)
         at oracle.dmt.dataminer.mviewer.clustering.tree.ClusteringTreeEditor.load(ClusteringTreeEditor.java:412)
         at oracle.dmt.dataminer.mviewer.clustering.tree.ClusteringTreeEditor.open(ClusteringTreeEditor.java:251)
         at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:283)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:184)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:95)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:232)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:195)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:102)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:379)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1403)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1337)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1263)
         at oracle.ide.editor.EditorUtil.openDefaultEditorInFrame(EditorUtil.java:164)
         at oracle.dmt.dataminer.workflow.WorkflowContextMenu$2.actionPerformed(WorkflowContextMenu.java:746)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
         at java.awt.Component.processMouseEvent(Component.java:6504)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
         at java.awt.Component.processEvent(Component.java:6269)
         at java.awt.Container.processEvent(Container.java:2229)
         at java.awt.Component.dispatchEventImpl(Component.java:4860)
         at java.awt.Container.dispatchEventImpl(Container.java:2287)
         at java.awt.Component.dispatchEvent(Component.java:4686)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
         at java.awt.Container.dispatchEventImpl(Container.java:2273)
         at java.awt.Window.dispatchEventImpl(Window.java:2713)
         at java.awt.Component.dispatchEvent(Component.java:4686)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
         at java.awt.EventQueue.access$000(EventQueue.java:101)
         at java.awt.EventQueue$3.run(EventQueue.java:666)
         at java.awt.EventQueue$3.run(EventQueue.java:664)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
         at java.awt.EventQueue$4.run(EventQueue.java:680)
         at java.awt.EventQueue$4.run(EventQueue.java:678)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
    Edited by: user809775 on Dec 19, 2011 11:31 AM

    Hi,
    We have been working on some performance issues tied to viewing large cluster models.
    Maybe... this is tied to that.
    1) Can you run the following query in sql worksheet to see how many distinct attributes are in the root cluster node. Just replace the 'CLUS_KM_1_16' value with your model name.
    SELECT count(distinct(h.attribute_name || h.attribute_subname))
    FROM TABLE(DBMS_DATA_MINING.GET_MODEL_DETAILS_KM('CLUS_KM_1_16',1,NULL, 0, 1, 0)) t,
    TABLE(t.histogram) h
    2) Can you launch the client with the console window to see if there is an earlier exception that is being eaten that is leading to the final exception.
    You can do this by using the finding the following executable and using it to launch sql dev:
    C:\<SQL DEV INSTALL FOLDER>\sqldeveloper\sqldeveloper\bin\sqldeveloper.exe
    3) Of course, recreating the problem on our side is necessary. This might be difficult without opening a support ticket, but if you are able to post a script that creates a table using some demo data that ships with the db, we should be able to determine the problem pretty quickly.
    Thanks, Mark

  • Exception when loading .pdf file

    I have an app that is supposed to be able to print .pdf files. Right now, I'm trying to use the Reader's functionality to do so (through Interop.AcroPDFLib.dll and AxInterop.AcroPDFLib.dll, both v1.0.0.0). This app is being run on a Windows XP SP2 computer, and built with Visual Studio 2005.
    When the program gets to the LoadFile function of the AxAcroPDF object that gets passed a valid .pdf file, a System.InvalidCastException is thrown. The message reads:
    "Unable to cast COM object of type 'System.__ComObject' to interface type 'AcroPDFLib.IAcroAXDocShim'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3B813CE7-7C10-4F84-AD06-9DF76D97A9AA}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). (Interop.AcroPDFLib)"
    I would greatly appreciate any help you can provide. Thanks in advance.

    It's failing on all computers, including my dev machine. Does it matter that I don't want to display the file?
    I'm looking at the example you've referenced, and I see a lot of display-related properties being set, such as Location, Size, TabIndex, etc. I didn't believe that these would be necessary if I only needed to quietly print the .pdf file. The block of code that's supposed to be doing this is as follows (and the call to Hide() should probably go above printAll(), but we're not even getting there at this point...):
    axAcroPDF1.LoadFile(szFilePath);
    axAcroPDF1.src = szFilePath;
    axAcroPDF1.setNamedDest(m_szPrinter);
    axAcroPDF1.printAll();
    axAcroPDF1.Hide();
    Also note that szFilePath and m_szPrinter are valid values at this point, since that was my first suspicion.

  • Exception when loading Creator project in Netbeans 5.5 Visual Pack

    java.lang.IllegalArgumentException: Project XXXXX is not open and cannot be set as main.
         at org.netbeans.modules.project.ui.OpenProjectList.setMainProject(OpenProjectList.java:415)
         at org.netbeans.modules.project.ui.actions.OpenProject.actionPerformed(OpenProject.java:118)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1778)
         at java.awt.Component.dispatchEvent(Component.java:3803)
    [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    the previous exception is
    java.lang.NullPointerException
         at org.netbeans.modules.j2ee.dd.api.web.DDProvider.getMergedDDRoot(DDProvider.java:113)
         at org.netbeans.modules.j2ee.dd.api.web.DDProvider.getMergedDDRoot(DDProvider.java:105)
         at com.sun.rave.project.jsfproject.ProjectWebModule.getWebApp(ProjectWebModule.java:365)
         at com.sun.rave.project.jsfproject.ProjectWebModule.getDeploymentDescriptor(ProjectWebModule.java:339)
         at org.netbeans.modules.j2ee.deployment.config.ModuleDeploymentSupport.getDeploymentDescriptor(ModuleDeploymentSupport.java:111)
         at org.netbeans.modules.j2ee.deployment.config.ModuleDeploymentSupport.createRoot(ModuleDeploymentSupport.java:115)
         at org.netbeans.modules.j2ee.deployment.config.ModuleDeploymentSupport.<init>(ModuleDeploymentSupport.java:102)
         at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.<init>(ConfigSupportImpl.java:93)
         at org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeModuleProvider.getConfigSupport(J2eeModuleProvider.java:96)
         at com.sun.rave.project.jsfproject.ProjectWebModule.getContextPath(ProjectWebModule.java:119)
         at com.sun.rave.project.jsfproject.ui.customizer.WebProjectProperties.init(WebProjectProperties.java:340)
         at com.sun.rave.project.jsfproject.ui.customizer.WebProjectProperties.<init>(WebProjectProperties.java:274)
         at com.sun.rave.project.jsfproject.WebProject.getWebProjectProperties(WebProject.java:474)
         at com.sun.rave.project.jsfproject.WebProject$ProjectOpenedHookImpl.projectOpened(WebProject.java:837)
         at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:56)
         at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:581)
         at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(OpenProjectList.java:622)
         at org.netbeans.modules.project.ui.OpenProjectList.doOpen(OpenProjectList.java:297)
         at org.netbeans.modules.project.ui.OpenProjectList.access$000(OpenProjectList.java:77)
         at org.netbeans.modules.project.ui.OpenProjectList$1.run(OpenProjectList.java:200)
         at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
    [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)

    Can you send me your <project>/web/WEB-INF/web.xml please? It looks like the code trying to parse it is not happy. That's the NPE trying to find the version of the web.xml:-(
    ( marco (dot) walther (at) sun (dot) com )
    After that, the project is not recognized as a valid web project and it goes downhill from there:-(
    Thanks,
    -- Marco

  • [SOLVED] .Xresources refuses to load except when loaded manually

    I'm running i3+SLiM with my URxvt config in .Xresources and
    xrdb -merge ~./Xresources
    in my .xinitrc but every time I start i3, the config is not loaded and URxvt appears in its default form.  When I open the terminal and type the same xrdb command any subsequent terminals I open (even after closing the original) are now using the correct configuration.
    I've tried all of the variations I've seen on various help threads including -load and
    [[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
    to no avail.
    Any help is much appreciated!
    EDIT: I can also put it in my .zshrc and watch as the first window is default and every other terminal I open is configured...
    Last edited by 3mpach3r (2014-09-26 13:52:39)

    .xinitrc
    exec i3
    [[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
    .Xresources
    ! URxvt*termName: string
    ! URxvt*geometry: geometry
    ! URxvt*chdir: string
    ! URxvt*reverseVideo: boolean
    ! URxvt*loginShell: boolean
    ! URxvt*jumpScroll: boolean
    ! URxvt*skipScroll: boolean
    ! URxvt*pastableTabs: boolean
    ! URxvt*scrollstyle: mode
    URxvt*scrollBar: false
    ! URxvt*scrollBar_right: boolean
    ! URxvt*scrollBar_floating: boolean
    ! URxvt*scrollBar_align: mode
    URxvt*thickness: 0
    ! URxvt*scrollTtyOutput: boolean
    ! URxvt*scrollTtyKeypress: boolean
    ! URxvt*scrollWithBuffer: boolean
    ! URxvt*inheritPixmap: boolean
    ! URxvt*transparent: boolean
    ! URxvt*tintColor: color
    ! URxvt*shading: number
    ! URxvt*blurRadius: HxV
    ! URxvt*fading: number
    ! URxvt*fadeColor: color
    ! URxvt*utmpInhibit: boolean
    ! URxvt*urgentOnBell: boolean
    ! URxvt*visualBell: boolean
    ! URxvt*mapAlert: boolean
    ! URxvt*meta8: boolean
    ! URxvt*mouseWheelScrollPage: boolean
    ! URxvt*tripleclickwords: boolean
    ! URxvt*insecure: boolean
    ! URxvt*cursorUnderline: boolean
    ! URxvt*cursorBlink: boolean
    ! URxvt*pointerBlank: boolean
    URxvt*background: #050505
    URxvt*foreground: #eeeeee
    ! URxvt*color0: color
    ! URxvt*color1: color
    ! URxvt*color2: color
    ! URxvt*color3: color
    ! URxvt*color4: color
    ! URxvt*color5: color
    ! URxvt*color6: color
    ! URxvt*color7: color
    ! URxvt*color8: color
    ! URxvt*color9: color
    ! URxvt*color10: color
    ! URxvt*color11: color
    ! URxvt*color12: color
    ! URxvt*color13: color
    ! URxvt*color14: color
    ! URxvt*color15: color
    ! URxvt*colorBD: color
    ! URxvt*colorIT: color
    ! URxvt*colorUL: color
    ! URxvt*colorRV: color
    ! URxvt*underlineColor: color
    ! URxvt*scrollColor: color
    ! URxvt*troughColor: color
    ! URxvt*highlightColor: color
    ! URxvt*highlightTextColor: color
    ! URxvt*cursorColor: color
    ! URxvt*cursorColor2: color
    ! URxvt*pointerColor: color
    ! URxvt*pointerColor2: color
    ! URxvt*borderColor: color
    ! URxvt*iconFile: file
    ! URxvt*font: fontname
    ! URxvt*boldFont: fontname
    ! URxvt*italicFont: fontname
    ! URxvt*boldItalicFont: fontname
    ! URxvt*intensityStyles: boolean
    ! URxvt*inputMethod: name
    ! URxvt*preeditType: style
    ! URxvt*imLocale: string
    ! URxvt*imFont: fontname
    ! URxvt*title: string
    ! URxvt*iconName: string
    ! URxvt*saveLines: number
    ! URxvt*buffered: boolean
    ! URxvt*depth: number
    ! URxvt*visual: number
    ! URxvt*transient-for: windowid
    ! URxvt*override-redirect: boolean
    ! URxvt*hold: boolean
    ! URxvt*externalBorder: number
    ! URxvt*internalBorder: number
    ! URxvt*borderLess: boolean
    ! URxvt*lineSpace: number
    ! URxvt*letterSpace: number
    ! URxvt*skipBuiltinGlyphs: boolean
    ! URxvt*pointerBlankDelay: number
    ! URxvt*backspacekey: string
    ! URxvt*deletekey: string
    ! URxvt*print-pipe: string
    ! URxvt*modifier: modifier
    ! URxvt*cutchars: string
    ! URxvt*answerbackString: string
    ! URxvt*secondaryScreen: boolean
    ! URxvt*secondaryScroll: boolean
    ! URxvt*perl-lib: string
    ! URxvt*perl-eval: perl-eval
    ! URxvt*perl-ext-common: string
    ! URxvt*perl-ext: string
    ! URxvt*iso14755: boolean
    ! URxvt*iso14755_52: boolean
    ! URxvt*xrm: string
    ! URxvt*keysym.sym: keysym
    ! URxvt*background.border: boolean
    ! URxvt*background.expr: string
    ! URxvt*background.interval: seconds
    ! URxvt*bell-command: string
    ! URxvt*matcher.button: string
    ! URxvt*matcher.launcher: string
    ! URxvt*matcher.launcher.*: string
    ! URxvt*matcher.pattern.*: string
    ! URxvt*matcher.rend.*: string
    ! URxvt*remote-clipboard.fetch: string
    ! URxvt*remote-clipboard.store: string
    ! URxvt*searchable-scrollback: string
    ! URxvt*selection-autotransform.*: string
    ! URxvt*selection-pastebin.cmd: string
    ! URxvt*selection-pastebin.url: string
    ! URxvt*selection.pattern-0: string
    ! URxvt*tab-bg: colour
    ! URxvt*tab-fg: colour
    ! URxvt*tabbar-bg: colour
    ! URxvt*tabbar-fg: colour
    ! URxvt*url-launcher: string

  • Security Exception when loading Image in the background?

    I've written a javafx app running in the browser. It loads a bunch of images in the background. It worked fine prior JRE 7 u11.
    However it is broken since JRE 7 u13. Images are not loaded correctly, failing with a SecurityException:
    java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:366)
         at java.security.AccessController.checkPermission(AccessController.java:560)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
         at sun.plugin2.applet.SecurityManagerHelper.checkAccessHelper(Unknown Source)
         at sun.plugin2.applet.FXAppletSecurityManager.checkAccess(Unknown Source)
         at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:315)
         at java.lang.Thread.init(Thread.java:376)
         at java.lang.Thread.<init>(Thread.java:446)
         at com.sun.javafx.runtime.async.BackgroundExecutor$1.newThread(BackgroundExecutor.java:52)
         at java.util.concurrent.ThreadPoolExecutor$Worker.<init>(ThreadPoolExecutor.java:610)
         at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:924)
         at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1371)
         at com.sun.javafx.runtime.async.AbstractAsyncOperation.start(AbstractAsyncOperation.java:107)
         at javafx.scene.image.Image$ImageTask.start(Image.java:917)
         at javafx.scene.image.Image.cycleTasks(Image.java:798)
         at javafx.scene.image.Image.access$200(Image.java:107)
         at javafx.scene.image.Image$ImageTask.onCompletion(Image.java:903)
         at javafx.scene.image.Image$ImageTask.onCompletion(Image.java:879)
         at com.sun.javafx.runtime.async.AbstractAsyncOperation$2.run(AbstractAsyncOperation.java:70)
         at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
         at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176)
         at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
         at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
         at com.sun.glass.ui.gtk.GtkApplication$3$1.run(GtkApplication.java:82)
         at java.lang.Thread.run(Thread.java:722)If I dont' load the Image in the background -> it's working. Is it a bug?

    It's probably worth filing a bug report on this.
    https://forums.oracle.com/forums/ann.jspa?annID=1713 "Announcement: How to file a bug or submit a feature request"

  • Osgi workflowprocess gives classnotfound exception when osgi bundle is activated

    I did create an osgi service that extends workflowprocess interrface using eclipse. I install the bundle that contains this service and then deploy and activate the bundle in day cq. However, on activation I receive an error stating that my class is not found. Please note that both this service and the referenced service(twitterservice that I created) gets registered and the bundle is activated, however, its unable to find the class SendMessageProcessAction on the activation of the bundle. Hope someone could assist.
    POST /system/console/bundles/246 HTTP/1.1] com.day.twitter.workflow [com.day.twitter.service.impl.SendMessageProcessAction] Error during instantiation of the implementation object (java.lang.ClassNotFoundException: com.day.twitter.service.impl.SendMessageProcessAction not found by com.day.twitter.workflow [246]) java.lang.ClassNotFoundException: com.day.twitter.service.impl.SendMessageProcessAction not found by com.day.twitter.workflow [246]
        at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787 )
        at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
    package com.day.twitter.service.impl;
    import javax.jcr.RepositoryException;
    import javax.jcr.Session;
    import org.apache.felix.scr.annotations.Component;
    import org.apache.felix.scr.annotations.Properties;
    import org.apache.felix.scr.annotations.Property;
    import org.apache.felix.scr.annotations.Reference;
    import org.apache.felix.scr.annotations.Service;
    import org.osgi.framework.Constants;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    import com.day.cq.workflow.WorkflowException;
    import com.day.cq.workflow.WorkflowSession;
    import com.day.cq.workflow.exec.WorkItem;
    import com.day.cq.workflow.exec.WorkflowData;
    import com.day.cq.workflow.exec.WorkflowProcess;
    import com.day.cq.workflow.metadata.MetaDataMap;
    import com.day.twitter.service.SendMessageProcess;
    import com.day.twitter.service.TwitterService;
    @Component
    @Service
    @Properties({
        @Property(name = Constants.SERVICE_DESCRIPTION, value = " An example of Social Publish Implementation"),
        @Property(name = Constants.SERVICE_VENDOR, value = "RIM POC"),
        @Property(name = "process.label", value = "RIM POC Social Publish")
    public class SendMessageProcessAction implements WorkflowProcess{
        @Reference
        private TwitterService twitterService; 
        public TwitterService getTwitterService() {
            return twitterService;
        public void setTwitterService(TwitterService twitterService) {
            this.twitterService = twitterService;
         * @scr.reference
        private static final String TYPE_JCR_PATH = "JCR_PATH";
        private final Logger logger = LoggerFactory.getLogger(this.getClass()
                .getName());
        private final Logger logger1 = LoggerFactory.getLogger(SendMessageProcessAction.class);
        public void execute(WorkItem workItem, WorkflowSession workflowSession,MetaDataMap args)
        throws WorkflowException {
            final Session session = workflowSession.getSession();
            final WorkflowData data = workItem.getWorkflowData();
            logger.info("TEST VIBHOR!!");
            logger1.info("TEST VIBHOR BHATIA!!");
            String path = null;
            String type = data.getPayloadType();
            if (type.equals(TYPE_JCR_PATH) && data.getPayload() != null) {
                String payloadData = (String) data.getPayload();
                try {
                    if (session.itemExists(payloadData)) {
                        path = payloadData;
                } catch (RepositoryException e) {
                    // TODO Auto-generated catch block
                    logger.error("Exception - Check repository for Payload data path");
                    e.printStackTrace();
            logger.info("arguments");
            String msg = "CQ5 workflow event";
                // is there a message?
            String argument = args.get("PROCESS_ARGS", "default value");
            boolean equal = argument.equals("argument1");
            if(equal){
                String recipient = argument.toString();
                 sendDirectMessageOnTwitter(recipient, msg, path);
            } else {
                logger
                        .error("for sending a DM on Twitter (make sure Twitter allows you to DM that account): dm,(recipient id)");   
               //  return "Check config - error";
        private void sendDirectMessageOnTwitter(String recipient, String msg, String path) {
            getTwitterService().sendDirectMessage(recipient, msg + ", path: " + path);

    <plugin>
            <groupId>org.apache.felix</groupId>
            <artifactId>maven-bundle-plugin</artifactId>
            <version>2.0.1</version>
            <extensions>true</extensions>
            <configuration>
              <instructions>
                <Bundle-Name>cq-core bundle</Bundle-Name>
                <Export-Package>twitter4j.*</Export-Package>
                <Import-Package>
                      !twitter4j.internal.http.alternative,
                      !org.slf4j.impl,com.day.*,*
                 </Import-Package>
                 <Private-Package>com.day.twitter</Private-Package>  
              </instructions>
            </configuration>
    </plugin>
    Bnd-LastModified: 1334862237167
    Build-Jdk: 1.6.0_21
    Built-By: bvibor
    Bundle-ManifestVersion: 2
    Bundle-Name: cq-core bundle
    Bundle-SymbolicName: com.day.twitter.workflow
    Bundle-Version: 1.0.0
    Created-By: Apache Maven Bundle Plugin
    Export-Package: twitter4j.internal.util, twitter4j.internal.http; uses:="twitter4j, twitter4j.internal.logging, twitter4j.internal.util, twitter4j.http, twitter4j.conf, javax.xml.parsers, twitter4j.internal.org.json, org.w3c.dom, org.xml.sax", twitter4j; uses:="twitter4j.internal.org.json, twitter4j.internal.http, twitter4j.api, twitter4j.http, twitter4j.internal.async, twitter4j.conf, twitter4j.internal.logging", twitter4j.internal.org.json, twitter4j.api; uses:=twitter4j, twitter4j.http; uses:="twitter4j.internal.http, twitter4j, twitter4j.conf, javax.crypto.spec, javax.crypto, twitter4j.internal.logging", twitter4j.internal.async, twitter4j.conf; uses:="twitter4j.internal.http, twitter4j.http, twitter4j.internal.async, twitter4j", twitter4j.internal.logging; uses:="org.apache.commons.logging, org.apache.log4j, org.slf4j, twitter4j.conf", twitter4j.util; uses:="twitter4j.internal.http, twitter4j, twitter4j.internal.org.json, twitter4j.http"
    Ignore-Package: org.slf4j.impl, twitter4j.internal.http.alternative
    Import-Package: javax.crypto, javax.crypto.spec, javax.xml.parsers, org.apache.commons.logging, org.apache.log4j, org.osgi.framework; version="1.4", org.slf4j; version="1.5", org.w3c.dom, org.xml.sax, twitter4j, twitter4j.api, twitter4j.conf, twitter4j.http, twitter4j.internal.async, twitter4j.internal.http, twitter4j.internal.logging, twitter4j.internal.org.json, twitter4j.internal.util, twitter4j.util
    Manifest-Version: 1.0
    Service-Component: OSGI-INF/components.xml
    Tool: Bnd-0.0.357

  • Titanium PB with fans running constantly except when loading a new OS

    As soon as the PB "on" switch is pressed the fans come on and run constantly unless I am doing a startup from an OS Disc. Then the fans do not come on and the machine runs well until the install is complete.
    Once the machine restarts after the install the fans come on again and do not shut off until the machine goes to sleep which takes between 10 seconds and a minute.
    How do I turn off the fans with the OS s/w and how do I stop the machine from going to sleep within 10 seconds or so of "normal" operation??
    This is a most puzzling mode of operation for a PB.

    More experiments with the PB G4;
    Following some of the leads in the Aluminun PB narcolepsy issue I have used the TDM to extract several extensions from the system library.
    AppleCPUThermo
    AppleFan
    AppleI2C
    AppleLM87
    AppleThermal
    ApplePMU
    And the bundle named ;PowerManagementBundle.
    Of these the ApplePMU seems to make the most difference. Without it the machine will run for hours, but not at full speed for some unknown reason.
    The power down sequence is also not normal since the machine OS will shut down when I tell it to shutdown but the unit will not power off. Turning power off with the power button causes a time reset and the machine will restart when requested as it was before.
    This AM I returned the extension for the Fan to the extension folder and the machine still ran but the shutdown sequence was as before.
    More on these mods to the extensions later.
    I may try these same extension(or similar) experiments with OS 10.4.

  • Classnotfound exception when locking account

    Hi All,
    thought I'd post this here. before heading to support.
    I recently noticed that accounts are not getting locked after the number of failed logon attempts has been exceeded. what I am getting is....
    2008-05-06 07:50:55,850 ERROR [XELLERATE.ACCOUNTMANAGEMENT] [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] - Class/Met
    hod: XellerateLoginModuleImpl/login encounter some problems: com/thortech/xl/scheduler/common/SchedulerUtil
    java.lang.NoClassDefFoundError: com/thortech/xl/scheduler/common/SchedulerUtil
    Has anyone run into this? I think it started after a patch was applied a long time ago.
    Thanx
    Fred

    The problem is located in your opencard.properties file:
    You have to include opencard.opt.emv.mgmt.EMVCardServiceFactory to your list of OpenCard.services.
    My complete opencard.properties is as follows:
    # Card service configuration  #
    OpenCard.services = \
        com.ibm.opencard.factory.MFCCardServiceFactory \
        opencard.opt.util.PassThruCardServiceFactory \
         opencard.opt.emv.mgmt.EMVCardServiceFactory
    # Card terminal configuration #
    OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
    # Trace configuration         #
    OpenCard.trace = opencard:5

  • XSLT Mapping, Transformer configuration exception occurred when loading

    Hi,
    My source message is an IDOC HRMD, I need my target message to include exactly
    <EPERSON xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ContextPersonMessage">
    I have therefore suggested to use XSLT mapping.
    Here is the test_mapping.xsl that I Imported as Zip in Imported Archives.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://polyright.com/xi/HR">
         <xsl:template match="/">
              <EPERSON xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ContextPersonMessage">
                          <xsl:for-each select="HRMD_A07/IDOC/E1PLOGI">
                <CONTEXTPERSON personid="" id="">
                      <PERSON action="add">
                               <TITLE></TITLE>
                               <FIRSTNAME><xsl:value-of select="E1PITYP/E1P0002/VORNA"/></FIRSTNAME>
                               <SECONDNAME></SECONDNAME>
                               <NAME><xsl:value-of select="E1PITYP/E1P0002/NACHN"/></NAME>
                               <ADDRESS1></ADDRESS1>
                               <ADDRESS2></ADDRESS2>
                               <POSTALCODE></POSTALCODE>
                               <CITY></CITY>
                               <COUNTRY></COUNTRY>
                               <COUNTRYID></COUNTRYID>
                               <PROFESSION></PROFESSION>
                               <LANGUAGE></LANGUAGE>
                               <LANGUAGEID></LANGUAGEID>
                               <PERSONTYPEID></PERSONTYPEID>
                               <CREATIONDATE></CREATIONDATE>
                               <BIRTHDATE></BIRTHDATE>
                               <CATEGORY></CATEGORY>
                             </PERSON>
                      </xsl:for-each>
              </EPERSON>
         </xsl:template>
    </xsl:stylesheet>
    When I test the Interface mapping, I get the following error:
    Transformer configuration exception occurred when loading XSLT test_mapping.xsl (http://polyright.com/xi/HR, 783938d1-4463-11dd-b136-e03ac0a80c15, -1)
    Searching through the forum, it is probably an namespace issue, but I have no idea of what needs to be changed. Any suggestions ?

    Try running end-to-end scenario and check if you could get detailed error message.
    Also check if the problem arises from the "ns0" usage.
    Regards,
    Prateek

Maybe you are looking for

  • Problem in using BAPI_MATERIAL_SAVEDATA

    I want to extend a Material from Plant A to Plant B. I am getting the following error. E   MM         360 Key fields for user data PLANTDATA and checkbox structure PLANTDATAX are different Please correct in the following code data: la_headdata type B

  • Looking for a replacement cd

    Can anyone tell me where I would go to find a replacement cd that has Airport utilities version 5 with bonjour

  • Oracle download for Oracle 8.1.7 enterprise edition

    Hi, From where can i download Oracle 8.1.7 for win2k. Need it ASAP. Please reply.

  • Images captured showing in "All" instead of "captu...

    Guys, I have an N79. I recently formatted my phone and memory card. I had taken a full back up using Ovi Suite. However when I restored the contents to the phone, the Images that I had captured and which were showing in "Captured" were not showing in

  • How to create an array of linklists??? ... plz

    Hi guys, I am trying to create a Hash table. My link list is already working. But i am still confused about how to create any array linklist for solving the collisions. Do i need to create a new instance of the linklist for each array slot? What is t