Redeploying jar files in Jdeveloper - 10.1.3.3.0

Hi,
Is there a way to redeploy an existing .jar file in Jdeveloper 10g (10.1.3.3.0).
We are upgrading from Oracle - 11i to R12 and this .jar file is working in 11i and if I try to use the same in R12, I'm getting an IllegalAccessError in the OAF page, where the .jar file is invoked (because of the version mismatch I believe).
If we redeploy the .jar file, will that help in the version issue?
Please provide some pointers on redeploying the existing jar files in JDeveloper 10.1.3.3.0
Regards,
Mohan

You should ask this in the {forum:id=210}
Timo

Similar Messages

  • How do you create a jar file in JDeveloper 11.1.2.0.0

    How do you create a jar file in JDeveloper 11.1.2.0.0

    1) Select the project for which you would like to generate the jar.
    2) Right Click the selected right and select 'Project Properties'
    3) Select the 'Deployment' in the left tab.
    4) Click on 'New' to create a new deployment profile and in the popup dialog, select 'Jar File' profile type and provide the name.
    5) Press 'ok' to save the changes.
    6) Select the project and right click and select 'Deploy to' and select the jar profile name you have specified.
    The Jar library is generated and the full path to the library jar is shown in the log window.
    Thanks,
    Navaneeth

  • Deploying, ReDeploying JAR file to WebLogic EM without restarting the serve

    Hi
    Can any one help me how to re-deploy .jar file on weblogic EM with steps.
    Deploying, ReDeploying JAR file to WebLogic EM without restarting the server
    Appriciate if you provide information in steps with screenshot.
    Note: Not in weblogic 11g console.
    Thanks,
    Phani

    http://download.oracle.com/docs/cd/E14571_01/core.1111/e10105/deploy.htm#BIHIIEIA

  • Opening the jar file in Jdeveloper

    Hi,
    I have a executable jar file of the BPEL process. How can I open the jar file in Jdeveloper in my local machine to do some enhancements. i have no source code with me. While i am trying to open in JDev.. The message parts are not being created and showing error messages with partner links.
    Could any one help me regarding this issue..
    very .. very.. urgent.
    Thanks,
    BPEL user

    Yes, i have unzipped and opened in JDeveloper. But exceptions are coming while validating. The exceptions are at the message parts and partnerlinks( asking the location of wsdl ). I have no .jws file.. Is it the problem?.
    Thanks,
    Bpel User

  • Error in deploying .jar file from JDeveloper 10.1.3.5

    Hello,
    I want to deploy .jar file in a machine, instead of having to install JDeveloper to run the application (it contains: Web Services and Data Base).
    I have followed the following steps in JDeveloper to create the .jar file:
    1) Right click over the project: New... --> General (All Technologies option selected) --> Deployment Profiles --> JAR File
    2) I have selected "Include Manifest File" option specifying the application's main class
    3) In JAR Deployment Profile Properties window: File Groups --> Project Output --> Contributors are selected: "Project Output Directory" and "Project Dependencies"
    4) With the previous steps, JDeveloper generates a .deploy file. It is created in Resources folder. From this folder, I have selected the .deploy file and right click and I have selected "Deploy to JAR file"
    The .jar is created succesfully. In this point, I try to execute with the command:
    java -jar NAME_OF_THE_DIRECTORY_WHERE_THE FILEIS_DEPLOYED\NameFile.jar
    and I have the following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceFactory
    at project.proxy.AccountClient.<init><AccountClient.java>
    at project.proxy.AccountClient.main<init><AccountClient.java>
    The Manifest File content is:
    Manifest-Version: 1.0
    Created-By: Oracle JDeveloper 10.1.3.5.0
    Main-Class: project.proxy.AccountClient
    I have tested with differents variables to create the .jar file, but always the error is the same. And I haven't found information to solve it. For this reason, I appreciate any help.
    Thank you and regards.
    Edited by: user1634407 on 31-mar-2010 8:27
    Edited by: user1634407 on 31-mar-2010 8:47

    If you are just building a client that access a Web service you need a JAR and not a WAR.
    Ok!
    One thing to try is look at the command line that JDeveloper uses to run your client (it's in the log window) - specifically look at the classpath used.
    Then try and run the same thing from a command line and see if it works.
    Nowadays, the application is running with a .BAT file, it contains the statement released from the JDeveloper console, and it is working perfectlly.
    I try to do the same from a command line, and it works too.
    Assuming it is - you can either use that, or you'll need to make sure that your JAR includes all the mentioned jars that were in the class path - this is done through the library type file group.
    To create the .JAR file I have choosen the following options (JAR Deployment Profile Properties):
    1) Include Manifest File --> I have selected the class that contains the main class (from the Browse option)
    2) I left the default File Groups (Project Output) --> it has: Project Output Directory + Project Dependencies
    3) As you said me, I have created a new File Group (type: Libraries) --> and here, I have selected all the possible Contributors. These match those specified in the project (Oracle XML Parser v2, J2EE, JAX-RPC Client, Commons Logging 1.0.3, Ojdbc14.jar).
    4) Deployment to JAR File successfully.
    The resulting MANIFEST.MF is:
    Manifest-Version: 1.0
    Created-By: Oracle JDeveloper 10.1.3.5.0
    Main-Class: project.proxy.Execution
    It hasn't definied "Class-Path", althought to especified a new File Group with the libraries... Is it an error?
    If I extract the .JAR file, I see all libraries, and I have two folders: one with .class files of my project and other one is META-INF with MANIFEST.MF file.
    5) From command line I executed:
    C:\jdevstudio10135\jdk\bin > java -jar C:\jdevstudio10135\jdev\mywork\project\project\deploy\NameFile.jar
    And the result is an error:
    Exception in thread "main": java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceFactory
    I think the error is because it can not find the library ServiceFactory, but it is especified inside JAX-RPC Client library. What is wrong?
    *6)* I have tried too to insert in "JAR Deployment Profile Properties" (in JAR options) an additional Manifest File to merge into MANIFEST.MF, to include "Class-Path" with all libraries's project (the same JAR from the statement released from the JDeveloper console), but I think that it is a limit, because if I insert all libraries the "Class-Path" doesn't inserted in MANIFEST.MF. The maxim is:
    Class-Path: C:\jdevstudio10135\jdev\mywork\project\project\classes C:\jdevstudio10135\lib\xmlparserv2.jar C:\jdevstudio10135\lib\xml.jar C:\jdevstudio10135\j2ee\home\lib\activation.jar C:\jdevstudio10135\j2ee\home\lib\ejb.jar C:\jdevstudio10135\j2ee\home\lib\jms.jar C:\jdevstudio10135\j2ee\home\lib\jta.jar C:\jdevstudio10135\j2ee\home\lib\mail.jar C:\jdevstudio10135\j2ee\home\lib\servlet.jar C:\jdevstudio10135\webservices\lib\jaxrpc-api.jar
    The following libraries afther the previous one aren't allowed to include because I think that is exceeding the maximum size.
    I have tested to create various MANIFEST.MF with different PATHs libraries, but it isn't work to include in the MANIFEST.MF file all libraries...
    (C:\jdevstudio10135\webservices\lib\wsclient.jar
    C:\jdevstudio10135\webservices\lib\wsserver.jar
    C:\jdevstudio10135\webservices\lib\wssecurity.jar
    C:\jdevstudio10135\webservices\lib\wsdl.jar
    C:\jdevstudio10135\webservices\lib\orasaaj.jar
    C:\jdevstudio10135\webservices\lib\saaj-api.jar
    C:\jdevstudio10135\webservices\lib\orawsdl.jar
    C:\jdevstudio10135\webservices\lib\orawsrm.jar
    C:\jdevstudio10135\webservices\lib\jaxr_api.jar
    C:\jdevstudio10135\webservices\lib\orajaxr.jar
    C:\jdevstudio10135\webservices\lib\relaxngDatatype.jar
    C:\jdevstudio10135\webservices\lib\jaxb-impl.jar
    C:\jdevstudio10135\webservices\lib\jaxb-libs.jar
    C:\jdevstudio10135\webservices\lib\xsdlib.jar
    C:\jdevstudio10135\webservices\lib\mdds.jar
    C:\jdevstudio10135\jlib\jaxen.jar
    C:\jdevstudio10135\jlib\oraclepki.jar
    C:\jdevstudio10135\jlib\ojpse.jar
    C:\jdevstudio10135\jlib\osdt_core.jar
    C:\jdevstudio10135\jlib\osdt_cert.jar
    C:\jdevstudio10135\jlib\osdt_xmlsec.jar
    C:\jdevstudio10135\jlib\osdt_wss.jar
    C:\jdevstudio10135\jlib\osdt_saml.jar
    C:\jdevstudio10135\jlib\repository.jar
    C:\jdevstudio10135\jlib\ojmisc.jar
    C:\jdevstudio10135\j2ee\home\lib\http_client.jar
    C:\jdevstudio10135\j2ee\home\jazncore.jar
    C:\jdevstudio10135\j2ee\home\oc4jclient.jar
    C:\jdevstudio10135\rdbms\jlib\xdb.jar
    C:\jdevstudio10135\diagnostics\lib\ojdl2.jar
    C:\jdevstudio10135\jakarta-taglibs\commons-logging-1.0.3\commons-logging-api.jar
    C:\jdevstudio10135\jakarta-taglibs\commons-logging-1.0.3\commons-logging.jar
    C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14.jar
    C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14_g.jar
    C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14dms.jar
    C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14dms_g.jar)
    With this .MF file (or including only "C:\jdevstudio10135\jdev\mywork\project\project\classes") I have solved the other problem (not found the libraries), but it still not working, the error is a little different:
    Exception in thread "main": java.lang.NoClassDefFoundError: project/proxy/Execution
    The path where the main class is: C:\jdevstudio10135\jdev\mywork\project\project\classes\project\proxy\Execution.class
    I have tried to insert directlly the following paths in "Main Class" option of "Include Manifest File":
    C:\jdevstudio10135\jdev\mywork\project\project\classes\project\proxy\Execution
    C:\\jdevstudio10135\\jdev\\mywork\\project\\project\\classes\\project\\proxy\\Execution
    And with these values, the error is the same: Exception in thread "main": java.lang.NoClassDefFoundError
    I am not sure if the error is a bug of JDeveloper 10.1.3.5 or it is something that I don't correctly. Any idea?
    Thank you again and regards.
    Edited by: user12085357 on 08-abr-2010 1:31
    Edited by: user12085357 on 08-abr-2010 1:38
    Edited by: user12085357 on 08-abr-2010 6:58

  • How to add JAR files in JDeveloper 10.1.2

    Hi,
    We have developed a J2EE project using JDeveloper. Now, i have to add Upload CV functionality to the application. I want to use the classes provided by org.apache.commons.fileupload which is there in the commons-fileupload-1.2.2.jar file provided by them. My problem is i am unable to add this JAR file to my project. When i try to add this JAR file using the Project Properties of my project. Its asking me to browse the path of the J2SE Executable or EDIT the Class Path or Source Path or Doc Path. There is not option to add JAR files. If the JAR file is not added, its showing the errors:
    imported class 'org.apache.commons.fileupload.disk.DiskFileItemFactory' not found exception..
    Please let me know how i could associate JAR files to my project so that the upload files functionality is implemented. Will be desperately waiting for any assistance....
    Regards,
    Najmuddin

    Thanks John, that was helpful. After i added the JAR file, its showing me the following error:
    Error(479,16): class FileUploadException not found in class htdocs.recruitment._regMain.CommonsFileUploadServlet
    Is there any specific location where i need to keep my JAR file or i can browse it from anywhere?
    Regards,
    Najmuddin

  • Locating a jar file into JDeveloper 11g

    Hi there,
    I'm looking for a easy way to find out which jar files are part of each predefined library on JDev. Is there an xml file inside JDev where it is defined?
    Best regards,
    George

    For programmatic access to the library definitions, the libraries are defined in the shared-library definitions in the server.xml files in the following directories.
    C:\JDeveloper\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config
    C:\JDeveloper\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\srcimage\j2ee\home\config
    C:\JDeveloper\j2ee\home\config
    The code-source path specifies the library jar fles.

  • Toplink jar files for Jdeveloper

    What Toplink jar files do in need to setup inside jdeveloper?

    You will need TopLink.jar.
    - antlr.jar is required if using EJBQL
    - source.jar should be added to the library to assit in debugging
    Doug

  • Redeploy jar file

    Hi guys,
    After applying SP3 single signon did not work anymore.
    I have found out that the web.xml and struts-infoview.xml files are replaced.
    I had to reenter the SSo parameters into web.xml. After that SSO works fine again.
    These changes where done in C:\Program Files\Business Objects\Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\WEB-INF.
    Apparently these files reside as well somewhere in a "war" file.
    Form what I gather I have to apply my SSO changes to the  web.xml file in this war file. To prevent this from happening again.
    Could any one explain the steps and commands to extract the single files and redeploy this war file.
    Thank you
    Alex

    Hello Alex,
    Since you're on a Windows box, find the file:
    C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\java\applications\desktop.war
    and change its extension to .zip. 
    You should then be able to open the desktop.zip file and make changes to the WEB-INF\web.xml file you find in there. 
    Then change the extension back to .war.
    Sincerely,
    Ted Ueda

  • Add jar file to forms application standard java library

    Overall Problem
    I created a jar file using JDeveloper to be loaded as a bean in forms builder. But the jar file ended up being really large because I had to add some standard libraries that JDeveloper knew about but Forms didn't to this jar file, it takes forever to load in my forms application.
    Background
    Jdeveloper has a drop down list of standard libraries that aren't commonly used that a developer can have included/referenced into their java project.
    Oracle Forms Library
    One of the standard libraries in JDeveloper that can be referenced when compiling a project is the Oracle Forms library. I have to reference this library in my compilation of my java project in JDeveloper because some of the java code in this project requires the Oracle Forms library. When the jar file is created in JDeveloper the Oracle Forms Library isn't actuaally physically located anywhere in the jar file that is produced for deployment. But the jar file runs perfectly in my forms application. Forms builder and the forms application server seems to already know about the Oracle Forms library.
    Java Media Framework Library
    There is another standard library listed in JDevelopers drop down list that I recently chose to use in my Java Application, the Java Media Framework library. But my forms application couldn't find any of the Java Media Framework classes when it launched the jar file that was deployed from JDeveloper. Obviously the classes wern't physically located in the jar file I created, because I figured that the forms application server/forms builder would already know about about this standard library that JDeveloper knew about.
    Not very effective Solution
    So I physically put/included the whole Java Media Framework Library into my jar file and then my form launched fine. But it now takes forever to load. How can I add the Java Media Frame work library jar files as one of the standard libraries that the forms builder and application server already sees (Like the Oracle Forms Library) without having to put the library in the forms/java folder and wait for the this jar file to download to the user's cache?
    Side note: The Java Media Framework Library is allowing the ability to launch video from my form. Very useful tool!!! So it would be good if forms had this already added as a standard library like it is in JDeveloper. But I only see the ability to reference this library in DS 10gR2 for JDeveloper.
    Thanks,
    Michelle

    Yes I have successfully been able to run a javabean application that uses the Java Media Framework methods within a forms module. The video seems to play and interact normally in the forms environment (launched from a DS or the AS).
    Basic Requirements
    Develop the java application functionality look and feel, including adding funtionality calls to the JMF library where needed.
    Develop an Oracle Forms Interface wrapper that will be the initial class called from the bean area, to hande any communication between the bean and the form.
    Configure the deployment of the jar to physically include all the needed classes from the JMF library.
    Sign the jar file and make sure it is placed in the forms/java folder and referenced in the appropriate forms configuration files.
    Depending on the type of video that the will be played certain .dll files might need to be added to the users system folder. Using H264 (.mov) should work fine without any extra .dlls.
    Thanks,
    Michelle
    Message was edited by:
    mpoore

  • JAR file cache

    hi all.
    i have a problem with jar file on web form. i create one jar file thru jdeveloper and write some code on keypressed event. after deploying this jar file in d:\orant\forms60\java and adding this jar file in formsweb.cfg file developer forms works fine. but the problem is after using this jar file i made some changes in the jar and deploy again in the same manner. but my developer form doesnt take the effect of the new changes. then i create new form and use the same file i surprised new form take the effect but old one not so i can change the name of the old form. after changing the name of the form it takes the effect. so how i can solve this problem bcz it creates problem when i'm using it in my live projects. how i can clear the cache for this jar file
    thanks in advance
    Shakeel

    If you change the JAR file you can't just re-load in the browser, you have to exit the browser and start a new one, then the newer JAR will be picked up,.

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

  • Corrupt .jar files

    Hi All,
    We are trying to deploy JDeveloper for OAFramework through patch 4573517.
    After extracting, we are facing errors for initiating OC4J instance due to corrupt .jar files.
    So if any one is having the listed .jar files for JDeveloper OAF compatible, kindly mail on [email protected]
    .jar files
    aolj.jar
    classes111.jar
    classes12.jar
    flex.jar
    oamdsct.jar
    ojdbc14.jar
    portalFlexComps.jar
    regexp.jar
    sax2.jar
    share.jar
    uix2.jar
    xmlparserv2.jar
    Thanks in Advance
    Sachin

    It didn't work, but I can reach sites that I have a link to on my Desktop. I haven't had Mozilla Firefox very long and I don't even remember what should appear when I select it. Any other thoughts? I appreciate your reply irregardless. At least I am now backed up with a new restore point. Many thanks bens545

  • JSDK.JAR file needed - can't find it on JDEV30

    Hi to ALL,
    Can't find jsdk.jar file on JDeveloper 3.0\LIB.
    Is anyone has JSDK.JAR file? and good enough to send it to my email. As I'm practising the acmevideo sample on JDeveloper 3.0 on Oracle8i.
    Thank you so much.

    Did you read this:
    http://helpx.adobe.com/creative-cloud/help/install-apps.html

  • How toopen jar file in jdev

    Hi all
    1)I don't have source code with me. i have only Jar file with me. Is it possible to open jar file in jdeveloper and see the contents of original.
    2)How to see the code in jar file

    You can integrate the JAD decompiler to the JDeveloper IDE for cases when you do not have any source. In this way you will be presented with decompiled source whenever you open a Java class with no source. Please, have a look at this link for instructions:
    http://technology.amis.nl/2007/11/integrating-jad-decompiler-into-jdeveloper/
    Dimitar

Maybe you are looking for

  • I am a beginner at Final Cut Pro. Need help converting MPEG-2 to use.

    I am a beginner at Final Cut Pro. I have mpeg-2 video footage that I am trying to import the footage into Final cut, but can't. I understand I need to convert the file format. I am unfamiliar with how to go about the converding file formats and the c

  • Problem with second display in premiere CS5

    Hi. I have a problem with external device, I have Mac Pro with ATI radeon HD 5770 and two displays 24 LED display that is primary and second 27 LED cinema display, in Premiere on external device only none and DV 720 576 and no second display.

  • Strange Lion Mail Issue

    When Lion merged the mail accounts from Show Leopard it appears to have two emails in a gmail account that aren't actually there.  It shows a 2, but no mails are present.  My iphone account is fine so its some problem with the merge from gmail.  I de

  • How to isolate traffic in one vpn

    many type of traffic in one traffic mpls vpn.customer want to isolate these traffic. don't visit each other! how can i do this! thank you

  • IPod music not supported

    my new iPod Hi-Fi seems not support my old version iPod click wheel, what's wrong? iTunes related?