Empty JAR File : After deployment of PAR file.

Hi friends,
I Migrated the EP Database to different machine and made neccessary changes in the portal to make it point to the new  database.
Then i tried to change the custom deployed applications to make it point to new database. so Got the somecomp.par.bak from /<Portal_installation_path>/cluster/server/services/
servlet_jsp/work/jspTemp/irj/root/WEB-INF/deployment/pcd. Imported it into Eclipse, changed connection properties code, built it and coverted to par file. Deployed that file into portal using java developement tab. Even after uploading a new par, application is still pointing to old database.
While deploying, it wrote some log into error_log file as follows:
Jan 13, 2006 9:43:38 AM  ...rtal.prt.service.config.ConfigDeploymentService [Client_Thread_14] Warning": An upload sequence w
ill start now. Please do not stop the server or serious deployment issues may arise.
Jan 13, 2006 9:43:39 AM  ...rtal.prt.service.config.ConfigDeploymentService [Client_Thread_14] Warning": The upload sequence
is now complete, all the upgrades have been performed.
warning: Jar is empty: /usr/sap/AAA/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/po
rtalapps/SOMECOMP/private/lib/SOMECOMPcore.jar
What may be the cause of this error?
Portal Version:
EP6 SP2 Patch 29
SAPJ2EE 6.20 Patch 29
Regards,
Nilz
Message was edited by: nilz

Hi Nilz,
> I got confused here
Don't!
In NWDS, if you import a PAR, no JARs which are inside the PAR get imported. That's all (it's enough ).
> The one using which i compiled my code
> like htmlb.jar etc
NO! These are (hopefully) not inside your own PAR but only referenced!!!
> When i imported a PAR file, the source code was there.
Then even with NWDS you shouldn't have any problems as the classes / JARs are compiled/created at PAR creation.
> i am using Eclipse with SP2 plugins
Alltogether in your situation you are not confronted with an error but with a warnung. Obviously you don't have any code in the src.core section.
Hope it helps
Detlev
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

