BI Java-Client Class wizard not started

Hi all,
I follow the steps described in http://www.oracle.com/technology/obe/obe_bi/bibeans/bibeans_1012/buildbibeansapps/generatejavaapp.htm
to build BI Beans Java client application.
But when I create new Business Intelligence Beans --> Client Tier for OLAP --> Java-Client Class, the BI Java-Client Class wizard not displayed.
Has anyone get this situation? Please help me.
The version of Jdeveloper is 10.1.2.2.0 (build 1929) and BI Beans is 10.1.2.2
Thanks very much.

That's because a bug in BI bean 10.1.2.2.
I have to use Jdeveloper 10.1.2.1 with BI Bean 10.1.2.1. I pass that error but another occur :(

Similar Messages

  • Java Process server0 is not Starting (exitcode -11113)

    Hi,
    Need your help. My Java AS is not starting after I encounter error during JSPAM component upgrade error. I tried to deploy updates on SAP J2EE ENGINE 7.00 then I got exitcode = -11113
    Below is my tail logs i got from dev_server0 file. Appreciate your help.
    [Thr 9764] JHVM_LoadJavaVM: Java VM created OK.
    JHVM_BuildArgumentList: main method arguments of node [server0]
    [Thr 1028] Thu May 08 18:02:20 2014
    [Thr 1028] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
    [Thr 1028] Thu May 08 18:02:23 2014
    [Thr 1028] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 1028] Thu May 08 18:02:24 2014
    [Thr 1028] JLaunchISetClusterId: set cluster id 24050450
    [Thr 1028] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
    [Thr 1028] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
    [Thr 9712] Thu May 08 18:03:15 2014
    [Thr 9712] JLaunchIExitJava: exit hook is called (rc = -11113)
    [Thr 9712] **********************************************************************
    *** ERROR => The Java VM terminated with a non-zero exit code.
    *** Please see SAP Note 943602 , section 'J2EE Engine exit codes'
    *** for additional information and trouble shooting.
    [Thr 9712] JLaunchCloseProgram: good bye (exitcode = -11113)
    Cheers!
    Henry

    Hello Henry,
    The exitcode -11113 is just a generic message to tell us that a core service has failed to start. In this case, it is the UME service due to the error java.lang.NoClassDefFoundError: com/sap/security/core/util/config/IUMConfiguration
    This is caused by an inconsistency inside NW Java stack. With any NoClassDefFound errors, We need you to patch some sca files as there is missing references or corrupted classes on the filesystem. As you say that this error occurred during an upgrade then I assume you are missing dependencies
    The affected sda files belong to UME:
    com.sap.security.core.offline.sda      (extract from SAPJEECOR**_*.SCA)
    com.sap.security.api.offline.sda       (extract from SAPJEECOR**_*.SCA)
    com.sap.security.core.ume.service.sda  (extract from SAPJEE**_*.SCA)
    What you need to do is to download the latest patches for the above components and apply them in your system with SUM/SDM. As there are certain dependencies with core Java components, Along with patching SAPJEECOR and SAPJEE, you should also patche SAPJTECHS and SAPJTECHF.
    Regards,
    David

  • Java Mail,SMTP server not starting,help required urgently

    Hi i have been working on java mail .Yesterday it was working ok but today suddenely i am getting this thing.its not starting the smtp server i guess,just exiting and get the command prompt ..dont know what to do.help required how to go about this error
    am pasting the debug information.please check and let me know
    the compilation ,smtp server and others are all valid
    thanks
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Pavan>cd C:\Program Files\Java\jdk1.5.0_07\bin
    C:\Program Files\Java\jdk1.5.0_07\bin>javac jdbcExample3.java
    C:\Program Files\Java\jdk1.5.0_07\bin>java jdbcExample3 smtpserver address
    DEBUG: JavaMail version 1.4ea
    DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_07\jre\lib\
    javamail.providers (The system cannot find the file specified)
    DEBUG: !anyLoaded
    DEBUG: not loading resource: /META-INF/javamail.providers
    DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
    DEBUG: Tables of loaded providers
    DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax
    .mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsyste
    ms, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com
    .sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLSt
    ore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsyst
    ems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.su
    n.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=jav
    ax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc],
    com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP
    3Store,Sun Microsystems, Inc]}
    DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.
    sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STOR
    E,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Prov
    ider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc],
    pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems
    , Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun
    Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.S
    MTPTransport,Sun Microsystems, Inc]}
    DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
    DEBUG: !anyLoaded
    DEBUG: not loading resource: /META-INF/javamail.address.map
    DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_07\jre\lib\
    javamail.address.map (The system cannot find the file specified)
    C:\Program Files\Java\jdk1.5.0_07\bin>

    The debug output doesn't show an obvious problem. You're
    going to have to actually debug your program. A debugger
    might be helpful.

  • Group Policy Client service does not start

    Hi,
    As soon as I (administrator on my PC) logon to Windows 7, I get a message saying that the Group Policy Client service failed to start. I'm not sure why I'm getting this error even though the dependencies are very much up and running..
    Below is the error message I get in the notification area as soon as I logon
    Failed to connect to a windows service
    Windows could not connect to the Group Policy Client service. This problem prevents stndard users from logging on to the system.
    As an administrative user, you can review the System Event Log for details about why the service didn't respond.

    I FOUND SOLUTION TO THIS PROBLEM!
    The crash of your computer caused that - you are absolutely right!
    I had this issue on my laptop since November, and it really bugged me.  I sifted through the event log and found the pattern of events that preceded the issue, and, probably, caused it.
    In short, the pattern is as follows: Windows updates run automatically as scheduled, and when reboot is initiated after the updates are finished, the computer crashes (probably during reboot sequence).  When it boots up, it reports that the last shutdown
    was unexpected, and the issue begins to occur.
    I spent 2 days trying to dig out a solution from the Internet, to no avail, until I came across
    this page.  It doesn't say anything about this particular problem, but it gives more information about SVCHOST process that starts many services, including Group Policy Client.  It looks like during reboot a vital registry settings were lost during
    crash and Group Policy Client "don't know" how to start.  Let me explain:
    There are two places to look in the registry:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services this path should contain
    gpsvc key (a folder), which is responsible for service parameters and configuration.  I found that the key was intact, so, you do not touch anything here - just check that the key exists.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SVCHOST This is the most important path you should look into, as it must contain the keys and values referred in the key #1.  Below are descriptions what must be present
    there.
    There must be Multi-String value called GPSvcGroup. My laptop was missing it.  So, you should create multi-string value named
    GPSvcGroup and assign it value GPSvc.
    Next, you must create a key (a folder) and name it GPSvcGroup - this key normally should be there, but, again, it was missin on my laptop.
    Then open newly-created GPSvcGroup folder and create 2 DWORD values:
    First called AuthenticationCapabilities and you must give it a value of 0x00003020 (or 12320 in decimal)
    Second is called CoInitializeSecurityParam and it must have value of 1.
    Once you complete all steps above, reboot the computer and the problem will be fixed.
    Video walkthrough for those who are not very technical is here: http://youtu.be/4m5KEmckWK4
    I am so relieved I was able to fix it, and hope this will help others with the similar issue.

  • EJB Client class could not run......very urgent

    Hi
    My classpath is as follows.
    C:\Program Files\Altova\xmlspy\XMLSpyInterface.jar;
    C:\Sun\j2eesdk1.4_beta2\lib\j2ee.jar;
    C:\DSTA\session\Sisters\temp\SampleObject.jar;
    C:\bea\weblogic81\server\lib\weblogic.jar;
    C:\DSTA\session\Sisters\temp\StatelessEJB.jar;
    C:\DSTA\session\drools\drools-2.0-beta-11\examples\drools2.jar;
    I am getting ClassDefNotFoundError as follows.
    C:\DSTA\session\Sisters\Sisters\sisters\ejb>java sisterclient
    Exception in thread "main" java.lang.NoClassDefFoundError: sisterclient (wrong
    n
    ame: sisters/ejb/sisterclient)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ===================
    If you need further info. please see my previous mail.
    Thanks
    Murali

    Murali,
    Run the client class with the fully qualified class name.
    java sisters.ejb.sisterclientthanks,
    Deepak
    "murali" <[email protected]> wrote:
    >
    Hi Gurus
    I am trying to run a weblogic application EJB application. I
    could deploy
    the application
    in weblogic 8.1 successfully. But I am getting the following error. I
    have the
    following jars
    in my CLASSPATH .
    1. weblogic.jar 2. j2ee.jar 3. my ejb jar file called StatelessEJB.jar
    Further I had set JAVA_HOME, JDK_HOME etc . My jdk is jdk_141_02 .
    My ejb-jar.xml and weblogic-ejb-jar.xml are deployed in META-INF directory.
    Is it necessary I should populate an application.xml file in the META-INF
    directory.
    Please help me. I had tried my best but all failing.
    In additon to that I had added a jar called wl_client.jar file in CLASS-PATH
    too, but my problem
    still exists. Please provide me a workable solution ASAP. I am struggling
    a lot.
    Thanks in advance
    Murali
    ========================== ERROR MESSAGE =========
    C:\DSTA\session\Sisters\Sisters\sisters\ejb>java sisterclient
    Exception in thread "main" java.lang.NoClassDefFoundError: sisterclient
    (wrong
    n
    ame: sisters/ejb/sisterclient)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ======================================

  • NetWeaver AS Java 7.3 EHP1 not starting after a refresh

    Hello,
    I am refreshing our BW system, which has ABAP and Java with separate SIDs and separate DBs,
    NetWeaver 7.3 EHP1, the DB is oracle 11. Java is using ABAPs UME.
    The ABAP part went without any trouble. For Java, I have exported the source system, as I have
    read in the system copy guide, that only offline backup is supported for system copy.
    Though after importing the system with the latest SWPM, it is not starting, I have the following error
    in log_bootstrap.0.log:
    [Apr 26, 2014 9:37:18 PM ]
    Error while persisting instance profile for component [Configuration Manager] of type [external]
    com.sap.engine.frame.core.configuration.NameNotFoundException: Configuration [ID15603850] not found in [cluster_config/system/instances]
    at com.sap.engine.core.configuration.impl.ConfigurationHandlerImpl.determineMissingConfiguration(ConfigurationHandlerImpl.java:1723)
    at com.sap.engine.core.configuration.impl.ConfigurationHandlerImpl.determineMissingConfiguration(ConfigurationHandlerImpl.java:1694)
    at com.sap.engine.core.configuration.impl.ConfigurationHandlerImpl.openConfiguration(ConfigurationHandlerImpl.java:1055)
    at com.sap.engine.core.configuration.impl.ConfigurationHandlerImpl.openConfiguration(ConfigurationHandlerImpl.java:1000)
    at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.persistInstanceProfile(ConfigurationManagerBootstrapImpl.java:410)
    at com.sap.engine.bootstrap.Bootstrap.persistInstanceProfile(Bootstrap.java:114)
    at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:281)
    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:597)
    at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:162)
    [Apr 26, 2014 9:37:18 PM ] Instance profile persisted for [116] ms
    [Apr 26, 2014 9:37:18 PM ] Starting to collect synchronization info [DETECT]
    [Apr 26, 2014 9:37:18 PM ]  
    Local version information read for [155] ms
    [Apr 26, 2014 9:37:18 PM ] Exception occurred for component [internal/unkown] of type [unkown]
    com.sap.engine.bootstrap.SynchronizationException: Configuration entry [native.descriptor] cannot be found in [bin/native]
    at com.sap.engine.bootstrap.SynchronizationInfoImpl.loadNativeFilesIndexes(SynchronizationInfoImpl.java:924)
    at com.sap.engine.bootstrap.SynchronizationInfoImpl.collectSynchronizationData(SynchronizationInfoImpl.java:154)
    at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:301)
    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:597)
    at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:162)
    ----------==[ Caused by: ]==----------
    com.sap.engine.frame.core.configuration.NameNotFoundException: Configuration [bin] not found in [cluster_config/system/instances/current_instance]
    at com.sap.engine.core.configuration.impl.ConfigurationDataCacheAllImpl.getSubConfiguration(ConfigurationDataCacheAllImpl.java:102)
    at com.sap.engine.core.configuration.impl.ReadAccessConfiguration.getSubConfiguration(ReadAccessConfiguration.java:916)
    at com.sap.engine.core.configuration.impl.ReadAccessDerivedConfiguration.getSubConfiguration(ReadAccessDerivedConfiguration.java:150)
    at com.sap.engine.core.configuration.impl.ReadAccessDerivedConfiguration.getSubConfiguration(ReadAccessDerivedConfiguration.java:141)
    at com.sap.engine.core.configuration.impl.ReadAccessConfiguration.getSubConfiguration(ReadAccessConfiguration.java:885)
    at com.sap.engine.bootstrap.StorageAccess.getConfigurationFromRoot(StorageAccess.java:550)
    at com.sap.engine.bootstrap.StorageAccess.getStreamToFile(StorageAccess.java:593)
    at com.sap.engine.bootstrap.SynchronizationInfoImpl.loadNativeFilesIndexes(SynchronizationInfoImpl.java:912)
    at com.sap.engine.bootstrap.SynchronizationInfoImpl.collectSynchronizationData(SynchronizationInfoImpl.java:154)
    at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:301)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    Many thanks for your quick help - this is becoming a very hot topic for us now!!

    Hi Reagan and thanks a lot for replying so quickly!!
    I have provided the log, that contains the most precise information, though here are some other entries, my exit code is 515, not 508:
    dev_bootstrap:
    F [Thr 02] Sat Apr 26 21:59:44 2014
    F  [Thr 02] *** LOG => State changed from 2 (Starting framework) to 3 (Running).
    F  [Thr 02] *** LOG    state real time: 4.895 CPU time: 0.140 sys, 3.740 usr
    F  [Thr 02] *** LOG    total real time: 10.662 CPU time: 0.640 sys, 5.860 usr
    F  [Thr 02]
    F  [Thr 02] *** LOG => State changed from 3 (Running) to 5 (Stopping).
    F  [Thr 02] *** LOG    state real time: 0.223 CPU time: 0.010 sys, 0.380 usr
    F  [Thr 02] *** LOG    total real time: 10.886 CPU time: 0.650 sys, 6.240 usr
    F  [Thr 02]
    F  [Thr 11] *** LOG => SfCJavaVm: exit hook is called. (rc = 515)
    F
    F  ********************************************************************************
    F  *** ERROR => Java node 'Instance_bootstrap' terminated with exit code 515.
    F  ***
    F  *** Please see section 'Java program exit codes'
    F  *** in SAP Note 1316652 for additional information and trouble shooting advice.
    F  ********************************************************************************
    F
    F  [Thr 11] *** LOG => exiting (exitcode 515, retcode 1).
    M  [Thr 11] CCMS: CCMS Monitoring Cleanup finished successfully.
    jvm_bootstrap.out contains exactly the same error:
       Error while persisting instance profile for component [Configuration Manager] of type [external]
    com.sap.engine.frame.core.configuration.NameNotFoundException: Configuration [ID15603850] not found in [cluster_confi
    g/system/instances]
    sapcpe_bootstrap.log:
    ActualizeLocalFile: sap.com~tc~je~offlineconfiguration~impl.jar
    ActualizeLocalFileOrDir: sap.com~tc~logging~java~impl.jar (FPM:0x0)
    ActualizeLocalFile: sap.com~tc~logging~java~impl.jar
    ActualizeLocalFileOrDir: sap.com~tc~sec~secstorefs~java~core.jar (FPM:0x0)
    ActualizeLocalFile: sap.com~tc~sec~secstorefs~java~core.jar
    Files scanned......:    49    8.43 MB
    ** All local files, which are available and defined, are up to date. **
    Required Time......:  0:00
    Copy Errors detected.................: 0
    Sync Errors detected.................: 0
    Not copied files (UID=0) detected....: 0
    Warnings detected....................: 49
    And basically, those are all the bootstrap log files, which are most recent...
    I have been thinking to uninstall the complete instance and then try target system installation once again, after everything from the previous instance has been cleaned up... What do you think? Of course, no answer to my OSS message, as it is weekend... Thank you!!

  • Ant tools: converter java card -  class file  not belonging to the package!

    Hi
    I have another problem with converter. Could you help me please again if you have the time?
    I have created a directory when I save the class files generated by javac. After That , I use convert in this way:
    <convert
    JCA="true"
    EXP="true"
    CAP="true"
    packagename="testUn/classes/testUn"
    packageaid="0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x02:0x00"
    majorminorversion="1.0"
    verbose = "true">
    <AppletNameAID
    appletname="testUn.classes.testUn.PorteAppUn"
    aid="0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x02:0x00:0x00"/>
    <classpath refid="classpath"/>
    </convert>
    Here is the answer of the computer:
    [echo] Generation of the CAP,JCA and EXP files...
    [convert] Java Card Ant Tasks, Version 1.0
    [convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [convert] Note: Usage of Java Card Ant Tasks is optional. Java Card Ant Tasks are not supported by Sun Microsystems, Inc.
    [convert] Java Card 2.2.2 Class File Converter, Version 1.3
    [convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [convert] parsing /home/ehoudart/app-manager/VersionZero/src/testUn/classes/testUn/PorteAppUn.class
    [convert] converting testUn.PorteAppUn
    [*convert] error: class PorteAppUn does not belong to package testUn.classes.testUn.*
    [convert] conversion completed with 1 errors and 0 warnings.
    I do not understand why this unique applet class file does not belong to its own package. Is someone an idea?
    Thanks very much in advance for your answer.

    Here is a complete example build.xml (I think I have posted this before).
    <?xml version="1.0" encoding="UTF-8" ?>
    <project default="convert" name="javacard-starter">
      <!-- Build specific properties -->
      <property name="target.classes" location="${basedir}/target/classes" />
      <property name="target.javacard" location="${basedir}/target/javacard" />
      <property name="source.java" location="${basedir}/src/main/java" />
      <!-- Must point to the folder containing the JAR files from the JCDK -->
      <property name="javacard.libs" location="${basedir}/lib" />
      <!-- Must point to the folder containing the JAR file from the JCDK ant task -->
      <property name="javacard.ant-task" location="${basedir}/lib" />
      <!-- Must point to the folder containing the API export files from the JCDK -->
      <property name="javacard.export" location="${basedir}/src/main/export" />
      <property name="verbose" value="true" />
      <property name="noverify" value="false" />
      <!-- Path for JC tasks -->
      <path id="classpath">
        <fileset dir="${javacard.ant-task}">
          <include name="*.jar" />
        </fileset>
        <fileset dir="${javacard.libs}">
          <include name="*.jar" />
        </fileset>
      </path>
      <!-- set the export path to the Java Card export files -->
      <path id="export" description="set the export file path">
        <fileset dir="${javacard.export}">
          <include name="**/*.exp" />
        </fileset>
        <pathelement path="${javacard.export}" />
        <pathelement path="${target.classes}" />
        <pathelement path="${target.javacard}" />
      </path>
      <!-- Definitions for tasks for Java Card tools -->
      <taskdef name="capgen" classname="com.sun.javacard.ant.tasks.CapgenTask" classpathref="classpath" />
      <taskdef name="deploycap" classname="com.sun.javacard.ant.tasks.DeployCapTask" classpathref="classpath" />
      <taskdef name="convert" classname="com.sun.javacard.ant.tasks.ConverterTask" classpathref="classpath" />
      <taskdef name="verifyexport" classname="com.sun.javacard.ant.tasks.VerifyExpTask" classpathref="classpath" />
      <taskdef name="verifycap" classname="com.sun.javacard.ant.tasks.VerifyCapTask" classpathref="classpath" />
      <taskdef name="verifyrevision" classname="com.sun.javacard.ant.tasks.VerifyRevTask" classpathref="classpath" />
      <typedef name="appletnameaid" classname="com.sun.javacard.ant.types.AppletNameAID" classpathref="classpath" />
      <typedef name="jcainputfile" classname="com.sun.javacard.ant.types.JCAInputFile" classpathref="classpath" />
      <target name="init">
        <mkdir dir="${target.classes}" />
        <mkdir dir="${target.javacard}" />
      </target>
      <target name="clean">
        <delete dir="${target.classes}" />
        <delete dir="${target.javacard}" />
        <delete dir="${javacard.eeprom}" />
      </target>
      <target name="compile" depends="init" description="Compile source code to class files">
        <!-- Compile the java code from ${src} to ${classes} -->
        <javac debug="yes" optimize="no" srcdir="${source.java}" destdir="${target.classes}" source="1.5" target="1.5">
          <classpath refid="classpath" />
        </javac>
      </target>
      <target name="convert" depends="compile" description="Convert class files to cap files">
              <convert packagename="chaining" packageaid="0xF0:0x00:0x00:0x01:0x00:0x01" majorminorversion="1.0" classdir="${target.classes}" outputdirectory="${target.classes}" jca="true" exp="true" cap="true" debug="true" verbose="${verbose}" noverify="${noverify}">
                   <appletnameaid aid="0xF0:0x00:0x00:0x01:0x00:0x01:0x00:0x01" appletname="chaining.ChainingApplet" />
                   <exportpath refid="export" />
                   <classpath refid="classpath" />
              </convert>
      </target>
      <target name="copy-debug">
        <mkdir dir="${target.debug}" />
        <echo>Copying cap files</echo>
        <copy flatten="true" todir="${target.debug}" verbose="true">
          <fileset dir="${target.classes}" includes="**/*.cap" />
          <fileset dir="${target.classes}" includes="**/*.exp" />
          <fileset dir="${target.classes}" includes="**/*.jca" />
        </copy>
      </target>
      <target name="all" depends="clean, convert" />
    </project>

  • Java ME Emulator does not start in Netbeans 8

    Hello,
    I am new to Netbean and I am trying to run the Java ME 8 Emulator within Netbeans 8.
    My project (IMletDemo) runs properly if the emulator is executed outside Netbeans 8.
    I set ant in debug mode.
    the output file is the following :
    Property "platform.bootclasspath" has not been set
    Property "run.cmd.options" has not been set
    Property "platform.runcommandline" has not been set
    Property "dist.jad.url" has not been set
    Starting emulator in execution mode
    Finding class org.netbeans.modules.j2me.common.ant.EMapFormat
    Loaded from C:\My Program Files\NetBeans 8.0\mobility\modules\org-netbeans-modules-j2me-common-ant.jar org/netbeans/modules/j2me/common/ant/EMapFormat.class
    Class java.text.Format loaded from parent loader (parentFirst)
    Class org.netbeans.modules.j2me.common.ant.EMapFormat loaded from ant loader (parentFirst)
    Class java.lang.StringBuffer loaded from parent loader (parentFirst)
    Class org.apache.tools.ant.taskdefs.Execute loaded from parent loader (parentFirst)
    Class org.apache.tools.ant.types.Commandline loaded from parent loader (parentFirst)
    Finding class org.netbeans.modules.classfile.ClassFile
    Class java.net.URL loaded from parent loader (parentFirst)
    Executing command line: $
    Execute:Java13CommandLauncher: Executing '$'
    The ' characters around the executable and arguments are
    not part of the command.
    C:\Users\BAAL7505\Documents\NetBeansProjects\IMletDemo\nbproject\build-impl.xml:810:
    java.io.IOException: Cannot run program "$": CreateProcess error=2, Le fichier spécifié est introuvable
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
    at java.lang.Runtime.exec(Runtime.java:620)
    at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:41)
    at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428)
    at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442)
    at org.netbeans.modules.j2me.common.ant.RunTask.doExecute(RunTask.java:396)
    at org.netbeans.modules.j2me.common.ant.RunTask.execute(RunTask.java:349)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
    Caused by: java.io.IOException: CreateProcess error=2, Le fichier spécifié est introuvable
    at java.lang.ProcessImpl.create(Native Method)
    at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
    at java.lang.ProcessImpl.start(ProcessImpl.java:137)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
    ... 21 more
    BUILD FAILED (total time: 3 seconds)
    I could not find how to set the properties platform.bootclasspath, run.cmd.options, platform.runcommandline, dist.jad.url.
    Can anyone help me with this issue, please ?
    Thanks in advance.
    Bruno

    Hi Sergey,
    I use :
    oracle-jmesdk-8-0-rr-win32-bin.exe
    jdk-8u5-nb-8-windows-x64.exe
    oracle-jmesdk-8-0-rr-nb-plugins.zip
    I downloaded them on may 27th. I assume they are the latest packages.
    Bruno

  • Microsoft Exchange RPC Client Access will not start.

    A few days ago all my outlook clients were disconnected.  Looking into it and the Microsoft Exchange RPC Client Access service had died.  Tried several restarts of the system but the service will not go into a running state.  It always says
    Starting. But it is actually terminating and restarting.  In the system log get Event 7031 - "The Microsoft Exchange RPC Client Access service terminated unexpectedly.  It has done this 1 time(s).  The following corrective action will be
    taken in 5000 milliseconds: Restart the service."  I can't find anything else on the error in any log file.  Some other info not sure if this related or not.  The contentIndex are corrupt and will not rebuild. Get a state of "Failed"
    with an error message of "The database has been dismounted."  Also at time the system is very sluggish.  Mostly right after a reboot for an hour or two.  Details about the system are; Running Exchange 2013 SP1 on server 2012 R2.  All
    roles on one machine.  About 20 mailboxes. Database is about 40gig. No VM, just a normal server. plenty of diskspace, memory and CPU.   The system has been running fine for about a year.  Also, mobile devices and OWA work fine.  Mail flow
    is fine.  Outlook just can't connect.  
    Tried restoring the databases and logs from before the problem started but that did not help.
    Not sure what to try from here.
    Thanks

    Hi,
    Please check whether an unavailable Public Folder database is pointed to in your Exchange 2013 mailbox database as the default public folder database setting.
    If there is no legacy public folder database and you are working in a pure Exchange 2013 environment, please remove the default public folder database setting on each Exchange 2013 Mailbox database that points to the deleted public folder database object
    in ADSI Edit:
    1. Open ADSIEdit, Connect to the Configuration container.
    2. Expand Configuration, expand CN=Configuration,DC=Domain,DC=com.
    3. Expand CN=Services -> CN=Microsoft Exchange -> CN=Domain -> CN=Administrative Groups -> CN=Exchange Administrative Group -> CN=Databases.
    4. In the right hand pane you will see a list of databases. Right-click the listed database object -> Properties.
    5. Check whether the msExchHomePublicMDB value is set to an unavailable value. If you see reference to the old database, please clear the value.
    6. Click OK.
    7. Check the rest of the databases to make sure that they are not populated in the same way.
    For more information about this, please refer to:
    http://support2.microsoft.com/kb/2962915/en-us
    Regards,
    Winnie Liang
    TechNet Community Support

  • Telepresence Conductor Install Wizard Not Starting.

    Hello all,
    So I am trying to get an instance of Telepresence Conductor running in my environment.  I have deployed the .ova for both 3.0.2 and 2.4.1 on different ESX Hosts but regardless of the version or host when the appliance boots up and I log in with the default user and password it goes straight to the # prompt.  I never get prompted with the install wizard.
    Anyone have any suggestions?  Is there a command to start the wizard manually?

    If you're getting a # sign and not a prompt for the configuration wizard, it sounds like you've logged in under the root account.  Can you provide a screenshot to verify?
    You should be logging in with username "admin", and password "TANDBERG" if this is brand new deployment.

  • Java Function Activity Agent not starting

    Hi,
    I am facing some problem in starting Java Function Activity Agent on Windows XP.
    I hav modified WF_CLASSPATH of wfjavlsnr.bat script to include classes12.jar, ojdbc14.jar & my custom jar files.
    But when I run this script from command prompt using following syntax
    wfjvlsnr.bat owf_mgr/password@host:portid:sid or
    wfjvlsnr.bat owf_mgr/password@sidfollowing messge is thrown...
    Oracle Workflow 2.6.0 JAVA Function Activity Agent
    t2cCreateState
    Connected to owf_mgr@dbserver:1521:ORA10G with character set
    UTF8
    Unable to connect to dbserver:1521:ORA10G
    Can anybody please point out what could be the problem....?
    what is this t2cCreateState? I have never see this "t2cCreateState" when we run JFAA in unix box.
    Any points will be appreciated..
    Regards,
    Nitin

    Hi,
    I tried to run the same without entering password,but still i am getting error.
    The error description is:
    Oracle Workflow 2.6.3 JAVA Function Activity Agent
    Please Enter Database Password :
    ORA-06401: NETCMN: invalid driver designator
    Unable to connect to nn0734.nucleussoftware.com:1521:asdb
    Accepted arguments:
    java <program> <user> <conStr> [oci8]
    java <program> <user> <conStr> thin
    Where <conStr> is in the form of <host>:<port>:<sid> for thin
    and DB Service name for oci8
    Please Help. Is there any problem with my tnsnames.ora or something else.
    Thanx in advance,
    Sarab

  • SRM AS JAVA not starting(JControl.EXE and Server0 are not starting )

    Hi All,
    We have SAP SRM 7.0 AS ABAP and AS JAVA with SAP PI and MDM installed on Windows Server 2008 R2.
    When we are trying to start SRM as JAVA  from SAPMMC is not starting.
    The JControl.EXE and Server0 are not starting.
    For your convenience I am pasting error part of trace files
    Our dev_jcontrol log file text is as follows:
    [Thr 7112] JControlExecuteBootstrap: execute bootstrap process [bootstrap]
    [Thr 7112] [Node: bootstrap] java home is set by profile parameter
    [Thr 7112]      Java Home: C:\j2sdk1.4.2_19-x64
    [Thr 7112] JStartupICheckFrameworkPackage: can't find framework package E:\usr\sap\SRJ\JC22\exe\jvmx.jar
    [Thr 7112] JControlICheckProcessList: process server0 started (PID:4688)
    [Thr 7112] Thu Dec 15 16:43:42 2011
    [Thr 7112] JControlICheckProcessList: process server0 (pid:4688) died (RUN-FLAG)
    [Thr 7112] JControlIResetProcess: reset process server0
    [Thr 7112] JControlIResetProcess: [server0] not running -> increase error count (4)
    [Thr 7112] JControlICheckProcessList: running flight recorder:
    [Thr 7112]      C:\j2sdk1.4.2_19-x64\bin\java -classpath ../j2ee/cluster/bootstrap/sap.comtcbloffline_launcherimpl.jar com.sap.engine.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector ../j2ee/cluster/bootstrap -node ID228052750 1323947582 -bz E:\usr\sap\SRJ\SYS\global
    [Thr 5568] Thu Dec 15 17:23:18 2011
    [Thr 5568] JControlSigInt: signal = 2
    [Thr 5568] JControlIStopInstance: shutting down (command: 0)
    [Thr 5568] JControlIProcessSoftKill: soft kill of process dispatcher (pid:7648)
    [Thr 5568] ERROR => invalid connect to named pipe (rc = 232) [jstartnt.c   268]
    [Thr 5568]  ERROR => Can't send soft kill (rc=-1) [jcntrxxi.c   1743]
    [Thr 5568] JControlIProcessSoftKill: soft kill of process SDM (pid:7664)
    [Thr 5568] ERROR => invalid connect to named pipe (rc = 232) [jstartnt.c   268]
    [Thr 5568]  ERROR => Can't send soft kill (rc=-1) [jcntrxxi.c   1743]
    Our dev_bootstrap log is:
    [Thr 7712] CCMS: AlMsUpload called by wp 1004.
    [Thr 7712] CCMS: AlMsUpload successful for E:\usr\sap\SRJ\JC22\log\ALMTTREE.DAT (302 MTEs).
    [Thr 7712] CCMS: CCMS Monitoring Initialization finished, rc=0.
    [Thr 7712] [Node: bootstrap] java home is set by profile parameter
    [Thr 7712]      Java Home: C:\j2sdk1.4.2_19-x64
    [Thr 7712] JStartupICheckFrameworkPackage: can't find framework package E:\usr\sap\SRJ\JC22\exe\jvmx.jar
    In dev_server0 the log is as follows:
    ERROR => The Java VM terminated with a non-zero exit code.
    What should be the issue I am not getting. Please help me to solve this.
    Thanks & Regards,
    Ishan

    Hi All,
    I removed last changes i did. n restarted it.
    Thanks,
    Ishan

  • Can not start data Collection service

    I have installed Fabric Manager version 3.3.(4). In the Performance Web Client I can not start the service Data Collection is in starting forever.
    I also could not stop it. I rebooted the server and the status for this service is in starting.
    Thanks,

    Please provide more details like: Server OS, Java version, and what type of database you are using for the FM Server.  Have you considered using a newer version of FM Server?

  • "Class Circle not found in TryBouncingBalls" error message. Help !

    Dear People,
    I have an error message :
    "TryBouncingBalls.java": Error : class Circle not found in class stan_bluej_ch5_p135.TryBouncingBalls at line 67, "
    Circle circle = new Circle(xPos + 130, 30);
    below are the classes TryBouncingBalls, BouncingBall, BallDemo, Canvas
    Thank you in advance
    Stan
    package stan_bluej_ch5_p135;
    import java.awt.*;
    import java.awt.geom.*;
    public class TryBouncingBalls
    public static void main(String[] args)
    Canvas myCanvas = new Canvas("Creativity at its best");
    myCanvas.setVisible(true);
    BouncingBall ball = new BouncingBall(50,50,16, Color.red, 500, myCanvas);
    BouncingBall ball2 = new BouncingBall(70,80,20, Color.green, 500, myCanvas);
    BouncingBall ball3 = new BouncingBall(90,100,16, Color.red, 500, myCanvas);
    BouncingBall ball4 = new BouncingBall(30,30,20, Color.green, 500, myCanvas);
    ball.draw();
    ball2.draw();
    ball.draw();
    ball2.draw();
    // make them bounce
    boolean finished = false;
    while(!finished) {
    myCanvas.wait(50); // small delay
    ball.move();
    ball2.move();
    ball3.move();
    ball4.move();
    // stop once ball has travelled a certain distance on x axis
    if(ball.getXPosition() >= 550 && ball2.getXPosition() >= 550)
    finished = true;
    myCanvas.setFont(new Font("helvetica", Font.BOLD, 14));
    myCanvas.setForegroundColor(Color.red);
    myCanvas.drawString("We are having fun, ...\n\n", 20, 30);
    myCanvas.wait(1000);
    myCanvas.setForegroundColor(Color.black);
    myCanvas.drawString("...drawing lines...", 60, 60);
    myCanvas.wait(500);
    myCanvas.setForegroundColor(Color.gray);
    myCanvas.drawLine(200, 20, 300, 50);
    myCanvas.wait(500);
    myCanvas.setForegroundColor(Color.blue);
    myCanvas.drawLine(220, 100, 370, 40);
    myCanvas.wait(500);
    myCanvas.setForegroundColor(Color.green);
    myCanvas.drawLine(290, 10, 320, 120);
    myCanvas.wait(1000);
    myCanvas.setForegroundColor(Color.gray);
    myCanvas.drawString("...and shapes!", 110, 90);
    myCanvas.setForegroundColor(Color.red);
    myCanvas.drawString("to bring to focus creative ideas !", 310, 290);
    // the shape to draw and move
    int xPos = 10;
    Rectangle rect = new Rectangle(xPos + 40, 150, 30, 20);
    Rectangle rect2 = new Rectangle(xPos + 80, 120, 50, 25);
    Rectangle rect3 = new Rectangle(xPos+ 1200, 180, 30, 30);
    Rectangle rect4 = new Rectangle(xPos + 150, 220, 40, 15);
    myCanvas.fill(rect);
    myCanvas.fill(rect2);
    myCanvas.fill(rect3);
    myCanvas.fill(rect4);
    Circle circle = new Circle(xPos + 130, 30);
    // Circle circle2 = new Circle(xPos + 150, 50);
    // Circle circle3 = new Circle(xPos + 170, 30);
    // Circle circle4 = new Circle(xPos + 200, 40);
    // myCanvas.fill(circle);
    // myCanvas.fill(circle2);
    // myCanvas.fill(circle3);
    // myCanvas.fill(circle4);
    // move the rectangle and circles across the screen
    for(int i = 0; i < 200; i ++) {
    myCanvas.fill(rect);
    myCanvas.fill(rect2);
    myCanvas.fill(rect3);
    myCanvas.fill(rect4);
    myCanvas.wait(10);
    myCanvas.erase(rect);
    myCanvas.erase(rect2);
    myCanvas.erase(rect3);
    myCanvas.erase(rect4);
    xPos++;
    rect.setLocation(xPos, 150);
    rect2.setLocation(xPos, 120);
    rect3.setLocation(xPos, 180);
    rect4.setLocation(xPos, 220);
    // at the end of the move, draw once more so that it remains visible
    myCanvas.fill(rect);
    myCanvas.fill(rect2);
    myCanvas.fill(rect3);
    myCanvas.fill(rect4);
    package stan_bluej_ch5_p135;
    import java.awt.*;
    import java.awt.geom.*;
    * Class BouncingBall - a graphical ball that observes the effect of gravity. The ball
    * has the ability to move. Details of movement are determined by the ball itself. It
    * will fall downwards, accelerating with time due to the effect of gravity, and bounce
    * upward again when hitting the ground.
    * This movement can be initiated by repeated calls to the "move" method.
    * @author Bruce Quig
    * @author Michael Kolling (mik)
    * @author David J. Barnes
    * @version 1.1 (23-Jan-2002)
    public class BouncingBall
    private static final int gravity = 3; // effect of gravity
    private int ballDegradation = 2;
    private Ellipse2D.Double circle;
    private Color color;
    private int diameter;
    private int xPosition;
    private int yPosition;
    private final int groundPosition; // y position of ground
    private Canvas canvas;
    private int ySpeed = 1; // initial downward speed
    * Constructor for objects of class BouncingBall
    * @param xPos the horizontal coordinate of the ball
    * @param yPos the vertical coordinate of the ball
    * @param ballDiameter the diameter (in pixels) of the ball
    * @param ballColor the color of the ball
    * @param groundPos the position of the ground (where the wall will bounce)
    * @param drawingCanvas the canvas to draw this ball on
    public BouncingBall(int xPos, int yPos, int ballDiameter, Color ballColor,
    int groundPos, Canvas drawingCanvas)
    xPosition = xPos;
    yPosition = yPos;
    color = ballColor;
    diameter = ballDiameter;
    groundPosition = groundPos;
    canvas = drawingCanvas;
    * Draw this ball at its current position onto the canvas.
    public void draw()
    canvas.setForegroundColor(color);
    canvas.fillCircle(xPosition, yPosition, diameter);
    * Erase this ball at its current position.
    public void erase()
    canvas.eraseCircle(xPosition, yPosition, diameter);
    * Move this ball according to its position and speed and redraw.
    public void move()
    // remove from canvas at the current position
    erase();
    // compute new position
    ySpeed += gravity;
    yPosition += ySpeed;
    xPosition +=2;
    // check if it has hit the ground
    if(yPosition >= (groundPosition - diameter) && ySpeed > 0) {
    yPosition = (int)(groundPosition - diameter);
    ySpeed = -ySpeed + ballDegradation;
    // draw again at new position
    draw();
    * return the horizontal position of this ball
    public int getXPosition()
    return xPosition;
    * return the vertical position of this ball
    public int getYPosition()
    return yPosition;
    package stan_bluej_ch5_p135;
    import java.awt.*;
    import java.awt.geom.*;
    * Class BallDemo - provides two short demonstrations showing how to use the
    * Canvas class.
    * @author Michael Kolling and David J. Barnes
    * @version 1.0 (23-Jan-2002)
    public class BallDemo
    private Canvas myCanvas;
    * Create a BallDemo object. Creates a fresh canvas and makes it visible.
    public BallDemo()
    myCanvas = new Canvas("Ball Demo", 600, 500);
    myCanvas.setVisible(true);
    * This method demonstrates some of the drawing operations that are
    * available on a Canvas object.
    public void drawDemo()
    myCanvas.setFont(new Font("helvetica", Font.BOLD, 14));
    myCanvas.setForegroundColor(Color.red);
    myCanvas.drawString("We can draw text, ...", 20, 30);
    myCanvas.wait(1000);
    myCanvas.setForegroundColor(Color.black);
    myCanvas.drawString("...draw lines...", 60, 60);
    myCanvas.wait(500);
    myCanvas.setForegroundColor(Color.gray);
    myCanvas.drawLine(200, 20, 300, 50);
    myCanvas.wait(500);
    myCanvas.setForegroundColor(Color.blue);
    myCanvas.drawLine(220, 100, 370, 40);
    myCanvas.wait(500);
    myCanvas.setForegroundColor(Color.green);
    myCanvas.drawLine(290, 10, 320, 120);
    myCanvas.wait(1000);
    myCanvas.setForegroundColor(Color.gray);
    myCanvas.drawString("...and shapes!", 110, 90);
    myCanvas.setForegroundColor(Color.red);
    // the shape to draw and move
    int xPos = 10;
    Rectangle rect = new Rectangle(xPos, 150, 30, 20);
    // move the rectangle across the screen
    for(int i = 0; i < 200; i ++) {
    myCanvas.fill(rect);
    myCanvas.wait(10);
    myCanvas.erase(rect);
    xPos++;
    rect.setLocation(xPos, 150);
    // at the end of the move, draw once more so that it remains visible
    myCanvas.fill(rect);
    * Simulates two bouncing balls
    public void bounce()
    int ground = 400; // position of the ground line
    myCanvas.setVisible(true);
    // draw the ground
    myCanvas.drawLine(50, ground, 550, ground);
    // crate and show the balls
    BouncingBall ball = new BouncingBall(50, 50, 16, Color.blue, ground, myCanvas);
    ball.draw();
    BouncingBall ball2 = new BouncingBall(70, 80, 20, Color.red, ground, myCanvas);
    ball2.draw();
    // make them bounce
    boolean finished = false;
    while(!finished) {
    myCanvas.wait(50); // small delay
    ball.move();
    ball2.move();
    // stop once ball has travelled a certain distance on x axis
    if(ball.getXPosition() >= 550 && ball2.getXPosition() >= 550)
    finished = true;
    ball.erase();
    ball2.erase();
    package stan_bluej_ch5_p135;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.geom.*;
    * Class Canvas - a class to allow for simple graphical
    * drawing on a canvas.
    * @author Michael Kolling (mik)
    * @author Bruce Quig
    * @version 1.8 (23.01.2002)
    public class Canvas
    private JFrame frame;
    private CanvasPane canvas;
    private Graphics2D graphic;
    private Color backgroundColor;
    private Image canvasImage;
    * Create a Canvas with default height, width and background color
    * (300, 300, white).
    * @param title title to appear in Canvas Frame
    public Canvas(String title)
    this(title, 600, 600, Color.white);
    * Create a Canvas with default background color (white).
    * @param title title to appear in Canvas Frame
    * @param width the desired width for the canvas
    * @param height the desired height for the canvas
    public Canvas(String title, int width, int height)
    this(title, width, height, Color.white);
    * Create a Canvas.
    * @param title title to appear in Canvas Frame
    * @param width the desired width for the canvas
    * @param height the desired height for the canvas
    * @param bgClour the desired background color of the canvas
    public Canvas(String title, int width, int height, Color bgColor)
    frame = new JFrame();
    canvas = new CanvasPane();
    frame.setContentPane(canvas);
    frame.setTitle(title);
    canvas.setPreferredSize(new Dimension(width, height));
    backgroundColor = bgColor;
    frame.pack();
    * Set the canvas visibility and brings canvas to the front of screen
    * when made visible. This method can also be used to bring an already
    * visible canvas to the front of other windows.
    * @param visible boolean value representing the desired visibility of
    * the canvas (true or false)
    public void setVisible(boolean visible)
    if(graphic == null) {
    // first time: instantiate the offscreen image and fill it with
    // the background color
    Dimension size = canvas.getSize();
    canvasImage = canvas.createImage(size.width, size.height);
    graphic = (Graphics2D)canvasImage.getGraphics();
    graphic.setColor(backgroundColor);
    graphic.fillRect(0, 0, size.width, size.height);
    graphic.setColor(Color.black);
    frame.show();
    * Provide information on visibility of the Canvas.
    * @return true if canvas is visible, false otherwise
    public boolean isVisible()
    return frame.isVisible();
    * Draw the outline of a given shape onto the canvas.
    * @param shape the shape object to be drawn on the canvas
    public void draw(Shape shape)
    graphic.draw(shape);
    canvas.repaint();
    * Fill the internal dimensions of a given shape with the current
    * foreground color of the canvas.
    * @param shape the shape object to be filled
    public void fill(Shape shape)
    graphic.fill(shape);
    canvas.repaint();
    * Fill the internal dimensions of the given circle with the current
    * foreground color of the canvas.
    public void fillCircle(int xPos, int yPos, int diameter)
    Ellipse2D.Double circle = new Ellipse2D.Double(xPos, yPos, diameter, diameter);
    fill(circle);
    * Fill the internal dimensions of the given rectangle with the current
    * foreground color of the canvas. This is a convenience method. A similar
    * effect can be achieved with the "fill" method.
    public void fillRectangle(int xPos, int yPos, int width, int height)
    fill(new Rectangle(xPos, yPos, width, height));
    * Erase the whole canvas.
    public void erase()
    Color original = graphic.getColor();
    graphic.setColor(backgroundColor);
    Dimension size = canvas.getSize();
    graphic.fill(new Rectangle(0, 0, size.width, size.height));
    graphic.setColor(original);
    canvas.repaint();
    * Erase the internal dimensions of the given circle. This is a
    * convenience method. A similar effect can be achieved with
    * the "erase" method.
    public void eraseCircle(int xPos, int yPos, int diameter)
    Ellipse2D.Double circle = new Ellipse2D.Double(xPos, yPos, diameter, diameter);
    erase(circle);
    * Erase the internal dimensions of the given rectangle. This is a
    * convenience method. A similar effect can be achieved with
    * the "erase" method.
    public void eraseRectangle(int xPos, int yPos, int width, int height)
    erase(new Rectangle(xPos, yPos, width, height));
    * Erase a given shape's interior on the screen.
    * @param shape the shape object to be erased
    public void erase(Shape shape)
    Color original = graphic.getColor();
    graphic.setColor(backgroundColor);
    graphic.fill(shape); // erase by filling background color
    graphic.setColor(original);
    canvas.repaint();
    * Erases a given shape's outline on the screen.
    * @param shape the shape object to be erased
    public void eraseOutline(Shape shape)
    Color original = graphic.getColor();
    graphic.setColor(backgroundColor);
    graphic.draw(shape); // erase by drawing background color
    graphic.setColor(original);
    canvas.repaint();
    * Draws an image onto the canvas.
    * @param image the Image object to be displayed
    * @param x x co-ordinate for Image placement
    * @param y y co-ordinate for Image placement
    * @return returns boolean value representing whether the image was
    * completely loaded
    public boolean drawImage(Image image, int x, int y)
    boolean result = graphic.drawImage(image, x, y, null);
    canvas.repaint();
    return result;
    * Draws a String on the Canvas.
    * @param text the String to be displayed
    * @param x x co-ordinate for text placement
    * @param y y co-ordinate for text placement
    public void drawString(String text, int x, int y)
    graphic.drawString(text, x, y);
    canvas.repaint();
    * Erases a String on the Canvas.
    * @param text the String to be displayed
    * @param x x co-ordinate for text placement
    * @param y y co-ordinate for text placement
    public void eraseString(String text, int x, int y)
    Color original = graphic.getColor();
    graphic.setColor(backgroundColor);
    graphic.drawString(text, x, y);
    graphic.setColor(original);
    canvas.repaint();
    * Draws a line on the Canvas.
    * @param x1 x co-ordinate of start of line
    * @param y1 y co-ordinate of start of line
    * @param x2 x co-ordinate of end of line
    * @param y2 y co-ordinate of end of line
    public void drawLine(int x1, int y1, int x2, int y2)
    graphic.drawLine(x1, y1, x2, y2);
    canvas.repaint();
    * Sets the foreground color of the Canvas.
    * @param newColor the new color for the foreground of the Canvas
    public void setForegroundColor(Color blue)
    graphic.setColor(Color.blue);
    * Returns the current color of the foreground.
    * @return the color of the foreground of the Canvas
    public Color getForegroundColor()
    return graphic.getColor();
    * Sets the background color of the Canvas.
    * @param newColor the new color for the background of the Canvas
    public void setBackgroundColor(Color newColor)
    backgroundColor = newColor;
    graphic.setBackground(newColor);
    * Returns the current color of the background
    * @return the color of the background of the Canvas
    public Color getBackgroundColor()
    return backgroundColor;
    * changes the current Font used on the Canvas
    * @param newFont new font to be used for String output
    public void setFont(Font newFont)
    graphic.setFont(newFont);
    * Returns the current font of the canvas.
    * @return the font currently in use
    public Font getFont()
    return graphic.getFont();
    * Sets the size of the canvas.
    * @param width new width
    * @param height new height
    public void setSize(int width, int height)
    canvas.setPreferredSize(new Dimension(width, height));
    Image oldImage = canvasImage;
    canvasImage = canvas.createImage(width, height);
    graphic = (Graphics2D)canvasImage.getGraphics();
    graphic.drawImage(oldImage, 0, 0, null);
    frame.pack();
    * Returns the size of the canvas.
    * @return The current dimension of the canvas
    public Dimension getSize()
    return canvas.getSize();
    * Waits for a specified number of milliseconds before finishing.
    * This provides an easy way to specify a small delay which can be
    * used when producing animations.
    * @param milliseconds the number
    public void wait(int milliseconds)
    try
    Thread.sleep(milliseconds);
    catch (InterruptedException e)
    // ignoring exception at the moment
    * Nested class CanvasPane - the actual canvas component contained in the
    * Canvas frame. This is essentially a JPanel with added capability to
    * refresh the image drawn on it.
    private class CanvasPane extends JPanel
    public void paint(Graphics g)
    g.drawImage(canvasImage, 0, 0, null);

    Dear Miciuli,
    I found the definition for the circle in the canvas class and used it to creates circles ! Thank you for jaring my brain into thinking !
    Stan
    Ellipse2D.Double circle = new Ellipse2D.Double(xPos, 70, 30 , 30);

  • NetWeaver CE Jstart.exe not start

    Hi Experts,
    we have installed a NetWeaver CE 7.1 on an VMware ESX-Server and it works fine.
    Than we convert this Virtual Machine with the VMware Client Converter and copy that
    on another VMware Server. After that I can't start the Jstart.exe in the SAP MMC console.
    The Server cannot connect to Message Server, you can see it in the debug trace:
    Has anybody an idea what is the problem?
    Best regards Philipp
    trc file: "F:\usr\sap\CE1\J00\work\dev_jstart.444", trc level: 1, release: "711"
    trc file: "dev_jstart.new", trc level: 1, release: "711"
    sysno      00
    sid        CE1
    systemid   560 (PC with Windows NT)
    relno      7110
    patchlevel 0
    patchno    19
    intno      20020600
    make       multithreaded, Unicode, optimized
    profile    F:\usr\sap\CE1\SYS\profile\CE1_J00_kogit-sapnw1
    pid        444
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      All, egi
    Fri Nov 13 08:52:45 2009
    trace logging activated, max size = 52428800 bytes, 2 versions
    arguments :
      arg[ 0] : F:\usr\sap\CE1\SYS\exe\uc\NTI386\jstart.EXE
      arg[ 1] : pf=F:\usr\sap\CE1\SYS\profile\CE1_J00_kogit-sapnw1

    F Fri Nov 13 08:52:45 2009
    F  ********************************************************************************
    F  Java environment properties (F:\usr\sap\CE1\J00\work\jstart.jvm)
    F    root directory    : F:\usr\sap\CE1\SYS\exe\jvm\NTI386\sapjvm_5.1.024/sapjvm_5
    F    vendor            : SAP AG
    F    version           : 1.5.0_14
    F    cpu               : x86
    F    java vm type      : server
    F    java vm version   : 5.1.024
    F    jvm library name  : jvm.dll
    F    library path      : F:\usr\sap\CE1\SYS\exe\jvm\NTI386\sapjvm_5.1.024\sapjvm_5\jre\bin\server;F:\usr\sap\CE1\SYS\exe\jvm\NTI386\sapjvm_5.1.024\sapjvm_5\jre\bin
    F    executable path   : F:\usr\sap\CE1\SYS\exe\jvm\NTI386\sapjvm_5.1.024\sapjvm_5\bin
    F  ********************************************************************************
    F    SAP extensions    : available
    F  ********************************************************************************

    I [Thr 512] Fri Nov 13 08:52:46 2009
    I  [Thr 512] MtxInit: 30002 0 2
    trc file: "F:\usr\sap\CE1\J00\work\dev_jstart", trc level: 1, release: "711"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      All, egi
    F  [Thr 512] *** LOG => connected to Enqueue Server.
    F  [Thr 512] *** WARNING => SfCMsClient::doAttach: Operation MS_CHANGE_IP failed (rc = 24 MSOP_EINVAL) [sfxxmsc.hpp  911]

    F [Thr 512] Fri Nov 13 08:52:51 2009
    F  [Thr 512] *** WARNING => SfCMsClient::doAttach: Operation MS_CHANGE_IP failed (rc = 24 MSOP_EINVAL) [sfxxmsc.hpp  911]

    F [Thr 512] Fri Nov 13 08:52:56 2009
    F  [Thr 512] *** WARNING => SfCMsClient::doAttach: Operation MS_CHANGE_IP failed (rc = 24 MSOP_EINVAL) [sfxxmsc.hpp  911]

    F [Thr 512] Fri Nov 13 08:53:01 2009
    F  [Thr 512] *** WARNING => SfCMsClient::doAttach: Operation MS_CHANGE_IP failed (rc = 24 MSOP_EINVAL) [sfxxmsc.hpp  911]

    F [Thr 512] Fri Nov 13 08:53:06 2009
    F  [Thr 512] *** WARNING => SfCMsClient::doAttach: Operation MS_CHANGE_IP failed (rc = 24 MSOP_EINVAL) [sfxxmsc.hpp  911]

    F [Thr 512] Fri Nov 13 08:53:11 2009
    F  [Thr 512] *** WARNING => SfCMsClient::doAttach: Operation MS_CHANGE_IP failed (rc = 24 MSOP_EINVAL) [sfxxmsc.hpp  911]

    F [Thr 512] Fri Nov 13 08:53:16 2009
    F  [Thr 512] *** WARNING => SfCMsClient::doAttach: Operation MS_CHANGE_IP failed (rc = 24 MSOP_EINVAL) [sfxxmsc.hpp  911]

    F [Thr 512] Fri Nov 13 08:53:21 2009
    F  [Thr 512] *** WARNING => SfCMsClient::doAttach: Operation MS_CHANGE_IP failed (rc = 24 MSOP_EINVAL) [sfxxmsc.hpp  911]

    F [Thr 512] Fri Nov 13 08:53:26 2009
    F  [Thr 512] *** WARNING => SfCMsClient::doAttach: Operation MS_CHANGE_IP failed (rc = 24 MSOP_EINVAL) [sfxxmsc.hpp  911]

    F [Thr 512] Fri Nov 13 08:53:31 2009
    F  [Thr 512] *** WARNING => SfCMsClient::doAttach: Operation MS_CHANGE_IP failed (rc = 24 MSOP_EINVAL) [sfxxmsc.hpp  911]

    F [Thr 512] Fri Nov 13 08:53:36 2009
    F  [Thr 512] *** WARNING => SfCMsClient::doAttach: Operation MS_CHANGE_IP failed (rc = 24 MSOP_EINVAL) [sfxxmsc.hpp  911]

    F [Thr 512] Fri Nov 13 08:53:41 2009
    F  [Thr 512] *** WARNING => SfCMsClient::doAttach: Operation MS_CHANGE_IP failed (rc = 24 MSOP_EINVAL) [sfxxmsc.hpp  911]

    F [Thr 512] Fri Nov 13 08:53:46 2009
    F  [Thr 512] *** ERROR => cannot connect to Message Server. [sfxxmsc.hpp  784]
    F  [Thr 512] *** LOG => connecting to Message Server.
    F  [Thr 512] *** LOG => Run level 0 completed.
    F  [Thr 512] *** LOG => Instance state is "Instance terminated" (STOPPED @ 0, INACTIVE).
    F  [Thr 512] *** LOG => exiting (exitcode 0, retcode 0).

    Hi ,
    Please check following link :  read the below link, it'll help you.
    CE71 dev_jstart cannot connect to Message Server (sfxxmsc.hpp 742)
    Java CE AS does not start
    CE EhP1  java instance not starting remains yellow
    With regards,
    CSK

Maybe you are looking for