Java WebStart and JacORB!

Hi All,
When running the application from command line using -Xbootclasspath
works fine, but when started from webstart, I am getting method not found exception. I was able to initialize the ORB properly(used ORBClass, and ORBSingleton options). Basically this is happening because of loading Sun's ORB instead of JacORB. Looked at this forum and applied setContextLoader() tip, but it didn't help.
I am using Java Web Start 1.4.2_02, and 1.4.2 Java.
Any Help is appreciated.
Thanks,
Sanjay.
Here is the exception:
Error! Caught an exception. java.lang.NoSuchMethodError: org.omg.PortableServer.CurrentOperations.get_servant()Lorg/omg/PortableServer/Servant;
java.lang.NoSuchMethodError: org.omg.PortableServer.CurrentOperations.get_servant()Lorg/omg/PortableServer/Servant;
     at org.jacorb.orb.ServantDelegate.poa(ServantDelegate.java:114)
     at org.jacorb.orb.ServantDelegate.this_object(ServantDelegate.java:69)
     at org.omg.PortableServer.Servant._this_object(Unknown Source)
     at org.omg.CosNotifyComm.StructuredPushConsumerPOA._this(StructuredPushConsumerPOA.java:23)
     at EventConsumer.Connect(EventConsumer.java:156)
     at WLANMgr.Main(WLANMgr.java:754)
     at WLANMgr.main(WLANMgr.java:832)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at com.sun.javaws.Launcher.executeApplication(Unknown Source)
     at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
     at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
     at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
     at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
     at com.sun.javaws.Launcher.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
[jacorb] DEBUG : ERROR: NoSuchMethodError - re-run specifying jacorb.jar with -Xbootclasspath/p: option to avoid use of (incorrect) SDK implementation class.
Cannot create Event Channel, Exiting ...

