Deploying JClient App using Java Webstart

I've got a BC4J/JClient app that I'm ready to deploy. I read the May 2004 white paper "Deploying Oracle ADF JClient Applications with Java Web Start" by Frank Nimphius. In the white paper it says that you must sign the jar files in order for the webstart deployment to the client to succeed. Since this will be an intranet only application, my plan is to use the Oracle Certificate Authority to generate my trusted certificate chain for code signing. I've figured out how to generate code signing certificates using OCA and I've signed code in the past using Sun's keytool utility. However, when I use keytool to generate my certificate request(CSR) and use OCA to approve it, I can't import it back into the keystore. I am assuming that I need to include the "-provider" switch on the "-import" command for keytool. If I'm correct, does anyone know what the provider is for OCA?
I also thought about not using keytool and generating a new CSR using Oracle Wallet Manager. I'm guessing that wallet mgr should already know about the OCA certificate formats. Since a wallet file is just a PKCS#12 keystore, I'm assuming that the jarsigner utility shouldn't have any problems using it as a code signing certificate store. My problem with wallet mgr is that I can only find it on the machine that has 10gAS installed on it. Is there any way I can install just the wallet mgr on another PC?
Thanks,
Mark Brown

Thanks Frank. I posted the question here:
Signing Java Webstart apps with Oracle Certificate Authority
for anyone who wants to follow the progress.
Mark

