How to deploy the jar file in WLS help ant script

Hello

Im trying to deploy a jar file in weblogic 10.3 using ant script and spin in the below error.
"
+ weblogic.management.DeploymentException [wldeploy]: [J2EE:160177] application to ' / u01//RSJBObjects.jar ' was not recognized as a valid request type. If it is an EAR file, please ensure that the META-INF/application.xml exists. EJB - pots must have a META-INF/ejb-jar. XML or corresponding annotations exist. If there is a WAR exploded, the directory name should be fine with "constituent". RSRA requires a META-INF/ra.xml. A deployment of JMS should be an XML file whose name ends in '-jms.xml. A deployment of JDBC must be an XML file whose name ends with "-jdbc.xml". For other types of applications, see the documentation for WebLogic Server. +
"

When I try to deploy the same manually from the console, I get a warning stating that WLS thought this as a library and therefore proceed to deploy it as a library. After this warning, the deployment continues and ends.

Problem is when I try to deploy it using Ant, it breaks at this stage.

Y at - it all means that we can deploy a jar to WLS help ant script. It must be deployed as a library as other apps would use this jar.

Cannot create an ear for this jar file file unique im.

If there is no suggestion on can do you, please share.

Thank you
Vijay.

Hi Vijay,

The following example shows how to deploy a Java EE library named myLibrary whose source files are located in the directory for output/myLibrary:



source = "myLibrary/exit" library = "true"
user = 'weblogic' password = 'weblogic '.
verbose = "true" adminurl = "" t3: / / localhost:7001 ""
target = "MyServer" / >

http://docs.Oracle.com/CD/E11035_01/WLS100/programming/wldeploy.html

HTH
Kind regards
Sunil Polineni

Tags: Oracle

