Signing problems with ucf.jar

I've been trying to sign my extension with ucf.jar to make it possible to install the .zxp. I created a self-signed certificate using Keychain Access > Certificate Assistant in MacOSX and exported it to a .p12-file. When i try to build and sign the .zxp with:
java -jar ucf.jar -package -storetype PKCS12 -keystore certificate.p12 -storepass password myExtension.zxp -C "./myExtension/" .
i get the following stacktrace:
Packaging failed: Unknown or invalid signature algorithm.
java.security.GeneralSecurityException: Unknown or invalid signature algorithm.
    at com.adobe.pki.PKIContext.VerifyCertPath(PKIContext.java:167)
    at com.adobe.ucf.CodeSigner.BuildAndVerifyCertChain(CodeSigner.java:297)
    at com.adobe.ucf.CodeSigner.getXMLKeyInfo(CodeSigner.java:241)
    at com.adobe.ucf.CodeSigner.getSignatureXML(CodeSigner.java:184)
    at com.adobe.ucf.UCFOutputStream.finalizeSig(UCFOutputStream.java:264)
    at com.adobe.ucf.UCFPackager.createPackage(UCFPackager.java:109)
    at com.adobe.ucf.UCF.doPackage(UCF.java:114)
    at com.adobe.ucf.UCF.main(UCF.java:64)
Couldnt find anything about this in the sign-toolkit-pdf.

Sorry to hear you've been having problems with this - the next release of the signing toolkit should hopefully make things easier.
For now, please try these two things:
Download the latest version of the signing toolkit (which includes UCF.jar) from here: http://www.adobe.com/devnet/creativesuite/sdk/eula_cs6-signing-toolkit.html
Generate a P12 file using the keytool (e.g./usr/bin/keytool):keytool -genkey -alias ALIAS -keystore FILENAME.p12 -storepass PASSWORD -validity 3650 -keyalg RSA -keysize 2048 -storetype pkcs12
Please let me know how you get on.
Best wishes,
Fraser

