Referencing jars in other pars

Hi
I have been playing with a collection renderer and it needs to reference a class PropertyColumnRenderer from the jar km.appl.ui.flex.collection_core.jar from the portal app com.sap.km.cm.ui.flex , I tried supplying in the sharing reference com.sap.km.cm.ui.flex but it does not seem to pick it up . Any clues
Regards
Pran

Hi,
just decompile that PropertyColumnRenderer.class and include it in your own par. It should work.
There's no sharing reference for a jar which is in a private part I think.
Regards,
Ladislav

Similar Messages

  • Hyperion 11.1. 2.0 Install fails with "Some referenced jars do not exists"

    Hi All,
    I am trying to install Hyperion 11.1.2.0 on my laptop. Though the requirements document says the supported OS is windows 2003 or 2008, I have read that people are able to get it working on other OS' as well.
    I have downloaded the below files:
    V20779-01
    V20782-01
    V20783-01
    V20790-01
    V20792-01
    V20799-01
    V20800-01
    V20801-01
    V20802-01
    V20843-01
    V20850-01
    I have the loopback adapter installed and OBIEE 11g running on weblogic server.
    The EPM install has gone through successfully as I see from the log. But when I try to configure the "EPM System Configurator" it command exits with the below error message:
    Running preconfig checks...
    Running EPM_ORACLE_HOME check...
    EPM_ORACLE_HOME environment variable value: F:\OracleBI11G\EPMSystem11R1
    JAVA_HOME environment variable value: F:\OracleBI11G\EPMSystem11R1\..\jdk160
    _11
    EPM_ORACLE_HOME check succeeded
    Running .oracle.products check... .oracle.products check succeeded
    Running Jars manifest check...
    Time spent for manifests parsing: 220 ms
    Maximum jars depth achieved: 6, while restriction was: unrestricted
    Parsed 383 manifests
    Total jars and classpath entries encountered: 383
    Total not-existing referenced classpath entries count: 22
    Total classpath elements to check: 67
    ERROR: F:\OracleBI11G\modules\org.apache.ant_1.7.0\lib\xercesImpl.jar not
    exists; file depth: 3; referenced from F:\OracleBI11G\EPMSystem11R1\common\jlib\
    11.1.2.0\ctg.jar referenced from F:\OracleBI11G\EPMSystem11R1\common\jlib\11.1.2
    .0\epm_j2se.jar referenced from F:\OracleBI11G\EPMSystem11R1\common\config\11.1.
    2.0\configtool.jar
    FATAL ERROR: Jars manifest check failed with message "Some referenced jars do no
    t exist"
    Exiting in 30 seconds
    After reading a similar post in OTN which suggested this could be due to OHS not installed correctly, I reinstalled OHS successfully.
    I still get this error. Can anyone help me how to get around this issue.
    thanks,
    sandeep.

    I got the same problem with you. If you check in your physical directory, you wouldn't find F:\OracleBI11G\modules\org.apache.ant_1.7.0. Maybe when the installtools installed the EPM System, it detected that apache had been installed by OBIEE. Maybe you'll find F:\OracleBI11G\modules\org.apache.ant_1.7.1. The way I took to make configtools worked was by copying F:\OracleBI11G\modules\org.apache.ant_1.7.1 to F:\OracleBI11G\modules\org.apache.ant_1.7.0 and re run the configtools.
    Now I got the other problem when I tried to deploy foundation service to weblogic. It gave me EPMCFG-10067 : Failed to get admin user name for the domain.
    Try to copy F:\OracleBI11G\modules\org.apache.ant_1.7.1 to F:\OracleBI11G\modules\org.apache.ant_1.7.0. Maybe after that you can help me solving my problem.

  • Export applet from eclipse with referenced jars?

    Hey guys,
    I've been looking around for a good answer for how to do this. I'm working on a project that consists of an applet (JApplet) and some referenced jars. In Eclipse I can export the jar but can't figure out how to get it to include all of the referenced jars as well. Any idea how to go about doing this?
    Thanks
    Edit:
    I came across this post:
    http://forums.sun.com/thread.jspa?forumID=421&threadID=630738
    but didn't find a suitable answer
    Edited by: JFactor2004 on May 17, 2010 1:24 PM

    Figured it out. Just had to include the names of the jars in the applet tag in the html file.

  • How to use one ODSI project artifact as jar for other ODSI project?

    Hi,
    I am working on multiple ODSI proejcts in Same Server. My problem is how to call one projects resources in other ODSI project. I need this as Some of Data Services read the data from more then one database. The projects are in seprate Dataspace projects but they are deployed in same server. When I try to export artifacts from one projects and include them as Jar in other projects I am not able to see any Data service methods so unable to call any method of one project in other project. Please advise how to recsolve this problem.
    Thankyou in advance.
    Rahul

    If you already have a case open, it's polite if you mention that - so I don't have to answer the same questions to support and also to this forum. Likewise, when you get an answer to your question on this forum, you can tell support. So they don't keep looking for something you already have the answer to. Cuts down on the duplication of effort.
    You have one project. You add more files to it (regardless of how you add them - by creating files with the editor, by using a wizard or by importing files from another project), you still have only one project.
    If you had some other project that you exported the files from - that project is still there - but the original project does not know or care about it.
    Edited by: mikereiche on Jun 21, 2010 1:55 PM

  • Run *jar with other jars in classpath...

    Hey,
    I am writing a little tool in Java and I exported it into a jar file. My tool uses a jar from somebody else. A second jar so to say...!
    My Jar's path is: ~/Desktop/project/dist/lib/MyTool.jar
    The other jar is located in: ~/Desktop/project/lib/help.jar
    I call the java vm from: ~/desktop/project/exe/
    with:
    java -cp ../lib/help.jar -jar ../dist/lib/MyTool.jar
    Now the tool starts running and everything works fine up to the moment when it is supposed to use one of the classes from the help.jar.
    Then I get a java.lang.NoClassDefFoundError.
    What am I doing wrong here?
    I tried to copy help.jar into the /exe/ dir. --> Did not work!
    I tried to copy all of the file into one folder and start the tool from there. --> didn't work.
    It would be great if somebody could point my in the right direction on how to solve my problem.
    THX
    Martin

    Hey,
    I am writing a little tool in Java and I exported it
    into a jar file. My tool uses a jar from somebody
    else. A second jar so to say...!
    My Jar's path is:
    ~/Desktop/project/dist/lib/MyTool.jar
    The other jar is located in:
    ~/Desktop/project/lib/help.jar
    I call the java vm from: ~/desktop/project/exe/
    with:
    java -cp ../lib/help.jar -jar
    -jar ../dist/lib/MyTool.jar
    Now the tool starts running and everything works fine
    up to the moment when it is supposed to use one of the
    classes from the help.jar.
    Then I get a java.lang.NoClassDefFoundError.
    What am I doing wrong here?
    I tried to copy help.jar into the /exe/ dir. --> Did
    not work!
    I tried to copy all of the file into one folder and
    start the tool from there. --> didn't work.
    It would be great if somebody could point my in the
    right direction on how to solve my problem.The classpath argument is ignored when you are running a jar using java -jar some.jar. You have to specify the class path from within the Manifest.
    Basic JAR tutorial:
    http://java.sun.com/j2se/1.4.1/docs/guide/jar/jar.html
    Tutorial about the extension mechanism:
    http://java.sun.com/products/jdk/1.2/docs/guide/extensions/spec.html

  • Query on jar files in PAR file

    Hi All,
    I have a PAR file, which contains a JAR file (and this jar file contains the classes). I have extracted these class files and have decompiled them into .java files
    These java files are present into a package (eg xx.yyy.zzz). So should I create this folder structure on my local directory ? These java files are referring to a no of other imports (I believe that they are other class libraries, so will I have to include them in the classpath ?)
    Also, I want to make some modifications to these java class, re-compile them and post them into the .jar file
    Can someone let me know the steps involved with this procedure.
    Thanks,
    Nikhil

    Hi Nikhil,
    Can I ask why you wanted to decompile the class files in the JAR? Is it your own JAR or don't you have the original source code? I would not recommend you use a decompiler to get back to the source, as decompilers are not always 100% reliable or accurate (sometimes useful to see what is going on in code only).
    I would recommend that if you need to make changes to the classes in the JAR that you extend the objects and write your own objects that inherit from the originals if possible. That way you can leave the JAR intact and just reference them in your own code.
    Hope this helps,
    Simon

  • Weird classpath issue in EAR.Some classes can access jars that others cant!

    Hi,
    I'm experiencing a very frustrating problem that's proving to be a bit of a show stopper for me. I would really appreciate some help...
    I have an EAR deployed successfully on Sun Appserver 8 which passes the tests from the sun EAR verifier tool. The ear contains a jar file that I built which has a stateless session bean, home, remote interfaces and rmi stubs, deployment descriptors, as well as some utility classes. The EAR also contains some third-party jars such as Hibernate, Log4-j, apache-commons etc etc. The jar I built has in it's manifest file, the classpath information to reference the other jars in the ear.
    The problem I am having is that one of the classes in a third-party jar (hibernate3.jar) cannot see a class in another of the third party jars (log4j-1.2.8.jar) and as a result is throwing a NoClassDefFoundError for org/apache/log4j/Layout while trying to initialise - the two jars are at the root of the EAR.
    Furthermore, my utility classes can access and use Log4j classes without any problem and logging command from those classes is output successfully to the server console. However, my session bean, which is packaged in the same jar as the utility classes, fails to log anything even though it uses exactly the same logger and log configuration as the utility classses.
    I have tried adding classpath information to the manifest of the EAR so that the third-party jars can pick it up but this makes no difference. Also, according to the EAR verifier tool, you are not allowed to put any classpath information in the EAR manifest.
    I have also tried deploying this in weblogic but am experiencing the same problem.
    If anyone can offer any advice or solutions I would greatly appreciate it.
    :)

    what´s type error have you?
    perhaps external libraries (located in classpath) invoke opsCommon.jar and config-3.0.jar classes. then, classnotfound is normal.
    and... why separate external libraries (opsCommon.jar and config-3.0.jar inside ear, and other in classpath)?

  • Referencing Jar inside a Jar

    Hi,
    i have a jar file. the classes inside the jar file refers to classes within another jar file. i packaged the second jar into my jar file but during runtime i get NoClassDefFoundError when i refer to the classes inside the second jar.
    i tried giving the classpath in manifest file but it does not work.
    My question is how to reference a jar which is inside another jar?
    Thanks
    Daniel

    I don't think you can reference classes inside a jar that's itself in a jar.
    However you can definitely reference classes in a (non-nested) separate jar.
    For example A.class in A.jar can reference B.class in B.jar if you put:
    Class-Path B.jar
    in A.jar's manifest file.
    One thing that screwed me up when I first tried this stuff, was that the syntax of Class-Path is not the same as I first expected. If you have more than one path items to put in your class path, you don't separate them with a colon or semicolon, but with spaces.
    good luck
    j

  • Porting executable JARs to other computers

    Hi, all!
    There seem to be about 10 threads on this topic already, but none of them had any information that fixed what's wrong with my manifest.
    I'd like to be able to put a downloadable executable jar file on my site so a professor can just download and double-click to run my program (he may or may not have linux, windows, or mac, but he'll definitely have the JRE). I'm getting the "Could not find the main class: program will exit now" error when double-clicking on a jar I created in Eclipse. The program has one main class called Model, and three other classes. The package name is Model, and the project name is ExerciseOneBeta. Here's the contents of my default created manifest file:
    Manifest-Version: 1.0
    Main-Class: Model.Model
    From reading the other forum threads, I made sure that there was a new line after the second line of text. I've already read the jar tutorial at sun; it only included information on how to run a jar from command line, and only after already configuring your JRE path to be accessible to any jar on your machine. I need my jar to be double-clickable and totally self-contained. How should I try to modify my manifest?

    I have twice had similar problems to this and they
    were caused by the following.
    1) Stupid flash and it's stupid installer that
    fiddled with my classpath.
    2) Something when I installed 1.5 runtime whichwent
    away after I upgraded to a more recent version.The app runs fine in Eclipse. If the jar file needs
    to know anything about my classpath or enviro
    variables, the jar file hasn't been constructed
    properly. I need a jar file which is FULLY
    self-contained, and executes on a double-click.Yes, yes lovely.
    What I am saying is that both of those were bugs in other things that manifested (ha ha) themselves when I tried to run self executing jars.
    For starters I would check to see that something hasn't tried to add/modify otherwise screw you up by adding a system environment variable or the like called classpath to your system.

  • Running Jars with other Jars

    Hello people, let me tell you a little stroy
    I'm using netbeans IDE to wrtie a program that uses the mysql connector package to interface with a database. Every time I compile in the IDE, it gives me a nice little command line executable to try. (Something along the lines of
    "To run this application from the command line without Ant, try:
    java -jar "C:\...path to my jar"
    ... so I go ahead and try it ...
    I'm getting a class not found error. the class its not finding is the connector:
    com.mysql.jdbc.Driver
    thus, im wondering what the syntax would be to include that in the command line call .... or if there's a better way to run my application with all of the extensions it needs without the IDE.
    Thanks in advance ..

    Sorry, but we have heard that story before...
    To run an Java application use:
    Usage: java [-options] class [args...]
    (to execute a class)
    or java [-options] -jar jarfile [args...]
    (to execute a jar file)
    where options include:
    -client to select the "client" VM
    -server to select the "server" VM
    -hotspot is a synonym for the "client" VM [deprecated]
    The default VM is client.
    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
    A ; separated list of directories, JAR archives,
    and ZIP archives to search for class files.
    -D<name>=<value>
    set a system property
    -verbose[:class|gc|jni]
    enable verbose output
    -version print product version and exit
    -version:<value>
    require the specified version to run
    -showversion print product version and continue
    -jre-restrict-search | -jre-no-restrict-search
    include/exclude user private JREs in the version search
    -? -help print this help message
    -X print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
    enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
    disable assertions
    -esa | -enablesystemassertions
    enable system assertions
    -dsa | -disablesystemassertions
    disable system assertions
    -agentlib:<libname>[=<options>]
    load native agent library <libname>, e.g. -agentlib:hprof
    see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
    load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
    load Java programming language agent, see java.lang.instrument

  • Create trigger if referenced column from other db not exists

    I have such scenario: there are two databases DB1 and DB2.
    DB1 has table MyTable and new column was added NewCol.
    On the DB2 table a trigger was created that updates DB1.MyTable.NewCol.
    Both scripts generated by SSDT are correct but the problem is during deployment. I have an automation tool which executes publish scripts in a predefined order. In this case DB2 is executed first and the scripts fails because referenced column from DB1 doesn't
    exist yet.
    Do you have any idea how to overcome this issue? Off course I could change an order in which scripts are executed and create DB1 before DB2. But in other scenario I could have a cross reference dependency and I am afraid there is no use for SSDT in such
    case.

    I found a workaround. The solution is to handle it manually in an pre-deployment script.
    In this scenario I added pre-deployment script for DB2 to check if new column exists in DB1 and if not then create it.
    IF (OBJECT_ID('ATC.dbo.tblDisplayStatusOverview') IS NOT NULL)
    BEGIN
        PRINT 'Checking if columns exists ATC.tblDisplayStatusOverview.IPAddress...'
        IF (COL_LENGTH('ATC.dbo.tblDisplayStatusOverview', 'IPAddress') IS NULL)
        BEGIN
            PRINT 'Adding column ATC.tblDisplayStatusOverview.IPAddress...'
            ALTER TABLE ATC.dbo.tblDisplayStatusOverview
                ADD [IPAddress] VARCHAR (15)  NULL;
        END    
    END

  • Referencing cells in other numbers spreadsheet files

    A couple of questions:
    1)I have two sheets (Sheet A and Sheet b) in the same file. Both sheets have a single table named Table 1 in them. I can double tap on a cell in Sheet A Table 1, tap on the equal sign in the entry box. I can then go to Sheet B Table 1 and double tap on a cell. Numbers inserts a reference of Sheet B::Table 1::Col Row. I can now change the value in Sheet B and Sheet A updates automatically. My question is can I type in the reference to the cell in Sheet B and not do all the finger tapping?
    2)Can I type in a reference to another cell in a table on a sheet in another Numbers file located on my iPad. If not is there a way to tap to the reference?

    I have had no luck typing in any formulas in iPad numbers directly. I can do it using the desktop version, but not the iPad. I found I had to do all the finger tapping the op mentions. Even to type simple formulas that I know how to do by heart, I had to search the function list and select the item from the list.
    If I use the keyboard that comes up within the equation editor it places everything in quotes and sees it as text. Which doesn't invert to the actual equation. If I use the text input and type an equal sign with the equation it still sees it only as text.
    If you know how to do the typing thing, please give us more in depth instructions on how to do this in numbers for iPad as that would be beneficial to a degree you annotate fathom.
    Referencing the other file thing doesn't work in desktop at all, so thi is only reefing to how to get to type in my formuas by hand in. Single file, referring to a single file in iPad numbers.
    Thanks
    Jason

  • Referencing JAR files locally

    I'm trying to reference a Jar file on a LAN for the purpose of getting to its main class and invoking it from my local machine (via a class loader and jar runner generic app). I know the exact location on the LAN (directory structure/path name values), but don't know how to translate this to a URL. Is this possible? A URL seems to imply a reference on the net. What if you want to reference a local Jar file (on a LAN, on your own machine, etc.)?

    Where can I get more info re the 'file:' URL protocol (format)? URL documentation doesn't seem to have any.

  • Referencing JAR files

    I would like to use java mail in a jsp file that is sitting in IFS but how do I tell IFS to reference the appropriate jar files?

    If you're using JWS, you can add your special jar to the iFS classpath by setting an environment variable named IFS_CUSTOM_CLASSPATH to include the location of the .jar file.
    If you're using Apache, you'll have to edit the apache/jserv configuration files which specify the classpath.

  • Referencing cells in other tables

    I am trying to build an application that requires formulas that need to reference cells in another table. Is this possible. If not is there a way to have rows in a table hidden so that only the summary totals are showing. So far it appears neither can be done.
    Steve

    We have had similar questions in the past, and no one has been able to reference one table from another.
    To hide a row is not easy either. The best thing seems to be to set the colours of both text and borders to white (or anyhow the background of the page) or 0% opacity, even though the row still takes up space.

Maybe you are looking for