Similar Messages

  • Chaging WebService URL after deploying iView(PAR file)

    Hi,
    I am creating an iView using .Net PDK and will be accessing methods of a WebService using a proxy class.
    I don't want to hardcode URL of the WebService in my proxy class.
    Is there any solution by which I can read URL from some config file, so that if I want to change URL of web service, I just have to change the content of the config file instead of recompiling proxy class and deploying new PAR file.
    Regards,
    Ajay

    Hi ajay,
    You can define it as a property of the iView.
    For details see:
    .NET iView
    and:
    https://media.sdn.sap.com/html/submitted_docs/PDK_for_dotNET_10/Tutorials/Personalization.htm
    Hope that helps,
    Yoav.

  • Error after deploying backup PAR

    Hello guys,
    we updated a PAR-File in our Portal. The PAR-File that was changed is com.sap.portal.appintegrator.sap.par. And now iViews with Codelink
    com.sap.portal.appintegrator.sap.bwc.BSP show Message:
    "SAPApplication Backward Compatibility Component".
    After reverting back to old Par-File (was backed up local before
    changing) and reloading it (even after restarting the whole server) the
    Problem still persists.
    When executing a iView of that type following errors are located in log-File:
    Time , Category , Date , Message , Severity , Location , Application , User
    11:36:23:272 , /System/Server , 11/21/2006 , Failed to get application
    IPropertyContentProvider:
    pcd:com.sap.portal.system/applications/com.sap.portal.appintegrator.sap/components/BSP
    , Error , com.sap.portal.ivs.semantic.iViewService , sap.com/irj , horn
    11:36:23:270 , /System/Server , 11/21/2006 , Failed to get application
    IPropertyContentProvider: com.sap.portal.appintegrator.sap.BSP , Error ,com.sap.portal.ivs.semantic.iViewService , sap.com/irj , horn
    I further saw, that portalapp.xml in pcd (browse over pcd-browser) after deploying, only has 409 bytes.
    "portalapp.xml view, download 409 Tue Nov 21 17:54:08 CET 2006"
    The content of this file is:
    " <?xml version="1.0" encoding="iso-8859-1" ?>
    - <application>
    - <!-- THIS FILE IS A COPY OF THE ORIGINAL VERSION STORED IN THE PCD. PLEASE DO NOT CHANGE IT!
    -->
    - <application-config>
    <property name="ClassLoadingPolicy" value="5.0" />
    <property name="DeploymentPolicy" value="5.0" />
    <property name="AuthenticationPolicy" value="5.0" />
    </application-config>
    <components />
    <services />
    </application>"
    So there must be an error when I deploy the backup-PAR to server. But after deploying I get the message:
    "Messages:
    INFO: Detected Portal Archive File: com.sap.portal.appintegrator.sap.parINFO: Application successfully stored in the PCD
    Messages from Server ID 7805250
    INFO: com.sap.portal.appintegrator.sap has been successfully updated. "
    additionally it seems that services that are defined in portalapp.xml aren't deployed, if I redeploy the backup of com.sap.portal.appintegrator.sap.par. The names of this services are IViewURLGenerator and Transaction_Configuration under com.sap.portal.appintegrator.sap in service tree.
    The portalapp.xml component aren't attached to the corresponding security zones, too. For example in Portal Content Browser I see:
    ara:/security/sap.com/NetWeaver.Portal/low_safety/com.sap.portal.appintegrator.sap/components/BSP
    If I select Where-Used on this Element, there is the message:
    "No component is bound to this security zone"
    and
    "No service is bound to this security zone"
    I have no further idea how I can deploy this par-File that it works correctly. Hope you can help me!
    Thanks in advance.
    Best regards,
    Daniel

    Hi,
    now I searched the directories again and I found under ROOT/WEB-INF/deployment/pcd
    three files with name "com.sap.portal.appintegrator.sap.par" but three file-extensions:
    -log
    -err
    -bak
    In log-File there is shown an error while deploying...perhaps that helps analysing.
    Here I list the content of the log-File:
    2006-11-21_10-22-16
    Application upload failed: com.sap.portal.appintegrator.sap.par
    java.lang.InternalError: jzentry == 0,
    jzfile = 4333072224,
    total = 94,
    name = /usr/sap/TEP/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/deployment/pcd/com.sap.portal.appintegrator.sap.par,
    i = 1,
    message = invalid LOC header (bad signature)
         at java.util.zip.ZipFile$2.nextElement(ZipFile.java:322)
         at com.sapportals.portal.prt.deployment.ArchiveIterator.iterate(ArchiveIterator.java:46)
         at com.sapportals.portal.prt.deployment.UploadProcess.upload(UploadProcess.java:60)
         at com.sapportals.portal.prt.deployment.DeploymentManager._uploadArchive(DeploymentManager.java:835)
         at com.sapportals.portal.prt.deployment.DeploymentManager.uploadArchive(DeploymentManager.java:474)
         at com.sapportals.portal.prt.deployment.DeploymentManager.uploadApplication(DeploymentManager.java:319)
         at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doUpload(ArchiveUploader.java:116)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:700)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)
         at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
         at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:707)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:824)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Best regards,
    Daniel

  • Unable to deploy the PAR file after the first successfully deploy.

    Hi, my gurus.
    I found a problem when I developed the JspDynPage.
    That is after  first deploy the PAR file successfully,I found there is a miss in portalapp.xml, so I correct the miss and then do a second delpoy.But it didn't work.
    I goto the Server's file system to find the portalapp.xml,
    the content of xml was still the old one.
    Anyone can help me, I don't want restart the J2EE Engine,
    because the restart will last for 15mintues.
    Thanks.

    Hi,
    I dont think there is no need to restart your J2EE Engine.
    Becuase i dont think you have a requirement to create an iview from that PAR File
    If it is so delete the previous iview and create a new iview.
    From the updated PAR File in ur System
    Every Time when you uplaod the PAR the old instance will be lost.and new changes will come into effect on each upload done by you.
    There is no question of restarting ur J2EE Engine.
    Whenever there is a change in you PAR.
    Hope this Helps you.
    Thanks & Regards,
    Lokesh.
    Reward Points if helpfull

  • Runtime exeception after deploying PAR file in portal

    Hi ,
    I am facing an issue during the deployment of PAR file in our  Quality portal. I have download the PAR file from the system-->import to the NWDS--> did the modification (only to the properties files as part of my requirement) -->Export as PAR file. I then undeploy the previous earlier PAR file and then upload the modified PAR file in portal. When i test the application , i received portal runtime error.
    I have also tried by downloading the PAR file for the same application from the production portal and tried importing to Quality system without making any modification to the PAR. I still face the same issue.
    Due to this issue, i am not able to bring the application back as its not getting deployed properly. Can anyone help me on this.
    Regards
    Ray

    Hi Ray,
    Are you sure your file is getting deployed properly. Can you verify if the time stamp of the PAR file is getting updated on each deployment or after you upload it through Portal.
    Also, please check the PAR file (size and it's contents by unzipping the PAR file) that you've downloaded from PROD and deploying on QAS to ensure that the file is not corrupted by any means during downloading.
    You can also ask your BASIS team to provide the PAR file directly from PROD server and try to upload it on QAS instead of you downloading it from PROD portal.
    Also, you can follow the below steps to download the PAR file yourself from PROD portal with Administrator ID:
    Browse to the following location : System administration->Support->Portal Runtime->Browse deployment->ROOT/WEB-INF/deployment/temp
    1. Find and Identify the PAR file and Copy the name of PAR file.
    2. Click on view instead of download link to save the PAR file. Keep the name of PAR file same while saving with .par extension.
    3. Deploy this file on QAS Portal.
    Please let us know the results.
    BR,
    Anurag

  • Portal Run time error after deploying custom logon page par file in portal

    Hi Experts,
       We have customized the standard portal logon par file for client XYZ and imported it with the same name (com.sap.portal.runtime.logon.par)  in portal.
       It is working fine for XYZ . And another client ABC wants the same customization for them also. So we took the par file from XYZ and imported it in ABC system. But in ABC system, we are getting Portal Run time Error. When we checked the logs, it is showing error in LogonBean class.Wwe have included the necesary jar files. Could anyone help us in identifying what is missing?
    Thanks
    VJ

    Hello Vijay,
    Please paste or attach the error log.
    Regards,
    Haseena

  • Performance problem after deploying bundle files

    Hello,
    I undeployed and made some changes on a km.resource.bundle PAR to update
    some properties labels values. After deploying it again KM performance decreased
    significantly and became very slow, we had to remove the PAR and restart portal
    to restore its normal functioning.
    Could you help me diagnose this?
    some more info:
    1 - The only changes I did was on the *.properties files.
    2 - I had an error when generating the PAR again, which was solved adding the
    external jar bc.crt_api.jar as reference.
    3 - On SAP note 817876 the example project comes with this JAR into /lib folder,
    my project just referenced it so my /lib folder is empty.
    regards,
    Rafael

    Hi BP, thanks for the quick reply, I will try restarting it next time and check
    if that solves the performance issue.
    I was wondering if it was caused because of the bc.crt_api.jar library. Does it
    have to be into the project structure or do I only need it for local reference? My guess
    was that the application running on portal was accessing the lib into my machine
    and thus causing the slowdown.
    kind regards,
    Rafael

  • Difference b/w PAR & JAR Files

    hi,
    i m new to enterprise portal(EP),what is a use of PAR file in portal appl , what is the difference b/w PAR & JAR files,why cant we can use JAR file.
    thank in advance naresh

    Hi,
    In computing, a JAR file (or Java ARchive) is used for aggregating many files into one. It is generally used to distribute Java classes and associated metadata.
    1) WAR (file format) (Web Application aRchive) files are also Java archives which store XML files, java classes, Java Server Pages and other objects for Web Applications.
    2) RAR (Resource Adapter aRchive) files, not to be confused with the RAR (file format), are also Java archives which store XML files, java classes and other objects for J2EE Connector Architecture (JCA) applications.
    3)EAR (file format) (Enterprise ARchive) files are composite Java archives which combine XML files, java classes and other objects including JAR, WAR and RAR Java archive files for Enterprise Applications.
    JAR files can be created and extracted using the "jar" command that comes with the JDK. It can be done using zip tools, but as WinZip has a habit of renaming all-uppercase directories and files in lower case, this can raise support calls with whoever created the JAR or the tool authors themselves. WinRAR, on the other hand, retains the original case of filenames.
    A JAR file has an optional manifest file located in the path META-INF/MANIFEST.MF. The entries in the manifest file determine how the JAR file will be used. JAR files which are intended to be executed as standalone programs will have one of their classes specified as the "main" class. The manifest file would have an entry such as
    Portal applications are packaged in PAR (Portal Archive) files. A PAR file is a standard ZIP file with a .par extension that contains a deployment descriptor, all Java classes, Web resources and other files required to run the application.
    Within the portal, the name of the PAR file is the name of the application. The fully qualified name of any component or service defined in the PAR is the name of the PAR file, followed by a period (.) and then the name of the component or service.
    A PAR file contains the following files:
    The following files are contained files contained in a PAR file are divided into the following types:
    &#9679;     Web resources
    All files in a PAR file that are accessible directly via an HTTP request, such as:
    &#9675;     HTML
    &#9675;     Images
    &#9675;     Stylesheets (.css)
    Web resource files can be located anywhere outside the top-level PORTAL-INF and META-INF folders.
    You can create links to these files directly. For more information, see Creating URLs to Web Resources.
    ·        Java Classes and Deployment Descriptor
    Java classes that implement the component and services defined in the PAR file, plus the deployment descriptor (portalapp.xml). The deployment descriptor specifies the components and services contained in the PAR file, and defines the configuration for the application, components and services. For more information the deployment descriptor, see Deployment Descriptor (portalapp.xml).
    The PAR file’s Java classes and deployment descriptor are located in the top-level PORTAL&#8209;INF folder
    ·        Manifest
    A PAR can also include a manifest file (MANIFEST.MF in the top-level META-INF folder), which provides version information. The folder and file are not required, but are recommended for tracking versions of your application.
    in enterprise portal we use mainly EAR as jar files.
    to import EAR files you need to follow this steps
    goto
    system administration -> Transport -> Transport Packages -> import -> choose client or server on your convinence and browse to this file and press upload and then after uploading press import
    for PAR files you need to follow this steps
    goto
    system administration -> support -> Support Desk -> in Top Level Areas selcet portal runtime -> in "Portal Anywhere" Admin Tools select Administration Console -> in Upload Archive Specify a Portal Archive (PAR) file and choose 'Upload' to store the PAR in the PCD-> browse the file and press upload.
    ************please reward points if the information is helpful to you************

  • 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

  • Deploying a jar file into J2EE server

    Hello,
    I need to deploy a few jar files I need in my jsp pages I deploy into EP 6.  I'm using SAP Web AS 6.40.  I tried to copy them into F:\usr\sap\DEP\JC00\j2ee\cluster\server1\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\lib folder but after restarting J2EE server, I still have an error for each import I'm doing for the classes contained in my jar files.
    I also tried to pu them in PORTALINF/lib folder of my project but it doesn't work.
    Does anyone have an idea ?
    Thank you !

    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 JAR file from Forte

    I have written an application using the Forte CE IDE. Now I want to deploy it to other PCs running JRE1.3, so I used the JAR packager to create a JAR file and I ensured the manifest had the Start class specified. Unfortunately, when I try to run this application via the command line on either another machine or my own (outside of Forte), I get the message
    Exception in thread "main" java.lang.NoClassDefFoundError: <start class name>
    I have used the "java -jar" command.
    The start class is in the jar file.
    The start class name is in the manifest.
    I must have missed something, and I am at my wits end.
    Has anyone else had similar problems deploying applications from Forte? Or can anyone offer advice or a link to some comprehensive documentation on how to accomplish deployment? The help function in Forte was no help at all.
    Thanks.

    Are you sure that there is a newline after your lines in the manifest?
    Hit return after each line to make sure!

  • Imported par file to NWDS, jar file missing. Where find par file structure?

    Hi All,
    We want to implement idle session timeout on the portal.  We found a wiki here on the subject.  In order to implement the solution we need to make adjuestments to com.sap.portal.navigation.masthead.par.bak.  When we import this par file to Netweaver Developer Studio, the libraries and jar files are missing.  So obviously it errors then in portal as files are missing.
    So I could add them manually but I don't know what the file structure is on this par file so don't where to add what.  Does anyone know?
    Also when I export the file after manually adding the missing files, will it export all the files or will it behave the same way as the import and leave out the additional files?
    If anyone could help, I'd really appreciate it,
    Kind regards,
    Liz.

    Hi Bala,
    I thought of that just before you responded and it worked!!  Thanks for the response..
    Regards,
    Liz.

  • How to deploy jar file in WLS using ant script

    Hi,
    Im trying to deploy a jar file in weblogic 10.3 using ant script and am running into the below error.
    +[wldeploy] weblogic.management.DeploymentException: [J2EE:160177]The application at "/u01//RSJBObjects.jar" was not recognized as a valid application type. If this is an EAR file, please ensure the META-INF/application.xml exists. EJB-JARs should have a META-INF/ejb-jar.xml or corresponding annotations exist. If this is an exploded WAR, the name of directory must be end with ".war". RARs require a META-INF/ra.xml. A JMS deployment should be an XML file whose name ends with "-jms.xml". A JDBC deployment should be an XML file whose name ends with "-jdbc.xml". For other application types, please consult the WebLogic Server documentation.+
    When i try to deploy the same manually from the console, i get a warning stating that WLS thought this as a library and hence proceeding to deploy as a library. After this warning the deployment continues and completes.
    Problem is when i try to deploy using ant, it breaks at this point.
    Is there any means that we can deploy a jar to WLS using ant script. This has to be deployed as a library as other apps would be using this jar.
    Im unable to create a ear file for this single jar file.
    If there is any suggestion on can this be done, please share.
    Thanks,
    Vijay.

    Hi Sunil,
    Thanks for the reply, it worked.
    Another doubt on the same lines. Now that the jar has been deployed as a library in WLS, when i try to deploy a WAR which refers to this deployed jar library, im unable to. I run into and error stating that the library is inaccessible.
    I have to bounce the server and before doing that, i have to manually copy the library.jar from <WLS_domain>/servers/AdminServer/upload/ directory to <WLS_domain>/lib/ directory, once copied i then try to deploy the WAR, then the deployment goes fine.
    Is there any means that this deployed library jar be made available soon after deployment and also to avoid copying the file.
    Thanks,
    Vijay.

  • Deploying Runnable JAR Files

    I recently started working with Java 8.  I have been doing Java development on and off since the early 1990's.  Most recently I have been doing all my current work in Java 6.  I decided to "take the plunge" and to start getting involved with Java 8.  I have an imaging application for geologic research I started working on in Java 6 and Swing, and I am now continuing that development under Java 8.  It was a pleasant surprise that to find that all of my code built without any changes (I'm using Eclipse Luna and just deleted the Java 6 runtime and added the Java 8 runtime after downloading it).  The application launches fine from inside Eclipse.
    However I ran into a problem when exporting the application from Eclipse to a runnable JAR file and then trying to launch it.  After creating the runnable JAR I was not able to launch it by simply double clicking.  A command line box would open for a second, then close and the application window would never open.  To upgrade from Java 6 to Java 8 I only downloaded the Java 8 runtime environment, not the Java 8 JDK.  I am working in Windows 7 and tried updating the JAR file associations and experimented with various path entries in my environment variables.  No mater what I did I could not simply double click the runnable JAR to launch it.
    Then I deleted all my Java downloads and started over.  This time all I did was downloaded the Java 8 JDK and installed it.  I then pointed Eclipse to the Java 8 runtime environment that was installed with the Java 8 JDK.  My code built and executed perfectly in the Eclipse environment.  Then I exported the the Eclipse project as a runnable JAR again and tried to launch it.  This time it worked as expected.  Double clicking the runnable JAR launched the application!
    So my question is if I want to give this application to someone to run (i.e. deploy it) that is not a developer, do I have to have them install the Java 8 JDK?  I assumed that all someone would need to run the application as a runnable JAR is the Java 8 runtime environment, not the JDK.  However, when I had only the Java 8 runtime environment installed I could not launch the runnable JAR.  With the Java 8 JDK I was able to run the runnable JAR as expected, with no problem.
    Am I missing something?
    Thanks,
    Mike

    I found an answer to my own questions.
    I'm posting what I found to answer my questions so that anyone with a similar question looking here will have an answer.
    The following Oracle link appears to explain everything about deployment that a developer needs to know!
    http://docs.oracle.com/javase/8/docs/technotes/guides/deploy/
    Mike

  • How to deploy jar file in ebs12?

    hi, now I want deploy a jar file in ebs12.
    for example, my oaf code using jdom to parse xml file. so I need to deploy jdom.jar
    into ebs12 server.
    Where shall I put this jdom.jar.
    Does I need change some configuration.
    btw, in ebs11i, I can change Jserv.properties to support this.
    thanks
    tamsun

    Hi Sunil,
    Thanks for the reply, it worked.
    Another doubt on the same lines. Now that the jar has been deployed as a library in WLS, when i try to deploy a WAR which refers to this deployed jar library, im unable to. I run into and error stating that the library is inaccessible.
    I have to bounce the server and before doing that, i have to manually copy the library.jar from <WLS_domain>/servers/AdminServer/upload/ directory to <WLS_domain>/lib/ directory, once copied i then try to deploy the WAR, then the deployment goes fine.
    Is there any means that this deployed library jar be made available soon after deployment and also to avoid copying the file.
    Thanks,
    Vijay.

Maybe you are looking for

  • Multi-Monitor PSE 9 Corrupt Display

    Multi-Monitor PSE 9 Corrupt Display Evening all - First post here at PS Gurus.  I hope that you guys can lend your  expertise in pinning down an issue that I am having and have also had on  other PS versions.  I am running Windows 7 (64 bit) Ultimate

  • How to add a border to image

    I am a newby to Photoshop.  All I want to do is add a border to my image.  Can't find a tutorial. Help?

  • Officejet L7680 Problems with printing in Vista

    My printer has totally stopped printing.  I have unplugged, tried a test page, checked for jams etc.  It will not print. I did change the ink cartridge for black as it was very low, but that did not do it either.  We have the hp officejet pro L7680 a

  • My Itunes library will not open becuase of being created with a newer version

    I did create the library with a newer version of itunes, i did this so that i could drag songs from a folder i had on this computer earlier. Now it will not open. I need help quick cause i would love to be able to drag these songs over s they will be

  • Layers Problem

    I am building a site www.cstoresource.com I dont normally use Dreamweaver or work in HTML at all but I need to for this client. I have used tables for the body of the site and placed the test within a layer, the problem is that the layer moves around