Similar Messages

  • How to use Java WebStart with EJB ?

    hi forum...
    how to use Java WebStart with EJB ? examples ?
    thanks
    mindu

    Greetings,
    hi forum...
    how to use Java WebStart with EJB ? examples ?Well, for starters these are complementing, not 'cooperating', technologies. I presume, since EJB's do not - directly, at least - communicate with a web browser, that you intend for "Java WebStart" to somehow invoke an EJB?? Java WebStart is a technology for running client-side (Java) applications from the web browser - perceptively, the application resides on the server, but technically it, like an applet, is downloaded to the client and run there. Unlike an applet, however, it is not constrained by "sandbox" restrictions and does not have to be re-downloaded each time it is invoked - though the process allows for automagically updating the client-side with new versions of the application. ;) So, with this in mind, to "use Java WebStart with EJB" means little more than deploying an EJB client application with Java WebStart as the distribution channel.
    thanks
    minduRegards,
    Tony "Vee Schade" Cook

  • [svn] 4176: Make the team app use Java 1.5.

    Revision: 4176
    Author: [email protected]
    Date: 2008-11-24 13:42:21 -0800 (Mon, 24 Nov 2008)
    Log Message:
    Make the team app use Java 1.5.
    Modified Paths:
    blazeds/trunk/apps/team/build.xml

    Did you try this?
    http://docs.info.apple.com/article.html?artnum=302412
    Hope it helps ya!

  • Deploying jClient app

    Another newbie question - I have an application with a model project and a view project in which I have built an ADF application mainly using the wizards so everything is pretty standard. The app connects to a local Oracle database on my PC.
    My little app works well and now I want to deploy it to another PC running a copy of the database. This si a stand alone app, not a web one. I've tried deploying as simple jar files - I get one for my view project and a couple for the model. When I try to run the app I get java.lang.NoClassDefFoundError: oracle/jbo/uicli/binding/JUErrorHandler.
    Obviously I'm doing something wrong - any ideas?
    Thanks,
    Bob

    Bob,
    the problem is that deploying JClient application sin a jar file assumes that you have all BC4J (or model) dependencies in the Java classpath on the target machine.
    To solve this, you can change the jar file to include all the library dependecies.
    See:
    Re: JAR Error
    Frank

  • Unable to deploy Web App using JPA TopLink Essentials in Tomcat5.5.17

    Hi All,
    I am trying to deploy a Web App ( used Top Link Essentials ) to Tomcat and i am getting the following Error..
    I am strating tomcat using -javaagent:/Path/To/spring-agaent.jar
    Dec 14, 2006 9:52:46 AM org.apache.catalina.loader.WebappClassLoader loadClass
    INFO: Illegal access: this web application instance has been stopped already.  Could not load oracle.toplink.essentials.internal.weaving.ClassDetails.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
    java.lang.IllegalStateException
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1238)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            at oracle.toplink.essentials.internal.weaving.TopLinkWeaver.transform(TopLinkWeaver.java:84)
            at org.springframework.orm.jpa.persistenceunit.ClassFileTransformerAdapter.transform(ClassFileTransformerAdapter.java:56)
            at sun.instrument.TransformerManager.transform(TransformerManager.java:122)
            at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:155)
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812)
            at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            at java.lang.Class.getDeclaredConstructors0(Native Method)
            at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
            at java.lang.Class.getConstructor0(Class.java:2671)
            at java.lang.Class.newInstance0(Class.java:321)
            at java.lang.Class.newInstance(Class.java:303)
            at org.apache.myfaces.application.ApplicationImpl.createComponent(ApplicationImpl.java:396)
            at com.sun.faces.config.ConfigureListener.verifyObjects(ConfigureListener.java:1438)
            at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:509)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
            at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
            at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
            at org.apache.catalina.core.StandardService.start(StandardService.java:450)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
            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:585)
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) Thanks
    Sateesh

    Spring 2.0 provides custom support for TopLink Essentials in Tomcat out-of-the-box. You should follow the instructions here: http://static.springframework.org/spring/docs/2.0.x/reference/orm.html#orm-jpa-setup-lcemfb-tomcat
    Essentially, Spring provides a custom class loader for Tomcat and doesn't use an agent.
    --Shaun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to Invoke bpel process which is deployed in weblogic using java code

    Hi
    I want to invoke a BPEL Process which is deployed in Weblogic server using Java code. Please provide me the code snnipet which will be used to connect and then invoke a BPEL Process.

    The simple way would be creating a java client to consume the SOAP webservice interface exposed by the bpel process.
    If you have Oracle Service Registry you can also use UDDI to discover the endpoint at runtime.
    But you can also use direct binding to do that.
    If you search on internet you will find many blog entries about this as well as many related posts here on OTN.
    I can't suggest a specific one, but looking on Google this one seems quite ok: Managing Oracle SOA Environment [10g/11g]: Invoking SOA11g Composite Using Direct Binding Invocation API

  • Problem using Java Webstart to kick off CORBA Client

    Dear all,
    I am currently having a problem in using the Java Webstart to kick off
    the CORBA Client, I set up the JNLP file jvm properties as following:
    <resources>
    <j2se version="1.4*" java-vm-args="-Xms64m -Xmx256m -verbose -esa
    -Xnoclassgc -client -Dswing.useSystemFontSettings=false ">
         <resources>
         <property name="vbroker.orb.initRef"
    value="NameService=corbaloc::10.35.55.82:20005/NameService"/>
    </resources>
    </j2se>
    </resources>
    The problem I have is that when the webstart starting the client, the
    client just simply dies during the startup and I find the log message
    following:
    org.omg.CORBA.ORBPackage.InvalidName
         at com.inprise.vbroker.orb.ORB.resolve_initial_references(ORB.java:943)
    So it is showing that there is problem with the vbroker.orb.initRef
    setting, know that if I don't use the webstart to start the client and
    simply use the windows batch file, using the jvm properties as:
    java -Dvbroker.orb.initRef=NameService=corbaloc::10.31.51.80:20001/NameService
    It would work perfectly.
    Could you tell if I miss anything when configuing the webstart jnlp
    file on this regard? Currently, I think that the only way I can set
    the JVM properties in the JNLP file is to use its properties tag to
    set the system properties for the application.
    Thanks heaps in advance for any help you can give here !!!
    Victor

    Hi, Andre,
    No, I have tried both of your suggestion and there was no joy. I still have the following error and the client jvm just crashes during starting up:
    org.omg.CORBA.ORBPackage.InvalidName
         at com.inprise.vbroker.orb.ORB.resolve_initial_references(ORB.java:943)
    I believe it is still related to the jvm properties:
    <property name="vbroker.orb.initRef" value="NameService=corbaloc::10.35.55.82:20005/NameService"/>
    And know that when I used "-Dvbroker.orb.initRef=NameService=corbaloc::10.35.55.82:20005/NameService" in the windows batch file, the client runs ok.
    Is this indicating that there is the limitation of using the webstart to invoke CORBA client?
    Any further help would be very appreciated!
    Victor

  • JClient/BC4J using Java web start deploy error

    I have created the JClient/BC4J Applications,when I run local.html within JDeveploper,there is an error,which message is
    that Can't find the resource http://localhost:8988/sqlj/lib/runtime12.jar.How can I sovle it?
    Env:Windows2000,Oracle8i,JDeveloper9.03
    Thanks for your help!

    Hello,
    JDev 9.0.3 preview release includes support for signing the bc4j jar files and
    your project jar files. When you run the JClient WebStart wizard, Ant build
    scripts are generated. One of the Ant build target 'signs' the jar file.
    You can download the JDev 9.0.3 preview release from
    http://otn.oracle.com/software/products/jdev/content.html
    HTH,
    Sathish.

  • How to profile a pre-deployed J2EE app. using JSE8?

    I would like to profile a J2EE application that is already deployed on Sun Appserver. I do not have the source structure with me to start the profiling directly from the tool by the usual documented steps of JSE8.
    In JSE7, once I enabled the profiler feature for the appserver instance, I was able to get stats for the app. How do i achieve something similar using JSE8?
    -Girix

    This is possible, but is not a use case that the profiler supports directly. You will have to trick the profiler into profiling this predeployed app.
    First, deploy the application you wish to profile. Next comes the trick. Create a ghost enterprise project for the sole purpose of getting the profiler setup and running. While creating the ghost project, just accept all the defaults from the wizard. Since this project in an Enterprise Application project, when it is set as the main project, the J2EE Profiler menu item will be enabled.
    Enable the collection as if you were going to profile this ghost project. With the appserver started (you have already deployed the application you really want to profile), open the profiler.
    You will not be able to see data in the Transactions tab, because this relies on a filter place in the web component of the application. Since you did not do this, you will not get this data.
    You will be able to get method level, EJB container stats, and memory monitoring. Select the MEthods tab and notice that the application that was deployed appears in the tree. The profiler is designed to create this tree from whatever is deployed indiscriminately. You can select the methods in your application for instrumentation and then run the application.
    After running the application the profile data will be ready for viewing. In the Methods tab select the "Get MEthod Trace" button. You will see the all the profile data for your application.

  • Can't configure deployed WebCenter app using Enterprise Manager after WLST

    Using fusion middleware version 11.1.1.4 with WLS and WebCenter of same versions.
    I deployed an ADF application using WLST and the application mostly runs, but I need to configure some portal connections from the Enterprise Manager. I am able to configure many options but when I try to select an option under WebCenter I get:
    "You do not have permission to view this page. Contact your administrator"
    I get this message for any deployed application even those I didn't deploy using WLST and I was able to configure them fine before this.
    I am logged as the Weblogic administrator.
    For the deployment using WLST, I connected to the admin server, deployed successfully and last issues exit().
    I tried to shutdown the Managed server but took more than 5 minutes (which is not common) so I killed the process and restarted it. Was able to run the application but still can't configure the WebCenter options for any application???
    Please advise how to get out of this stuck issue!!
    Thanks

    Solved, seems browser caching. Opened a new browser and it worked !! (seems weird)
    Thanks

  • Opening existing apps using java.awt.Desktop

    I want to display my html file using existing applications such as IE. How I can do this?
    My java version is 1.6 so the java.awt.Desktop is good for my reason?

            try {
                Desktop.getDesktop().open(new File("test.html"));
            } catch (IOException ex) {
                ex.printStackTrace();
            }

  • Problems deploying an app using a loader

    I have been
    trying to use the loader method described in several posts to run an
    application.  Our development directory structure
    consists of many subdirectories (eg. common, utility, dll) and this app. has many
    vi’s interspersed within all these directories. 
    This app has about 80 sub-vi’s and a couple of vendor dll’s that it
    runs.  I save the app as an “Application
    Distribution”.  In the loader I pass the
    complete path to the main VI within the llb.  When I create the loader executable I also
    define the main VI as the top level vi from within the llb.  The loader executable that is created runs
    fine from within the original directory but once I move it to the root
    directory it does not work.  It comes
    back with a “Error 7 Occurred at Open File+.vi: Open File”.  At this point it was trying to open an INI
    file.  My questions: 1) Should I pass the
    path of the llb to the loader instead of the main vi? 2) What can I do to
    either the loader or vi to be able to run the loader from any directory other
    than where my main vi resides? 3) Where should I place my INI file so that I do
    not get the Error 7?  Any help would be
    appreciated.  Thank you.

    The answer to your question really depends on how you are opening this INI file. Are you giving LabVIEW an absolute file path to the INI file or a relative file path with respect to a VI? If you are using a relative file path, then recall that building a VI into an executable adds an additional branch to the file path -- instead of ...\myapp.vi, the file path to the VI becomes ...\myapp.exe\myapp.vi. If you are using an absolute file path, then this will obviously only work when the file is located in that exact location.
    Kind Regards,
    E. Sulzer
    Applications Engineer
    National Instruments

  • Webstart for ADF UIX JClient app - large memory fooprint

    Hi everyone,
    I am running a three-tier model jclient app with java webstart. java sdk 5.0 with jvm 5.0 - it creates a large footprint and then it says no more memory left to allocate to the app.
    i looked at if the jvm was the cause but i am using java hotspot virtual machine. now what i am wondering is where the problem is? is it the model .... etc ?
    Any help would be appreciated. Thanks!

    Thanks Frank. I posted the question here:
    Signing Java Webstart apps with Oracle Certificate Authority
    for anyone who wants to follow the progress.
    Mark

  • Deployment Issues using Java Web Start

    I am attempting to deploy a Java application that works in JDeveloper. The app has a Database connection to a MSSQL 2000 Server which is loaded into the active Project Libraries as Other JBDC. When I deploy the app using Java Web Start I receive the following error: com.microsoft.jdbc.sqlserver.SqlServerDriver.
    How to I need to configure my deployment so the JDBC works properly? Thanks in advance

    I got it to work with the following settings:
    1. edit ur ctbuild.xml file to have these settings:
    <include name="BC4J/lib/msbase.jar"/>
    <include name="BC4J/lib/mssqlserver.jar"/>
    <include name="BC4J/lib/msutil.jar"/>
    Then have the same jar files in localmt.jsp as
    <jar href="adfjars/BC4J/lib/msbase.jar" />
    <jar href="adfjars/BC4J/lib/mssqlserver.jar" />
    <jar href="adfjars/BC4J/lib/msutil.jar" />
    2. edit data-sources.xml file, if ur using external oc4j as
    <data-source
    class="com.evermind.sql.DriverManagerDataSource"
    name="sqlserverDBDS"
    location="jdbc/SQLServerCoreDS"
    xa-location="jdbc/xa/SQLServerXADS"
    ejb-location="jdbc/SQLServerDS"
    connection-driver="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    username="scott"
    password="PwdForScott"
    url="xxxx"
    inactivity-timeout="30"
    />
    Thnks,
    Sainath

  • Integrating Java Webstart feature at later stage?

    Hello All,
    It's me again with more query.:) I have a requirement now that I don't want to deploy my application using Java WebStart. Imagine the application is already installed on my system from the last 1 year. At that time Java webstart was not used for deployment but now I want to use webstart just for automatic update. Is it possible to integrate this automatic update feature at later stage? By using plugin or smthing else? Please show some light.Many thanks in advance.

    Hello Luca-Sanna ,
    Yesterday only I got solution for this. I referred this link
    "http://today.java.net/pub/a/today/2008/07/10/distributing-web-start-via-cd-rom.html" I am little confused about this point "Jar shouldn't get re-downloaded". Actually what I am doing is , I am just copying my jars in JWS cache using this command "javaws –codebase <application-path> –import <application path>/<xxxx>.jnlp." I also copy a JNLP file in my installation folder of my application where all my jars are present. So now when I click on JNLP & launch the application & if updates for jars is available server side, it should re-download the jars. Right?
    One more thing what is the problem with desktop shortcut?

Maybe you are looking for