Manifest class-path does not works

Hi,
We use Jrockit 1.4.2 (latest) on Solaris.
We found that manifest class-path does not seems to work, we got classdef not found messages.
If we change the JVM to sun 1.4.2 that everything works perfectly.
Manifest:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.5.2
Created-By: 1.4.1_02-b06 (Sun Microsystems Inc.)
Implementation-Title: com.clarify.igb.common.ejbserver
Implementation-Version: 12.5.000
Implementation-Vendor: Amdocs Inc.
Specification-Title: ClarifyCRM Business Object Infrastructure
Specification-Version: 12.5.000
Specification-Vendor: Amdocs Inc.
Class-Path: ClfyShared.jar ClfyCbo.jar ClfyClient.jar ClfyWebInf.jar C
lfyiSupport.jar ClfyUtil.jar jdom.jar ClfyCommon.jar ClfySales.jar Cl
fymOrder.jar ClfyiAdmin.jar ClfyBilling.jar ClfyBillingManager.jar Cl
fyEmailProcessor.jar
What can be the problem?
Regards.,
LJ

Hi Jaejun,
a.jar should also have a MANIFEST.MF Class-Path refering to b.jar.
HTH
Regards,
Slava Imeshev
"Jaejun Lee" <[email protected]> wrote in message
news:3e541ede$[email protected]..
>
I meant <CRLF> not <CR> only.
Thank you.
"Jaejun Lee" <[email protected]> wrote:
Ravinder Pal <[email protected]> wrote:
I have read all message posted in this regard but my problem still
remain.
Please read the context to give me some pointers.
myapp.ear contains
- myejb.jar contains
- manifest with Class-Path a.jar b.jar
- a.jar (Internal)
- b.jar (Some external Vendor)
Problem: Call from a.jar classes which reference b.jar classes doesraise
a ClassNotFoundException.
Thanks.
I have a similar problem with WebLogic 7.0 sp1.
I have to verify this.
Dose WebLogic support MANIFEST.MF Class-Path in development-mode.
Indeed, I just put a.jar and b.jar in application directory.
I put Class-Path: b.jar<carrage-return> in MANIFEST.MF of a.jar.
But, a.jar cannot find classes in b.jar.
Do I have to make EAR?