Similar Messages

  • Performance problem with ojdbc14.jar

    Hi,
    We are having performance problem with ojdbc14.jar in selecting and updating (batch updates) entries in a table. The queries are taking minutes to execute. The same java code works fine with classes12.zip ans queries taking sub seconds to execute.
    We have Oracle 9.2.0.5 Database Server and I have downloaded the ojdbc14.jar from Oracle site for the same. Tried executing the java code from windows 2000, Sun Solaris and Opteron machines and having the same problem.
    Does any one know a solution to this problem? I also tried ojdbc14.jar meant for Oracle 10g, that did not help.
    Please help.
    Thanks
    Yuva

    My code is doing some thing which might be working well with classes12.zip and which does not work well with ojdbc14.jar? Any general suggestions to make the code better, especially for batch updates.
    But for selecting a row from the table, I am using index columns in the where cluase. In the code using PreparedStatement, setting all the reuired fields. Here is the code. We have a huge index with 14 fields!!. All the parameters are for where clause.
    if(longCallPStmt == null) {
    longCallPStmt = conn.prepareStatement(longCallQuery);
    log(Level.FINE, "CdrAggLoader: Loading tcdragg entry for "
    +GeneralUtility.formatDate(cdrAgg.time_hour, "MM/dd/yy HH"));
    longCallPStmt.clearParameters();
    longCallPStmt.setInt(1, cdrAgg.iintrunkgroupid);
    longCallPStmt.setInt(2, cdrAgg.iouttrunkgroupid);
    longCallPStmt.setInt(3, cdrAgg.iintrunkgroupnumber);
    longCallPStmt.setInt(4, cdrAgg.iouttrunkgroupnumber);
    longCallPStmt.setInt(5, cdrAgg.istateregionid);
    longCallPStmt.setTimestamp(6, cdrAgg.time_hour);
    longCallPStmt.setInt(7, cdrAgg.icalltreatmentcode);
    longCallPStmt.setInt(8, cdrAgg.icompletioncode);
    longCallPStmt.setInt(9, cdrAgg.bcallcompleted);
    longCallPStmt.setInt(10, cdrAgg.itodid);
    longCallPStmt.setInt(11, cdrAgg.iasktodid);
    longCallPStmt.setInt(12, cdrAgg.ibidtodid);
    longCallPStmt.setInt(13, cdrAgg.iaskzoneid);
    longCallPStmt.setInt(14, cdrAgg.ibidzoneid);
    rs = longCallPStmt.executeQuery();
    if(rs.next()) {
    cdr_agg = new CdrAgg(
    rs.getInt(1),
    rs.getInt(2),
    rs.getInt(3),
    rs.getInt(4),
    rs.getInt(5),
    rs.getTimestamp(6),
    rs.getInt(7),
    rs.getInt(8),
    rs.getInt(9),
    rs.getInt(10),
    rs.getInt(11),
    rs.getInt(12),
    rs.getInt(13),
    rs.getInt(14),
    rs.getInt(15),
    rs.getInt(16)
    }//if
    end_time = System.currentTimeMillis();
    log(Level.INFO, "CdrAggLoader: Loaded "+((cdr_agg==null)?0:1) + " "
    + GeneralUtility.formatDate(cdrAgg.time_hour, "MM/dd/yy HH")
    +" tcdragg entry in "+(end_time - start_time)+" msecs");
    } finally {
    GeneralUtility.closeResultSet(rs);
    GeneralUtility.closeStatement(pstmt);
    Why that code works well for classes12.zip (comes back in around 10 msec) and not for ojdbc14.jar (comes back in 6-7 minutes)?
    Please advise.

  • Problem with protocol.jar with weblogic

    atg10.0.3 and weblogic 11g on 64bit linux.
    I've been plagued by this problem with ATG's protocol jar. While it loads the jar when starting up startWeblogic.sh it does not get loaded when starting a managed server thus i get the following errors:
    **** Error Fri Jun 15 15:56:43 MDT 2012 1339797403444 / Unable to start service "/atg/scenario/ScenarioManager": atg.nucleus.ServiceException: The configuration file XMLFile(/atg/scenario/scenarioManager.xml) could not be read: java.net.MalformedURLException: unknown protocol: dynamosystemresource
    **** Error Fri Jun 15 15:56:43 MDT 2012 1339797403544 /atg/scenario/ScenarioManager Unable to combine messaging information from the process manager component /atg/scenario/ScenarioManager. The process manager has not been classified yet so it cannot be determined if global messages should be listened for. This error indicates a problem with component startup order - the /atg/scenario/ScenarioManager component has been started before the /atg/dynamo/messaging/MessagingManager component
    **** Error Fri Jun 15 15:56:43 MDT 2012 1339797403583 /atg/dynamo/messaging/MessagingManager An exception occurred while trying to parse XML definition file "XMLFile(/atg/dynamo/messaging/dynamoMessagingSystem.xml)" java.net.MalformedURLException: unknown protocol: dynamosystemresource
    Following instructions has led me to place the protocol.jar from DAS/lib to the root of my domain directory and then apply the classpath entry in startWeblogic.sh script. protocol.jar shows up at the top of this scripts SDTOUT. But I cannot seem to get it included in the production.out logs when starting the managed server.
    Any ideas?
    Thanks!
    -Kip

    Yes I figured this out. The problem was the version of weblogic. I was using 1.3.6 when it should have been 1.3.5. After changing out the version, I no longer had problems with protocol.jar.
    Thanks!
    -Kip

  • Problems with client.jar - generated from webservices toolkit from JDK 1.1.7

    We have deployed a web application using the webservices in WL 6.1 using JDK 1.3.1.
    The clients were able to successfully access the servlet it generated and download
    the client.jar. Unfortunately this client.jar seems to be dependent on JDK 1.2
    and beyond. It seems to use java.util.Map class in the JNDI-SOAP SPI.
    Is there any workaround or fix to this problem, so this jar can be used from a
    JDK 1.1.7 env?.
    Our objective is to use WL 6.1 EJB's from WL 4.5.1 using Webservices. Are there
    any known problems with this approach (Ofcourse other than this).
    Thank you.
    Dora Potluri
    Here is the stack trace from using the client.jar
    Class not found java.lang.ClassNotFoundException: java.util.Map
    [Root exception is java.lang.ClassNotFoundException: java.util.Map]javax.naming.
    NamingException: Class not found java.lang.ClassNotFoundException: java.util.Map
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at javax.naming.NamingException.<init>(Compiled Code)
    at weblogic.soap.http.SoapContext.throwNamingException(Compiled Code)
    at weblogic.soap.http.SoapContext.lookup(Compiled Code)
    at javax.naming.InitialContext.lookup(Compiled Code)
    at weatherEJB.WeatherBean.getTemp(Compiled Code)
    at weatherEJB.WeatherBeanEOImpl.getTemp(Compiled Code)
    at weatherEJB.WeatherBeanEOImpl_WLSkel.invoke(Compiled Code)
    at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(Compiled Code
    at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Compiled
    Co
    de)
    at weblogic.rmi.extensions.BasicRequestDispatcher$BasicExecuteRequest.ex
    ecute(Compiled Code)
    at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
    Fri Sep 21 10:47:12 CDT 2001:<I> <EJB> Transaction: '1001087185816_1' rolled bac
    k due to EJB exception:

    Yes, there is an expectation that the client jar will be run on JDK 1.3x. WLS 6.1 is certified on JDK 1.3x only. This
    applies to the WebServices client as well. For details on platform support see
    http://e-docs.bea.com/wls/platforms/index.html
    Thanks,
    Jim
    Jim Rivera
    Product Manager, WebLogic Server
    BEA Systems, Inc.
    Dora Potluri wrote:
    I started testing using the client.jar generated by webservices WL 6.1 and found
    that it uses reflection API interfaces that are not available til JDK 1.3. Is
    there an expectation that the clients of Webservices are all going to be JDK 1.3.X.
    Here is the stack trace we get.
    java.lang.NoClassDefFoundError: java/lang/reflect/InvocationHandler
    at weblogic.soap.http.SoapContext.lookup(SoapContext.java:76)
    at javax.naming.InitialContext.lookup(InitialContext.java:280)
    at weatherEJB.WeatherBean.getTemp(WeatherBean.java:106)
    at weatherEJB.WeatherBeanEOImpl.getTemp(WeatherBeanEOImpl.java:47)
    at weatherEJB.WeatherBeanEOImpl_WLSkel.invoke(WeatherBeanEOImpl_WLSkel.java:90)
    at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAdapter.java:261)
    at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandler.java:56)
    at weblogic.rmi.extensions.BasicRequestDispatcher$BasicExecuteRequest.execute(BasicRequestDispatcher.java:166)
    at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)

  • Problems with JApplet, jar-Archive, packages and IE5

    Hello!
    I have a problem with a JApplet and Internet Explorer 5. I made a jar archive of my classes. The classes are
    members of a package. The jar archive also contains images.
    The structure of the archive:
    com/mycomp/myapp/DemoApplication.class
    com/mycomp/myapp/DemoApplet.class
    <more classes>
    com/mycomp/myapp/images/hp_logo.gif
    com/mycomp/myapp/images/test.gif
    <more images>
    The archive is stored locally in a directory which contains also the html file.
    I used the sdk 1.3.1 to compile the classes.
    My problem: when I start the html file on NT with IE5, I get the error message below:
    I try to create a label containing an icon with:
    topLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("images"+fs+"hp_logo.gif")));It works on Sun with Netscape 4.67 and SDK 1.3.1 installed.
    Should I move the images directory inside the jar archive to another place or is the html code not correct?
    The error message:
    java.lang.NullPointerException
         at javax.swing.ImageIcon.<init>(Unknown Source)
         at com.mycomp.myapp.DemoApplication.initComponents(DemoApplication.java:158)
         at com.mycomp.myapp.DemoApplication.<init>(DemoApplication.java:55)
         at com.mycomp.myapp.DemoApplet.<init>(DemoApplet.java:24)
         at java.lang.Class.newInstance0(Native Method)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)The html file:
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
    <html>
      <head>
        <title>DemoApplet</title>
      </head>
      <body>
    <BODY LINK="#0000ff" VLINK="#800080" BGCOLOR="#37a1a7">
          <h1>DemoApplet</h1>
          <!--"CONVERTED_APPLET"-->
    <!-- HTML CONVERTER -->
    <SCRIPT LANGUAGE="JavaScript"><!--
        var _info = navigator.userAgent; var _ns = false; var _ns6 = false;
        var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 && _info.indexOf("Windows 3.1") < 0);
    //--></SCRIPT>
    <COMMENT><SCRIPT LANGUAGE="JavaScript1.1"><!--
        var _ns = (navigator.appName.indexOf("Netscape") >= 0 && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0) || (_info.indexOf("AIX") > 0) || (_info.indexOf("OS/2") > 0)));
        var _ns6 = ((_ns == true) && (_info.indexOf("Mozilla/5") >= 0));
    //--></SCRIPT></COMMENT>
    <SCRIPT LANGUAGE="JavaScript"><!--
        if (_ie == true) document.writeln('<OBJECT classid="clsid:CAFEEFAC-0013-0001-0000-ABCDEFFEDCBA" WIDTH = 695 HEIGHT = 525  codebase="http://java.sun.com/products/plugin/1.3.1/jinstall-131-win32.cab#Version=1,3,1,0"><NOEMBED><XMP>');
        else if (_ns == true && _ns6 == false) document.writeln('<EMBED type="application/x-java-applet;jpi-version=1.3.1"  CODE = com.mycomp.myapp.DemoApplet CODEBASE = "." ARCHIVE = "DemoApplet.jar,classes12.zip" WIDTH = 800 HEIGHT = 600  scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3.1/plugin-install.html"><NOEMBED><XMP>');
    //--></SCRIPT>
    <APPLET  CODE = com.mycomp.myapp.DemoApplet CODEBASE = "." ARCHIVE = "DemoApplet.jar,classes12.zip" WIDTH = 695 HEIGHT = 525></XMP>
    <PARAM NAME = CODE VALUE = com.mycomp.myapp.DemoApplet >
    <PARAM NAME = CODEBASE VALUE = "." >
    <PARAM NAME = ARCHIVE VALUE = "DemoApplet.jar,classes12.zip" >
    <PARAM NAME="type" VALUE="application/x-java-applet;jpi-version=1.3.1">
    <PARAM NAME="scriptable" VALUE="false">
    </APPLET>
    </NOEMBED></EMBED></OBJECT>
    <!--
    <APPLET CODE = DemoApplet CODEBASE = "." ARCHIVE = "DemoApplet.jar,classes12.zip" WIDTH = 695 HEIGHT = 525>
    </APPLET>
    -->
    <!--"END_CONVERTED_APPLET"-->
      </body>
    </html>Thank you for your help!
    Gruesse,
    Torsten

    seems like it couldn't find the image file... try to give it the absolute path to the file first to see if this is the root of the problem... and then try to find alternative ways to not give it the absolute path...

  • Problems with sapjco.jar and the EP6 SP19

    Hi,
    <b>
    We have recently upgraded the portal server from EP6 SP9 to EP6 SP19.
    Some of the applications that use Jco connections to interact with the backend, are giving exceptions while executing. These applications were properly executing before the upgrade.
    Now, Is there any problem with the sapjco JAR file version??? How to resolve this problem???
    </b>
    regards
    Brahmachaitanya

    Hi Brahmachaitanya ,
    download the latest version of sapjco.jar, librfc32.dll,sapjcorfc.dll from service market place which is compatable to your OS.
    then place the two dll files under windows/system32 folder
    even if it doesnt work,
    in the createclient() method give user id and password, language,host name in capital letter(upper case)
    and try it
    rgds
    srinivas

  • Problems with running jar on linux

    Are there any known problems when running jar files on linux, that were compiled on windows?
    http://turkeybot.info/DuckHunt.jar
    The images directory that is in that refuses to load under linux, but there's no problem with windows (it's using System.getProperty("file.separator") to get hte correct file separtor to refer to the image directory).

    Java code should run in all JVMs. But if you did something Windows-specific (such as looking for a file named C:/something/or/other) in your code then you can't expect it to run in other environments.

  • Signing problems with p12

    Hi all,
    I have a p12 file, i have done nothing with it bar place it in a directory for use with jarsigner.
    I have a simple jar I wish to sign with the p12 file.
    here is my script:
    %JAVA_HOME%\bin\jarsigner -keystore test.p12 -storepass mypassword -storetype pkcs12 mytest.jar -alias "???"
    Q1) Where does alias come from? Do i have to install the p12 file for this?
    Q2) When i run it i get:
    "jarsigner: Certificate chain not found for: -alias. -alias must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain."
    Help much appreciated! I have exhausted google searching and can not get around my problems.
    Thanks,
    J.

    javamaniis wrote:
    -debug just gave me the alias.Do you mean before adding the -debug option the keytool fails, while after adding it the command succeeds?
    when i run -verify i get (%JAVA_HOME%\bin\jarsigner -verify extracted\test.jar):
    jar is unsigned. (signatures missing or not parsable)Looks like till not signed.
    Don't know why. I just try creating a pkcs12 file and signing/verifying all OK. Can you post the output of "keytool ... -list -v" and "jarsigner ... file alias"?

  • I believe I have a problem with my Jar file build.

    Hi, there. New to Java/JavaFX. Testing language features. Operating System: Windows 7; java version 1.7.0_03; javafx version 2.0.3.
    This is a simple test with 2 classes: Test1.class resides in base directory "MyJavaFX"; TextFileLoader.class resides in sub-directory "inout" of "MyJavaFX"(i.e. MyJavaFX\inout).
    Test1.class has an import statement "import inout.TextFileLoader;" TextFileLoader.class has a package statement "package inout;"
    Both classes compile without problems and jar file is created using Ant tasks.
    Within "MyJavaFX" as my current directory, When running Application Test1 (java -jar Test1.jar)
    getting error "ClassNotFoundException: inout.TextFileLoader".
    I believe it has to do with how Test1.jar file is built. I believe line 4 should say "inout/TextFileLoader.class"
    instead of just the simple class name but I can't get my Ant task to set it up that way.
    This is "Test1.jar":
    META-INF/
    META-INF/MANIFEST.MF
    Test1.class
    TextFileLoader.class
    com/
    com/javafx/
    com/javafx/main/
    com/javafx/main/Main$1.class
    com/javafx/main/Main.class
    com/javafx/main/NoJavaFXFallback.class
    This is my "build.xml" file:
    <project name="JavaFxTest" default="default" basedir="."
         xmlns:fx="javafx:com.sun.javafx.tools.ant">
    <target name="default">
         <taskdef resource="com/sun/javafx/tools/ant/antlib.xml"
         uri="javafx:com.sun.javafx.tools.ant"
         classpath="C:/Program Files/Oracle/JavaFX 2.0 SDK/tools/ant-javafx.jar"/>
         <fx:application id="Test1"
         name="Java Test Program"
         mainclass="Test1"/>
         <fx:resources id="appRes">
         <fx:fileset dir="C:/Program Files/Oracle/JavaFX 2.0 Runtime/lib"/>
         </fx:resources>
         <fx:jar destfile="C:/MyjavaFX/Test1.jar">
         <fx:application refid="Test1"/>
         <fx:resources refid="appRes"/>
         <fileset dir="." includes="Test1.class"/>
         <fileset dir="inout" includes="TextFileLoader.class"/>
         </fx:jar>
    </target>
    </project>

    if javaw fails to launch the VM then a dialog should be displayed with an error. The first time I launch an application with javaw (after installing the JVM on a new machine it takes a long time for it to happen. have you tried from the command line >javaw -jar D.jar? I'm wondering if the installation of java went well on your machine. It's supposed to set up things correctly. did you install a new version of java over an existing one? maybe there was a java plugin previously installed on the machine before you installed j2sdk.
    walker

  • Problem with ojdbc14.jar (oracle10g Rel. 2 driver) in updating a BLOB field

    Hello All,
    Our web application uses oracle10g Release 2 jdbc driver with websphere 5.1.1.4 and oracle 9i. When it tries to update a BLOB field in the database updation is successful but it is updating that field with a null value. So rest of our application fails as this value is becoming null. We use an entity bean to update this table and websphere uses a prepared statement to update this table. Just before setting this BLOB field using setBinaryStream() on prepared statement I am printing to see whether it is null or not as shown in the code snippet below. And it is printing it correctly as non null. But after execution of the prepared statement some how the value stored in database is null.
    Is this a known issue with this driver? Does any one know work around or a solution to this? We have 3 BLOB fields in that table. Is that a problem? If we separate these BLOB fields into separate tables will the problem be solved? Any input on this is very much appreciated.
    // For column ORIGINAL_CONTENT
    byte[] tempbyteArray;
    tempbyteArray=(byte[])inputRecord.get(25);
    if (tempbyteArray == null) {
    System.out.println("DqPageBeanFunctionSet_f9c724af: tempbyteArray NULLLLLLL");
    } else {
    System.out.println("DqPageBeanFunctionSet_f9c724af: orig tempbyteArray length: " + tempbyteArray.length);
    if(tempbyteArray != null) {
    pstmt.setBinaryStream(25,new java.io.ByteArrayInputStream(tempbyteArray),tempbyteArray.length);
    else pstmt.setNull(25,java.sql.Types.BLOB);
    Thanks & Regards,
    -Sunitha

    I have similar problem and I solved it using ojdbc14.jar oracle9i version.
    try...

  • .EXP problem with  library .JAR

    Hello,
    I would like to create a javacard library to import it in a new project. Unfortunately I have a problem when I import my library and build in the new project. This is my process:
    1) To create my library I generate a .JAR with my .class files
    2) Seconde step I generate an .EXP file with interface desciption.
    3) in my new project I import my library and I put .EXP file in 'export' directory
    4) I use my library in new servlet
    BUT when I build my new project, i have errors with my .EXP file. Errors are:
    class com.sdk.StringUICC not found in export file sdk.exp.So i have used exp2file to read my .EXP file and this .EXP doesn't decribe all my classes but just my package:
    export file {          // com/sdk
         magic     00FACADE           // in hex
         minor_version     1
         major_version     2
         constant_pool_count     2
         constant_pool {
              Constant_Utf8_info {
                   tag     1
                   length     22
                   bytes     com/sdk
              CONSTANT_Package_info {
                   tag     13
                   flags     0
                   name_index     0          // com/sdk
                   minor_version     0
                   major_version     1
                   aid_length     12
                   aid     0xA0:0x0:0x0:0x0:0x18:0x52:0x1:0x4:0x0:0xFB:0x0:0x41
         this_package     1
         export_class_count     0
         export_classes {
    }So my question is : "What I have to do to generate a correct .EXP file?"
    Thank you :)
    Jérémie

    I didn't use converter command correctly :) it's all right now
    Best regards
    Jérémie

  • Build problem with external JAR

    Hello,
    I am developing a custom web dynpro component. I need to use some of the JARs delivered by SAP such as com.sap.security.api (can be found in \SAP\IDE\IDE70\eclipse\plugins). I have included the JAR files to my project in Properties->Java Build path->Libraries). Everything is working fine: I can build/deploy the application and it is running fine in the application server.
    Anyhow, the problem comes when I try to activate my activity in the development configuration perspective.
    In the build log I can see for example the following:
    [javac] ERROR: /usr/sap/VDD/JC10/j2ee/cluster/server0/temp/CBS/3/.B/4789/t/067D33924E6154CA5284F16652954F88/gen_wdp/packages/com/mydevelopment/mystuff/MyComponent.java:29: package com.sap.security.api does not exist
         [javac] ERROR: import com.sap.security.api.IUser;
    I have been reading several threads about similar issues, but I am not quite satisfied with the answers. There seems to be several opinions about how to solve this.
    Now the questions are:
    - How can I get rid of this error?
    - What is the best practice in overall to use the SAP delivered JARs in custom web dynpro component/project.
    Edited by: Pa Pa on Nov 21, 2009 2:07 PM

    Hi Pa,
    To use any jar in your DC  on NWDI track, you need to follow the following steps:
    1. Go to Your project>Used DCs and try to add a new one by locating the DC among those which are already present on the track.
    2. If you are not able to locate any DC with the required jars then,
    a. Create an external library DC where you need to add all the jars in the library folder of the project using an activity.
    b. Create public parts for compile time and run time for this dc.
    c. Deploy the DC.
    d. Goto src folder of your dc and say Add files to DTR (your jars would be on the track)
    e. Deploy the external library DC so that the Jars are deployed on the portal server.
    f. Add the public parts of this External Library DC under used DCs of your development component.
    g. Add this external library under library references of your project.
    h. Build and deploy.
    i.  Now try activating your activity.
    Use the following link to know how to execute these steps.
    [Add and Use Jars through used DCs|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/3ce3e4df201d63e10000000a11466f/frameset.htm]
    [Screen Shots|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417100)ID1078501850DB00490474849923920126End?blog=/pub/wlg/9517]
    Please let me know, if you ahave any doubt.
    Regards,
    Tushar Sinha

  • Problems with multiline.jar

    Hello there,
    I have implemented multiline help for text items using multiline.jar provided by oracle.
    I have several pages i.e fmx's, user can traverse to using oracle menus in my application.
    I have multiline.jar for say "Test.fmb" only. Test.fmb has several items, blocks and tabbed pages within itself.
    Sometimes, when i am on textitem1, the help will show up. but even if i move the cursor or go to other fmx's the help doesn't go away. Does anybody have this problem?
    If i close down the application & start again it's fine.
    Please help me.
    Thanks

    Can you post an example project that demonstrates the problem? There were changes to the ant tasks and netbeans support around B45 that could cause problems depending on which version of the SDK and NetBeans you have. Similarly, if you wrote ant scripts prior to B44 and then use them with a later build you could have problems. And of course, if you're producing the Jar file and deployment artifacts without using the provided ant tasks (for example, using the normal ant jar task) you'll have problems.
    I've verified that this works as expected in the FX 2.0 GA release using ant from the command line, and with the NetBeans 7.1 beta release using the FX 2.0 GA release.

  • Problems with a jar file in wsad

    hi, my name is carlos and I am working with WebSphere Studio Application developer.
    my problem: Some people give me a jar file for start to build a web app, when finish one part i wish test in the sever enviorment embed in the wsad, then appear this error:
    [5/10/05 15:58:31:125 COT] 61255324 WebGroup E SRVE0026E: [Error de servlet]-[co/edu/uautonoma/siunac/business/BIFactory]: java.lang.NoClassDefFoundError: co/edu/uautonoma/siunac/business/BIFactory
    and other stuff.....
    i dont know what means this error, do you any idea????
    thanks for your help...

    It means the jar needs another jar which contains the class which is missing.

  • RMI problem with weblogic.jar

    We have a pure Java client that connects to the Weblogic server.
    While trying to connect we receive the error message below.
    I have unjarred the weblogic.jar file and discovered that the
    Stub.class is actually in weblogic/rmi/extensions/server/
    while it expects it to be in weblogic/rmi/extensions .
    Is there a fix for this as we are trying to upgrade from a previous version of weblogic and go live in Jan.
    Thanks
    Dave F
    java.lang.NoClassDefFoundError: weblogic/rmi/extensions/Stub(

    I'd suggest that you run the vm with the debug flag (-verbose) and see where the classes are being loaded; and examine the classpath to determine where the old jar or classes are occurring.
    Rita wrote:
    We have re-jarred the Stub.class and put it under weblogic/rmi/extensions, but when the java app runs, it still tries to look in weblogic/rmi/extensions/server. So, I think somewhere in the weblogic.jar, the path specified is still weblogic/rmi/extensions. Do you know what need to be done?
    Thanks,
    Rita
    Eduardo Ceballos <[email protected]> wrote:
    Yes, please regenerate your stub classes. That is, re-run rmic or ejbc.
    David Furlong wrote:
    We have a pure Java client that connects to the Weblogic server.
    While trying to connect we receive the error message below.
    I have unjarred the weblogic.jar file and discovered that the
    Stub.class is actually in weblogic/rmi/extensions/server/
    while it expects it to be in weblogic/rmi/extensions .
    Is there a fix for this as we are trying to upgrade from a previous version of weblogic and go live in Jan.
    Thanks
    Dave F
    java.lang.NoClassDefFoundError: weblogic/rmi/extensions/Stub(

Maybe you are looking for