DACF,BC4J,EJB,Java Web Start: org.omg.CORBA.INITIALIZE

Hi,
I'm trying to use Java Web Start with DACF-application having AMs deployed as Session EJB to O9IAS 1.0.2.0.0 NT.
During opening first iiop-session I get the error:
java.lang.ExceptionInInitializerError: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.visigenic.vbroker.orb.ORB minor code: 0 completed: No
at org.omg.CORBA.ORB.create_impl(Unknown Source)
at org.omg.CORBA.ORB.<clinit>(Unknown Source)
at oracle.aurora.jndi.orb_dep.Orb.init(Orb.java:287)
at oracle.aurora.jndi.orb_dep.IRFinder.getObject(IRFinder.java:75)
at oracle.aurora.jndi.orb_dep.IRFinder.getInitialReference(IRFinder.java:124)
at oracle.aurora.jndi.sess_iiop.SessionCtx.initialContext(SessionCtx.java:637)
at oracle.aurora.jndi.sess_iiop.SessionCtx.<init>(SessionCtx.java:67)
at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(ServiceCtx.java:161)
at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(ServiceCtx.java:177)
at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSubcontext(ServiceCtx.java:205)
at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSubcontext(ServiceCtx.java:189)
at oracle.jbo.client.remote.ejb.aurora.AuroraEJBAmHomeImpl.createSession(AuroraEJBAmHomeImpl.java:155)
at oracle.jbo.client.remote.ejb.aurora.AuroraEJBAmHomeImpl.initRemoteHome(AuroraEJBAmHomeImpl.java:125)
at oracle.jbo.client.remote.ejb.aurora.AuroraEJBAmHomeImpl.<init>(AuroraEJBAmHomeImpl.java:59)
at oracle.jbo.client.remote.ejb.aurora.AuroraEJBInitialContext.createJboHome(AuroraEJBInitialContext.java:47)
at oracle.jbo.common.JboInitialContext.lookup(JboInitialContext.java:72)
at javax.naming.InitialContext.lookup(InitialContext.java:276)
at oracle.dacf.dataset.connections.Connection._createAppModule(Connection.java:256)
at oracle.dacf.dataset.connections.Connection.connect(Connection.java:169)
at oracle.dacf.dataset.SessionInfo.connect(SessionInfo.java:1771)
at oracle.dacf.dataset.DbAccessImpl.connect(DbAccessImpl.java:450)
at oracle.dacf.control.swing.LoginDlg._connectToDB(LoginDlg.java:1754)
at oracle.dacf.control.swing.LoginDlg._okButtonClicked(LoginDlg.java:1689)
Could anybody comment the case and/or propose a workaround ?
(or even say that this works in someone's implementation)
Thanks,
Arkadi

<<
java.lang.ExceptionInInitializerError: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
com.visigenic.vbroker.orb.ORB minor code: 0 completed: No
<<
com.visigenic.vbroker.orb.ORB is part of vbjorb.jar. make sure this file is listed in your archive tag. The jar file can be found in the lib directory of JDev installation
null

Similar Messages

  • RROR : org.omg.CORBA.INITIALIZE: can't instantiate default ORB

    When a try to call stored procedure in java i have this error:
    ERROR : org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
    com.sun.corba.se.internal.iiop.ORB minor code: 0 completed: No
    org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
    com.sun.corba.se.internal.iiop.ORB minor code: 0 completed: No
    at org.omg.CORBA.ORB.create_impl(ORB.java)
    at org.omg.CORBA.ORB.init(ORB.java)
    at HelloClient.hola(HelloClient.java:31)

    Laurent,
    When are you getting this error ? Is this error coming from Oc4J or are you getting this error from JDeveloper 9i ?
    regards
    Debu Panda
    Oracle

  • Org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation

    Hello,
    I'm getting a following error message in .trc file (in udump):
    org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
    This error is caused by very simple construction in my stored
    java procedure
    org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
    While loading my java procedure into Oracle 8.1.6.1 for NT,
    there are no error messages nor warning during resolving.
    I found, it's only problem of 8.1.6 version for NT,
    I can run my stored java programs on 8.1.5 for Linux.
    Doe's anybody have any idea what wrong with internal ORB
    in 8.1.6 Oracle RDBMS ?
    Thank you very much.
    null

    Laurent,
    When are you getting this error ? Is this error coming from Oc4J or are you getting this error from JDeveloper 9i ?
    regards
    Debu Panda
    Oracle

  • 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.

  • Report Server Failed To Start : REP-50125: org.omg.CORBA.INTERNAL:

    Hi all,
    I try to start my in process report server as below and it shows REP-50102 error as below :
    [oracle@icbadev ~]$ rwserver.sh server=rep_icbadev
    REP-50125: org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 208 completed: No
    [oracle@icbadev ~]$
    [oracle@icbadev ~]$ rwdiag.sh -findAll; rwclient.sh server=rep_icbadev report=test destype=cache
    Naming service used to locate servers
    Naming Server host = icbadev.smebank.net
    Naming Server port = 14021
    Exception in thread "main" org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 208 completed: No
    at com.sun.corba.se.internal.corba.ORB.getLocalHostName(ORB.java:924)
    at com.sun.corba.se.internal.corba.ORB.checkApplicationPropertyDefaults(ORB.java:888)
    at com.sun.corba.se.internal.corba.ORB.set_parameters(ORB.java:457)
    at com.sun.corba.se.internal.POA.POAORB.set_parameters(POAORB.java:153)
    at com.sun.corba.se.internal.Interceptors.PIORB.set_parameters(PIORB.java:333)
    at org.omg.CORBA.ORB.init(ORB.java:337)
    at oracle.reports.utility.DiagServerLocator.readConfigFile(DiagServerLocator.java:138)
    at oracle.reports.utility.DiagServerLocator.init(DiagServerLocator.java:90)
    at oracle.reports.utility.DiagServerLocator.locateServer(DiagServerLocator.java:154)
    at oracle.reports.utility.DiagServerLocator.handleRequest(DiagServerLocator.java:546)
    at oracle.reports.utility.DiagServerLocator.main(DiagServerLocator.java:566)
    REP-0178: Cannot connect to Reports Server 'rep_icbadev'.
    [oracle@icbadev ~]$
    Anyone ever encounter the same problem with mine. Appreciate if someone could help me with this.
    The Forms and Reports Services 10.1.2.2.0 was installed on RHEL 4 Update 6 on HP Proliant box.
    Any kind of help are highly appreciated.
    Thank you.

    Found something during my search as follow eventhough it was refering to AIX platform:
    <variable id="IBM_JAVA_OPTIONS" value="-Djava.net.preferIPv4Stack=true"/>
    I try to put above line into opmn.xml as below and try to start report server via opmnctl command line, still not a good news.
    <ias-component id="rep_dev" status="enabled" id-matching="false">
    <process-type id="ReportsServer" module-id="ReportsServices">
    <process-set id="rep_dev" restart-on-death="true" numprocs="1">
    <environment>
    <variable id="PATH"
    value="/usr/oracle/10gAS/apps1/bin:/usr/bin:/usr/ccs/bin:/bin:/usr/oracle/10gAS/apps1/bin:/usr/orac
    e/10gAS/apps1/dcm/bin:/usr/oracle/10gAS/apps1/opmn/bin:/usr/ccs/bin:/usr/bin/X11:/usr/bin:/etc:/usr
    sbin:/usr/ucb:/home/oracle/bin:/sbin:.:/oraclbackup/GFRS/Disk1/install"/>
    <variable id="IBM_JAVA_OPTIONS" value="-Djava.net.preferIPv4Stack=true"/>
    </environment>
    <module-data>
    some info on java installed:
    [root@icbadev ~]# whereis java
    java: /usr/bin/java /etc/java /usr/lib/java /usr/share/java
    [root@icbadev ~]# java -version
    java version "1.4.2"
    gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9)
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    [root@icbadev ~]#
    Any kind of help are highly appreciated.

  • Java Web Start and BC4J/OC4J

    Hi all developers,
    This is my first forum message, and I hope that there is someone that can help me.
    Problem: A JClient using BC4J in a 3tier situation work perfectly well when run from within the IDE, however using the Web Start Wizard and deployed to the Application server and run from Java Web Start, it does not work.
    Is there any HowTo or documentation on the right settings, roles, security, procedures, etc. with regard to Jclient, BC4J and Java WebStart?
    Thanks
    Craig

    Ant build file which does the signing
    Please make sure you make a backup of the existing bc4jlibs.ear before you use this build file.
    <!--Ant build file to create bc4jlibs.ear. bc4jlibs.ear is used in
    JClient WebStart application
    <property name="jdeveloper.root" value="D:\JDev9i\"/>
    <property name="ear.file.name" value="D:\JDev9i\jlib\bc4jlibs.ear"/>
    <property name="alias" value="mykey"/>
    <property name="storepass" value="secretcode"/>
    -->
    <project name="buildear" basedir="." default="ear">
    <!--define home for the libraries-->
    <property name="lib.home" value="${jdeveloper.root}/lib"/>
    <property name="ord.home" value="${jdeveloper.root}/ord"/>
    <property name="j2ee.home" value="${jdeveloper.root}/j2ee"/>
    <property name="jlib.home" value="${jdeveloper.root}/jlib"/>
    <property name="jdev.home" value="${jdeveloper.root}/jdev"/>
    <property name="vbroker4.home" value="${jdeveloper.root}/vbroker4"/>
    <property name="jdbc.home" value="${jdeveloper.root}/jdbc"/>
    <property name="BC4J.home" value="${jdeveloper.root}/BC4J"/>
    <!--temp directories-->
    <property name="temp.dir" value="${jdeveloper.root}/jdev/temp"/>
    <property name="temp.war.dir" value="${temp.dir}/warroot"/>
    <property name="temp.ear.dir" value="${temp.dir}/earroot"/>
    <!--define war names for the various libraries-->
    <property name="lib.war.name" value="${temp.ear.dir}/lib.war"/>
    <property name="ord.war.name" value="${temp.ear.dir}/ord.war"/>
    <property name="j2ee.war.name" value="${temp.ear.dir}/j2ee.war"/>
    <property name="jlib.war.name" value="${temp.ear.dir}/jlib.war"/>
    <property name="jdev.war.name" value="${temp.ear.dir}/jdev.war"/>
    <property name="vbroker4.war.name" value="${temp.ear.dir}/vbroker4.war"/>
    <property name="jdbc.war.name" value="${temp.ear.dir}/jdbc.war"/>
    <property name="BC4J.war.name" value="${temp.ear.dir}/BC4J.war"/>
    <taskdef name="appxml" classname="oracle.jbo.dt.jclient.ant.taskdefs.ApplicationXmlGenerator"/>
    <target name="init">
    <mkdir dir="${temp.dir}"/>
    <mkdir dir="${temp.war.dir}"/>
    <mkdir dir="${temp.ear.dir}"/>
    </target>
    <target name="clean">
    <delete dir="${temp.dir}"/>
    </target>
    <target name="sign_jar" if="signing.enabled">
    <signjar jar="${jarname}" alias="${alias}" storepass="${storepass}"/>
    </target>
    <!-- create war for lib jars.-->
    <target name="lib_war" depends="init">
    <copy todir="${temp.war.dir}">
    <fileset dir="${lib.home}">
    <include name="xmlparserv2.jar"/>
    </fileset>
    <fileset dir="${jdeveloper.root}/jdev/multi/system/templates/jclient">
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </copy>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/xmlparserv2.jar"/>
    </antcall>
    <jar jarfile="${temp.ear.dir}/lib.war">
    <fileset dir="${temp.war.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </jar>
    <delete dir="${temp.war.dir}"/>
    </target>
    <!-- create war for ord jars.-->
    <target name="ord_war" depends="init">
    <copy todir="${temp.war.dir}">
    <fileset dir="${ord.home}">
    <include name="jlib/jmf.jar"/>
    <include name="jlib/ordhttp.jar"/>
    <include name="jlib/ordim.jar"/>
    </fileset>
    <fileset dir="${jdeveloper.root}/jdev/multi/system/templates/jclient">
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </copy>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/jmf.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/ordhttp.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/ordim.jar"/>
    </antcall>
    <jar jarfile="${temp.ear.dir}/ord.war">
    <fileset dir="${temp.war.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </jar>
    <delete dir="${temp.war.dir}"/>
    </target>
    <!-- create war for j2ee jars.-->
    <target name="j2ee_war" depends="init">
    <copy todir="${temp.war.dir}">
    <fileset dir="${j2ee.home}">
    <include name="home/lib/ejb.jar"/>
    <include name="home/lib/jaas.jar"/>
    <include name="home/lib/jms.jar"/>
    <include name="home/lib/jndi.jar"/>
    <include name="home/lib/jta.jar"/>
    <include name="home/oc4jclient.jar"/>
    </fileset>
    <fileset dir="${jdeveloper.root}/jdev/multi/system/templates/jclient">
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </copy>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/home/lib/ejb.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/home/lib/jaas.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/home/lib/jms.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/home/lib/jndi.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/home/lib/jta.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/home/oc4jclient.jar"/>
    </antcall>
    <jar jarfile="${temp.ear.dir}/j2ee.war">
    <fileset dir="${temp.war.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </jar>
    <delete dir="${temp.war.dir}"/>
    </target>
    <!-- create war for jlib jars.-->
    <target name="jlib_war" depends="init">
    <copy todir="${temp.war.dir}">
    <fileset dir="${jlib.home}">
    <include name="LW_PfjBean.jar"/>
    <include name="bigraphbean.jar"/>
    <include name="jdev-cm.jar"/>
    </fileset>
    <fileset dir="${jdeveloper.root}/jdev/multi/system/templates/jclient">
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </copy>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/LW_PfjBean.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/bigraphbean.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jdev-cm.jar"/>
    </antcall>
    <jar jarfile="${temp.ear.dir}/jlib.war">
    <fileset dir="${temp.war.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </jar>
    <delete dir="${temp.war.dir}"/>
    </target>
    <!-- create war for jdev jars.-->
    <target name="jdev_war" depends="init">
    <copy todir="${temp.war.dir}">
    <fileset dir="${jdev.home}">
    <include name="lib/jdev-rt.jar"/>
    </fileset>
    <fileset dir="${jdeveloper.root}/jdev/multi/system/templates/jclient">
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </copy>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/jdev-rt.jar"/>
    </antcall>
    <jar jarfile="${temp.ear.dir}/jdev.war">
    <fileset dir="${temp.war.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </jar>
    <delete dir="${temp.war.dir}"/>
    </target>
    <!-- create war for vbroker4 jars.-->
    <target name="vbroker4_war" depends="init">
    <copy todir="${temp.war.dir}">
    <fileset dir="${vbroker4.home}">
    <include name="lib/vbjorb.jar"/>
    </fileset>
    <fileset dir="${jdeveloper.root}/jdev/multi/system/templates/jclient">
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </copy>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/vbjorb.jar"/>
    </antcall>
    <jar jarfile="${temp.ear.dir}/vbroker4.war">
    <fileset dir="${temp.war.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </jar>
    <delete dir="${temp.war.dir}"/>
    </target>
    <!-- create war for jdbc jars.-->
    <target name="jdbc_war" depends="init">
    <copy todir="${temp.war.dir}">
    <fileset dir="${jdbc.home}">
    <include name="lib/classes12.jar"/>
    <include name="lib/nls_charset12.jar"/>
    </fileset>
    <fileset dir="${jdeveloper.root}/jdev/multi/system/templates/jclient">
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </copy>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/classes12.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/nls_charset12.jar"/>
    </antcall>
    <jar jarfile="${temp.ear.dir}/jdbc.war">
    <fileset dir="${temp.war.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </jar>
    <delete dir="${temp.war.dir}"/>
    </target>
    <!-- create war for BC4J jars.-->
    <target name="BC4J_war" depends="init">
    <copy todir="${temp.war.dir}">
    <fileset dir="${BC4J.home}">
    <include name="jlib/bc4jctvb.jar"/>
    <include name="jlib/bc4jdatum.jar"/>
    <include name="jlib/bc4jdomgnrc.jar"/>
    <include name="jlib/bc4jimjui.jar"/>
    <include name="jlib/bc4jmtvb.jar"/>
    <include name="jlib/bc4jui.jar"/>
    <include name="lib/bc4jct.jar"/>
    <include name="lib/bc4jctejb.jar"/>
    <include name="lib/bc4jdomorcl.jar"/>
    <include name="lib/bc4jimdomains.jar"/>
    <include name="lib/bc4jmt.jar"/>
    <include name="lib/bc4jmtejb.jar"/>
    <include name="lib/collections.jar"/>
    </fileset>
    <fileset dir="${jdeveloper.root}/jdev/multi/system/templates/jclient">
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </copy>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/bc4jctvb.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/bc4jdatum.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/bc4jdomgnrc.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/bc4jimjui.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/bc4jmtvb.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/bc4jui.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/bc4jct.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/bc4jctejb.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/bc4jdomorcl.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/bc4jimdomains.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/bc4jmt.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/bc4jmtejb.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/collections.jar"/>
    </antcall>
    <jar jarfile="${temp.ear.dir}/BC4J.war">
    <fileset dir="${temp.war.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </jar>
    <delete dir="${temp.war.dir}"/>
    </target>
    <target name="create_application_xml" depends="init">
    <appxml appxml="${temp.ear.dir}/application.xml">
    <displayname name="bc4j"/>
    <webmodule weburi="lib.war" contextroot="/lib"/>
    <webmodule weburi="ord.war" contextroot="/ord"/>
    <webmodule weburi="j2ee.war" contextroot="/j2ee"/>
    <webmodule weburi="jlib.war" contextroot="/jlib"/>
    <webmodule weburi="jdev.war" contextroot="/jdev"/>
    <webmodule weburi="vbroker4.war" contextroot="/vbroker4"/>
    <webmodule weburi="jdbc.war" contextroot="/jdbc"/>
    <webmodule weburi="BC4J.war" contextroot="/BC4J"/>
    </appxml>
    </target>
    <target name="ear">
    <antcall target="lib_war"/>
    <antcall target="ord_war"/>
    <antcall target="j2ee_war"/>
    <antcall target="jlib_war"/>
    <antcall target="jdev_war"/>
    <antcall target="vbroker4_war"/>
    <antcall target="jdbc_war"/>
    <antcall target="BC4J_war"/>
    <antcall target="create_application_xml"/>
    <ear earfile="${ear.file.name}" appxml="${temp.ear.dir}/application.xml">
    <fileset dir="${temp.ear.dir}">
    <include name="*.war"/>
    </fileset>
    </ear>
    </target>
    <!--target for signing wars-->
    <target name="sign">
    <property name="signing.enabled" value="true"/>
    <antcall target="ear"/>
    </target>
    </project>

  • Looking up EJB from Java Web start

    I have a java client application that looks-up an EJB deployed in WebLogic Server 10.3 on windows xp. the application works fine when invoked from command line. But when I try to run the same application via Java Web Start, I get following error while doing EJB lookup:
    java.lang.AssertionError: java.lang.ClassNotFoundException: com.pks.dummy.SL1
    at weblogic.ejb.container.internal.RemoteBusinessIntfGenerator.generateRemoteInterface(RemoteBusinessIntfGenerator.java:57)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.readObject(RemoteBusinessIntfProxy.java:205)
    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 java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:564)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:193)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:240)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:392)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at com.pks.dummy.client.TestClientDummy.doTest(Unknown Source)
    at com.pks.dummy.client.TestClientDummy.main(Unknown Source)
    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.doLaunchApp(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: com.pks.dummy.SL1
    at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.getClassBytes(RemoteBizIntfClassLoader.java:151)
    at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.loadClass(RemoteBizIntfClassLoader.java:96)
    at weblogic.ejb.container.internal.RemoteBusinessIntfGenerator.generateRemoteInterface(RemoteBusinessIntfGenerator.java:54)
    ... 36 more
    #### Java Web Start Error:
    #### null
    com.pks.dummy.SL1 is Remote interface for the Session Bean. and is packaged in same jar with client jar. Also, I am able to instantiate the com.pks.dummy.SL1 using class.forName in main() method of client code in both command line as well as Web start environment.
    Any help is appreciated. Thanks.
    Edited by: javaDev on Dec 19, 2008 11:58 AM
    Edited by: javaDev on Dec 19, 2008 12:18 PM

    I got the solution for ClassNotFound issue. To avoid this error, one need to package EJB stubs on client side. Packaging just the EJB interfaces doesn't help.
    EJB stubs can be generated using weblogic.appc utility. For more information about this utility please refer
    WebLogic Server Command Reference : Link: [http://edocs.bea.com/wls/docs103/pdf/admin_ref.pdf]

  • 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

  • Java Web Start running JasperReports

    The following is the exception that is thrown when trying to compile an .xml report template to a JasperReport object, from an app that has been deployed via the Java Web Start:
    dori.jasper.engine.JRException: Errors were encountered when compiling report expressions class file:
    C:\Program Files\mozilla.org\Mozilla\DailyReport.java:4: package dori.jasper.engine does not exist
    import dori.jasper.engine.*;
    * I have deployed the application properly via Java Web Start; however, when running the application it is not able to compile the xml file to a JasperReport object.
    * The .java file is created properly; but the app does not seem to be able to find the dori.jasper.engine.*; library.
    * I have signed and included the jasperreports-0.5.0.jar (and it's dependencies) with the app, and have put the path to all of it in the Class-Path of the manifest file.
    * NOTE: Just FYI, I am able to run this without any problems under netbeans.

    Dear Patrick,
    Recently I have used iReports for generating report through java & deploy it through java web start.
    I had taken all the measures you had mentioned in your previous replies. But I am not able to view the report. ( might be it is not compiliing)
    I am using new version of jasperreports-0.5.3.jar
    also through console it is running well.
    Also it is not giving any errors. can u have any idea about this.
    Might be it is silly mistake I have done.
    My code for report generation is :
    public class SReportA
         public SReportA()
         try
         JasperDesign jasperDesign = JasperManager.loadXmlDesign("/home/ora/iReport/RSENIORITYLIST-A.xml");
         dori.jasper.engine.design.JRBshCompiler theCompiler = new dori.jasper.engine.design.JRBshCompiler();
         JasperReport jasperReport = theCompiler.compileReport(jasperDesign);     
         Map parameters = new HashMap();
         parameters.put("uname","admin");               
         Connection con=null;
         try
              Class.forName("oracle.jdbc.driver.OracleDriver");
              con=DriverManager.getConnection("jdbc:oracle:thin:@158.144.71.219:1521:dbadp","acom","admin123");
         catch(Exception e)
              System.out.println("Exception in test.jsp "+ e);
         JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport,parameters,con);
         JasperManager.printReportToPdfFile(jasperPrint,"ReportA.pdf");
         JasperViewer.viewReport(jasperPrint,false);
         catch(Exception e){ System.out.println("There is exception here"+ e); }

  • Java Web Start 1.6 fails to start application without Java Consol on Vista

    Hi All,
    I've faced with problem related to starting my application in IE 7 on Vista SP1 using Java Web Start (JRE 1.6.0_12 and 1.6.0_13). I suppose that issue appears after 11th update of JRE 1.6 since it works fine before.
    There were set settings to indicate initial and maximal size of the Java heap in the JNLP file.
    Application consist of 2 JAR files and they are signed with the same certificate.
    When user tried to start application there is no any activity after accepting certificate. After starting application javaw.exe just disappeared from processes list without any message or error.
    When I changed default setting in Java Control Panel to show Java Console, I noticed that the application began to start. But it's not a solution of the issue, since all customers cannot be required to turn on Java console.
    I believe this is a bug in JRE as the application starts with Java console and doesn't without it.
    When I browsed the web looking for the solution or an advice I found Release notes for 1.6.0_014 where it was said that 6u14 Java Web Start failed to launch and notifies that JARs were not signed, if an insecure Java system property was specified in a sandbox JNLP file. In spite of that 14th updated wasn't used and there was no notification I tried to start application without settings for the Java heap and it worked.
    Could someone help me with advice, since the application cannot be started with default heap size settings.
    Thanks in advance.
    Edited by: vovanst on Jul 28, 2009 8:06 AM

    Hi,
    as the 6u15 just arrived and the above mentioned bug should've been fixed (though I was unable to verify through the release notes), the error is still in there.
    We have no timestamped jars, neither ours nor the bouncy castle ones, all certs are valid, ours is self signed.
    6u13 runs, 6u14/6u15 won't.
    I followed the instructions here: http://bouncycastle.org/devmailarchive/msg10415.html to no avail.
    The bcprov.jar is wrapped in its own jnlp and referred as extension from the "main" jnlp.
    The interesting parts of the stack trace are these:
    Caused by (via getCause): java.lang.SecurityException: JCE cannot authenticate the provider BC
         at javax.crypto.Cipher.getInstance(DashoA13*..)
         at javax.crypto.Cipher.getInstance(DashoA13*..)
    Caused by (via getCause): java.util.jar.JarException: Cannot parse https://localhost:8443/deploy/bcprov.jar
         at javax.crypto.SunJCE_c.a(DashoA13*..)
         at javax.crypto.SunJCE_b.b(DashoA13*..)
         at javax.crypto.SunJCE_b.a(DashoA13*..)
         at javax.crypto.Cipher.getInstance(DashoA13*..)
         at javax.crypto.Cipher.getInstance(DashoA13*..)
    For me it seems there's a problem with resolving the url of the bcprov.jar, which would explain the lack of a delay which normally occurs when JCE verifies the signature of the bcprov provider classes. The error pops up almost instantly.
    I'm clueless what to do now. Did Sun really achieve to completely destroy JCE provider functionality in Javaws, forcing us to use an alternative implementation?
    Patric

  • Java Web Start aborts after upgrading to 10.4.4

    After the upgrade to 10.4.4 Java Web Start (and any clients) aborts as soon as I try to launch them.
    I have two clients (CGoban2 and Pokerpages Poker Client) I think uses Java Web Start and they worked fine under Mac OS X 10.4.3.
    Even if I try to start Java Web Start directly - it aborts immediatly.
    I have not had any other problems with the Mac OS X upgrade. And webpages using Java works fine.
    Below is a log (long!!!!) from the crash if anyone knows how to interpret it.
    Grateful for any tips.
    /Dagge
    Date/Time: 2006-01-17 17:36:02.738 +0100
    OS Version: 10.4.4 (Build 8G32)
    Report Version: 3
    Command: Java Web Start
    Path: /Applications/Utilities/Java/Java Web Start.app/Contents/MacOS/Java Web Start
    Parent: WindowServer [105]
    Version: 10.0.2 (10.0.2)
    Build Version: 1
    Project Name: JavaDeploy
    Source Version: 670000
    PID: 2816
    Thread: 3
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNINVALIDADDRESS (0x0001) at 0x20000000
    Thread 0:
    0 libSystem.B.dylib 0x9000b208 machmsgtrap + 8
    1 libSystem.B.dylib 0x9000b15c mach_msg + 60
    2 com.apple.CoreFoundation 0x9075d114 __CFRunLoopRun + 832
    3 com.apple.CoreFoundation 0x9075ca18 CFRunLoopRunSpecific + 268
    4 com.apple.HIToolbox 0x9318e1e0 RunCurrentEventLoopInMode + 264
    5 com.apple.HIToolbox 0x9318d874 ReceiveNextEventCommon + 380
    6 com.apple.HIToolbox 0x9318d6e0 BlockUntilNextEventMatchingListInMode + 96
    7 com.apple.AppKit 0x9368b104 _DPSNextEvent + 384
    8 com.apple.AppKit 0x9368adc8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
    9 com.apple.AppKit 0x9368730c -[NSApplication run] + 472
    10 com.apple.AppKit 0x93777e68 NSApplicationMain + 452
    11 com.apple.WebStart 0x000045c8 0x1000 + 13768
    12 com.apple.WebStart 0x00002a70 0x1000 + 6768
    13 com.apple.WebStart 0x00002910 0x1000 + 6416
    Thread 1:
    0 libSystem.B.dylib 0x9000b208 machmsgtrap + 8
    1 libSystem.B.dylib 0x9000b15c mach_msg + 60
    2 com.unsanity.ape 0xc0002afc _apeinternal + 3300 (icplusplus.c:28)
    3 com.unsanity.ape 0xc0001910 _apeagent + 64 (icplusplus.c:28)
    4 libSystem.B.dylib 0x9002b200 pthreadbody + 96
    Thread 2:
    0 libSystem.B.dylib 0x9000b208 machmsgtrap + 8
    1 libSystem.B.dylib 0x9000b15c mach_msg + 60
    2 ...lagutin.audio_hijack.server 0x000ddc88 ahservloop + 88
    3 libSystem.B.dylib 0x9002b200 pthreadbody + 96
    Thread 3 Crashed:
    0 <<00000000>> 0x20000000 0 + 536870912
    1 libjvm.dylib 0x9641d600 jio_snprintf + 204952
    2 libjvm.dylib 0x9641d194 jio_snprintf + 203820
    3 libjvm.dylib 0x96414088 jio_snprintf + 166688
    4 libjvm.dylib 0x96413248 jio_snprintf + 163040
    5 libjvm.dylib 0x96412dc4 jio_snprintf + 161884
    6 libjvm.dylib 0x96412b48 jio_snprintf + 161248
    7 libjvm.dylib 0x964121a0 jio_snprintf + 158776
    8 libjvm.dylib 0x9641213c jio_snprintf + 158676
    9 libjvm.dylib 0x96408754 jio_snprintf + 119276
    10 libjvm.dylib 0x9640828c jio_snprintf + 118052
    11 libjvm.dylib 0x963e1f18 operator new(unsigned long) + 8072
    12 libjvm.dylib 0x963da23c JNICreateJavaVMImpl + 1584
    13 libjvm.dylib 0x963d9cc0 JNICreateJavaVMImpl + 180
    14 ...ple.JavaApplicationLauncher 0x94ff2260 startJavaApplication + 336
    15 com.apple.WebStart 0x0000a720 0x1000 + 38688
    16 com.apple.Foundation 0x928e66d4 forkThreadForFunction + 108
    17 libSystem.B.dylib 0x9002b200 pthreadbody + 96
    Thread 4:
    0 libSystem.B.dylib 0x9000b208 machmsgtrap + 8
    1 libSystem.B.dylib 0x9000b15c mach_msg + 60
    2 libjvm.dylib 0x963e1d2c operator new(unsigned long) + 7580
    3 libjvm.dylib 0x963e1cc0 operator new(unsigned long) + 7472
    4 libjvm.dylib 0x963e1c44 operator new(unsigned long) + 7348
    5 libSystem.B.dylib 0x9002b200 pthreadbody + 96
    Thread 3 crashed with PPC Thread State 64:
    srr0: 0x0000000020000000 srr1: 0x000000004000d030 vrsave: 0x0000000000000000
    cr: 0x24004222 xer: 0x0000000000000004 lr: 0x0000000096413dc0 ctr: 0x0000000020000000
    r0: 0x0000000000000112 r1: 0x00000000f0182450 r2: 0x000000006e800230 r3: 0x000000006e800238
    r4: 0x0000000000000000 r5: 0x00000000a63efce8 r6: 0x00000000036ffef5 r7: 0x000000000000df45
    r8: 0x0000000001be8a8b r9: 0x00000000000d150f r10: 0x0000000001b1757c r11: 0x000000000362eaf8
    r12: 0x0000000020000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x00000000a63d82e4
    r16: 0x00000000a63db08c r17: 0x00000000a63e82e4 r18: 0x0000000000000000 r19: 0x0000000000000000
    r20: 0x0000000000000000 r21: 0x00000000f01827b0 r22: 0x00000000a63e2df8 r23: 0x0000000000000000
    r24: 0x0000000000000000 r25: 0x0000000004501090 r26: 0x0000000000000000 r27: 0x000000006e0000e0
    r28: 0x0000000000000000 r29: 0x000000006e0000e0 r30: 0x0000000004504a40 r31: 0x0000000096413cbc
    Binary Images Description:
    0x1000 - 0xcfff com.apple.WebStart 10.0.2 /Applications/Utilities/Java/Java Web Start.app/Contents/MacOS/Java Web Start
    0xd9000 - 0xe0fff alexlagutin.audiohijack.server 1.3.1 /Library/Application Enhancers/Instant Hijack Server.ape/Contents/MacOS/Instant Hijack Server
    0x25d000 - 0x25efff com.apple.yourcocoabundle 1.0 /Users/dagge/Library/InputManagers/SparkPlug/SparkPlugInputManager.bundle/Conte nts/MacOS/SparkPlugInputManager
    0x262000 - 0x264fff com.pozytron.PlaintextPaste 0.2 /Users/dagge/Library/SparkPlugins/PlaintextPaste.bundle/Contents/MacOS/Plaintex tPaste
    0x268000 - 0x268fff org.xlife.InquisitorLoader 1.0 /Users/dagge/Library/InputManagers/Inquisitor/Inquisitor.bundle/Contents/MacOS/ Inquisitor
    0x8fe00000 - 0x8fe54fff dyld 44.2 /usr/lib/dyld
    0x90000000 - 0x901b3fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
    0x9020b000 - 0x9020ffff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
    0x90211000 - 0x90264fff com.apple.CoreText 1.0.1 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
    0x90291000 - 0x90342fff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
    0x90371000 - 0x906aefff com.apple.CoreGraphics 1.256.30 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
    0x9073a000 - 0x90813fff com.apple.CoreFoundation 6.4.4 (368.25) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x9085c000 - 0x9085cfff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x9085e000 - 0x90960fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
    0x909ba000 - 0x90a3efff libobjc.A.dylib /usr/lib/libobjc.A.dylib
    0x90a68000 - 0x90ad6fff com.apple.framework.IOKit 1.4 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x90aed000 - 0x90afffff libauto.dylib /usr/lib/libauto.dylib
    0x90b06000 - 0x90ddefff com.apple.CoreServices.CarbonCore 681.3 (671.2) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
    0x90e44000 - 0x90ec4fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
    0x90f0e000 - 0x90f4ffff com.apple.CFNetwork 10.4.4 (129.9) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
    0x90f64000 - 0x90f7cfff com.apple.WebServices 1.1.2 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
    0x90f8c000 - 0x9100dfff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
    0x91053000 - 0x9107dfff com.apple.Metadata 10.4.4 (121.34) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
    0x9108e000 - 0x9109cfff libz.1.dylib /usr/lib/libz.1.dylib
    0x9109f000 - 0x91262fff com.apple.security 4.3 (25966) /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x91365000 - 0x9136efff com.apple.DiskArbitration 2.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x91375000 - 0x9139cfff com.apple.SystemConfiguration 1.8.2 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
    0x913af000 - 0x913b7fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
    0x913bc000 - 0x913dcfff libmx.A.dylib /usr/lib/libmx.A.dylib
    0x913e2000 - 0x913eafff libbsm.dylib /usr/lib/libbsm.dylib
    0x913ee000 - 0x9146efff com.apple.audio.CoreAudio 3.0.2 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x914ad000 - 0x914adfff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
    0x914af000 - 0x914e7fff com.apple.AE 1.5 (297) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
    0x91502000 - 0x915cffff com.apple.ColorSync 4.4.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
    0x91624000 - 0x916b7fff com.apple.print.framework.PrintCore 4.3 (172.3) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
    0x916fe000 - 0x917bbfff com.apple.QD 3.8.18 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
    0x917f9000 - 0x91857fff com.apple.HIServices 1.5.1 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
    0x91885000 - 0x918a9fff com.apple.LangAnalysis 1.6.1 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
    0x918bd000 - 0x918e2fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
    0x918f5000 - 0x91937fff com.apple.LaunchServices 10.4.6 (168.3) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
    0x91953000 - 0x91967fff com.apple.speech.synthesis.framework 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x91975000 - 0x919affff com.apple.ImageIO.framework 1.4.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
    0x919c4000 - 0x91a8cfff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
    0x91ada000 - 0x91aeffff libcups.2.dylib /usr/lib/libcups.2.dylib
    0x91af4000 - 0x91b11fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x91b16000 - 0x91b85fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x91b9c000 - 0x91ba0fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x91ba2000 - 0x91bd3fff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
    0x91bd7000 - 0x91c1afff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x91c21000 - 0x91c3afff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x91c3f000 - 0x91c42fff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x91c44000 - 0x91c44fff com.apple.Accelerate 1.1.1 (Accelerate 1.1.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x91c46000 - 0x91d30fff com.apple.vImage 2.0 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
    0x91d38000 - 0x91d57fff com.apple.Accelerate.vecLib 3.1.1 (vecLib 3.1.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
    0x91dc3000 - 0x91e28fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
    0x91e32000 - 0x91ec4fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
    0x91ede000 - 0x9246efff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
    0x924b6000 - 0x927c6fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
    0x927f3000 - 0x9287ffff com.apple.DesktopServices 1.3.1 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
    0x928c1000 - 0x92aebfff com.apple.Foundation 6.4.2 (567.21) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x92c09000 - 0x92ce7fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
    0x92d07000 - 0x92df5fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
    0x92e07000 - 0x92e25fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x92e30000 - 0x92e8afff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x92ea8000 - 0x92ea8fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x92eaa000 - 0x92ebefff com.apple.ImageCapture 3.0 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
    0x92ed6000 - 0x92ee6fff com.apple.speech.recognition.framework 3.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
    0x92ef2000 - 0x92f07fff com.apple.securityhi 2.0 (203) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
    0x92f19000 - 0x92fa0fff com.apple.ink.framework 101.2 (69) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
    0x92fb4000 - 0x92fbffff com.apple.help 1.0.3 (32) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
    0x92fc9000 - 0x92ff6fff com.apple.openscripting 1.2.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
    0x93010000 - 0x93020fff com.apple.print.framework.Print 5.0 (190.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
    0x9302c000 - 0x93092fff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
    0x930c3000 - 0x93115fff com.apple.NavigationServices 3.4.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
    0x93141000 - 0x9315efff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
    0x93170000 - 0x9317dfff com.apple.CommonPanels 1.2.2 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
    0x93186000 - 0x93498fff com.apple.HIToolbox 1.4.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
    0x935e4000 - 0x935f0fff com.apple.opengl 1.4.7 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x93623000 - 0x93627fff com.apple.JavaVM 11.2.0 /System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM
    0x93681000 - 0x93681fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x93683000 - 0x93cb6fff com.apple.AppKit 6.4.4 (824.33) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x94043000 - 0x940b3fff com.apple.CoreData 80 /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x940ec000 - 0x941b6fff com.apple.audio.toolbox.AudioToolbox 1.4.1 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x9420a000 - 0x9420afff com.apple.audio.units.AudioUnit 1.4 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x9420c000 - 0x94384fff com.apple.QuartzCore 1.4.5 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x943ce000 - 0x9440bfff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
    0x94413000 - 0x94463fff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
    0x94605000 - 0x94614fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
    0x9461c000 - 0x94628fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x9466e000 - 0x94686fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x9468d000 - 0x948f7fff com.apple.QuickTime 7.0.3 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
    0x94ff0000 - 0x95006fff com.apple.JavaApplicationLauncher 11.2.0 /System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Versions/A/ JavaApplicationLauncher
    0x963d9000 - 0x96620fff libjvm.dylib /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/libjvm.dyl ib
    0x98bd3000 - 0x98beefff libjava.jnilib /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/libjava.jn ilib
    0x98bf8000 - 0x98c02fff libverify.dylib /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/libverify. dylib
    0x9b3ff000 - 0x9b40afff libzip.jnilib /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/libzip.jni lib
    0xc0000000 - 0xc000ffff com.unsanity.ape 1.5.1 /Library/Frameworks/ApplicationEnhancer.framework/Versions/A/ApplicationEnhance r
    Model: PowerBook6,1, BootROM 4.5.5f4, 1 processors, PowerPC G4 (3.3), 867 MHz, 640 MB
    Graphics: NVIDIA GeForce4 MX, GeForce4 MX, AGP, 32 MB
    Memory Module: DIMM0/BUILT-IN, 128 MB, built-in, built-in
    Memory Module: DIMM1/J31, 512 MB, DDR SDRAM, PC2100U-25330
    AirPort: AirPort Extreme, 404.2 (3.90.34.0.p16)
    Modem: MicroDash, Euro, V.92, 1.0F, APPLE VERSION 2.6.6
    Bluetooth: Version 1.7.0f18, 2 service, 1 devices, 1 incoming serial ports
    Network Service: Internt modem, PPP (PPPSerial), modem
    Network Service: AirPort, AirPort, en1
    Parallel ATA Device: MATSHITADVD-R UJ-815,
    Parallel ATA Device: HTS548060M9AT00, 55.89 GB
    USB Device: USB Device, , Up to 12 Mb/sec, 500 mA
    USB Device: Bluetooth HCI, , Up to 12 Mb/sec, 500 mA
    USB Device: Hub, , Up to 12 Mb/sec, 500 mA
    USB Device: EPSON Scanner, EPSON, Up to 12 Mb/sec, 500 mA
    USB Device: Kensington PocketMouse Pro, Kensington, Up to 1.5 Mb/sec, 500 mA
    USB Device: iMic USB audio system, Griffin Technology, Inc, Up to 12 Mb/sec, 500 mA

    Well my problem has disappeared
    But I don't know why. This i what happened.
    Today my powerbook freezed and a pane/window saying
    "You must restart your computer......" in four different languages.
    I did so a couple of times but it always frooze and showed the same message just after the login window appered.
    Someone told me that it was a "kernel panic" and that I should remove any attached devices and remove battery and power cord for some seconds.
    And then it was possible to login in the system seems fine again. Then I accidently started one of my Java Web start clients and it worked. And I started the next - also OK.
    So I don't know what has happened but everythings seems ok now.

  • "access denied" error from Java Web Start

    I can successfully download the jar file, but always have error message "access denied" when the java application tries to open a local file in C:\temp\poc1.xml.
    I can successfully execute the java application from DOS,but failed when using Java Web Start. The error message is as follows:
    Java Web Start Console, started Wed Nov 28 16:30:31 PST 2001Java 2 Runtime Environment: Version
    1.3.1 by Sun Microsystems Inc.java.security.AccessControlException: access denied
    (java.io.FilePermission C:\temp\poc1.xml read)     at
    org.apache.xerces.framework.XMLParser.parse(Unknown Source)     at
    org.apache.xerces.framework.XMLParser.parse(Unknown Source)     at
    com.hotlocker.client.HLSessionParser.parse(Unknown Source)     at
    com.hotlocker.client.UploadDownloadClient.uploadFiles(Unknown Source)     at
    com.hotlocker.client.UploadDownload.main(Unknown Source)     at
    java.lang.reflect.Method.invoke(Native Method)     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)

    Hi,
    you can't get a file like in a "normal" app
    because a JWS-app runs in the restricted
    sandbox environment by default.
    So you either sign your app with a digital certificate
    or you use a special FileOpenService (JNLP-API).
    You could also put the file into the app-jar and
    load it by a classloader.
    Regards,
    Mathias

  • About Java Web Start Problems

    Hi, everyone....
    When I want to deploy BC4J Application using the Java Web Start , I occur one exception.
    Java Web Start show exception for me :
    java.lang.ExceptionInInitializerError
         at oracle.jbo.mom.DefinitionManager.<init>(DefinitionManager.java:122)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.<init>(JUMetaObjectManager.java:52)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.getJUMom(JUMetaObjectManager.java:131)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.createApplicationObject(JUMetaObjectManager.java:363)
         at mypackage1.FormDepartmentsView1EmployeesView3.main(FormDepartmentsView1EmployeesView3.java:376)
         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)
    Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission oracle.xdkjava.compatibility.version read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
         at java.lang.System.getProperty(Unknown Source)
         at oracle.xml.parser.v2.XMLParser.<clinit>(XMLParser.java:753)
         ... 16 more
    Can anyone Know what is wrong ?

    Wei,
    did you sign the jar files you deploy ? Please follow the instruction sin teh online help and have a look at the batch file that need to be run to create the JClient ear file. This file contains signing information that might not be true for your system.
    Frank

  • Java Web Start and J2EE

    Can I use Java Web Start to launch an Application Client that interacts (through JBoss and the Enterprise Java Beans) with an Oracle database located in a remote server? Or the application must be pure J2SE, without implementing remote Enterprise Java Beans interfaces?

    No, you can do exactly what you want to do, i've done exactly the same thing with a web start client, talking to EJB's running on the Oracle 9i AS server talking to an Oracle database. It's all good fun.

  • Java Web Start and pack200

    Hi!
    What do I have to do to deploy my jar-archives that are packed with pack200? Do I have to change the jnlp files? Do I have to change any server settings?
    At the moment I successfully deploy our software using Java Web Start and simple jar files. If I pack with pack200 the archives shrink to 1/4 of the original size. That is nice, but when I put the xxx.jar.pack.gz files on our web server they are ignored by Java Web Start. Explicitly use the xxx.jar.pack.gz files in the jar arguments of the jnlp file doesn't work either (because JWS expects .jar archives there it tells me that the archives are corrupted).
    I figure that I have to change either the jnlp file, the server settings or the JWS clients settings.
    In another posting I have read that JWS in its normal configuration does not support pack200 at all. Is that correct? Or is there a straight-forward documentation how to use JWS with pack200?
    Thanks in advance,
    Chris,
    Hamburg

    Either the JWS plugin should try to request the "xxx.jar.pack.gz" file when it finds a "xxx.jar" reference in the jnlp file.No. You always request jar files, but the Accepted-Ecnoding can differ. If omitted or empty the server should send back the contents of the jar, if it's "gzip" than the stuff of the jar.gz (Content-Encoding: gzip) and if it "pack200-gzip" the stuff of the jar.pack.gz (Content-Encoding: pack200-gzip).
    The diagrams shown here make it pretty obvious:
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/pack200.html
    So... you need some server sided logic for handling that. If you can run servlets - great... just use Sun's example. If you can't, you'll need something else like apache's mod_rewrite and a php script.
    mod_rewrite is used for redirecting requests server sided. For example:
    http://onyx.bubblegumcrises.jp/jnlp/downloads/fake.jar [no real url]
    becomes:
    http://onyx.bubblegumcrises.jp/jnlp/jarbounce.php?file=fake.jar (internally) [no real url]
    by rewriting like this(jnlp/.htaccess):
    RewriteEngine On
    RewriteBase /jnlp
    RewriteRule downloads/(.*) jarbounce.php?file=$1 [NE]
    The php file then checks the filename (for security reasons) and the accepted encoding and sends the contents of a file (picked by AE and availability) back together with the correct headers (Content-Encoding reflecting the picked encoding and Content-Type set to "application/x-java-archive").
    I've written such a script yesterday and I'm going to make it public. However, I want to do some more checks before releasing it (I ended up here by googling around... I wanted to avoid reinventing the wheel again ;)).
    I'll post it over at JGO pretty soon now... in this thread:
    http://www.javagaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=OnLin;action=display;num=1097590751;start=0
    [I'm also planning to write an article about that, but that will take a bit longer]

Maybe you are looking for