Hi,
I am using jacorb with NO problems.
I load a signed jacorb.jar as an extension:
<jar href="lib/jacorb.jar" />
Then,
before calling orb.init, y load jacorb.properties as a resource from another .jar, and put it in a Properties object.
Properties prop = new Properties();
InputStream bis= null;
try {
bis = getFileJar(fileNamePropertiesJacorb);
prop.load(bis);
for (Enumeration e = prop.keys(); e.hasMoreElements(); ) {
     Object key = e.nextElement();
     String valor = prop.getProperty(key.toString());
     prop.put(key.toString(), valor);
Then, I initialize the ORB:
orb = org.omg.CORBA.ORB.init(args, prop);
Make sure these properties exists in your jacorb.properties file:
org.omg.CORBA.ORBClass=org.jacorb.orb.ORB and
org.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton
Hope this helps.
Any doubt, ask me.

Similar Messages

  • The difference between Java webstart and Java Applet?

    Hi all!
    I'm preparing deploy my application. But I'm in two minds I should deploy My application follow Java Webstart model or Java Applet Model.
    if i deploy application by using Java webstart then what will I get benefit? and otherwise?
    Could you tell me some advices?
    Thanks!

    Applet runs in the context of a browser, Webstart requires a small piece of software to be installed on the client and then when you click on your link/icon webstart downloads your application from the server and runs as a Java application (not within a browser).
    Regards
    Grant Ronald
    Oracle Product Management

  • Java WebStart and Mac OS X 10.8

    I'm a bit afraid that Java WebStart applications are encountering a problem with the latest OS X release because of the Gatekeeper settings preventing Java WebStart applications from running. Is it really true that if an application is not signed with an apple developer id that it will no longer be allowed to start unless changes are made to the Gatekeeper settings?
    https://blogs.oracle.com/talkingjavadeployment/entry/java_applications_and_gatekeeper
    http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/mac-faq.html#gatekeeper
    If this is the case then of course my question would be how can I additionally sign my webstart application built with maven on windows with a free apple developer id?

    doing a test app where you replace the .png with a .jpg might be a good idea. If you do not have a "test app", you probably should for JWS. It does not have to do much.

  • Different versions of Java webstart and Java Runtime Environment

    Hi I am using a thin application client (swings application) which is downloaded as a jar file using Java Web Start. The earlier version of the application was deployed on the server and client using the version 1.5.0_09. Due to some performance measures we are changing the Client version of JRE to 1.6.0_03. Will this really help??
    The approach we are following is bit confusing.
    First we are launching the application in JRE 1.5.0_09 and creating a shortcut for that (WebStart shortcut). Later we are changing the Java Web Start version from 1.5.0_09 to 1.6.0_03 in the shortcut.
    And of course also changing the JNLP j2se version tag to 1.6
    The application we are launching using this shortcut but its throwing FailedDownloadException : Unable to Load Resource hxxp://ascdcf.....*.jnlp
    The funny thing is when i launched the same shortcut using the 1.5.0_09 version i.e. only the WebStart version as 1.5.0_09 and the JRE on client as 1.6.0_03 the application starts.
    I searched about this and came to know that webstart just deploys the application jar on the client in a browser independent form and then it is run on JRE. If thats the case (and if i am right) then Webstart version can be anything only the JRE version should be the latest as specified in the JNLP. Can anyone give me suggestions in this regard???
    Also if this approach is correct where will we get more performance???
    1. Is it running application on updated JRE Version i.e. 1.6.0_03
    2. Or on updating Java Web Start i.e. 1.6.0_03 (curretnly which is not running)
    Also the Java Web Start is a part of JRE then where does this lead to....???
    I am just an amateur with great doubts.....kindly help......

    Hello,
    I suggest you really read, understand and trial-and-error the following previously suggested solutions;
    http://stealthpuppy.com/juggling-sun-java-runtimes-in-app-v/
    http://packageology.com/2014/02/sequencing-java-the-definitive-guide-part-1/
    http://packageology.com/2014/02/sequencing-java-definitive-guide-part-2/
    http://packageology.com/2014/02/sequencing-java-definitive-guide-part-3-restricting-access-insecure-java-versions/
    Nicke Källén | The Knack| Twitter:
    @Znackattack

  • PI 7.1 ESR and Java Webstart very slow

    Hi,
    I have been using the PI ESR and IB on the snow leapord OS with Mozilla and Safari browsers. The java webstart seems to be very slow  and working on the ESR objects is sometimes a pain as it takes long time to save , activate or change and sometimes I end up java heap space issues although we are running at a 2 gig heap size. Is it only me or is anyone else facing the same issue?
    Is it time to go back to good old windows XP? or can this be fixed in Mac ...I love my Mac for other reasons though...:)
    Teresa

    Hi,
    >>>serverXXXPI71
    add this server info with related IP address into your hosts file
    and it will work
    Regards,
    Michal Krawczyk

  • Java Webstart in Windows 7

    I have a Java Webstart application running on a Windows 7 Laptop. An Apache Tomcat webserver is also installed on this laptop so everything is self contained. When the laptop is not connected to a network and I start the application, Webstart gives me two instances of the application. When the laptop is connected to a network, I get one instance.
    I also have an identical installation on a Windows Vista PC. Irrespective of whether or not this PC is connected to a network, I always get one instance of the application when I start it.
    I would like to hear from anyone who has noticed similar behaviour and whether they have an explanation and whether they can advise if this is a 'bug' or a 'feature'.

    Thanks a lot for your reply.
    but no luck. still nothing happens.... javaws just dies without logging anything?
    maybe its a security problem?
    here is the system event log again:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-10-01T18:41:12.000000000Z" />
    <EventRecordID>3719</EventRecordID>
    <Channel>Application</Channel>
    <Computer>XXXXXX</Computer>
    <Security />
    </System>
    - <EventData>
    <Data>javaws.exe</Data>
    <Data>10.7.2.10</Data>
    <Data>503d8a47</Data>
    <Data>javaws.exe</Data>
    <Data>10.7.2.10</Data>
    <Data>503d8a47</Data>
    <Data>c0000417</Data>
    <Data>00011d9c</Data>
    <Data>16c0</Data>
    <Data>01cda004542d62eb</Data>
    <Data>C:\Program Files (x86)\Java\jre7\bin\javaws.exe</Data>
    <Data>C:\Program Files (x86)\Java\jre7\bin\javaws.exe</Data>
    <Data>92310d7c-0bf7-11e2-bd20-6cf049e5f1f7</Data>
    </EventData>
    </Event>
    Edited by: 962394 on 01.10.2012 11:44

  • Jar files download problems in Java Webstart with JRE 1.6

    We have encountered a few problems in Java Webstart with JRE 1.6
    In JRE 1.5, the jar files are getting downloaded onto the client
    machine with it's original names.
    Example :
    Server File Name : acm.jar
    Client File Name : RMacm.jar
    But in JRE 1.6, the jar files are getting downloaded with improper file names.
    Example :
    Server File Name : acm.jar
    Client File Name : 4fb074cc-66fc7407
    Moreover the path itself seems to be invalid.
    Example Path :
    JRE 1.5 path:
    C:\Documents and Settings\Administrator\Application
    Data\Sun\Java\Deployment\cache\javaws\https\D17.16.23.11\P443\DMtest\DMwebStart
    JRE 1.6 path:
    C:\Documents and Settings\Administrator\Application
    Data\Sun\Java\Deployment\cache\6.0\12
    Due to this, we are facing Classpath problems.
    What changes do we have to make to the code, for Java
    Webstart to work ?
    We are using JBoss 4.0.4 and JDK 1.5 in the Server
    On the client machine, we have IE 6 and JRE 1.6.01
    Help would be appreciated.

    Ask your Java Web Start question at:
    http://forum.java.sun.com/forum.jspa?forumID=38

  • Java webstart proxy bypass not working

    java webstart does not work through proxy as the jar files is not getting downloaded. most simple solution would of course be to bypass the proxy for the target server (by entering the server in the system network preference panel). however, that does not work. apparently this bypass is not taken into account by java webstart.
    if i remember correctly there once was a possibility to set such things (proxy etc.) in java webstart preferences. this is not existing any more.
    how can i solve the problem?
    tia
    tobias (very desperate)

    Hi,
    Thanks a lot for your reply, Prateek.
    I have already checked SAP Note 1142580 - "Java Proxy is not processing messages in parallel" where they ask to modify the ejb-jar.xml. However, on performing the change in ejb-jar.xml and while building the EAR, I get the following error:
    Error! The state of the source cache is INCONSISTENT for at least one of the request DCs. The build might produce incorrect results.
    Then, on going through the SAP Note 1142580 again, I realised that the SAP Note 1230721 also should be looked onto which will be needed for generating the Java proxy from Message Interfaces in IR for parallel processing.
    Kindly help me if any of you have worked on such a scenario.
    Thanks in advance,
    Regards,
    Rosie Sasidharan.

  • Difference java stack and abap stack

    hello experts,
                          Difference between java stack and abap stack

    Hi
    ABAP Stack
    The application data in the SAP system is accessed in
    the ABAP stack via platform-independent ABAP programs.
    ABAP stack is used to run ERP applications mainly MM,SD,FICO etc
    Currently in most of the installation you can found mixed stack(ABAP+JAVA)
    JAVA Stack
    The Java side of the SAP Web AS is often referred to as SAPWeb AS Java or
    as the Java stack.
    This central SAP Web AS Java instance consists of two separate
    instances plus one special application, the Software Deployment Manager (SDM).
    These two separate instances that build the central SAP Web AS Java instance are
    a standard SAP Web As Java instance, offering a Java dispatcher process and one
    or more Java server processes and the so-called SAP Central Services instance
    (SCS). The SCS instance offers two processes, exclusively used by the Java side
    of the SAP Web AS: the enqueue services and the message service. These two
    services only work for the Java side of the SAP system.
    Java Stack is mainly used for SAP Portals and you can host Internet/Web based application written in JSP/EJB ,Java Stack uses Java Threads to run application,
    Also, Xi requires Double stack
    ABAP + JAVA Stacks
    Bcoz some components are developed on JAVA
    Some components are developed on ABAP Based.
    JAVA:
    Integration Builder
    SLD
    Adapter Engine
    Runtime Workbench
    ABAP:
    BPE
    Integration Engine
    Integration Engine and the Integration server reside on the ABAP Stack. All the Execution of the IS part will be done on ABAP Stack. we can monitor the processed XML messages also in SXMB_MONI( ABAP Stack)
    Adapter Engine will reside on the JAVA Stack. All the IR, ID, SLD, RWB Application are developed on JAVA Stack, so thats why we need JAVA Webstart to run these Applications
    All the Adapter related Errors we can see in RWB, Communication channel monitoring( Developed and sits on JAVA stack)
    Hope this clears your doubts
    Thanks
    Saiyog

  • The steps to enable Java Webstart in OSX Mavericks are not working.

    The steps located here:  http://support.apple.com/kb/ht5559 are not re-enabling the Java Webstart for Java 6 in OSX Mavericks.  I have tried all four steps about 20 times and looked at all the settings in all my browsers (chrome, safari, and firefox) and all say "missing plugin" when I go to any website that requires Java -- in this case, the NY Times Crossword Puzzle's "solve with a friend", which is incompatible with Java 7 so upgrading does not help me.  I've tried searching for other answers and all keep directing me to the same four steps that have not worked.
    A note, those steps worked when I had the same problem after upgrading to Mountain Lion.  Should something be altered for Mavericks?
    Please advise.

    You'll possibly need to remove Oracle Java altogether before, see these notes on their WebSite:
    http://www.java.com/en/download/help/mac_uninstall_java.xml
    After you remove it, go through the steps to re-enable Apple Java again; and, inside Safari, you can also go to its menu and choose "Reset Safari".
    Hope this helps.

  • 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

  • Why Do We Need Java Webstart For XI

    Hi All,
    Can Any Body Please Explain me Why We Need Java Webstart For XI.
    What is the Use of it in XI.
    Please Let me Know
    Regards
    Babu

    Java web start is a technology by Sun Microsystems which enables running thick clients developed in Java after they are downloaded from the server and / or cached on the local drive...
    XI IR & ID are thick clients developed in Java which communicate with the XI server using EJB based communication and Java web start makes it possible to download / cache them and trigger point to run them...more on Java web start here -->
    http://java.sun.com/developer/technicalArticles/WebServices/JWS_2/JWS_White_Paper.pdf

  • Servlet Communication with Java WebStart

    Hi there,
    we have an application that works fine with Java WebStart whenever we start it in a local area network. But from outside the LAN the application cannot communicate to it's servlets. I use the codebase IP address with the servlet runner's port (http://<codebase IP>:port/) as URL for servlet communication, but the application's request never reaches the servlets.
    My question is now, if anyone had the same or a similar problem with servlet communication using Java WebStart, or if anyone knows, if that might be a problem with proxy configuration.
    The servlet runner we use, is JServ from Sun (JSDK2.0) and the webserver where it is running on is not behind a firewall or a proxy, but the client PC with the web start application is.
    Thanks,
    Katja

    Thank you for your early reply. But I think, that's not the problem.
    I get no security error and the webserver is identified the same way it is in the jnlp file. Also my application is not running in the Sandbox. My assumption is, that the http-request to the servlet does not go through the proxy server between my PC and the PC the servletrunner is running on.
    I wonder if I have to configure my application to use a proxy server for communication with the servlets instead of the direct http-request to the servlet runner?

  • How to launch a Java WebStart application with older JREs when Java 7u25 is on the client?

    How can I launch older versions of my Java WebStart application, that are built and run with Java 7u21 or earlier, even if Java 7u25 is installed locally on the client? Application launch and behaviour must be reliable and consistent.
    Background:
    As of 7u25 (and later), Java Webstart applications launch with a different class loader than pre-7u25.
    My Java Webstart application has supported versions that were built with older versions of the JDK (e.g. Java 5, 6, 7u21 or earlier). These applications run with their required JRE version, enforced through JNLP. Once Java 7u25 is installed locally, these older applications fail to launch, due to classloader differences.
    The question is: what is required to run older Java WebStart applications even if 7u25 (or later) Java Webstart is installed locally on the client?

    I confirm your findings when using shortcuts to try specific versions of JavaWS with 7u25 or later installed:
    JRE 5u14 launched and the classloader was as pre 7u25
    JRE 6u43 would not launch
    JRE 7u21 launched but the classloader was not as pre 7u25
    You can launch the shortcut with the JavaWS -verbose option to display a messagebox with valuable information.
    I am keeping a close watch on this thread.

  • Java 6 Update 12 64bit Java Webstart documentation

    I notice that 64bit 6 Update 12 comes with 64bit version of Java Webstart - I am just wondering whether there are any documentation on how 64bit Java Webstart works? For example:
    1) By default it will use the 64bit JRE to launch an application. What if an JNLP embedded some 32bit JNI DLLs that requires the use of 32bit JRE?
    2) How can an app specify larger heap if it runs on 64bit host, but less on a 32bit host?
    3) Is there any new extensions to JNLP to support 64bit Java?
    Thanks.

    1.) The initial release of the 64 bit version of javaws will work only with 64 bit JRe's. There is no support yet for mixing.
    2.) You can specify different dlls for use with 64 bit and 32 architectures just as you can with operating systems as follows:
    <resources>
    <java version="1.6+"/>
    <jar href="myapp.jar" main="true"/>
    <resources os="Windows" arch="i586">
    <nativelib href="mydll32.jar"/>
    </resources>
    <resources os="Windows" arch="amd64">
    <nativelib href="mydll64.jar"/>
    </resources>
    </resources>
    3.) There are no new JNLP extensions.
    /Andy

Maybe you are looking for

  • JOB RSGENYTT - System core dump

    Hi SDN, While trying to upgrade our 4.6B system to ERP, JOB_RSGENYTT phase stops with a core dump, this is what i've in ST22 Someone knows how i can analyse this :S regards Pedro Rodrigues ABAP runtime errors         SYSTEM_CORE_DUMPED               

  • Bypass locked itouch - my daughter forgot her passcode

    My daughter forgot her passcode.  Is there any way to make sure we dont lose her pictures?

  • Changing the R/3 system

    Hello, We are on EP7.0 and trying to connect to a different R/3 system from the one which we are currently connected to ...after creating the jco's I get the following error when trying to access ESS services: Caused by: com.sap.tc.webdynpro.services

  • How to Uninstall an installed package

    I was trying to access a site that required ActiveX and downloaded and installed an application which was supposed to enable it. However it doesn't work. I tried to uninstall via the Installer but there isn't an option to do that. How is the best way

  • How to enable frontend printing using Adobe Print Forms

    Otto Gold at the forum "SAP Interactive Forms by Adobe" gave me the tip that Sandra Rossi in this forum might help me out. Here is the link to my original thread How to enable frontend printing using Adobe Print Forms My question was: Hi Experts! Did