Similar Messages

  • Negative (to inline a letter or to thin it) offset path does not work in Illus-CC 2014 (when preview is on- nothing happens). How can I get this to work like in previous versions.

    Negative (to inline a letter or to thin it) offset path does not work in Illus-CC 2014 (when preview is on- nothing happens). How can I get this to work like in previous versions.

    Thanks for your quick reply. I tried a number of different values. Usually when I do a negative offset they're very small values, like -.25 or -.5.
    An Update- I took the art work into Ai CS 6 and It still did not work, which is really strange. And I've used it hundreds of times with success in the past. Also I tried it with live type and outlines, ungrouped, un-compounded still could not get it to negative offset.
    Thanks for the help.

  • Creating a symlink directory on a network share to a path below a mapped drive letter, local path, or UNC path does not work

    Am I correct in assuming I can not create a `symlinkd` to a network share, local path, or a UNC path on a network share that will be accessible by clients?
    ###Mapped drive letters don't work:
    1) navigate to a network share:
    pushd \\windows2008server\share\
    2) make a hardlink:
    mklink /d test_sharedir t:\directory\
    dir .\test_sharedir
    #Directory of Z:\test_sharedir
    #File Not Found
    UNC paths don't work:
    1) navigate to a network share:
    pushd \\windows2008server\share\
    2) make a symlink:
    mklink /d test_dirunc \\windows2008server\share
    dir .\test_dirunc
    #Directory of Z:\test_dirunc
    #File Not Found
    I can create a functional `symlinkd` on a local drive to a mapped drive letter or a UNC path.
    Are my assumptions above correct?
    We are in the middle of a migration and have created two symlinkd to UNC paths for shared DLLs, one below c:\windows\system32\ (directing to a share containing 64-bit DLLs) and one below c:\windows\syswow64 (directing to a share containing 32-bit DLLs).
    On the file server, we have had a path to 32-bit DLLs (from Windows 7 clients: s:\dll\).  I am attempting to rename this directory so that it is accessible via "s:\dll32\" and would like to create a symlinkd that links "s:\dll" to
    "s:\dll32" [again where S: is a mapped drive on a Windows 2008 server].  How do I do this?
    Thanks,
    Matt

    Hello Mandy,
    The link you sent me is for Netapp CIFS server daemon contained within DataOnTap (the Netapp OS) to follow symlinks.  I am inquiring about the Microsoft products Windows Server and Windows 7.
    To gain a better understanding of the Microsoft Windows Server and client (Windows) CIFS stacks and interaction of the stacks, I have referred to Figure 6 "Server Message Block Server Model" within the following (albeit older) document: http://download.microsoft.com/download/2/8/0/2800a518-7ac6-4aac-bd85-74d2c52e1ec6/tuning.doc
    You will see the following:
    I assume that the Windows Server CIFS server service must be "smart enough" to determine that a CIFS client is attempting access to a SYMLINKD and actually fill the request by following the SYMLINKD.  The CIFS server service does not appear
    to operate like this.
    1) Am I correct in my assumption that the CIFS client (redirector) and the CIFS server (server) do not following symbolic links (whether they be file or directory)?
    2) If not, how do I submit a feature request for this so that it can be reviewed and approved or not approved for inclusion/hotfix release?
    Thanks for your time,
    Matt Brown
    [UPDATE]
    Note that you can use a `directory junction` instead of using a SYMLINKD, to link to LOCAL resources (source). However, `directory junctions` do not allow access to resources over UNC.

  • System poerties class path is not working

    I am using reflection to call my class's main method.
    For that i am loading a class by Class.forName method and then calling main method.
    if i am using set classpath="path to be used" command on command prompt then it finds the class, loads it and calls the main method.
    but
    if i am setting the class path by System class
    i.e. System.setProperty("java.class.path", "path to be used") then it is not able to find the class and gives me exception "java.lang.ClassNotFoundException".
    i have also cross checked whether the class path is set properly by calling method System.getProperty("java.class.path"); it returns me the same class path which i had set by calling
    System.setProperty("java.class.path", "path to be used")
    Can you please some one help me to solve this problem where i am missing any step or we can't do this way?
    or you can tell me the alternate way by which i can set the class path dyanamically.

    i want to call the class main method, for that i am sending runtime the class name, and classpath of jar files,
    Problem is with the class path.This work by setting classpath by command promopt's command set classpath. But then every time i have to change the classpath by using set classpath command. i dont want this approch so i am trying to do with System.setProperties("java.class.path","path to be used") but not worked give me exception class not found. please refer the following code.
                                                        System.setProperty("java.class.path", classpath);
                   Class product= Class.forName("className");
                   Class classArray[] = {String.class};
                   Object argsArray[] = {"parameterst to method"};
                   Method mainMethod = product.getMethod("main", classArray);
                   mainMethod.invoke(null, argsArray);With this code it gives me exception class not found.

  • Replacement path does not work for a specific query after migration 7.0

    Hello all,
    We have a problem with a replacement path variable in a query.
    After the migration, it seems this replacement path doesn't work.  This replacement path is defined inside a structure that is used in some other queries and for the other queries is working properly.
    Another think we have done is to make a copy of the query where the replacement path doesn't work and the copied query works ok.
    Did anybody find this kind of problem in a migration. Any help will be appreciated.
    Regards, Inma

    This is just for those who might have simmilar requirement &  would in case refer to this thread..
    Me too faced same problem of OLE DB for OLAP cant be released. I was using  replacement path query variable which was using result set from the other  query.
    I just had to uncheck 'Allow External Access' in release for OLE  DB for OLAP in query properties. This worked from me, my query using replacement path variable is giving desired results.
    Hope this might be useful for relevant users.
    Regards,
    Pritesh

  • Class.newInstance() does not work the same way in Java 5.0

    We upgraded our development environment to RAD 7, and I am experiencing an interesting problem with the code below which worked perfectly with the previous version.
    Class cloneClass = fromObject.getClass();
    Object toObject = null;
    toObject = cloneClass.newInstance();
    I am using an open source hashtable called OrderedHashtable that uses the key-value lookup capabilities of a hashtable and order preserving capablities of a vector. It stores the objects in a hashtable and stores the keys in a vector.
    fromObject in the code above is a key (String) that I retrieve from the OrderedHashtable and clone it using the code above. But with java 1.5 , the cloneClass.newInstance of this String object returns an empty string.
    I guess there is a work around where I can check if the cloneClass is an Instance of String and just do fromObject.toString(), but I was curious to know if there was a change in the way class.newInstance() works in Java 1.5

    >
    fromObject in the code above is a key (String) that I retrieve from the OrderedHashtable and clone it using the code above.No. How could that code possibly clone a String? Where are you telling it what the new String's contents should be?
    (HINT: Nowhere.)
    I guess there is a work around where I can check if the cloneClass is an Instance of String and just do fromObject.toString(), but I was curious to know if there was a change in the way class.newInstance() works in Java 1.5No, it has not changed.

  • String-to-​path does not work on cRIO?

    I am running LV8.20 on my laptop and cRIO-9012.  The laptop runs Win XP SP2.
    From the attached snapshot, you can see that I am trying to form a file path from concatenated strings, using the string-to-path node.  When I run this vi in Windows target, it works perfectly.  The "x=y?" boolean returns true.
    When I run it on CompactRIO, I get error 1430 ("The path is empty or relative.  You must use an absolute path.").  The "x=y?" boolean returns false.  I have already created the "paths" subdirectory on cRIO with an FTP utility.  If I wire the file path definition constant (as opposed to the one generated by string-to-path) directly to the "open file" node, cRIO recognizes it and writes the file... usually!
    What am I missing?  Any help is greatly appreciated.
    By the way, I don't know how the "Wait for front panel activity" nodes work (also shown in the snapshot), but they certainly don't seem to cause the program to wait for front panel activity.  Both in Windows and cRIO targets, they seem to be completely ignored.
    Attachments:
    string-to-path.PNG ‏13 KB

    David:
    Most of the time, this error is thrown when LabVIEW FPGA cannot resolve a specific I/O node used in the FPGA VI. It is possible that the name of an FPGA I/O was changed in the Project Explorer with
    the FPGA VI closed and then the FPGA VI was compiled. Since the FPGA VI was not updated with the new I/O node, LabVIEW FPGA cannot resolve the specific IO node reference.
    In order to verify that this is actually the source of the problem, create a new project from scratch which includes some I/O, create a new FPGA VI that uses these I/Os and then try compiling it. If the compile is successful, then the resolution to this problem would be to check the original FPGA VI and make sure that it has valid I/O nodes corresponding to the ones defined the Project Explorer.
    I hope this helps and please let me know what you find.
    Regards,
    Rudi N.
    Message Edited by Rudi N on 04-24-2007 02:27 PM

  • Dynamic path does not work in Css files

    Hi,
    I have a css file in which i have used few images, but when i try to make the path dynamic and include that css in my page the image doesn't appear but when i put the complete path in it it works.
    It works when used in this way :
    .inputrightbg
         background-image: url(http://<hostname>:<port>/idc/groups/public/documents/omp_images/input_rightbg.gif); background-repeat: no-repeat; background-
    position: right top; float: left; padding: 4px 10px 4px 0px; height: 26px;
    Doesn't work when use in this way :
         background-image: url(<!--$HttpRelativeWebRoot-->groups/public/documents/omp_images/input_rightbg.gif); background-repeat: no-repeat;
    background-position: right top; float: left; padding: 4px 10px 4px 0px; height: 26px;
    Thanks,
    Abhijit

    Right, you can't put IdocScript in css.
    You can use the Web URL Map though to make urls that are easy to deposit in CSS.
    Check these out:
    http://www.corecontentonly.com/index.php/2009/10/14/web-url-map-extras/
    http://blogs.oracle.com/kyle/2009/09/friendly_urls_for_ucm.html
    -Jason
    http://www.corecontentonly.com
    http://www.redstonecontentsolutions.com

  • How to "Call by Reference" when running in RealTime (path does not work)

    I have a .vi which has been "uploaded" to a PXI chassis to run in RealTime.
    I have this feeling that one of my sub-vi's are not functioning properly. I have a sub-vi which "Opens a VI reference" to a .vi located on my Windows harddrive. But, when everything is setup in Realtime, it cannot locate this .vi anymore.
    I need to load a .vi dynamicaly, multiple times. Is there another way around it?

    Yes, that worked well. I had gotten it to work, but had not replied to this post to indicate my success. My actual problem had to do with me forcing a "close front panel". I had read in some other posts that you cannot modify front panels or other user-activity type of options when running real time. By removing the "FP Close" function, the call to the specific .vi worked great (and with the addition of the IP address for the opening of a local reference). Thanks again for all the input.

  • J2EE Packaging and manifest Class-Path:

    Does anyone know if Weblogic 6.0 supports the redefined deployment extension mechanism
    that makes use of the 'Class-Path:' entry in the manifest files?
    In our project we have one single .ear file containing a couple of EJB's (.jar
    files) and a Web Application (.war file).
    We are using log4j as logging mechanism and we would like to keep everything in
    the .ear file so that we can make hot-deploys. So we are trying not to make use
    of the classpath in startWebLogic.sh. All of our EJB's and the Web Application
    makes use of log4j.jar. My question is; can I do the following and make it work
    in Weblogic 6.0?
    1. In every EJB .jar file I add the follwing to the manifest file - "Class-Path:
    log4j.jar"
    2. I place the log4j.jar in the root directory of the .ear file.
    By doing this I expect that the ear classloader loads the log4j.jar classes. Am
    I right or do I do something wrong. At least it does not seem to work.
    Using Weblogic 6.0 without service pack.
    Thanks,
    Steen

    This does not work in WebLogic 6.0. It's supposed to be supported in 6.1
    Daniel
    -----Original Message-----
    From: Steen Laursen [mailto:[email protected]]
    Posted At: Wednesday, August 08, 2001 1:32 PM
    Posted To: environment
    Conversation: J2EE Packaging and manifest Class-Path:
    Subject: J2EE Packaging and manifest Class-Path:
    Does anyone know if Weblogic 6.0 supports the redefined
    deployment extension mechanism
    that makes use of the 'Class-Path:' entry in the manifest files?
    In our project we have one single .ear file containing a
    couple of EJB's (.jar
    files) and a Web Application (.war file).
    We are using log4j as logging mechanism and we would like to
    keep everything in
    the .ear file so that we can make hot-deploys. So we are
    trying not to make use
    of the classpath in startWebLogic.sh. All of our EJB's and
    the Web Application
    makes use of log4j.jar. My question is; can I do the
    following and make it work
    in Weblogic 6.0?
    1. In every EJB .jar file I add the follwing to the manifest
    file - "Class-Path:
    log4j.jar"
    2. I place the log4j.jar in the root directory of the .ear file.
    By doing this I expect that the ear classloader loads the
    log4j.jar classes. Am
    I right or do I do something wrong. At least it does not seem
    to work.
    Using Weblogic 6.0 without service pack.
    Thanks,
    Steen

  • Drag and Drop example porting to Linux does not work

    Hi Guys,
    Encountered this problem : I have a JFrame that displays the name and path of a file that is dragged from a Windows(Explorer) environment into the frame. This works seamlessly in Windows. However, porting to Linux and doing the same thing(dragging the file from File Manager into the Frame to display the file name and path) does not work.
    I suspect the case may be something to do with the flavormap.properties file found in the jdk1.xx/jre/lib file. Can anyone help?
    RG

    Hi,
    I don't know what is causing the problem, but I have been able to avoid it by starting Jdeveloper from $home\jdev\bin\jdev.exe.
    Regards,
    Mathias

  • Row highlight does not work when class has a background-clolor

    This is more a CSS / javascript question but since the problem occurs in Apex I'll try my luck here.
    I try to implement a row highlight feature that worked in 3.2 but not in 4.0. The difference is that the style that is used for the table cells contains a background-color in the 4.0 template and it did not in 3.2.
    This is how it works.
    I created a report template with "before each row" : <tr onMouseOver="cOn(this);" onMouseOut="cOut(this);">
    The javascript does this:
    function cOn(td) {
       if(document.getElementById||(document.all && !(document.getElementById))) {
          if (td.previousSibling != null) {
              td.style.backgroundColor="#FFFF99";
              td.style.color="#000000";         
    }My thought was that td.style.backgroundColor="#FFFF99" would overrule the background color given by the class but when this happens from within javascript this does not work. Is this proper behaviour? Are there other methods that will work?

    Hi Rene
    If you are just looking for a row highlight on a mouse hover, it might be easier to place the following in the html header of the page:
    <style = text/css>
    .apexir_WORKSHEET_DATA tr:hover td {
    background-color: #FFFF99 !important;
    color: #000000 !important;
    </style>
    ~Andrew Schultz

  • I've moved my Aperture library to another computer, and masters are referencing an old path name.  How can I update these references?  Reloctating masters does not work in this case :(

    I've moved my Aperture library from one computer to another using Finder.
    I merged the library with one which was already on the computer.
    Now, the photos I imported have reference to the old path name on my old computer.
    How can I update these references as "Relocate Masters" does not work in this case?

    Just one suggestion to be able to reconnect all at once:
    Create a smart album containing the images with missing masters:
    File -> New ->  Smart Album,     and add a rule: File Status is "Missing"     (or File Status is "offline")
    Then select the images in this album and go to the File menu:
    and select:   File -> Locate referenced File
    If you are lucky, Aperture will reconnect all at once, if you point the first image version to its counterpart.

  • When i paint either black or white on layer mask it erases picture pixels also path selection tool does not work

    when I paint either in black or white on layer mask it erases picture pixels also path tool does not work

    I would try resetting your preference file first:  http://www.lightroomforums.net/showthread.php?14226-Resetting-(or-Trashing-)-the-Lightroom -Preferences-file
    Also, install the latest version 4.4.1 would probably be a good idea.

  • Verify a jar's manifest class-path

    I want to verify a jar file's manifest class-path. By that I mean I want to verify that every import of every class in the jar file is reachable on the classpath specified in the jar file's manifest. I tried using a ClassLoader to load every class in the jar file and that does indeed catch a few errors (imported classes that are not on the classpath), but it does not catch them all -- I have situations where loading the class works fine, but when the code is executed, I get NoClassDefFoundError because an imported class is missing from the classpath. I have tried things like calling getDeclaredMethod() on the loaded class to sortof force all the imports to be resolved, but that apparently does not work.
    So, can someone tell me how to sortof "force" a loaded class to reference/validate all its imports?
    Thanks,
    Lee

    Well yes, I know that executing the code would do it. But I'm not in a position to execute the code -- I'm doing this during a build and want to verify that I've built all the jars properly and have all the right classpaths. It's actually quite easy to use ANT to compile and create jar files that produce NoClassDefFoundError at runtime, due to leaving needed classes from the jar, or from bogus classpaths in the jar's manifest.
    So, I was hoping there was some other way to do this. Perhaps I need to do something ugly like examining the bytecodes of each method...
    Thanks,
    Lee

Maybe you are looking for