Import a BPM project .jar file in jedevloper

Hi,
Can we import a BPM .jar file in jdeveloper, to regenrate the underlying code. this jar is having the BPM and SOA code.
<< the actual case is to import the deployed BPM .jar file project in jdeveloper. >>
thanks,
rps

You can unjar the file in your machine so that you have the source code.
Create a new BPM Application (make sure you name the project & process similar to what you have in the JAR).
After that copy & replace the unjared contents into the folder under <applicationName>/<projectName> except for <projectName>.jpr (since this is not in the jar).
try opening it from Jdev .. I could compile using a similar approach and open the BPM process too.
You would need to deploy and test the functionality to be sure that this works.

Similar Messages

  • I am trying to import BPM Project.zip file into Oracle enterpriserepository

    I am trying to import BPM Project.zip file into Oracle enterpriserepository from admin tab.
    I am getting the following exception. please help if any one know the solution.
    Performing import...
    Import Failed: Error [100]: An unknown server-side error occurred. Please record stack trace (if available) and contact technical support.
    com.flashline.exception.LoggableException: trouble parsing file in import bundle: SampleWScall/activityGuide.agdl
         at com.flashline.cmee.openapi.service.subsystem.impexp.XMLTranslator.decode(XMLTranslator.java:157)
         at com.flashline.cmee.openapi.service.subsystem.impexp.ImportJob.doJob(ImportJob.java:74)
         at com.flashline.cmee.openapi.service.subsystem.impexp.AbstractJob.perform(AbstractJob.java:75)
         at com.flashline.cmee.openapi.service.subsystem.impexp.JobThread.run(JobThread.java:41)
    Audit results stored in:
    C:\Users\AVINAS~1.YEL\AppData\Local\Temp\import-4705112223687937017.log
    Audit for [Import job.] created on [2012-09-24 11:53:59 IST].
    2012-09-24 11:53:59 IST - Adding Import job with ID=[50403] to job queue.
    Thanks in Advance.

    Hi
    Why are you trying to import BPM zip file are you trying to configure the out of the box workflows?
    They are something that need to be deployed from the process admin on BPM.
    There would be the .exp file you would need as its BPM 10g that you would need to use.

  • How to import existing BPM project in jDeveloper

    Hi,
    I am new to oracle BPM.
    I have imported oracle BPM+SOA project in jedeveloper using (file->import->soa archive into soa project). I am able to see SOA composite in jdeveloper but not BPM processes. instead of BPM process it showing "unknown project object"
    I have also used other way like unzip jar file and copy paste all files from jar to jedeveloper project but no use.
    Restarted jdeveloper but still showing error.
    please help me.

    Well there are two options - if you have a WAR file with the code in it, then you can use the file->import WAR.
    Or you can use the new->Project from source code.
    Note that you'll probably need to do some library settings and some directory setting after that.
    Have a look at this demo for basic steps:
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/NBtoJDevProject/NBtoJDevProject.html

  • How do I import classes in a jar file?

    I have the following directory structure, each directory is a seperate package of the same name as the directory
    RPGUniversal
    RPGMap
    RPGCharacter
    RPGCharacter is not done yet so I am ignoring that package for now.
    RPGCharacter and RPGMap both depends on classes inside the RPGUniversal Package, but are independant of eachother and RPGUniversal is completely independant.
    I want to place each package in it's own .jar file for use as a library in later programs.
    I placed all the compiled classes for RPGUniversal inside the proper directory structure, I then used this command to place it in a jar:
    jar -cf ./RPGUniversal.jar ./RPGUniversal/*
    I then tested the contents with this command:
    exodist@Abydos:/stuff/JProject/test$ jar -tf RPGUniversal.jar
    META-INF/
    META-INF/MANIFEST.MF
    RPGUniversal/ADTs/
    RPGUniversal/ADTs/t1.jpg
    RPGUniversal/ADTs/t2.jpg
    RPGUniversal/ADTs/t3.jpg
    RPGUniversal/ADTs/t4.jpg
    RPGUniversal/ADTs/Coordinates.class
    RPGUniversal/ADTs/RPGImage.class
    RPGUniversal/ADTs/FrameSet.class
    RPGUniversal/ADTs/ImageTester.class
    RPGUniversal/Exceptions/
    RPGUniversal/Interfaces/
    RPGUniversal/Interfaces/RPGCharacter.class
    RPGUniversal/Interfaces/RPGItem.class
    RPGUniversal/Interfaces/RPGObject.class
    RPGUniversal/Interfaces/Trackable.class
    RPGUniversal/Interfaces/Tracker.class
    RPGUniversal/Interfaces/RPGMapComponent.class
    RPGUniversal/Interfaces/RPGMap.class
    so far all good, next I delete the RPGUniversal directory leaving the only file in the current directory RPGUniversal.jar
    next I create the RPGMap directory and give it the proper .java files and directory tree.
    I then run a script to compile every .java file
    for i in `find ./ -name "*.java"`; do javac "$i"; done
    and I get a ton of dependancy errors:
    exodist@Abydos:/stuff/JProject/test$ for i in `find ./ -name "*.java"`; do javac "$i"; done
    ./RPGMap/BaseClasses/StaticMap.java:13: package RPGUniversal.Interfaces does not exist
    import RPGUniversal.Interfaces.*;
    ^
    ./RPGMap/BaseClasses/StaticMap.java:20: cannot resolve symbol
    symbol : class RPGMap
    location: class RPGMap.BaseClasses.StaticMap
    public abstract class StaticMap implements RPGMap
    ^
    ./RPGMap/ComponentClasses/MapTile.java:9: package RPGUniversal.Interfaces does not exist
    import RPGUniversal.Interfaces.*;
    ^
    ./RPGMap/ComponentClasses/MapTile.java:10: package RPGUniversal.ADTs does not exist
    import RPGUniversal.ADTs.*;
    ^
    ./RPGMap/ComponentClasses/MapTile.java:16: cannot resolve symbol
    symbol : class RPGObject
    location: class RPGMap.ComponentClasses.MapTile
    public class MapTile implements RPGObject
    ^
    ./RPGMap/ComponentClasses/MapTile.java:19: cannot resolve symbol
    symbol : class RPGImage
    location: class RPGMap.ComponentClasses.MapTile
    private RPGImage MyImage;
    ^
    ./RPGMap/ComponentClasses/MapTile.java:31: cannot resolve symbol
    symbol : class Coordinates
    location: class RPGMap.ComponentClasses.MapTile
    public boolean CheckForCollision(Coordinates C)
    ....the list goes on........
    how do I tell it to look inside the RPGUniversal.jar file to find the required classes?
    here is a directory tree so you can see how it is set up:
    ls -R1
    RPGMap/
    RPGUniversal.jar
    ./RPGMap:
    BaseClasses/
    ComponentClasses/
    ExternalInterfaces/
    HigherClasses/
    InternalInterfaces/
    ./RPGMap/BaseClasses:
    StaticMap.java
    ./RPGMap/ComponentClasses:
    MapTable.java
    MapTile.java
    TableList.java
    TileSet.java
    ./RPGMap/ExternalInterfaces:
    ./RPGMap/HigherClasses:
    DynamicMap.java
    ./RPGMap/InternalInterfaces:

    The JAR file needs to be in the compliers classpath : javac -classpath "$CLASSPATH:RPGUniversal.jar" "$i"

  • Netbeans 551: Include all libs in project jar file. Possible?

    Is it possible to manually, or automaticly, include the /dist/lib directory into my "GonioLabt,jar" to make it more 'stand alone', file wise.
    Netbeans generates this dist/README.TXT
    ========================
    BUILD OUTPUT DESCRIPTION
    ========================
    When you build an Java application project that has a main class, the IDE
    automatically copies all of the JAR
    files on the projects classpath to your projects dist/lib folder. The IDE
    also adds each of the JAR files to the Class-Path element in the application
    JAR files manifest file (MANIFEST.MF).
    To run the project from the command line, go to the dist folder and
    type the following:
    java -jar "GonioLab.jar"
    To distribute this project, zip up the dist folder (including the lib folder)
    and distribute the ZIP file.
    Notes:
    * If two JAR files on the project classpath have the same name, only the first
    JAR file is copied to the lib folder.
    * If the classpath contains a folder of classes or resources, none of the
    classpath elements are copied to the dist folder.
    * If a library on the projects classpath also has a Class-Path element
    specified in the manifest,the content of the Class-Path element has to be on
    the projects runtime path.
    * To set a main class in a standard Java project, right-click the project node
    in the Projects window and choose Properties. Then click Run and enter the
    class name in the Main Class field. Alternatively, you can manually type the
    class name in the manifest Main-Class element.

    Yes it is possible. The same question has been
    killing me all day. Here is how I did it.
    (I'm on Mac OS 10.4, but this should work anywhere)
    Netbeans produces the following:
    dist/myJar.jar
    dist/lib/swing-layout-1.0.jar
    I would prefer to have only:
    dist/myJar.jar
    But, as you know, myJar.jar requires the class files
    stored in swing-layout-1.0.jar. I unpacked the jar
    files and examined the manifest files. Here is how to
    unpack and repack the jar files into a single jar
    file:
    First, I renamed myJar.jar to myJar.zip and let OS X
    unarchive the jar for me. I did the same for
    swing-layout-1.0.jar.
    I then dropped the MANIFEST.MF file from
    MyJar/META-INF/ into a new folder on my harddrive
    Then, I dropped the package (its a folder full of
    class files) from MyJar/ into the same new folder on
    my harddrive.
    At this point, the new folder contains:
    /newFolder/MANIFEST.MF
    /newFolder/myPackage/
    Then, I grabbed /dist/lib/swing-layout-1.0/org/ and
    dropped that into the new folder.
    We now have in the new folder:
    /newFolder/MANIFEST.MF
    /newFolder/myPackage/
    /newFolder/org/
    Almost done:
    Open the MANIFEST.MF file with a text editor. Mine
    looked like this:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.6.5
    Created-By: 1.5.0_07-87 ("Apple Computer, Inc.")
    Main-Class: ohm.GUI
    Class-Path: lib/swing-layout-1.0.jar
    X-COMMENT: Main-Class will be added automatically by
    build
    I replaced the ENTIRE contents of the file with
    this:
    Manifest-Version: 1.0
    Main-Class: myPackage/Main
    Where 'myPackage' is the folder containing my class
    files, and 'Main' is the class containing the
    'main(String[] args) method.
    Save the file and we're ready to repack the archive.
    Open the command line (in OS X this is the Terminal)
    I assume the syntax is the same in windoze; Navigate
    to the new folder you created.
    In OSX: cd /newFolder
    in windoze: cd \newFolder
    Then use java's jar command:
    jar cmf MANIFEST.MF MyJar.jar *
    What this does:
    jar is the command. cmf are flags: the 'c' is for
    creating a new jar archive, the 'm' is to specify a
    premade manifest file, the 'f' tells jar to write the
    results to a file. MyJar.jar is the name you have
    chosen for the resulting .jar file. the '*' is a
    wildcard character that tells jar to put every file
    in the present working directory into the new .jar
    Thats it! This produced myJar.jar which worked fine
    by itself, as it included all the classes from
    swing-layout-1.0.jar. It would be a trivial matter to
    write a shell script to do all this for you, unless
    of course you use something silly like windows, in
    which case you'll have to write a batch file or use
    python or something. Good luck, I hope this saves
    others time, drop me a e-mail if this was at all
    confusing! [email protected]
    You should be aware that doing this may well violate the licensing terms for third-party libraries
    By the way, what's silly about using Windows? Are you saying you don't develop for Windows because it's "silly"?

  • How to import CIO Configurator Extension jar file?

    Hello:
    while I am studying the CIO Configurator Extension, I can not find to import the
    oracle.apps.cz.cio.*; jar file to JDeveloper
    I import czclient.jar and czdb.jar files but did not find CIO jar file
    Does any one has idea where to get the cio jar file.
    Please help
    Sam

    Can you please send me the cio jar you have managed
    to create. It would be of great help.Sushil, in general this is not viewed as a good practice.
    The CIO jar file used to be shipped by Configurator development, but this ceased many releases ago. Nowadays, if you use a jar file, you run the risk of it becoming obsolete when you apply a Configurator patch.
    Each configurator patch has the potential to change zero to many of our java classes. Our fixes may be either in the CIO, or in other portions of the product. Using a jar file from another customer has two obvious problems: (1) It will only be of use if you both are on the same Configurator release; and (2) it will only be of use until you apply a patch.
    Once a patch is applied you cannot rely on the results you get from that jar file, because it is possible that one or more CIO classes have changed. This increases the risk of slowing down both your development and debugging process by forcing you to track down problems where behavior differs between runtime (which uses the latest class files) and your development environment (which is using an obsolete jar file).
    The best practice we can suggest is to have your JDevelopment system refer to a custom library you create that points to the actual $CZ_TOP on the instance. In effect, you no longer need the CIO jar file, because you are referring to the files on the instance. This eliminates the risks I pointed out above, because you always point to the same data being used at runtime.
    If this is not feasible, then you (or an administrator with access) will need to build the jar file on that instance. You'll need to repeat this each time the system is patched for Configurator, for the reasons above. I would recommend not building a jar file of the CIO, but instead of the entire CZ stack. Configurator has a lot of dependencies, so doing this eliminates all of the intra-product dependencies. You may still find inter-product dependencies to other Apps classes depending upon what you're doing in your extensions, so having access to the $APPL_TOP is handy while setting this up.

  • Referencing an image in my projects jar file

    I don't seem to be able to reference an image in my netbeans project. Here is what it looks like in netbeans:
    http://picasaweb.google.com/cendrizzi/JavaStuff/photo#5068570476760118770
    Here is my code that I'm using to reference one of these images:
                URL imageURL = this.getClass().getResource("images/clock.png");
                Image image = Toolkit.getDefaultToolkit().getImage(imageURL);I'm really new at this so I'm not sure what I'm doing wrong. I've tried "images/clock.png" as shown and just "clock.png" . Neither seems to find it there.
    Thanks!

    Since you provided a relative URL to the getResource method, you need to know that it is relative to the package of the class that called the method. So if your class was in package org.bananarama, you would be looking for the path /org/bananarama/images/clock.png in your jar file.
    If you wanted to look for the absolute path /images/clock.png then specify that absolute path.

  • How to import a BPEL project zip file into jdeveloper?

    This worked for me before, but I seem to be doing something wrong this time.
    I tried the File -> Import ->BPEL process option and navigated to the location of the .bpel file (after I extracted the .zip file contents). But this didn't seem to work as the entire project wasn't imported.

    You'll probably have better luck posting this in the BPEL forum
    John

  • Oracle BPM 12C Jar File Is Missing

    Hi,
    To install BPM in 12c I am using following commands.
    CD %ORACLE_HOME%\soa\common\bin
    set QS_TEMPLATES=%ORACLE_HOME%\soa\common\templates\wls\oracle.bpm_template_12.1.3.jar
    qs_config.cmd
    The issue is I could not found oracle.bpm_template_12.1.3.jar in Oracle_Home\soa\common\templates\wls location.
    I have installed 12C JDev 12.1.3.0.0 which has come with all the required jars.
    Am I missing anything here?
    Or should I download oracle.bpm_template_12.1.3.jar independently?
    Could you help me in this?
    Regards,
    Dev.

    Are you trying to notify(email) the manager or just have the task reassigned to the manager?
    You can try querying the SOAINFRA.WFTASK table to see who the assignee is on the task to figure out if you cannot see the task in the BPM workspace. Or you can also go to Enterprise Manager and view the flow trace for the particular process instance and clicking on the human task will show you who is currently assigned the task.
    Also try delegate instead of reassign, the task will be assigned to the current assignee and show as (Delegated) to the manager - both will be able to access the task in the workspace.

  • Jar file importing

    Hi,
    i have 2 jar file's, in side jar files same package name and same class but method name are different. for example
    Test1.jar
    Test2.jar
    in side jar file package structure is
    "dim.in.test"
    class name is "GetInformation"
    i am importing the this two jar files in my project, importing path and create the instance is perfect.
    my problem is
    first parity jar file instance method are invoking (Test1.jar file instance methods getting), when I call Test2.jar file methods giving compiletime showing.
    but i want to call all methods (Test1.jar and Test2.jar file method�s)
    thanks
    prasad

    You'd have to do some serious playing around with ClassLoaders, and I don't think you're ready for that.
    Why do these two jars both have a "different" class with the same name and package?
    Did you write both of these?

  • ANT - Jar File include another Jar file and importing classes

    Here is the directory structure i have set up:
    FTPGetter
      \src
        \com
          \abc
            \ftpgetter
              - GUI.java
              - FTPGetter.java
              - Login.java
      \classes
      \include
        - ftpClient.jar
        - info.xml
      \jar
        - FTPGetter.jarThe code compiles file and can create a Jar file without errors. But when I execute the Jar file, I get
    java.lang.NoClassDefFoundError: com/abc/ftpclient/FTPwhich is a class that I import from the ftpClient.jar file in FTPGetter.java
    What gives?
    Here is my necessary build.xml code:
    <?xml version="1.0"?>
    <project name="FTPGetter" default="all">
      <property name="src.dir"        value="src"/>
      <property name="package.name"   value="com.abc.ftpgetter"/>
      <property name="package.dir"    value="${src.dir}/com/abc/ftpgetter"/>
      <property name="classes.dir"    value="classes"/>
      <property name="include.dir"    value="include"/>
      <property name="jar.dir"        value="jar"/>
      <property name="javadoc.dir"    value="docs"/>
      <property name="javadoc.title"  value="FTPGetter"/>
      <property name="javadoc.header" value="FTPGetter - By ABC XYZ [2005]"/>
      <property name="run.classname"  value="${package.name}.FTPGetter"/>
      <target name="init">
        <mkdir dir="${javadoc.dir}" />
        <mkdir dir="${classes.dir}" />
        <mkdir dir="${jar.dir}" />
      </target>
      <target name="all" depends ="compile,jar" />
      <target name="compile" description="Compile Java code" depends="clean, init">
        <javac srcdir="${package.dir}" destdir="${classes.dir}">
          <classpath>
            <!-- use the value of the ${classes.dir} property in the classpath -->
            <pathelement path="${classes.dir}" />
            <!-- include all jar files  -->
            <fileset dir="${include.dir}">
              <include name="**/*.jar"/>
            </fileset>
          </classpath>
        </javac>
      </target>
      <target name="clean" description="Clean up">
        <delete dir="${javadoc.dir}" />
        <delete dir="${classes.dir}" />
        <delete dir="${jar.dir}" />
      </target>
      <target name="jar" depends="compile">
        <jar jarfile="${jar.dir}/FTPGetter.jar" update="false">
          <fileset dir="${classes.dir}" includes="**/*.class" />
    <!-- Include xml file to read.-->
          <fileset dir="${include.dir}" includes="info.xml" />
    <!-- Include ftpClient in the jar file.-->
          <fileset dir="${include.dir}" includes="ftpClient.jar" />
          <manifest>
            <attribute name="Main-Class" value="com.abc.ftpgetter.FTPGetter" />
            <attribute name="Class-Path" value="include/ftpClient.jar"/>
          </manifest>
        </jar>
      </target>
    </project>

    nevermind I got that fixed now:
    had to get the build.xml code for the <target name="jar" depends="compile">so that it looks more like:
      <target name="jar" depends="compile">
        <jar jarfile="${jar.dir}/FTPGetter.jar">
          <zipfileset dir="classes" prefix="" />
          <zipfileset src="include/ftpClient.jar" />
          <zipfileset dir="${include.dir}" includes="info.xml" />
          <manifest>
            <attribute name="Main-Class" value="com.abc.ftpgetter.FTPGetter" />
          </manifest>
        </jar>
      </target>Keyword would need to be zipfileset.

  • Unable to run jar file without lib folder containing swing-layout-1.0.jar

    I have done my project through NetBeans 5.0. Eventhough I have copied my lib foloder containing swing-layout-1.0.jar inside my project.jar, I am still unable to run my project.jar in other systems, it is creating an error as Could not find the main class. Program will exit. But if I copy the lib foloder containing swing-layout-1.0.jar in the same path as the project.jar, then my project.jar is running.
    But I want to give only the project.jar for other users and not also lib foloder containing swing-layout-1.0.jar each time.
    Could someone please help me with this.

    When you develop GUI applications using the Netbeans you may endup using netbeans specific jar files in your auto generated code.
    And when you build jar files with netbeans it copy the third party jar files used in a application in to a lib folder in the same directory as the jar file of your project. And then set a class path entry to those jar files in your project jar file's manifest file.
    So if you want to redistribute the package you have to redistribute your jar file and every thing in the lib folder in with the same directory structure.
    If you want to change the structure you will have to change the class path to suit the new structure.

  • EJB 3.0: deployment/jar file generation issue

    We have a web application project (ADF Faces) which depends on a model project (EJB 3.0 session/entity beans) that implements both business and persistence layers. This EJB project points to a utility jar file containing some classes we have built. When we run the web project from inside JDev, everything works perfectly, with no error. However, when generating EAR file (deploying web project to WAR) we experience an issue.
    As expected, JDev generated the war file for the web app, the jar file for the EJB and finally the EAR file containing both war and jar files. After that, we managed to deploy the ear file to our OAS 10.1.3 test instance (not standalone OC4J) and an error occured. The error is due to the fact JDev did not create the /lib subdirectory inside ejb project jar file /META-INF directory with our utility jar file inside.
    We tried to generate a separated jar file for the ejb project alone with the same results.
    Is this an IDE bug which does not pack the application as it should? What could we be doing wrong? If yes, is there a work-around? Like I said, the application runs fine on embedded server. Also, when the EJB application does not depend on external libraries, the deployment to OAS 10.1.3 works perfectly. We have tested it!
    Could anyone help us?
    Thanks in advance.
    Best Regards,
    Gustavo
    PS: Sorry for my English. :)

    Hi Shay! I follow what you said and it worked. However, we had to manually edit MANIFEST file for the EJB jar in order to add classpath clause to map our util jar. IMHO, JDev should do it for us. Anyway, we were able to deploy the app successfully.
    Best Regards,
    Gustavo

  • 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.

  • Basic jar file usage question

    I have developed a java project in eclipse. To develop this, I have used many external jars that I added in Java Build Path.
    I exported this project as jar file.
    Now I want to use class files in this project in the jsp page.
    The problem is where should I put my jar file of this project and also the external jar files that I used. I made a WEB-INF folder in my project folder but still it is creating errors.
    Please suggest.

    HI,
    I put both my project jar file, and the external jar file on which it is dependent in WEB-INF/lib directory. It can find my project jar file but not the external jars(axis.jar) and gives the errors as:
    java.lang.NoSuchMethodError: org.apache.axis.description.ParameterDesc.setItemQName(Ljavax/xml/namespace/QName;)V
    Could you please tell what is the problem. Under which path it looks for the external jars?
    Edited by: Popup on May 15, 2008 8:18 AM

