How to run Jetty and web application from JNLP?

I have a web application (written in JSF) which is run under Jetty web server (typically on end user's local machine). I want to deploy the application on our server as JNLP, so that when user clicks on JNLP descriptor, the Jetty and other libraries are downloaded, application (packaged as WAR file) is downloaded and Jetty is run with that application.
Could you please point me to possible solution? Can JNLP download WAR archive and pass it to the application defined in application-desc in jnlp?

I know and it makes sense. However, this application is meant to be sort of rich-client, just running on web server. It is app made using JSF&RichFaces and supposed to be typically running on client's local machine (so he accesses localhost via web browser) but in some cases it makes sense to run it at remote server (that's the reason why it's not done using e.g. Swing) - in that case I don't need JWS (eventhough, technically it should work because there should be no difference in deployment).

Similar Messages

  • How to run local host web application in win 7 64 bit with oracle database?

    Hi all,
    Hope doing well,
    sir i am running my local host web application with oracle database in win 7 32 bit. it's working fine.
    but when i am running the same thing in win 7 64 bit. it's showing login error.
    not going to home page even i checked with this published file open in visual studio it's working fine.
    how to run it correctly?
    thanks in advance.

    The number of times you have been asked to post sufficient details for your questions, we would expect you to have got the message by now... but clearly not.
    952646 wrote:
    but when i am running the same thing in win 7 64 bit. it's showing login error.What error? You haven't posted an error. There are millions of possible errors in computing and you're expecting people to guess which one.
    not going to home page even i checked with this published file open in visual studio it's working fine.
    how to run it correctly?No code, no database version, no details...... = NO HELP.
    When are you going to learn.

  • How can i deploy a web application from JDeveloper 10.1.3 to tomcat 5.5.x ?

    hello i need easy way to deploy my jsf applications to tomcat .
    i create an application server configuration in my JDeveloper now what ? how can i say to deploy the app to tomcat not to oracle application server.
    another question :
    the "deploy operation" must copy jsf , adf implementations jstl standartd common* and other jars to my tomcat project automaticly and it MUST make classes dir to be in WEB-INF\classes instead of project main.

    Hi,
    These steps worked for me:
    (I assume you successfully created the server configuration)
    1) Select your project and then go to Run --> Deploy --> New Deployment Profile
    Select WAR file, OK,
    Give a name and select a directory,
    in the WAR Deployment Profile Properties page, choose the Target Connection in the "Profile" section.
    2) Now the deployment profile must be ready.
    Select your project and then go to Run --> Deploy --> your new profile.
    This should deploy the project to Tomcat.
    I saw all needed jars deployed as well. Maybe you should check if all the jars are selected in the "Export" column, in the Project Properties --> Libraries section.
    For the last question, in Project Properties --> Project Content, change your output directory to WEB-INF\classes.
    HTH,
    Turgay Zengin

  • How to protect web application from piracy?

    I m looking for solution to protect Web application from piracy.
    I want my application run on web server for which it is built, &
    it musn't run on any other web server.
    how can i protect my web application from piracy?.
    Our .Net applications we protect using Hardware ID binding ,
    How can i protect J2EE applications?

    Run it on your own server is the simple and only secure solution.

  • I want to remove the COnlineBank, OnlineBank and csample applications from my application and web server.

    How can I safely do this on Solaris? I've tried "iasdeploy removeapp" and "iasdeploy removemodule" with no luck. I want to clear all of this demo stuff out to make both the web and app server look more production like.
    Thanks
    Eric

    Eric,
    these applications are applogics which are not controlled by the
    iasdeploy tool. Unfortunately, there is no tool available to remove
    these applications for you. What you can do is to manually remove all
    their entries, but be careful if you do that. If you remove the wrong
    keys you might break your ias installation, so be warned and make sure
    you backup the whole ias registry before attempting to remove anything.
    Eric Coleman wrote:
    >
    I want to remove the COnlineBank, OnlineBank and csample applications
    from my application and web server.
    How can I safely do this on Solaris? I've tried "iasdeploy removeapp"
    and "iasdeploy removemodule" with no luck. I want to clear all of
    this demo stuff out to make both the web and app server look more
    production like.
    Thanks
    Eric
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!--
    Han-Dat Luc ([email protected])
    Senior Consultant
    SUN Professional Services (iPlanet)
    o .
    o .
    O _ ____ _ _
    (_) _ \| | __ _ _ __ ___| |_ TM
    | | |_) | |/ _` | '_ \ / _ \ __|
    | | __/| | (_| | | | | __/ |_
    |_|_| |_|\__,_|_| |_|\___|\__|
    e-commerce solutions
    Sun Microsystems Australia Pty Ltd

  • Can we run SYSAUD and DDDAUD reports from AppDesigner? If yes, how to?

    Can we run SYSAUD and DDDAUD reports from AppDesigner? If yes, how to?

    No, you cannot run any program from AppDesigner. This is a development tool.
    However, without the front end application, you could be able to run programs through the commands lines (PSSQR/PSAE...)
    Nicolas.

  • Moving web-application from WebLogic 10.0.0 to 10.3.3 - EJB Exception

    Hello all,
    I've moved my web-application from weblogic 10.0.0 to the new platform with Weblogic 10.3.3. After this I had some JMSEceptions (unable to run JMS methods inside of servlet or EJB) and they were fixed. For now I got new exception:
    ####<07.12.2012 16:03:06 FET> <Info> <EJB> <pc-XXXXXX> <AdminServer> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-00340877198035A73969> <1354885386932> <BEA-010227> <EJB Exception occurred during invocation from home or business: weblogic.ejb.container.internal.StatelessEJBHomeImpl@14df37f threw exception: javax.ejb.EJBTransactionRolledbackException: EJB Exception: : java.lang.ClassCastException: com.XXX.XXXX.XXXXXX.persistence.OperatorBean cannot be cast to com.XXX.XXXX.XXXXXX.persistence.SwitchboardBean
    at com.XXX.XXXX.XXXXXX.SwitchboardDataImpl.initialize(SwitchboardDataImpl.java:147) // itsSwitchboardBean = itsEntityManager.find(SwitchboardBean.class, switchboardNumber);
    at com.XXX.XXXX.XXXXXX.SwitchboardDataImpl.create(SwitchboardDataImpl.java:86)
    at com.XXX.XXXX.XXXXXX.SwitchboardDataEJB.create(SwitchboardDataEJB.java:64)
    persistence.xml:
    ... <persistence-unit name="xxxSwitchboard_PU" transaction-type="JTA">
    <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
    <jta-data-source>jdbc/xxSwitchboard</jta-data-source>
    <non-jta-data-source>jdbc/xxSwitchboard</non-jta-data-source>
    <class>com.XXX.XXXX.XXXXXX.switchboard.persistence.OwnerBean</class>
    <class>com.XXX.XXXX.XXXXXX.switchboard.persistence.OperatorBean</class>
    <class>com.XXX.XXXX.XXXXXX.switchboard.persistence.SwitchboardBean</class>
    <class>com.XXX.XXXX.XXXXXX.switchboard.persistence.CallBean</class>
    <exclude-unlisted-classes>false</exclude-unlisted-classes>
    </persistence-unit>...
    @Entity
    public class OperatorBean extends OwnerBean
    @ManyToOne(optional = true, fetch = FetchType.EAGER)
    private SwitchboardBean switchboard;
    @Entity
    public class SwitchboardBean extends OwnerBean
    @OneToMany(mappedBy = "switchboard", cascade = CascadeType.PERSIST, fetch = FetchType.LAZY)
    private List<OperatorBean> itsOperators = new ArrayList<OperatorBean>();
    Seems that it happened due to updating weblogic version (changes in jee, jms, ejb, jpa versions?). Could you please advice me how to fix this issue?
    Thanks, Ilya

    I belive there is no problems for this change, because the versions are the same for java at least for OaS, for weblogic you should see documentation. I think you can try deploying you app to new environment if you get any noclassdeffound error or something like it then you could have problems for versions.
    Regards

  • Get installation path of web application from class file

    Can anybody tell me how I can get the path on disk to the root of my web application from a class file. Im running under Tomcat 5.5 and I have 3 copies of the same webapp under 3 differenet directories:
    C:\xxx\dev\yyy
    C:\xxx\test\yyy
    C:\xxx\prod\yyy
    Based on which directory the web-app, I need to do a lookup on a properties file to pull the right jdbc connection to connect to the appropriate database. So it would be similar to using getServletContext().getRealPath("/") from a .jsp file.
    Thanks,
    Jason

    Sorry for not clarifying. I have a properties file with name/value pairs. I know where this properties file is and I can do a lookup in it. In this file, I have jdbc connection names which point to corresponding jdbc resources in my context.xml file.
    jdbcDevDatabase=jdbc/tfmDev
    jdbcTestDatabase=jdbc/tfmTest
    jdbcProdDatabase=jdbc/tfmProd
    These connections are for dev, test and prod databases. Now based on where the web-app is installed on disk, i.e-dev dir, test dir, prod dir, I want to retrieve the corresponding connection. The problem is I don't know how to get a handle to the web apps real path on disk without access to the request object or using getServletContext().getRealPath("/") which are not available to me in a class file.
    Thanks,
    Jason

  • Stop a stand-alone and web app from starting in an App Server

    I want to programmatically shut down an application from starting, e.g., mid-way in its start, if a certain condition is raised. I do not want code as System.exit(int) as this API will terminate the entire JVM and more than 1 application running in the JVM will be shut down. My goal is to stop the start process of only one application that is running in the same shared JVM. The JVM is running more than 1 application.
    Obviously, throwing a Runtime exception (throw new RuntimeException())does not stop the application - application still gets started.
    I want a solution that will work for both stand-alone application and a web application. However, if I have to use two different approaches (one approach for stand-alone, another for web), I will be fine with that approach.
    I am using WebSphere 6.1 as application server.
    Please suggest what are my options to stop the application from start for both stand-alone and web application.

    There is of course no general solution to that.
    Consider the following.
    1. Initial thread starts 10 threads, and then it exits.
    2. One thread determines that exit should occur.
    3. How do other threads get terminated?
    ...and a web application.Conceptually that is a bit suspect. If you don't want it to run then the simple solution is don't install it. In general you don't want a web app to "exit" if a known error condition occurs. For example it shouldn't exit if the database connection fails but instead the behavior should change until the database connection is restored.

  • Accessing web application from users' PC

    Hi there,
    My server is up and running, appsets are working nicely and everything works perfectly. But I have an issue when accessing the web application from a user PC on the same domain, and I'm not sure if it's down to me or not.
    From the users' PC, with BPC for Excel open, I click on the link for BPC Web, and Internet Explorer opens and attempts to take me to the web app. But if the address contains the server name, it doesn't work. If I manually type the IP address in instead it works.
    Why is this? Have I forgotten to do something, or is it a DNS problem, or other local IT issue?
    I'm sure I've missed something really silly, but can't figure out what!
    Any ideas appreciated!
    Thanks a lot,
    Jason

    Hi Akim,
    I think this is actually part of a wider problem - I have been testing this on my local PC (over the clients' VPN) and now it works fine. But I just logged onto the clients PC using Webex and I can't get into ANYTHING! Not the Admin client, not BPC for Office, not the web application - nothing.
    I think I need to go there on monday and actually go through this with one of their network guys - I'm not convinced that it's a problem with the server anymore!
    Thanks for your help - I will keep you posted!
    Jason

  • How to call an external web service from OIM?

    Hi,
    I have a question on how to call an external web service from OIM within e.g. creating user process? How should it be done; through adapter and task in the process?
    Any recomendations?
    Thanks in advance!

    it is not clear to me if you are having problems with calling java code from OIM or if the problem is the web service API.
    Lets do some divide and conquer:
    Can you create a simple java class that just writes a couple of lines to the log? Please attach this code to the OIM task and make sure it runs.
    Once this works we can start looking at the web service call.
    Best regards
    /Martin

  • How to run D2k 32 bit Application on Windows 7 64 Bit

    Dear Friends
    How to run D2k 32 bit Application on Windows 7 64 Bit, Presently I am having a Application developed in D2k 32 Bit, and it is running smooth on Windows Visa and Windows Xp. but now OUr company are going for new Laptops having Windows 7 64 Bit.
    Is there any way to Solve this Problem, or I have to upgrade D2k , which will be a 6 month job.
    sandy

    Since Forms 6 was never certified on Vista, I will assume you don't care about using Oracle Support. If that's the case, getting Forms 6 to work on Win 7 would likey require similar steps as you took to getting it to work on Vista.
    At minimum, you would need to do the following:
    1. Start with Forms/Reports 6.0.8.11 (6i Release 2)
    2. Install the latest (last) patch (#17), bring the version to 6.0.8.26
    3. It may be necessary to relax or disable Windows UAC
    4. To run the executables, you have to right click on them and select Run As Administrator in order for them to work properly.
    THE ABOVE IS NOT A SUPPORTED CONFIGURATION
    Forms 6.x was desupported years ago. If you have not already begun to do so, you should probably be working on a migration plan in order to get you to a supported version. The latest version is 11.1.1.3, so you are far behind. All versions newer than 6.x are entirely web based. This means that you will no longer be able to use the Forms runtime on the client machines. Client machines will require an Oracle certified browser and JRE in order to run Forms. Certification information for Fusion Middleware 11 (includes Forms 11) can be found here:
    http://www.oracle.com/technetwork/middleware/downloads/fmw-11gr1certmatrix.xls
    FMw Product information can be found here:
    http://www.oracle.com/us/products/middleware/index.html
    Forms 11 information can be found here:
    http://www.oracle.com/us/products/tools/oracle-forms-161771.html
    http://www.oracle.com/technetwork/developer-tools/forms/overview/index.html

  • How to redeploy Calculation Manager Web Application Server

    Hi All,
    I am installing a patch(13925741) for Calculation Manager, i stuck at the following point:
    6. Perform the standard Calculation Manager Web application server deployment task using Hyperion Enterprise Performance Management System Configurator (EPM System Configurator). See the Oracle Hyperion Enterprise Performance Management System Installation and Configuration Guide for instructions.
    I don't know how to redeploy Calculation Manager Web Application Server, plz help me in deploying this.
    The readme for the patch can be found at:
    https://updates.oracle.com/Orion/Services/download?type=readme&aru=15356919#_Toc330987031

    909062 wrote:
    Hi All,
    I am installing a patch(13925741) for Calculation Manager, i stuck at the following point:
    6. Perform the standard Calculation Manager Web application server deployment task using Hyperion Enterprise Performance Management System Configurator (EPM System Configurator). See the Oracle Hyperion Enterprise Performance Management System Installation and Configuration Guide for instructions.
    I don't know how to redeploy Calculation Manager Web Application Server, plz help me in deploying this.
    The readme for the patch can be found at:
    https://updates.oracle.com/Orion/Services/download?type=readme&aru=15356919#_Toc330987031
    Hi,
    Did you actually try to look at the Oracle Hyperion Enterprise Performance Management System Installation and Configuration Guide for instructions as suggested ?
    To redeploy a component, run the configurator that can be found in the start menu under Foundation Services. Then select "modify an existing instance". Then for Calculation manager, check the box "Deploy to application server".
    Thanks,
    JM

  • Upgrading to CS6 Design and Web Premium from CS4 Design Premium Install Failure

    I am trying to upgrade to CS6 Design and Web Premium from CS4 Design Premium on Win 7 (32bit).  I am nistalling from the DVD which was purchased from the Adobe Store.  The box says it is for Upgrading from 4 or 3x.   I am entering the CS6 serial number and it is able to validate it.   When it goes into the Preparing to Install mode  the status bar never changes and after what seems like a very long time the Installation failed message is displayed.  I ran the Adobe Support advisor and  followed the link to the page that tells you how to resolve the issues and chose to go into the registry and look for "In Progess".  There was no "In Progress".     I have the serial numbers for CS4 and CS6 so they should be valid given that both were purchased through the Adobe Store.   I am very frustrated!!!!!!!!! 
    Installation Status:
    Installation failed:
    Adobe Advisor Results:
    Regestry:

    I downloaded and installed the Application manager and re-started the installation.  This time it got to installiing the applications and after 3 hours it was only 55% completed and showing that it was installing Acrobat  and had 2 hours to go. It seemed to be stuck so I cancelled the install.  

  • Can you reload web application from the Weblogic console?

              Good day, eh!
              Can you reload all your jsp/servlet classes of your
              web application from the Weblogic console?
              A one big button labeled 'Reload application' would be very
              good property in Weblogic
              Thanks for Your answers
              - hoser
              

    Hi,
              I agree it is a much needed feature. Suppose I just change an init
              param of one application in the web.xml, I don't want to take down the
              15 other webapps running on my server just to be able to have that web
              app restart and re-read is configuration. Of course, I could program
              some servlet that allows changing application attributes and to enable
              restarting, but really this a)does not cover all the cases (i.e. addind
              an EBJ reference binding to web.xml) b) should be provided by the app
              server, not programmed by every little programmer again & again.
              Mathieu
              Jeff Nowakowski wrote:
              >
              > The URL you give refers to redeploying EJBs, not web applications. Being
              > able to redeploy a web application would be a very convenient feature.
              >
              > -Jeff
              >
              > Gene Chuang <[email protected]> wrote in message news:[email protected]...
              > > Button is already there!
              > >
              > > http://www.weblogic.com/docs51/techdeploy/hotdeploy.html#consoledeployejb
              > >
              > > Gene
              > >
              > > "hoser" <[email protected]> wrote in message
              > > news:[email protected]...
              > > >
              > > > Good day, eh!
              > > >
              > > > Can you reload all your jsp/servlet classes of your
              > > > web application from the Weblogic console?
              > > >
              > > > A one big button labeled 'Reload application' would be very
              > > > good property in Weblogic
              > > >
              > > > Thanks for Your answers
              > > >
              > > > - hoser
              > >
              > >
              

Maybe you are looking for

  • Lumia 620 double images problem

    Hi! I bought my Lumia 620 few days ago, but theres one major problem with it. When adding images to Galley from my old phone there always appear 2 or 3 copies of one image. When deleting one of them they disappear all. Its the same case no matter if

  • Latest Premiere Pro CC update 7.2.2 Update Failed on New Mac Pro.

    I can't get the latest 7.2.2 Premiere Pro CC to update on the new Mac Pro computer. Is it not compatible? "Update Failed. Update could not be applied." CC Manager says I am currently updated to the latest version. When I check my Premiere CC Version

  • Unable to play AVI files with Quicktime

    I installed Perian and the xvid codec but still cannot play all AVI videos in QT. Not really a problem since I have VLC. However it would be nice to be able to play AVI files in QT as well

  • Optical mouse (AVF AM1940U) is not working in CQ40-101TU which is running Windows 7 32-bit.

    Hi. I'm using Compaq CQ40-101TU which is running Windows 7 Professional 32-bit.. My optical mouse (AVF AM1940U) is not working in USB ports. The pointer of mouse is always stuck at top of the screen. I can move the mouse left or right to both edges

  • OpenScript - do not record ADF adf.inputText actions

    Hello, I'm wondering why openscript engine do not records ADF adf.inputText actions  ? with a buttons, radio buttons etc. recording works correctly but not input fields? I constructed manualy adf.inputText  and it seems works , but why when I'm recor