Jar file Deployment

We have made changes to one of the jar beans. Is there a way that I can deploy the jar file alone and let the application (jsp pages) see the changes? Typically we deploy using either JDeveloper or Oracle Application Server Web Interface.
To test, we copied the jar file in the WEB-INF directory but that did not help. Even bouncing the OC4J container did not help.
Any suggestions are welcome.
Regards,
Rakesh

repost

Similar Messages

  • JAR files deployed to EBS server a not loaded by server

    Dear All,
    We deployed JAR files to Apache(Jserver) of EBS server, we put jar files to $OA_JAVA and added content of jar file names into jserv.properties, then we re-started the Apache(Jserver), but the JAR files are not loaded by server, we checked the properties file and the path of JAR files are both OK, what may cause this kind of issue?
    Currently, we are working on the Accounts Payables interface, which need to call java scripts to upload the log file to Google drive, and we need to include some Google java files in the class path, so these java files are third party's, how to config these java files under Oracle?
    Thanks,
    Jackie

    Hello Mike,
    It customization jar file.
    And customer wants to load this jar file to EBS apache server, so that they can use it to do some development work?
    Now, they wants to know how to load it?
    Thanks,
    Jackie

  • Webcenter Portal large Site with Jar Files Deployment/Configuration

    Hi,
    I have a large WCS portal to deploy comprising of many "applications" from different groups.
    Ideally we want to deploy it as a .ear file, containing menus, templates, preferences, and some other common structures.
    We want to deliver each application as a .jar File. What is the best way to do it?
    Can we build menus pointing to a Taskflow .jar files without incorporating the .jar in the application?
    Thanks a lot,
    Joao,

    Thanks a lot Daniel for you prompt answer.
    Do you think I can use in the default-navigation-model.xml structures like
    taskflow://WEB-INF/test/testTF.xml#testTF in URL field, without adding the adf.jar to the project.
    My ideia is to deploy the lib, but do not add it to the project, in order to allow decoupled development.
    Thanks,
    Joao,

  • Can't Execute JAR file deployed from JDev 903

    Hi Everyone:
    I took the Oracle beginning Java class, and got a copy of JDeveloper 9, and started in on a project. The task was to create a small module that will allow users with no direct SQL access to change their Oracle passwords. The good news is that it runs great from within JDev; it catches exceptions cleanly, it handles multiple databases with no problems. The bad news is that I cannot get it to run from a batch file or command line (client is Windows). I have run 'setvars', I have copied the CLASSPATH from the run window in JDev, all to no avail.
    I am trying to deploy the app as an executable jar file. It's not meant to be an applet, because of the security implications.
    I would gladly RTFM, but the FM's that I have gloss over the deployment step in Jdev. I figure it's something obvious, but I just cannot figure it out.
    Any suggestions? Help a newbie...
    Thanks,
    Mike

    Hi Mike,
    I suggest you take a look at the log window of JDev, when you've successfully run your project.
    If the log window is not displayed, go to View | Log.
    Cut the command line, invoking javaw.exe, and paste it into your favorite editor.
    Change javaw.exe into java.exe, save your file as a bat file, go in a DOS console, and run the bat file.
    Let me know if it fixes your problem.
    Thanks,
    - Olivier

  • .jar file deployment problem

    Hi I am running a web application using tomcat 4.x .
    I want to deploy the appllication as war file in tomcat I did the following step:
    1.jar cf web.jar * use this command to make .jar file
    2. placed it in tomcat_home/webapp folder.
    it is able to get to the first page that has 2 frames. The pages in that frame are not been loaded. error 404 The requested resource (/integrate/jsp/default.jsp) is not available.
    is shown.
    Where could be the problem
    Thanks in advance.

    Hi I am running a web application using tomcat 4.x .
    I want to deploy the appllication as war file in tomcat I did the following step:
    1.jar cf web.jar * use this command to make .jar file
    2. placed it in tomcat_home/webapp folder.
    it is able to get to the first page that has 2 frames. The pages in that frame are not been loaded. error 404 The requested resource (/integrate/jsp/default.jsp) is not available.
    is shown.
    Where could be the problem
    Thanks in advance.

  • Jar file deployment in jdeveloper

    JDeveloper 3.1.1.2
    I've created a simple class to read from and write to the local environment. This is then used in a webforms application.
    If I create a jar file using the command line jar .exe that comes with JDeveloper in the java\bin directory I get the following manifest.mf file:
    Manifest-Version: 1.0
    Name: LocalFileWrapper.class
    Digest-Algorithms: SHA MD5
    SHA-Digest: l5VvJkUGvBq/k6FV01C8E77N5tw=
    MD5-Digest: DXzcwxZUmo/5lx4dBV2bAw==
    If I try and deploy directly from JDeveloper I get the following manifest.mf file:
    Manifest-Version: 1.0
    Name: LocalFileWrapper.class
    Java-Bean: True
    Is there anyway to get JDeveloper to produce the first manifest.mf file using the deploy mechanism?
    Rergards
    Paul

    repost

  • Extract BPEL process from the JAR file deployed to BPEL Server

    Hello All-
    We have a BPEL process deployed in our production environment but unfortunately we do not have a back-up copy in our test environment.
    I got the BPEL deployment JAR file from the production server but I am unable to extract the BPEL Process as well as the XSL file.
    I used WINRAR to extract but it was showing that the JAR file is not a valid archive. We need the prod deployed version of the XSL as well as the BPEL process for a change and we are unable to proceed.
    If anybody has faced similar kind of issue, please let me know how can it be resolved. Also please let me know if there are any tools which can extract the files.
    PLease note that we are on BPEL 10.1.2.0.2
    Appreciate your help and thanks in advance.
    Thanks,
    Dibya

    Hi Dibya
    jar -xvf <filename> will work as others said.
    However, please make sure you have another TEST/DEV Environment running in par with PROD.
    Always, suggested to test first on the TEST/DEV Env for applying any new patches/config changes...then appropriately migrate to actual PROD Environments.
    Also, always take a complete backup before you do some R&D on the SOA server.
    Regards
    A

  • External jar file deployment issue

    Dear Experts,
    I have one external jar :  tc_sec_https.jar  to be used in my dc.
    Hence I have created an external library dc and included this jar in the library . I have also created one dc of type j2ee server component where I have used the public parts of the external  library dc at build time.Finally I have deployed the j2ee type dc.
    But when I log into visual admin I dont find the jars deployed on the server.
    I have followed all the steps of the tutorial :
    " External Library Deployment and Usage in SAP NWDS" by Saurabh Agarwal.
    Could u please guide why I am not able to find the jar on the server while I log through visual admin ??
    Regards,
    Mamai.

    Why do you deploy jar which is already on the server?
    \usr\sap\<SID>\JC<INSTANCE_NUMBER>\j2ee\cluster\server0\bin\ext\security.class\tc_sec_https.jar
    Just set reference to the library in your application-j2ee-engine.xml:
    <reference-target target-type="library" provider-name="sap.com">security.class</reference-target>

  • Can't create a true ADF Libray JAR FIle

    I created a Model project. Then created an ADF Library JAR File Deployment Project to deploy the jar to the file system.
    I then, created a separate project and tried to add the export jar file to it via a File System connection in the Resource Palette.
    But, when I right click on the jar file in the Resource Palette, I only see 2 options, "Open" and "Advanced Search".
    I expected to have an option to add the jar to the selected project.
    Now, I am able to add the jar to the Project if I go to the projects properites, then add the jar via the "Libraries and Classpath".
    Note that even the icon for the jar is different than those from other System Jar files (the bookshelf/library icon).
    The icon I see for my jar is hard to identify, sort of like a torch.
    So, what is going on?
    I have double and triple checked that my deployment profile is for an "ADF Library JAR File".
    I have deleted the default deployment profile and create a brand new one.
    Still, the same issue.
    Any ideas?
    Thanks in advance.

    When you say you see the XML files for the EOs & VOs do you mean in the resource palette? Never mind, let's take a step back.
    Via the following link this is what you should see for a Model project ADF Library JAR that contains EO/VOs etc:
    https://dl.dropboxusercontent.com/u/12154176/pic01.png
    If you were to right click on the JAR this is what options you should see:
    https://dl.dropboxusercontent.com/u/12154176/pic02.png
    I'd suggest you're still doing something wrong when you create the ADF Library JAR. To assist you via this link:
    https://dl.dropboxusercontent.com/u/12154176/Model.zip
    ...you'll find a previous workspace/project I've setup. If you right click on the Model project look to the Deployment options you'll see an ADF Library deployment profile called "Model_Model_adflib". If you exit out of the preferences, right click Deploy -> select Model_Model_adflib, the appropriate ADF Lib JAR will be created under Model/Model/deploy. Returning to JDev and the Resource Palette, add a file system connection to this deploy directory, then you should see what I see above.
    Let us know how you go.
    CM.

  • Make a jar file availlable for all web application at deployement time

    Hi !
    Is there a way to make a jar file availlable to all web application included in a .ear file. I know that i can manually copy the jar under (OC4J_HOME)/j2ee/home/lib , but can i create a package that have those web application ( lets say 4 ) and also the common jar file, deploy the that .ear file and make my jar file automatically availlable for all the deployed web application ? or is there a special command that i can use to copy that jar to the (OC4J_HOME)/j2ee/home/lib while deploying the .ear file ?
    i tried adding a manifest file with the classpath option but this seem to work only with jsp...
    thanx for your audience...

    Open the file %J2EE_HOME%/applcation-deployments/your-app/orion-application.xml. Add a tag like the one below:
    <library path="location_of_my_library.jar" />
    This will make the JAR availible to only your application, and the modules within it, and no others.
    Rob Cole
    Oracle

  • Error while deploying a JAR-File into 8i !

    Hello to all Oracle experts,
    At the attempt to deploy a Jar file into the 8i the following
    error message comes onto Shell level:
    initialization complete
    loading : com/sun/xml/tree/XmlDocumentBuilder
    ORA-01536: space quota exceeded for tablespace 'PROCON_DATA'
    Error while loading com/sun/xml/tree/XmlDocumentBuilder
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.DBMS_LOB", line 700
    ORA-06512: at "PROCON.LOADLOBS", line 1
    ORA-06512: at line 1
    creating : com/sun/xml/tree/XmlDocumentBuilder
    Error while creating class com/sun/xml/tree/XmlDocumentBuilder
    ORA-29509: incorrectly formed Java binary class definition
    The command was:
    loadjava -user procon/procon@t2srv1:1521:PROCON -thin -verbose -schema PROCON xml_un.jar
    It would please me if somebody has an idea to this error !
    null

    Hi Olivier,
    you could try the following approach:
    1. Package your JAR files as J2EE Engine libraries and deploy them on it as described here: <a href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/2ade3fc6c6ec06e10000000a1550b0/frameset.htm">Working with J2EE Libraries</a>.
    2. Set reference to this library from the application that use them. Depending on your application, refer to the appropriate documentation:
    -- reference from a J2EE app -> see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/15/d5d93fe80fed06e10000000a1550b0/frameset.htm">Referencing Libraries in Applications</a>
    -- reference from a portal app -> see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/02/788540ae1dbb4de10000000a1550b0/frameset.htm">Referencing Elements</a>
    Hope that helps!

  • Deploying a BC4/ADF Swing Application to a JAR File

    Hello,
    what do I exactly have to do, to deploy an ADF/Swing/Business Components-
    Project-Application to a JAR File. I can not start it outside the JDevloper IDE,
    but I created a deployment profile and deployed it to a JAR.
    There is always the error "Could not find the main class", when starting the
    JAR. In the JDeveloper IDE the application is running, and I also defined a "main class" there.
    Could anybody help me please?
    Greetings.

    You need the ADF runtime libraries in your classpath or as part of your JAR.
    Have a look at the command that JDeveloper is using to run your project (it is in the log window) and copy the classpath defenition provided there to the command line you use.

  • Problem deploying connector: META-INF/ejb-jar.xml not found in jar file

              Has anyone seen this problem:
              I built Sun's Blackbox implementation and packaged
              it identical to the BlackBoxNoTx.rar included with
              Weblogic's 'jconnector' sample (even using the same
              ra.xml and weblogic-ra.xml). When I try to deploy
              it, the server reports:
              java.io.FileNotFoundException:
              META-INF/ejb-jar.xml not found in jar file
              I have no idea why the server thinks my connector
              is an EJB. If I deploy the BlackBoxNoTx.rar included
              with the sample, everything works without a hitch.
              The only variable that I'm changing in my BlackBoxNoTx.rar
              is that I build the Blackbox classes myself--otherwise,
              the RAR packagings are identical. Any assistance is
              greatly appreciated since I'm banging my head against
              a wall...
              Thanks,
              -jason
              

              I was finally able to resolve this one. On the odd chance that someone else encounters
              the same problem, here's what went wrong:
              My RAR file had two directories: 'META-INF' and 'meta-inf'. The first was created
              by the jar tool and contained the manifest.mf file. The second I created manually
              and it contained my ra.xml and weblogic-ra.xml. When I examined the RAR using
              any tools or I extracted the contents, it looked like it only contained one directory:
              META-INF (because NT is case-insensitive).
              "Jason L" <[email protected]> wrote:
              >
              >Has anyone seen this problem:
              >
              >I built Sun's Blackbox implementation and packaged
              >it identical to the BlackBoxNoTx.rar included with
              >Weblogic's 'jconnector' sample (even using the same
              >ra.xml and weblogic-ra.xml). When I try to deploy
              >it, the server reports:
              >
              >java.io.FileNotFoundException:
              >META-INF/ejb-jar.xml not found in jar file
              >
              >I have no idea why the server thinks my connector
              >is an EJB. If I deploy the BlackBoxNoTx.rar included
              >with the sample, everything works without a hitch.
              >The only variable that I'm changing in my BlackBoxNoTx.rar
              >is that I build the Blackbox classes myself--otherwise,
              >the RAR packagings are identical. Any assistance is
              >greatly appreciated since I'm banging my head against
              >a wall...
              >
              >Thanks,
              >
              >-jason
              

  • Can I include dlls in a jar file for deployment?

    I have a set of dll's I need to deploy (some kind of database driver needed along with my java application) in a client/server situation. Instead of copying these dll's to the client's system32 folder on windows, can I simply include these dll's in the jar file containing my java applications?

    No it was just to make everything cleaner. But if I have to take them outside of the jar file, then like you say there's no benefit in putting them in there in the first place.
    As for having the dll's in the same directory or a sub directory, how can I load them then? Using the function System.loadLibrary?

  • Problem in Creating a jar file using java.util.jar and deploying in jboss 4

    Dear Techies,
    I am facing this peculiar problem. I am creating a jar file programmatically using java.util.jar api. The jar file is created but Jboss AS is unable to deploy this jar file. I have also tested that my created jar file contains the same files. When I create a jar file from the command using jar -cvf command, Jboss is able to deploy. I am sending the code , please review it and let me know the problem. I badly require your help. I am unable to proceeed in this regard. Please help me.
    package com.rrs.corona.solutionsacceleratorstudio.solutionadapter;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.util.jar.JarEntry;
    import java.util.jar.JarOutputStream;
    import java.util.jar.Manifest;
    import com.rrs.corona.solutionsacceleratorstudio.SASConstants;
    * @author Piku Mishra
    public class JarCreation
         * File object
         File file;
         * JarOutputStream object to create a jar file
         JarOutputStream jarOutput ;
         * File of the generated jar file
         String jarFileName = "rrs.jar";
         *To create a Manifest.mf file
         Manifest manifest = null;
         //Attributes atr = null;
         * Default Constructor to specify the path and
         * name of the jar file
         * @param destnPath of type String denoting the path of the generated jar file
         public JarCreation(String destnPath)
         {//This constructor initializes the destination path and file name of the jar file
              try
                   manifest = new Manifest();
                   jarOutput = new JarOutputStream(new FileOutputStream(destnPath+"/"+jarFileName),manifest);
              catch(Exception e)
                   e.printStackTrace();
         public JarCreation()
         * This method is used to obtain the list of files present in a
         * directory
         * @param path of type String specifying the path of directory containing the files
         * @return the list of files from a particular directory
         public File[] getFiles(String path)
         {//This method is used to obtain the list of files in a directory
              try
                   file = new File(path);
              catch(Exception e)
                   e.printStackTrace();
              return file.listFiles();
         * This method is used to create a jar file from a directory
         * @param path of type String specifying the directory to make jar
         public void createJar(String path)
         {//This method is used to create a jar file from
              // a directory. If the directory contains several nested directory
              //it will work.
              try
                   byte[] buff = new byte[2048];
                   File[] fileList = getFiles(path);
                   for(int i=0;i<fileList.length;i++)
                        if(fileList.isDirectory())
                             createJar(fileList[i].getAbsolutePath());//Recusive method to get the files
                        else
                             FileInputStream fin = new FileInputStream(fileList[i]);
                             String temp = fileList[i].getAbsolutePath();
                             String subTemp = temp.substring(temp.indexOf("bin")+4,temp.length());
    //                         System.out.println( subTemp+":"+fin.getChannel().size());
                             jarOutput.putNextEntry(new JarEntry(subTemp));
                             int len ;
                             while((len=fin.read(buff))>0)
                                  jarOutput.write(buff,0,len);
                             fin.close();
              catch( Exception e )
                   e.printStackTrace();
         * Method used to close the object for JarOutputStream
         public void close()
         {//This method is used to close the
              //JarOutputStream
              try
                   jarOutput.flush();
                   jarOutput.close();
              catch(Exception e)
                   e.printStackTrace();
         public static void main( String[] args )
              JarCreation jarCreate = new JarCreation("destnation path where jar file will be created /");
              jarCreate.createJar("put your source directory");
              jarCreate.close();

    Hi,
    I have gone through your code and the problem is that when you create jar it takes a complete path address (which is called using getAbsolutePath ) (when you extract you see the path; C:\..\...\..\ )
    You need to truncate this complete path and take only the path address where your files are stored and the problem must be solved.

Maybe you are looking for

  • Can't modify text on Type Overlay in Acrobat Pro 9.0

    I'm trying to modify a menu for a local restaurant. They gave me the file as a .pdf file, and it's listed as a Type Overlay file. Advanced editing and touch up text tool do not work (I'm trying to delete an item that is no longer served). The entire

  • Hyphenation & text-align:justify in PDF's with CFDOCUMENT

    Hello everybody! We are using CF8.1 and are having problems of generating well designed PDF outputs with CFDOCUMENT. We would like to print out reports, which are hyphenated and have the text aligned. Example: This works fine: <html lang="en"> <STYLE

  • Inserting data into custom infotype

    Hi, I`m trying to enter an employee record into a custom infotype (which basically belongs to PA ).   I`m using the FM 'HR_INFOTYPE_OPERATION' and usage of FM is as below. But the infotype is not getting updated with the values. IF NOT I_9111 IS INIT

  • URLConnection POST to external server requiring keep-alive fails because request is HTTP/1.0

              I have a class that when run as a "main" transmits a HTTP/1.1 post successfully           to an external server. This external server requires keep-alive connections.           However when instantiated inside a weblogic servlet container,

  • Start new column at group change?

    My report is 2 columns.  I used the following steps: Section expert>Details>Format with multiple columns; and then on the Layout Tab i checked Format Groups with Multiple Columns.  Also, under the "Change Group Options" box and the "Options" tab, I h