Similar Questions

  • How to regenerate the JAR files?

    How to regenerate the jar files in adadmin?
    We have eBS R12 from Unix.
    Best regards

    Hello

    Please refer to the Maintenance of Applications Oracle® utilities (4-6, JAR files generate products Page).

    Applications releases 11i and 12
    http://www.Oracle.com/technology/documentation/applications.html

    Kind regards
    Hussein

  • Deploy the .jar file

    Hello
    How can I deploy my "jar" files in the content server and then use from jsp pages?

    Thank you. Greetings

    You integrate the JPS individually? One approach is to put the jar and jsp in a war file and deploy as a single unit to content server.

  • Can I deploy the jar files in weblogic?

    Can I deploy a jar file which will be a collection of other jar files in weblogic?
    Where can I change?

    We may keep the code deployed in the ear and all dependencies library jar files in a single pot and the pot to be installed separately in Weblogic...

    What shall we do?

    Please do help

    Hello

    try to provide inputs inside your app ".» XML' as follows




    referenceA.jar


    referenceB.jar


    referenceC.jar

    Now place all the pots inside the root of the EAR file, as well as within the "/APP-INF/lib'. nd, and then deploy that EAR as a shared library.

    Thank you
    Jay SenSharma
    http://jaysensharma.WordPress.com (WebLogic wonders are here)

  • Legend of java ServiceBus - how to pack the JAR file with the libraries?

    Hello

    I want to use a legend of Java from a stream of Bus Service.

    What is the right way to pack the JAR file with its necessary libraries?

    I have tried different methods to pack my POT, but again, as if Java works perfectly workshop (Eclipse), when I try to use the Jar exported on the ServiceBus stream, it fails with a ClassNotFoundException exception.

    I would appreciate your advice here.

    Thank you

    Koby

    Follow the steps: -.

    1. create a java file with a static method that is running your features
    2. in the container, the file use the following command:-

    jar cvf entry file jar-file (s)

    For example, jar cvf Test.jar Test.class

    3. in the Console ALSB, open the session in edit or design mode. Create a folder (if you wish).

    4 inside of this folder, create a resource > Jar. Select the jar file you created above, and then name the resource. Record.

    5 activate the changes.

    6. in the proxy, AddAction service > Message Processing > JavaCallout.

    7 select the resource and method. Click on submit. (Only static methods defined in the file will be displayed)

    8. you can test by logging the response since the Java file.

    I hope this helps.

  • How to add the JAR files and configuration files to the CLASSPATH when running?

    QUERY:

    During execution, I need to load JAR files and relevant config (.cfg files) and file .properties files in the CLASSPATH and run a specific one of the JAR java program that is available in the CLASSPATH.


    Please send me details of Java API or an example of java program to implement the use case above.


    Thanks in advance.


    During execution, I need to load JAR files and relevant config (.cfg files) and file .properties files in the CLASSPATH and run a specific one of the JAR java program that is available in the CLASSPATH.

    Please send me details of Java API or an example of java program to implement the use case above.

    You do not add to YOUR classpath once your application is launched.

    You create a NEW process for the application you want to run and provide an appropriate environment for it to run in-including the CLASSPATH or PATH environment variables.

    The Java API for the ProcessBuilder class has a simple example that shows how to create the arguments and to launch an external application.

    ProcessBuilder (Java SE 7 platform)

    There are also MANY other examples of the use of ProcessBuilder; just search the net.

  • How to deploy the ear file in the OATS

    Hi the gems... Good afternoon...

    I need deploy my application EAR file in the OATS to test.
    I installed version 12.0 OATS and also started the demo of installation IE documentation medrec application.

    Now, how can I configure my application in OATS... I have the ear file and the database credentials.

    Pls guide me... thanks a lot...

    You're totally right :-)

  • How to get the jar file without knowing his name and any class on the inside?

    Hello, everyone!

    I would like to know if there is a way to get a reference programmatically in the original container without knowing his name and any class it contains. I mean by "initial pot" the pot that was called in the prompt, like this:
    java -jar jarfile.jar
    or in another way, in a graphics system. To be honest, what I really want is to get a reference to the manifest of the jar, but I know that if I can get a reference to the jar I can get a reference to its manifest file. Or if you know a way to get the manifest directly, it would also be useful. So, is there a way to do this?

    Thank you.

    Marcos

    Ah, so you want to find the calling class and get its source code.

    I managed to get the class calling on occasion, but this is probably a somewhat fragile solution. You must extend SecurityManager because getClassContext() is a protected method.

        private static class CallerFetch extends SecurityManager {
    
            public Class getCallerClass() {
                return getClassContext()[3];
            }
        }
        private static CallerFetch callerFetch =
                new CallerFetch();
    
        /**
         * Find the class of the code which called the
         * method that invokes this method.
         * @return The class of the caller's caller
         */
        public static Class getCallerClass() {
            return callerFetch.getCallerClass();
        }
    
  • Deployment, redeployment JAR file for WebLogic EM without having to restart the service

    Hello

    Can someone help me how to redeploy the file .jar on weblogic EM with steps.
    Deployment, redeployment JAR file for WebLogic EM without restarting the server
    Appriciate if you provide information in steps with screenshot.
    Note: Not in the 11g weblogic console.

    Thank you
    Phani

    http://download.Oracle.com/docs/CD/E14571_01/core.1111/e10105/deploy.htm#BIHIIEIA

  • How to call a jar file using the IIS virtual directory

    I have my application with limited functionality and I am trying to deploy a jar files in my library files, IIS is my web server. I want to create a virtual directory and I should be able to invoke the new jar of the virtual directory. Any thoughts?

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.technet.Microsoft.com/forums/en-us/home

    http://social.msdn.Microsoft.com/forums/en-us/home

  • How to add multiple images to a JLabel since the jar file

    I want to add more than one image in a JLabel, but the icon property only allows me to add a. I thought I could use the rendered html to add the images I need using the < img > tab, but I need to use a URL that points to the image.

    How do I point to an image in the jar file? If I can't do it, is there another way to display multiple images in a JLabel since the jar file?

    Discover camickr [http://tips4java.wordpress.com/2009/03/29/compound-icon/ url] composed icon.

    DB

  • How to deploy the file. War in Tomcat integrated with the Complutense University of MADRID

    Hello

    Can anyone please share the steps to Configure Tomcat integrated into the University Complutense of MADRID and the steps to deploy the individual file of JSP and war.

    Thank you

    Published by: user4884609 on February 13, 2012 16:23

    I think that this page 67. This manual provides information looking after: http://docs.oracle.com/cd/E10316_01/cs/cs_doc_10/documentation/developer/sdk_getting_started_10en.pdf

    Kind regards
    Boris

  • Deployment to .jar file error

    Hello world
    I am a developer of forms, and as such I am a completely clueless on how to do some basic things in this new tool, I am trying to learn.

    In a first step, I am building some simple applications of the ADF/Swing, everything is fine until I reached the point when I want to deploy my proyect bit. Here's what I did based on what help I could find in this forum. Thanks in advance and sorry for my bad English.


    (1) create a deployment profile, I select all dependencies by using the "Dependency análisis" option under file groups. Question: on the long list of dependencies shown in this section, it is necessary to include all the libraries figure? If I understand all the resulting jar file is 120 MB in size, and that is a very simple form. Is this normal / correct. ?

    (2) after you have deployed the jar I try to run it with "java-jar xxx.jar", but I get the following exceptions: it seems to be related to the manifest file, and I find it very odd that when I look in the jar file, there are TWO 'manifest '. MF' under the same META-INF folder, it is capitalized and is small enough, the second is tiny and very large. I don't know if this is what causes the problem and I can not find someone else who has the same issue.

    The error:


    Exception in thread "main" java.lang.SecurityException: no manifiest section for
    signature input file javax/media/rtp/event/SessionEvent.class
    at sun.security.util.SignatureFileVerifier.verifySection (SignatureFileVe
    check. Java:260)
    at sun.security.util.SignatureFileVerifier.process (SignatureFileVerifier
    . Java:172)
    at java.util.jar.JarVerifier.processEntry(JarVerifier.java:239)
    at java.util.jar.JarVerifier.update(JarVerifier.java:194)
    at java.util.jar.JarFile.initializeVerifier(JarFile.java:300)
    at java.util.jar.JarFile.getInputStream(JarFile.java:362)
    at sun.misc.JarIndex.getJarIndex(JarIndex.java:92)
    to sun.misc.URLClassPath$ JarLoader. < init > (URLClassPath.java:543)
    to sun.misc.URLClassPath$ 3.run(URLClassPath.java:320)
    at java.security.AccessController.doPrivileged (Native Method)
    at sun.misc.URLClassPath.getLoader(URLClassPath.java:309)
    at sun.misc.URLClassPath.getLoader(URLClassPath.java:286)
    at sun.misc.URLClassPath.getResource(URLClassPath.java:156)
    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:191)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)


    Thank you.

    Each must have its own file java.exe JDK. Check the path to the JDK for your project (on the page of the library project properties dialog box) and when you run your JAR file, do it with

    / Path/to/Development/JDK/java-jar...

    Hope this helps,
    Avrom

  • I changed my default program to open the .jar files in Java...

    I changed my default program to open the .jar files in Java... but now they all open as windows of command for half a second before disappearing (Windows 8 BTW) so how can I reset it to open it but it feels like it?

    Try the system restore to undo your mistake.

    How to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista (7 or 8).
    http://support.Microsoft.com/kb/936212/#appliesTo

    See, control Panel\All Control Panel Items\Recovery\ Open System Restore

    Take a look at the control Panel\All Control Panel Items\Default Programs\Set Associations and set the correct program for a .jar file.

    Java uninstallation and reinstallation of Java could fix.

    Windows 7 - how [closed] open JAR files

    http://StackOverflow.com/questions/11617239/Windows-7-How-to-open-jar-files

    http://www.Google.com.au/search?q=what+program+or+process+opens+.jar&SourceID=IE7&RLS=com.Microsoft:-to THE: IE-address & ie = & oe = & gws_rd = cr & ei = iyFPUtjtOsvtiAel6oHICQ

  • access request to the jar file module

    Hello world

    I use jdev 11.1.1.7.0

    I added a jar file to my project (jar file contains a workflow and an application module), the jspx parent page like the following (also application instance module added to the data control):

    <af:panelGroupLayout id="pgl1" layout="vertical"> 
        ...
      <af:region value="#{bindings.taskflow.regionModel}" id="r1" />     
      ...
    </af:panelGroupLayout> 
    
    

    If I create a bean for the parent jspx page (the page contains the workflow) is it possible to access the instance of request of the jar file?

    Habib

    Concerning

    Post edited by: Habib.Eslami

    Habib, read the warning about the changes to understand the warning of uncommitted data. Then http://andrejusb.blogspot.de/2010/03/integration-in-oracle-adf-with-adf-task.html that shows how to get to the datacontrol to a region and check the status of the transaction.

    Timo

Maybe you are looking for

  • When mobile firefox will be available in us?

    I see firefox phones for sale on ebay and want to buy a. Which carrier can I use it on?

  • Slow scroll arrow

    Someone found a solution to this yet? How can I increase the lines when scrolling with the arrow keys. Right now, it's just making 1 line at a time. Which is really really ridiculous. It must be set at least 3 lines. Better, if we can customize.

  • Safari closes when you click on the url bar

    Hello Here's my problem: when I click on the URL bar (where the url for websites (or name) is written for ex right now: Apple Inc. is written in green.)  Safari closes and gives an error message and asks me if I want to send an error message I did to

  • Need to keyboard for Equium A100-147

    can someone tell me what looks like the keyboard on this model? like im interested in buying a

  • Replacement battery iPhone 5s - health

    Hello I got my iPhone 5S for a little over 2 years now. Thought keep it for over a year and then upgrade to 7 later. I was wondering if it would be interesting to replace the battery of the iPhone... My current stats are: Charge cycles: 653 The batte