Maybe you are looking for

  • Capturing and Importing a DVD movie clip into iMovie

    I am making a movie of my trip to Vegas. I need to capture 20 seconds of video off of a DVD and insert it into my home iMovie. Any suggestions how to capture the clip, what format to save it in and how to import it to the iMovie template? Thanks in a

  • SSO from non-SAP J2EE to NW04 ABAP WebService

    Hello, I currently have issues establishing SSO from a J2EE (which is NOT a NetWeaver system) server to a WebService that resides on a AS ABAP 6.40. When I look over the options I see no obvious SSO solution. I cannot be the only one in this situatio

  • Bid Evaluation Time Out

    Hi Experts, We have installed the basic SRM system on Classic Mode. The Bidding Functionality is working fine with Bid Invitation getting published and Bid responce getting created and can be accepted properly. Issue is only when we click on the "Bid

  • How to run ABAP programs in another client?

    Hi: If one user wants to run his ABAP program that resides in Client 900 with the data in Client 500, can he do it? both the clients reside in the same SAP system (the same physical SAP server). If you've some idea about this, please help. Thuan Nguy

  • Zebra setting for viewer window?

    For some reason I am suddenly getting zebra warnings in my viewer window. (little black lines around hot spots in the image) I never had this before- not sure why I have them now- but I don't. How do I shut this off?