GetClass().getResource() error from jar file.

I am using getClass().getResource("../images/image.gif") to refer to a resource and load it into the ImageIcon. So that my resource's url is dynamic and be got at runtime. It is working fine when I run my program, but when I exported my application into a jar file then while trying to execute the jar file using the
java -jar program.jar command it is giving the following error (Stack trace)
Exception in thread "main" java.lang.NullPointerException
        at javax.swing.ImageIcon.<init>(ImageIcon.java:138)
        at source.HashCalculator.<init>(HashCalculator.java:130)
        at source.HashCalculator.main(HashCalculator.java:2021)

The solution to this error is to include in jar the location of the *gif file(ex: yourpath/images/yourimage.gif) ..... jar cmf yourmanifest yourjar yourclass yourpath/images                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • MulticastSocket Multicast socket receive error: java.lang.RuntimeException: I/O error opening JAR file from file:/D:/weblogic/mycluster/server86/tmp_deployments/ejbjar-17327.jar

    Hi,
              I need some help.
              Product=weblogic5.1.0
              Revision=(Release Level)=
              Problem Description=
              I am doing cluster of weblogic server, I have no problem to set up the
              cluster and to run servlet and EJB examples.
              However, on my command line for startcluster I got a lot of message as
              followed:
              Fri Aug 18 11:31:44 EDT 2000:<E> <MulticastSocket> Multicast socket receive
              error: java.lang.RuntimeException: I/O error opening JAR file from
              file:/D:/weblogic/mycluster/server86/tmp_deployments/ejbjar-17327.jar
              java.util.zip.ZipException: error in opening zip file
              at java.util.zip.ZipFile.open(Native Method)
              at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
              at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
              at weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java,
              Compiled Code)
              at
              weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer
              .java, Compiled Code)
              at
              weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java
              , Compiled Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
              jectInputStreamBase.java, Compiled Co
              de)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
              treamBase.java, Compiled Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
              tStreamBase.java, Compiled Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
              eamBase.java, Compiled Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
              treamBase.java, Compiled Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInput
              StreamBase.java, Compiled Code)
              at weblogic.cluster.StateDump.readObject(StateDump.java, Compiled
              Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
              jectInputStreamBase.java, Compiled Co
              de)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
              treamBase.java, Compiled Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
              tStreamBase.java, Compiled Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
              eamBase.java, Compiled Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
              treamBase.java, Compiled Code)
              at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
              Code)
              The message freshed about every 20 seconds.
              Another question, I used a iplanet web server as a proxy server with a
              cluster of two weblogic servers pluged in, although I set
              weblogic.properties to round-robin, however, when I run a fibonacci servlet,
              it does not do the round-robin. It always go to one machine for a lot of
              times. Any idea?
              Thank you for your help.
              Tom
              

    May i presume that your cluster is configured on a shared file system?.
              I have seen this problem only if you cluster is configured on different machines
              and if the directory structure is not identical.
              let us know..
              Kumar
              Cameron Purdy wrote:
              > First, update to SP4 (or SP5 if it is out now). Second, follow the cluster
              > instructions on setting up deployments for a cluster. The only
              > implementation that I have used is the single shared location that all the
              > servers load from.
              >
              > --
              >
              > Cameron Purdy
              > http://www.tangosol.com
              >
              > "Tom Gan" <[email protected]> wrote in message
              > news:[email protected]...
              > > Hi,
              > > I need some help.
              > >
              > > Product=weblogic5.1.0
              > > Revision=(Release Level)=
              > > Problem Description=
              > > I am doing cluster of weblogic server, I have no problem to set up the
              > > cluster and to run servlet and EJB examples.
              > > However, on my command line for startcluster I got a lot of message as
              > > followed:
              > > Fri Aug 18 11:31:44 EDT 2000:<E> <MulticastSocket> Multicast socket
              > receive
              > > error: java.lang.RuntimeException: I/O error opening JAR file from
              > > file:/D:/weblogic/mycluster/server86/tmp_deployments/ejbjar-17327.jar
              > > java.util.zip.ZipException: error in opening zip file
              > > at java.util.zip.ZipFile.open(Native Method)
              > > at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
              > > at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
              > > at weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java,
              > > Compiled Code)
              > > at
              > >
              > weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer
              > > .java, Compiled Code)
              > > at
              > >
              > weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java
              > > , Compiled Code)
              > > at
              > >
              > weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
              > > jectInputStreamBase.java, Compiled Co
              > > de)
              > > at
              > >
              > weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
              > > treamBase.java, Compiled Code)
              > > at
              > >
              > weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
              > > tStreamBase.java, Compiled Code)
              > > at
              > >
              > weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
              > > eamBase.java, Compiled Code)
              > > at
              > >
              > weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
              > > treamBase.java, Compiled Code)
              > > at
              > >
              > weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInput
              > > StreamBase.java, Compiled Code)
              > > at weblogic.cluster.StateDump.readObject(StateDump.java, Compiled
              > > Code)
              > > at
              > >
              > weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
              > > jectInputStreamBase.java, Compiled Co
              > > de)
              > > at
              > >
              > weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
              > > treamBase.java, Compiled Code)
              > > at
              > >
              > weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
              > > tStreamBase.java, Compiled Code)
              > > at
              > >
              > weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
              > > eamBase.java, Compiled Code)
              > > at
              > >
              > weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
              > > treamBase.java, Compiled Code)
              > > at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
              > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
              > > Code)
              > >
              > > The message freshed about every 20 seconds.
              > >
              > > Another question, I used a iplanet web server as a proxy server with a
              > > cluster of two weblogic servers pluged in, although I set
              > > weblogic.properties to round-robin, however, when I run a fibonacci
              > servlet,
              > > it does not do the round-robin. It always go to one machine for a lot of
              > > times. Any idea?
              > > Thank you for your help.
              > > Tom
              > >
              > >
              > >
              

  • Problem loading Applets from Jar files on 64 bit machine

    I am developing an applet (extends Applet but uses swing components) using JDK 1.6 (Though these problems still happen in JDK 1.7) and I am unable to get the applet to load on a 64 bit machine in most cases. The web server(s) are running on localhost and I am connecting on the same machine using a local network ip address (such as 192.168.*.*)
    Below are all of my test results. Can someone provide a suggestion for repairing this? The Windows Server machine is a clients computer I access to it via remote desktop but I can't do much with it though I do have administrator rights. The Windows 7 machine is my development platform so I have been able to do extensive testing on it.
    This problem is presenting in the following environments when trying to load an applet from JAR files in a HTML document using the Applet or Object tag.
    Windows Server 2008 (Intel Chipset)
    Tested Browsers:
    Internet Explorer 9 (32 bit) - Shows it is blocked by default then simply shows an x when loaded from a web page, same result when loading from local drive.
    Windows 7 Home Premium (AMD Chipset)
    Tested Browsers:
    Firefox 6.0.1 (32 bit) - Java logo shows with spinner, after a few minutes there is finally an error that a class in the jar was not found
    Internet Explorer 9 (32 bit) - Java logo shows with spinner, after a few minutes there is finally an error that a class in the jar was not found
    Internet Explorer 9 (64 bit) - Java logo shows with spinner and most of the windows desktop manager freezes, keyboard is the only thing that responds so you can alt-tab to another app to regain control of the desktop.
    Chrome (32 bit) - Java logo shows with spinner, after a few minutes there is finally an error that a class in the jar was not found
    The only way I have been able to get a Java applet to run on a 64 bit machine are the following ways.
    Firefox 9 nightly (64 bit) works perfectly! Go Firefox!
    Internet Explorer 9 (32 bit) loading directly from drive (c:\...)
    Chrome (32 bit) loading directly from drive (c:\...)
    Firefox 6.0.1 (32 bit) loading directly from drive (c:\....)
    Can someone please help! I've been fighting with this bug for over a week and I can't find anything that will solve it, I have noticed that in some cases if my jar has very little code in it than it will run on the server, but the minute I start adding things to it the jar won't load anymore.

    jschell wrote:
    rritoch wrote:
    I am developing an applet (extends Applet but uses swing components) using JDK 1.6 (Though these problems still happen in JDK 1.7) and I am unable to get the applet to load on a 64 bit machine in most cases.
    To clarify...
    1. You have tried it on 32 bit machine? Exactly which OS?I tested this on Windows Vista Business which is in 32 bit mode and the applets run without any problems
    >
    2. Your only 64 bit tests have involved 2008/Win7?
    If so then I would suspect something with windows not java. Probably permissions.
    The web server(s) are running on localhost and I am connecting on the same machine using a local network ip address (such as 192.168.*.*)
    Yes, I haven't tried running the jars on other operating systems.
    >
    I don't understand that. If you are running on localhost then you should connect to localhost. If running on an IP then you should connect to that. Perhaps you meant that you have tested using both of those?I'm testing using the lan ip address but I'm connecting from the same machine. I've tried localhost and that didn't work so I tried lan ip since that will likely have a different java security context than localhost. At first I was blaming the IIS server but I downloaded the jar directly and using HTTP fox was able to verify that the jar is being sent with the correct mime-type and that the server can upload the jar file without a problem. This leaves me to believe the problem is with Java.

  • Error opening jar file

    I'm using WLS 5.1 SP8 on NT 4.0 and trying to setup a cluster. The cluster
              starts fine except when I try to deploy a session bean that is marked as
              clustered. I get an error about reading a jar file
              (D:/weblogic/mycluster/server196/tmp_deployments/ejbjar1559.jar) that WLS
              created when the server started. Every server is getting this error and I
              tried setting up the same paths (D:\weblogic) but it doesn't matter. Any
              ideas?
              Wed Jan 24 15:04:10 EST 2001:<I> <WebLogicServer> WebLogic Server started
              java.util.zip.ZipException: error in opening zip file
              at java.util.zip.ZipFile.open(Native Method)
              at java.util.zip.ZipFile.<init>(ZipFile.java:69)
              at java.util.zip.ZipFile.<init>(ZipFile.java:84)
              at
              weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java:141)
              at
              weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer
              .java:74)
              at
              weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java
              , Compiled Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
              jectInputStreamBase.java, Compiled
              Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
              treamBase.java, Compiled Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
              tStreamBase.java, Compiled Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
              eamBase.java, Compiled Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
              treamBase.java, Compiled Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInput
              StreamBase.java, Compiled Code)
              at weblogic.cluster.StateDump.readObject(StateDump.java:59)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
              jectInputStreamBase.java, Compiled
              Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
              treamBase.java, Compiled Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
              tStreamBase.java, Compiled Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
              eamBase.java, Compiled Code)
              at
              weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
              treamBase.java, Compiled Code)
              at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
              Code)
              Wed Jan 24 15:04:19 EST 2001:<E> <MulticastSocket> Multicast socket receive
              error: java.lang.RuntimeException: I/O error
              opening JAR file from
              file:/D:/weblogic/mycluster/server196/tmp_deployments/ejbjar1559.jar
              

    From previous posts I see this is a known bug. Is there a fix yet? btw, how
              did a bug of this magnitude
              get past QA. :(
              Elan Halfin <[email protected]> wrote in message
              news:[email protected]...
              > I'm using WLS 5.1 SP8 on NT 4.0 and trying to setup a cluster. The cluster
              > starts fine except when I try to deploy a session bean that is marked as
              > clustered. I get an error about reading a jar file
              > (D:/weblogic/mycluster/server196/tmp_deployments/ejbjar1559.jar) that WLS
              > created when the server started. Every server is getting this error and I
              > tried setting up the same paths (D:\weblogic) but it doesn't matter. Any
              > ideas?
              >
              > Wed Jan 24 15:04:10 EST 2001:<I> <WebLogicServer> WebLogic Server started
              > java.util.zip.ZipException: error in opening zip file
              > at java.util.zip.ZipFile.open(Native Method)
              > at java.util.zip.ZipFile.<init>(ZipFile.java:69)
              > at java.util.zip.ZipFile.<init>(ZipFile.java:84)
              > at
              > weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java:141)
              > at
              >
              weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer
              > .java:74)
              > at
              >
              weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java
              > , Compiled Code)
              > at
              >
              weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
              > jectInputStreamBase.java, Compiled
              >
              > Code)
              > at
              >
              weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
              > treamBase.java, Compiled Code)
              > at
              >
              weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
              > tStreamBase.java, Compiled Code)
              > at
              >
              weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
              > eamBase.java, Compiled Code)
              > at
              >
              weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
              > treamBase.java, Compiled Code)
              > at
              >
              weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInput
              > StreamBase.java, Compiled Code)
              > at weblogic.cluster.StateDump.readObject(StateDump.java:59)
              > at
              >
              weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
              > jectInputStreamBase.java, Compiled
              >
              > Code)
              > at
              >
              weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
              > treamBase.java, Compiled Code)
              > at
              >
              weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
              > tStreamBase.java, Compiled Code)
              > at
              >
              weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
              > eamBase.java, Compiled Code)
              > at
              >
              weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
              > treamBase.java, Compiled Code)
              > at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
              > Code)
              > Wed Jan 24 15:04:19 EST 2001:<E> <MulticastSocket> Multicast socket
              receive
              > error: java.lang.RuntimeException: I/O error
              >
              > opening JAR file from
              > file:/D:/weblogic/mycluster/server196/tmp_deployments/ejbjar1559.jar
              >
              >
              

  • Loading library from jar file

    Hi all,
    My question is can we load library from jar file using System.load() method.
    ex:
    myJar.jar
    |
    |----com.test.common.Util
    which conatins a method to load library from jar file itself, before that i used to load from File
    |---libraries/MozillaParser/......
    Iam able load from Local system,
    File parserLibraryFile = new File("libraries/MozillaParser" + EnviromentController.getSharedLibraryExtension());
    File mozillaDistBinDirectory = new File("libraries/mozilla.dist.bin."+EnviromentController.getOperatingSystemName());
    MozillaParser.init(parserLibraryFile.getAbsolutePath() , mozillaDistBinDirectory.getAbsolutePath());
    but i am unable to load from jar file
    URL url = ClassLoader.getSystemClassLoader().getResource("libraries/MozillaParser" + EnviromentController.getSharedLibraryExtension());
    URL url1 = ClassLoader.getSystemClassLoader().getResource("libraries/mozilla.dist.bin."+EnviromentController.getOperatingSystemName());
    MozillaParser.init(url.toString(), url1.toString());
    Thanks in advance.

    That's a really confusing post.
    The easiest way to make sure you can use the classes in a jar file is to copy the jar file to the "/jre/lib/ext" subfolder of your JDK. These classes will be visible to all applications.

  • Problem loading image from jar file referenced by jar file

    First, I searched this one and no, I didn't find an answer. Loading images from jar files has been pretty much done to death but my problem is different. Please read on.
    I have my application, a straight up executable running from Eclipse. It uses a jar file, call it JarA. JarA launches a GUI that is located in another jar file. Call it JarB. To recap:
    My application calls JarA -> JarA loads classes from JarB -> JarB looks for images to place in a GUI it wants to show on the screen
    When JarB goes to load an image the following happens:
    java.lang.NullPointerException
         at sun.misc.URLClassPath$3.run(URLClassPath.java:316)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(URLClassPath.java:313)
         at sun.misc.URLClassPath.getLoader(URLClassPath.java:290)
         at sun.misc.URLClassPath.findResource(URLClassPath.java:141)
         at java.net.URLClassLoader$2.run(URLClassLoader.java:362)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findResource(URLClassLoader.java:359)
         at java.lang.ClassLoader.getResource(ClassLoader.java:977)
         at org.cubrc.gmshell.gui.MainWin.preInit(MainWin.java:152)
         at org.cubrc.gmshell.gui.MainWin.<init>(MainWin.java:135)
    The code from JarB that loads the image looks like this:
              URL[] oSearch = {Main.class.getResource("images/")};
              URLClassLoader oLoader = new URLClassLoader(oSearch);
              imgIcon = new ImageIcon(oLoader.getResource("icon.gif"));
              imgMatchRunning = new ImageIcon(oLoader.getResource("gears.gif"));
              imgMatchStill = new ImageIcon(oLoader.getResource("gears-still.gif"));
              imgMagnify = new ImageIcon(oLoader.getResource("magnify.gif"));This looks right to me and JarB certainly has an images directory with those files. But I'm in hell right now because I don't know where to place the images to make this work or if you can even attempt to load images with a dependency chain like this.
    Any help very appreciated!

    Have you tried to move your image-files out of the jar file and place them in the sam folder as the jar-file? I think that would help.
    When you try to load the image-file you get the NullPointerException because the program tries to read a file it can't find. Remember that a jar file IS a file and not a directory.
    If you want to read somthing inside the jar-file you need to encode it first.
    Have you tried to read the jar-file with winRar. It makes it easy to add and remove files in your jar-file.

  • Multicast socket receive error: java.lang.RuntimeException: I/O error opening JAR file

    I received Multicast socket receive error when I tried to restart the weblogic cluster in our pre-prod box.
              The error message I received lkie this:
              Multicast socket receive error: java.lang.RuntimeException: I/O error opening JAR file from file:/vol01/sites/vinlkup/site/versionc/local_classes/VIN/DeliveryTypeLookupEJB.jar
              

    Yuping,
              What release of WLS w/ service pack are you using? Make sure, if you are using a non-shared file system, to have the same absolute paths to your application on your file systems.
              yuping xu wrote:
              > I received Multicast socket receive error when I tried to restart the weblogic cluster in our pre-prod box.
              > The error message I received lkie this:
              > Multicast socket receive error: java.lang.RuntimeException: I/O error opening JAR file from file:/vol01/sites/vinlkup/site/versionc/local_classes/VIN/DeliveryTypeLookupEJB.jar
              

  • Java.lang.RuntimeException : I/O error opening JAR file

              Hi,
              Cluster configuration : 2 NT boxes WLS5.1(SP6). On one m/c weblogic
              is installed on drive C:\ and on another m/c weblogic is installed on drive D:\.
              i.e. all jars are at two place m/c 1 : c:\weblogic\myserver\*.jar
              m/c 2 : d:\weblogic \myserver\*.jar
              When servers startup successfully, error is coming :
              on the console of m/c 1 :
              java.lang.RuntimeException : I/O error opening JAR file from
              file:/d:/weblogic/myserver/eb_arn.jar
              on the console of m/c 2 :
              java.lang.RuntimeException : I/O error opening JAR file from
              file:/c:/weblogic/myserver/eb_arn.jar
              When both the weblgoic servers are installed on two machines and
              on same drive(c:\), this error is not coming.
              i.e. all jars are at two place m/c 1 : c:\weblogic\myserver\*.jar
              m/c 2 : c:\weblogic \myserver\*.jar
              Regards,
              Jitendra Kumar.
              

    Jitendra,
              This looks like a bug. Please approach support.
              - Prasad
              Jitendra Kumar wrote:
              > Hi,
              >
              > I'm deploying as per server property, because all servers have got their own myserver
              > directory and jars under that.
              > primary key class is not a problem at all, because that file is anyway under serverclasses directory.
              >
              > The problem starts when two weblogic servers on two m/c are installed on different drive(one on 'C:\' dirve
              > and another on 'D:\' drive or a unix machine in cluster).
              >
              > Regards,
              > Jitendra Kumar.
              >
              > Prasad Peddada <[email protected]> wrote:
              > >Are you sure that the the primary key class is there in the jar file.
              > >
              > >Are you deploying as per cluster property? Deploy on all the servers as per server property.
              > >
              > >
              > >- Prasad
              > >
              > >Jitendra Kumar wrote:
              > >
              > >> Hi,
              > >>
              > >> I don't have any problem in deploying beans and all servers have their local jar files.
              > >> Today I started solaris server in cluster and that also giving the same error message in console.
              > >> Now 2NT and One Solaris m/c running in cluster.
              > >>
              > >> error message on NT console is :
              > >> **************************************************
              > >> Sat Nov 04 15:43:14 GMT+05:30 2000:<E> <MulticastSocket> Multicast socket receive error: java.lang.R
              > >> untimeException: I/O error opening JAR file from file:/mazaa/weblogic/weblogic/myserver/voter.jar
              > >> <ServerClassLoader><W>: com.cot.eis.vl.eb_voter.VoterPK in not in archive java.util.zip.ZipFile@b902
              > >> 66be
              > >> java.util.zip.ZipException: error in opening zip file
              > >> at java.util.zip.ZipFile.open(Native Method)
              > >> at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
              > >> at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
              > >> at weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java, Compiled Code)
              > >> at weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer.java, Compil
              > >> ed Code)
              > >> at weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java, Compiled Co
              > >> de)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLObjectInputStre
              > >> amBase.java, Compiled Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputStreamBase.jav
              > >> a, Compiled Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInputStreamBase.j
              > >> ava, Compiled Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStreamBase.java,
              > >> Compiled Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputStreamBase.jav
              > >> a, Compiled Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInputStreamBase.ja
              > >> va, Compiled Code)
              > >> at weblogic.cluster.StateDump.readObject(StateDump.java, Compiled Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLObjectInputStre
              > >> amBase.java, Compiled Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputStreamBase.jav
              > >> a, Compiled Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInputStreamBase.j
              > >> ava, Compiled Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStreamBase.java,
              > >> Compiled Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputStreamBase.jav
              > >> a, Compiled Code)
              > >> at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
              > >> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
              > >> Sat Nov 04 15:54:24 GMT+05:30 2000:<E> <MulticastSocket> Multicast socket receive error: java.lang.R
              > >> untimeException: I/O error opening JAR file from file:/mazaa/weblogic/weblogic/myserver/voter.jar
              > >>
              > >> error message on Solaris console is :
              > >> ******************************************
              > >> java.util.zip.ZipException: error in opening zip file
              > >> at java.util.zip.ZipFile.open(Native Method)
              > >> at java.util.zip.ZipFile.open(Compiled Code)
              > >> at java.util.zip.ZipFile.<init>(Compiled Code)
              > >> at java.util.zip.ZipFile.<init>(Compiled Code)
              > >> at weblogic.boot.ServerClassLoader.deploy(Compiled Code)
              > >> at weblogic.cluster.AnnotatedServiceOffer.expandClassPath(Compiled Code)
              > >> at weblogic.cluster.AnnotatedServiceOffer.readObject(Compiled Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializab
              > >> le(Compiled Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(Compile
              > >> d Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(Compi
              > >> led Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readObject(Compiled
              > >> Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(Compile
              > >> d Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readArrayList(Compil
              > >> ed Code)
              > >> at weblogic.cluster.StateDump.readObject(Compiled Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializab
              > >> le(Compiled Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(Compile
              > >> d Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(Compi
              > >> led Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readObject(Compiled
              > >> Code)
              > >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(Compile
              > >> d Code)
              > >> at weblogic.cluster.TMSocket.execute(Compiled Code)
              > >> at weblogic.kernel.ExecuteThread.run(Compiled Code)
              > >> Sat Nov 04 15:55:09 GMT+00:00 2000:<E> <MulticastSocket> Multicast socket receiv
              > >> e error: java.lang.RuntimeException: I/O error opening JAR file from file:/C:/we
              > >> blogic/myserver/eb_arn.jar
              > >>
              > >> Regards,
              > >> Jitendra Kumar
              > >>
              > >> Prasad Peddada <[email protected]> wrote:
              > >> >Do you trouble deploying the app also.
              > >> >
              > >> >- Prasad
              > >> >
              > >> >Jitendra Kumar wrote:
              > >> >
              > >> >> Hi,
              > >> >>
              > >> >> Cluster configuration : 2 NT boxes WLS5.1(SP6). On one m/c weblogic
              > >> >> is installed on drive C:\ and on another m/c weblogic is installed on drive D:\.
              > >> >> i.e. all jars are at two place m/c 1 : c:\weblogic\myserver\*.jar
              > >> >> m/c 2 : d:\weblogic \myserver\*.jar
              > >> >> When servers startup successfully, error is coming :
              > >> >>
              > >> >> on the console of m/c 1 :
              > >> >> java.lang.RuntimeException : I/O error opening JAR file from
              > >> >> file:/d:/weblogic/myserver/eb_arn.jar
              > >> >>
              > >> >> on the console of m/c 2 :
              > >> >> java.lang.RuntimeException : I/O error opening JAR file from
              > >> >> file:/c:/weblogic/myserver/eb_arn.jar
              > >> >>
              > >> >> When both the weblgoic servers are installed on two machines and
              > >> >> on same drive(c:\), this error is not coming.
              > >> >> i.e. all jars are at two place m/c 1 : c:\weblogic\myserver\*.jar
              > >> >> m/c 2 : c:\weblogic \myserver\*.jar
              > >> >>
              > >> >> Regards,
              > >> >> Jitendra Kumar.
              > >> >
              > >
              > >--
              > >Cheers
              > >
              > >- Prasad
              > >
              > >
              

  • Cannot load component from JAR file.

    I got the message : cannot load component ... from JAR file. The class must be compiled and must be on the classpath of the project...
    I just add a javabean from a JAR file from Palette manager, then drag and drop it, then got this message.
    Can anyone tell me what i was wrong ? Thank you.

    Hi,
    You should paste your error log here to easy for other to help you.
    For your scenario, it is a big chance you didn't include the jar file into your classpath, please check.
    Thanks.

  • How to extract html file and folder from jar file

    Hi all ,
    I should to submit my project tomorrow . plz help me .
    In my project jar file I have html page that should run when I use the program, I can't extract it . Also it have folder that contain some files that My program should use it . I dont know how to use it from jar file or how to extract it . plz help me.
    If you could I need java could for that.
    Thanks alot.

    Hi all ,
    I should to submit my project tomorrow . plz help me .
    In my project jar file I have html page that should run when I use the program, I can't extract it . Also it have folder that contain some files that My program should use it . I dont know how to use it from jar file or how to extract it . plz help me.
    If you could I need java could for that.
    Thanks alot.

  • Please help: Example how to peploy application from jar file step by step

    Please help: Example how to peploy application from jar file step by step.
    All help appreciated
    Mike

    Thanks I will try these links
    Mike
    "Slava Imeshev" <[email protected]> wrote:
    Hi Mike,
    These links could be useful:
    http://e-docs.bea.com/wls/docs61////adminguide/appman.html
    http://e-docs.bea.com/wls/docs61////quickstart/quick_start.html
    http://e-docs.bea.com/wls/docs61//////ConsoleHelp/application.html
    http://e-docs.bea.com/wls/docs61///programming/environment.html
    Regards,
    Slava Imeshev
    "Mike" <[email protected]> wrote in message
    news:3ca0e94c$[email protected]..
    Please help: Example how to peploy application from jar file step bystep.
    All help appreciated
    Mike

  • Reading Images from JAR Files

    Hi,
    I am having a very difficult time being able to read images from a JAR file via my Applet. I have tried everything that I know about with no luck. The only way I can get this to work is to store the images individually in a sub directory of public_html on the websever. This works, but I would like the images to come down in a JAR file for performance reasons.
    I am using Internet Explorer 5.5 for my browser. I checked the options and everything seems to be in order, but......
    I would appreciate any feedback that anyone might have on this topic..........
    Thank You....

    once in a jar file i inserted a image
    the jar file on clicking starts an frame.
    so the image was for getting that image at the icon place at top and at minimized window
    i could not get that image from jar file by new imageicon().getimage();
    but i get the image if it is in the directory in which jar file is.....
    can one explain the reason

  • Unable to read TLD "META-INF/jsf_core.tld" from JAR file "file:

    Hallo everybody :-)<br /><br />i've installed Workflow-Server + ARES + FormManager. When i call localhost:8080/adminui i can log in and the browser loads the next site --> it fails and says:<br /><br />org.apache.jasper.JasperException: Unable to read TLD "META-INF/jsf_core.tld" from JAR file "file:/C:/Adobe/LiveCycle/jboss/server/all/tmp/deploy/tmp56414LiveCycle.ear-contents/admi nui.war/WEB-INF/lib/jsf-impl.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: com.sun.faces.taglib.FacesTagExtraInfo<br />     org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:5 0)<br />     org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)<br />     org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:183)<br />     org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:181)< br />     org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)<br />     org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)<br />     org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)<br />     org.apache.jasper.compiler.Parser.parse(Parser.java:126)<br />     org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)<br />     org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)<br />     org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)<br />     org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)<br />     org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)<br />     org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)<br />     org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)<br />     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)<br />     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)<br />     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)<br />     javax.servlet.http.HttpServlet.service(HttpServlet.java:810)<br />     com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)<b r />     com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)<br />     com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)<b r />     com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)<br />     com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)<br />     javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)<br />     com.adobe.framework.SecurityFilter.doFilter(SecurityFilter.java:177)<br />     com.adobe.idp.um.auth.filter.PortalSSOFilter.doFilter(PortalSSOFilter.java:106)<br />     com.adobe.framework.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter .java:161)<br /><br />Any idea what' wrong?<br /><br />Thanks,<br />Valerio

    Hi Howard,
    thank you for your post.
    I actually new about the problems with the jvm version. Still i wanted to ask, cause there are different reports on this `java problems` and even though the 1.4.2_08 seems to be the best version (by the way this version is not to be downloaded any longer *sig*), there are people getting all installed with other versions. I couldn't find any regularity in the misbehavior of the servers while installing.
    I finally achieved and got everything working ... but very slow. Loading the adminui or BAM features takes very long time (over one minute). Have you already had this delay. Any hint?
    Thanks again,
    Valerio

  • App runs in Eclipse environment but not from jar file with no error message

    When I upgraded my jre to 5.0 my app does not run. After fixing the properties problem I had a few days ago it is now at least compiling and running within Eclpse
    However, when I export to a jar file it runs to a certain point and then just goes away with no error message!!! I've narrowed it down to the exact point where it dies but don't understand why it dies and especially gives me no errors whatsoever. It just goes away.
    It is creating an instance of a new class when it dies.
    Can someone please help me?

    Ok, well it doesn't. Anyway, I'm still having the same problems. I can run my jar file to a certain point and then the application just stops. I know this because I've put come message boxes in the application to let me know where in the app the system is.
    It always dies when it is instantiating the new class called HeidiFrame; done by:
    HeidiFrame heidiFrame = null;
    if I put code in between the above line and before the below line, this code will work fine
    heidiFrame = new HeidiFrame();
    but if I put code after the above line, nothing happens
    As I said this all worked fine until I upgraded to Java 1.5
    If you look at http://java.sun.com/javase/technologies/compatibility.jsp there are 23 compatibility issues with the new release. We're using xml stuff so that was my first problem and the code wouldn't even compiile. Once I added in libraries, the code compiled and ran beautifully.
    However, when creating my jar file so I can deploy this application , I've discovered that the jar file will only run to a certain point, as I've stated previously. So, that's my problem. Not that I can't run it from the command prompt, which I can't, but it's a gui application. I've tried changing things in the classpath file and the manifest to no avail. Nothing changes. The application starts but when it goes to instantiate the HeidiFrame class, which is the class that actually builds the gui it dies and goes bye bye.

  • Multicast socket receive error: java.lang.RuntimeException: I/O error opening JAR file from file:/D:/weblogic/mycluster/server86/tmp_deployments/ejbjar-17327.jar

    Hi,
    I need some help.
    Product=weblogic5.1.0
    Revision=(Release Level)=
    Problem Description=
    I am doing cluster of weblogic server, I have no problem to set up the
    cluster and to run servlet and EJB examples.
    However, on my command line for startcluster I got a lot of message as
    followed:
    Fri Aug 18 11:31:44 EDT 2000:<E> <MulticastSocket> Multicast socket receive
    error: java.lang.RuntimeException: I/O error ope
    ning JAR file from
    file:/D:/weblogic/mycluster/server86/tmp_deployments/ejbjar-17327.jar
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
    at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
    at weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java,
    Compiled Code)
    at
    weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer
    .java, Compiled Code)
    at
    weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java
    , Compiled Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
    jectInputStreamBase.java, Compiled Co
    de)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
    treamBase.java, Compiled Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
    tStreamBase.java, Compiled Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
    eamBase.java, Compiled Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
    treamBase.java, Compiled Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInput
    StreamBase.java, Compiled Code)
    at weblogic.cluster.StateDump.readObject(StateDump.java, Compiled
    Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
    jectInputStreamBase.java, Compiled Co
    de)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
    treamBase.java, Compiled Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
    tStreamBase.java, Compiled Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
    eamBase.java, Compiled Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
    treamBase.java, Compiled Code)
    at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
    Code)
    The message freshed about every 20 seconds.
    Another question, I used a iplanet web server as a proxy server with a
    cluster of two weblogic servers pluged in, although I set
    weblogic.properties to round-robin, however, when I run a fibonacci servlet,
    it does not do the round-robin. It always go to one machine for a lot of
    times. Any idea?
    Thank you for your help.
    Tom

    Hi,
    I need some help.
    Product=weblogic5.1.0
    Revision=(Release Level)=
    Problem Description=
    I am doing cluster of weblogic server, I have no problem to set up the
    cluster and to run servlet and EJB examples.
    However, on my command line for startcluster I got a lot of message as
    followed:
    Fri Aug 18 11:31:44 EDT 2000:<E> <MulticastSocket> Multicast socket receive
    error: java.lang.RuntimeException: I/O error ope
    ning JAR file from
    file:/D:/weblogic/mycluster/server86/tmp_deployments/ejbjar-17327.jar
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
    at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
    at weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java,
    Compiled Code)
    at
    weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer
    .java, Compiled Code)
    at
    weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java
    , Compiled Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
    jectInputStreamBase.java, Compiled Co
    de)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
    treamBase.java, Compiled Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
    tStreamBase.java, Compiled Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
    eamBase.java, Compiled Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
    treamBase.java, Compiled Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInput
    StreamBase.java, Compiled Code)
    at weblogic.cluster.StateDump.readObject(StateDump.java, Compiled
    Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
    jectInputStreamBase.java, Compiled Co
    de)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
    treamBase.java, Compiled Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
    tStreamBase.java, Compiled Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
    eamBase.java, Compiled Code)
    at
    weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
    treamBase.java, Compiled Code)
    at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
    Code)
    The message freshed about every 20 seconds.
    Another question, I used a iplanet web server as a proxy server with a
    cluster of two weblogic servers pluged in, although I set
    weblogic.properties to round-robin, however, when I run a fibonacci servlet,
    it does not do the round-robin. It always go to one machine for a lot of
    times. Any idea?
    Thank you for your help.
    Tom

Maybe you are looking for

  • Stuttering video in viewer

    Hi everybody, I bought Final Cut Express HD only last week and I am absolutely thrilled by the immense functionality of this program. I am facing one particular problem, however: when I am playing a video in the viewer of FCE, it is heavily stutterin

  • Printing on an HP Laserjet 5M through a Windows XP PC

    Hi, At our office we're running 10.3 and 10.4, as well as Windows XP. The XP computers are hooked up to the printer (HP Laserjet 5M & HP Deskjet 820 Cxi For Windows). Now, I've gotten my Mac (running 10.4) to actually see and communicate with the pri

  • Switching back to U.S. store from U.K. Store?

    How do I?

  • Profit Center required for Customer line items

    Hi Gurus, Can we make Profir center filed mandatory to customer/vendor line items in New GL

  • Startup disk disappeared from desktop!

    On two different Mac Pros, suddenly my boot drive has disappeared from the desktop. It used to be there, but now it's not. Rebooting the computer doesn't fix it. It is also missing from every Finder window's sidebar. I checked my prefs, but it doesn'