Beginning Of Java

Just a little help on a few things. Where can i download netbeans to write my java language programs.

www.google.com type download netbeans in the little box and see what happens

Similar Messages

  • How to begin my Java in Pocket, Palms OS.

    Hi, every dear Prof. here. We have just finished a simulation by Java.
    Recently, we want to have some projects on Packet/Palm OS. Even I am new one in this field I am sure I could get better and better if we have Java.
    We have WindowsCE(2.0, 3.0, 4.0) and Linux OS (some one makes it as compact one) for our Packet. Could I develope a "uniform" Java codes (Application Developement) for both of them? If yes, please give me some URL that I could get more knowledge and begin our work. What I need?
    Thank you a lot for your attention.
    another question, though I use search Palm and get the result in "MID Profile"
    I do not find this area in forum home. Why?

    To develop applications for Mobile devices you will need to use a form of J2ME (Mobile Edition) or the older J2PE (Personal Edition).
    J2ME runs on Palms & Phones, and is aviable from the Downloads button.
    J2PE runs on WinCE, Psions and MAYBE Palms (never used), for Psions go to Psions home page, for WinCE go to Early Access and I'd guess Palms developers homepage.
    Hope that helps.

  • Beginning College Java Project. Help Me Please !!!

    The following is code that im writing for a program that will play a game between the user and the computer. I am getting an error message saying "CLASS EXPECTED".
    The error is pointing me to the playerChoose Method where the variable pcchoice is trying to accept the value inputted by the user.
    I am a beinner to the Java Language and am having difficulty understanding what the problem is or what the error means.
    Can someone please help me!!!
    import java.io.*;
    import java.util.Random;
    class NIM
    public static void main (String [] args) throws IOException
         int game = 21; //Keeps Track of sticks remaining.
         Random random = new Random();
         PrintInstructions ();
         playerChoose();
         game = game - pchoice;
         computerChoose();
         game = game - cchoice;
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    static void PrintInstructions ()
         System.out.println ("You are going to play the game NIM.\n");
         System.out.println ("In this version of NIM, there are 21 sticks on the table.");
         System.out.println ("On each move, the user and the computer take turns picking");
         System.out.println ("up 1,2 or 3 sticks until there are no more sticks left.");
         System.out.println ("The one who picks up the last stick loses.\n");
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    static int playerChoose()
         pchoice = 0;
         BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
         System.out.println ("Choose your sticks. Enter 1-2 or 3.");
         pchoice = int.ParseInt(in.readline);
         while pchoice = 1
         return(pchoice);
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    static int computerChoose()
         int cchoice = 0;
         for (i= 1; i<=50; i++)
         cchoice = random.nextInt(3)+1;
         return(cchoice);
    }

    In this line
    pchoice = int.ParseInt(in.readline);you are wanting to parse the String entered from the keyboard as an int.
    One way to do that is to use the parseInt method from the Integer class.
    To use a static method from a class you start with the name of the class, followed by the name of the method (with the correct capitalization!), like this:
    pchoice = Integer.parseInt(in.readline);The following line is missing parentheses; add them as below:
    while (pchoice = 1)These corrections will expose more errors that can then be fixed.

  • Help! I'm lost. Beginning with Java Web Start

    Hello,
    I'm new in JWS and I'm trying to run an application that works fine if it's running with the java -jar comand. My .jar file contains a manifest. I haven't installed a Web server and I'm doing the trials in my local host. (Perhaps I'm commiting so much mistakes...). I'm using jdk1.2.2, Windows 2000, and the JWS version is 1.0.1
    This is my .jnlp file:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+"
    codebase="file://C:\Pruebas" href="adagio.jnlp">
    <information>
         <title>Adagio</title>
    <vendor>ERicsson.</vendor>
         <homepage href="adagio.html"/>
         <description> Adagio</description>
         <icon href="adagio.gif"/>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.2+"/>
    <jar href="adagio.jar"/>
    </resources>
    <application-desc/></application-desc>
    </jnlp>
    Please, can anybody help me???
    The message error is that can't be found the jnlp command.
    Marta

    Hello.
    You will need a Web Server to publish your app., and configure it to send jnlp files creating a new MIME type.
    You don't need a manifiest in your .jar. But if you need to call a class in your .jar do it in your jnlp in this way:
    <application-desc main-class="nameclass" />
    That's it. I hope this help be useful.
    Juan

  • How to begin learing Java Programming for the Internet?

    expecially for socket

    Just go to www.google.com and search for java+server+client+socket
    And then look at some source code...

  • IOException error - beginer for java

    When I try to compile the file having the below shown piece of code I get a syntax error ( show below ). I am not sure what am I missing here. I am new to java and started learing the langugae. Any help is appreciated.
    new ActionListener()
         public void actionPerformed( ActionEvent e )
              try
                   totalRecords = vRecord.getTotalNumOfRecords( dataFile );
              catch( IOException ioe )
                   JOptionPane.showMessageDialog(this,"Error processing the videos.dta to get total records");
                   cleanUp();
    C:\JAVA\JavaProgs\Projects\Project7\VideoStoreGui.java:273: cannot resolve symbol
    symbol : method showMessageDialog (<anonymous java.awt.event.ActionListener>,java.lang.String)
    location: class javax.swing.JOptionPane
    JOptionPane.showMessageDialog(this,"Error processing the videos.dta to get total records");
    ^
    1 error
    Regards
    Sunil
    email:[email protected]

    I suspect that the 'this' argument in JOptionPane.showMessageDialog(this,"") does not refer to a JFrame (or a java.awt.Component instance.) If the enclosing class is not a Component then use null as the argument, or a frame variable if one is in scope.
    Dave

  • Error in deployment JAva Module : deployment aborted

    Hi,
    yesterday  i posted a message (cfr java.lang.NoSuchMethodError  
    Posted: Aug 28, 2007 10:54 AM )
    There was some advice that i don't have to watch out the error. Some told me it was concerning a anti-virus programme (which doesn't run in this environment)
    so i deploy it with this error :
    could someone guide me thru the solution?
    thx in advance , points will be given for good answers , i don't gave points at earlier post because it wasn't helpfull
    Gwen
    error message :
    29-aug-2007 12:50:32 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : sideshow-mel
    SDM port : 50018
    URL to deploy : file:/C:/Users/Admin/AppData/Local/Temp/temp13798ExcelFileAdapterModuleApplication.ear
    Result
    => deployment aborted : file:/C:/Users/Admin/AppData/Local/Temp/temp13798ExcelFileAdapterModuleApplication.ear
    Aborted: development component 'ExcelFileAdapterModuleApplication'/'sap.com'/'localhost'/'2007.07.25.10.07.01'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/ExcelFileAdapterModuleApplication.. Reason: Exception during generation of components of application sap.com/ExcelFileAdapterModuleApplication in container EJBContainer.; nested exception is:      com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/ExcelFileAdapterModuleApplication in container EJBContainer.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    additional information:
    29-aug-2007 12:50:32 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [001]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[C:\usr\sap\XID\DVEBMGS00\SDM\program\log\sdmcl20070829125021.log]/>
    <!PATTERN[sdmcl20070829125021.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[Cp1252]/>
    <!LOGHEADER[END]/>
    Aug 29, 2007 2:50:21 PM  Info: -
    Starting deployment -
    Aug 29, 2007 2:50:21 PM  Info: Error handling strategy: OnErrorStop
    Aug 29, 2007 2:50:21 PM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Aug 29, 2007 2:50:21 PM  Info: Update strategy: UpdateAllVersions
    Aug 29, 2007 2:50:21 PM  Info: Starting deployment prerequisites:
    Aug 29, 2007 2:50:24 PM  Info: Loading selected archives...
    Aug 29, 2007 2:50:24 PM  Info: Loading archive 'C:\usr\sap\XID\DVEBMGS00\SDM\program\temp\temp13798ExcelFileAdapterModuleApplication.ear'
    Aug 29, 2007 2:50:25 PM  Info: Selected archives successfully loaded.
    Aug 29, 2007 2:50:25 PM  Info: Actions per selected component:
    Aug 29, 2007 2:50:25 PM  Info: Initial deployment: Selected development component 'ExcelFileAdapterModuleApplication'/'sap.com'/'localhost'/'2007.07.25.10.07.01'/'0' will be deployed.
    Aug 29, 2007 2:50:25 PM  Info: Ending deployment prerequisites. All items are correct.
    Aug 29, 2007 2:50:25 PM  Error: Unable to compare host[sideshow-mel] and host[PC4D] Throwable: java.net.UnknownHostException Throwable message: PC4D
    Aug 29, 2007 2:50:25 PM  Info: Saved current Engine state.
    Aug 29, 2007 2:50:25 PM  Info: Starting: Initial deployment: Selected development component 'ExcelFileAdapterModuleApplication'/'sap.com'/'localhost'/'2007.07.25.10.07.01'/'0' will be deployed.
    Aug 29, 2007 2:50:25 PM  Info: SDA to be deployed: C:\usr\sap\XID\DVEBMGS00\SDM\root\origin\sap.com\ExcelFileAdapterModuleApplication\localhost\0\2007.07.25.10.07.01\temp13798ExcelFileAdapterModuleApplication.ear
    Aug 29, 2007 2:50:25 PM  Info: Software type of SDA: J2EE
    Aug 29, 2007 2:50:27 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Aug 29, 2007 2:50:28 PM  Error: Unable to compare host[sideshow-mel] and host[PC4D] Throwable: java.net.UnknownHostException Throwable message: PC4D
    Aug 29, 2007 2:50:31 PM  Info: Begin of log messages of the target system:
    07/08/29 14:50:28 -  ***********************************************************
    07/08/29 14:50:29 -  Start updating EAR file...
    07/08/29 14:50:29 -  start-up mode is lazy
    07/08/29 14:50:29 -  EAR file updated successfully for 125ms.
    07/08/29 14:50:29 -  Start deploying ...
    07/08/29 14:50:29 -  EAR file uploaded to server for 94ms.
    07/08/29 14:50:31 -  ERROR: Not deployed. Deploy Service returned ERROR:
                         java.rmi.RemoteException: Cannot deploy application sap.com/ExcelFileAdapterModuleApplication..
                         Reason: Exception during generation of components of application sap.com/ExcelFileAdapterModuleApplication in container EJBContainer.; nested exception is:
                              com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/ExcelFileAdapterModuleApplication in container EJBContainer.
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:567)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                              at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
                              at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
                         Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/ExcelFileAdapterModuleApplication in container EJBContainer.
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:621)
                              at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
                              at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
                              at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:552)
                              ... 10 more
                         Caused by: java.lang.NoClassDefFoundError: com/sap/aii/af/mp/module/Module
    Loader Info -
                         ClassLoader name: [Deployment:Runtime:sap.com/ExcelFileAdapterModuleApplication]
                          Parent loader name: [Frame ClassLoader]
                          References:
                            common:service:http;service:servlet_jsp
                            service:ejb
                            common:service:iiop;service:naming;service:p4;service:ts
                            service:jmsconnector
                            library:jsse
                            library:servlet
                            common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
                            library:ejb20
                            library:j2eeca
                            library:jms
                            library:opensql
                            common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
                            interface:resourcecontext_api
                            interface:webservices
                            interface:cross
                            interface:ejbserialization
                            library:com.sap.aii.ai.lib
                            service:com.sap.aii.adapter.xi.svc
                            service:com.sap.aii.af.svc
                            service:com.sap.aii.af.cpa.svc
                          Resources:
                            C:\usr\sap\XID\DVEBMGS00\j2ee\cluster\server0\temp\deploy\1188391830231
                            C:\usr\sap\XID\DVEBMGS00\j2ee\cluster\server0\temp\deploy\1188391830231\ExcelFileAdapterModule.jar
                          Loading model: {parent,references,local}
                         The error occurred while trying to load "com.kk.ExcelModule.GetExcelFileBean".
                              at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:401)
                              at com.sap.engine.services.ejb.deploy.verifier.CheckUtils.loadClass(CheckUtils.java:25)
                              at com.sap.engine.services.ejb.deploy.verifier.session.SessionBeanCheck.check(SessionBeanCheck.java:42)
                              at com.sap.engine.services.ejb.deploy.verifier.Verifier.checkBean(Verifier.java:82)
                              at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:46)
                              at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:254)
                              at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2161)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
                              ... 16 more
                         For detailed information see the log file of the Deploy Service.
    07/08/29 14:50:31 -  ***********************************************************
    Aug 29, 2007 2:50:31 PM  Info: End of log messages of the target system.
    Aug 29, 2007 2:50:31 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Aug 29, 2007 2:50:31 PM  Error: Aborted: development component 'ExcelFileAdapterModuleApplication'/'sap.com'/'localhost'/'2007.07.25.10.07.01'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/ExcelFileAdapterModuleApplication..
    Reason: Exception during generation of components of application sap.com/ExcelFileAdapterModuleApplication in container EJBContainer.; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/ExcelFileAdapterModuleApplication in container EJBContainer.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Aug 29, 2007 2:50:31 PM  Info: Starting to save the repository
    Aug 29, 2007 2:50:32 PM  Info: Finished saving the repository
    Aug 29, 2007 2:50:32 PM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Aug 29, 2007 2:50:32 PM  Error: -
    At least one of the Deployments failed -
    Message was edited by:
            Gwen Baert

    Hi,
    yesterday  i posted a message (cfr java.lang.NoSuchMethodError  
    Posted: Aug 28, 2007 10:54 AM )
    There was some advice that i don't have to watch out the error. Some told me it was concerning a anti-virus programme (which doesn't run in this environment)
    so i deploy it with this error :
    could someone guide me thru the solution?
    thx in advance , points will be given for good answers , i don't gave points at earlier post because it wasn't helpfull
    Gwen
    error message :
    29-aug-2007 12:50:32 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : sideshow-mel
    SDM port : 50018
    URL to deploy : file:/C:/Users/Admin/AppData/Local/Temp/temp13798ExcelFileAdapterModuleApplication.ear
    Result
    => deployment aborted : file:/C:/Users/Admin/AppData/Local/Temp/temp13798ExcelFileAdapterModuleApplication.ear
    Aborted: development component 'ExcelFileAdapterModuleApplication'/'sap.com'/'localhost'/'2007.07.25.10.07.01'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/ExcelFileAdapterModuleApplication.. Reason: Exception during generation of components of application sap.com/ExcelFileAdapterModuleApplication in container EJBContainer.; nested exception is:      com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/ExcelFileAdapterModuleApplication in container EJBContainer.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    additional information:
    29-aug-2007 12:50:32 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [001]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[C:\usr\sap\XID\DVEBMGS00\SDM\program\log\sdmcl20070829125021.log]/>
    <!PATTERN[sdmcl20070829125021.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[Cp1252]/>
    <!LOGHEADER[END]/>
    Aug 29, 2007 2:50:21 PM  Info: -
    Starting deployment -
    Aug 29, 2007 2:50:21 PM  Info: Error handling strategy: OnErrorStop
    Aug 29, 2007 2:50:21 PM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Aug 29, 2007 2:50:21 PM  Info: Update strategy: UpdateAllVersions
    Aug 29, 2007 2:50:21 PM  Info: Starting deployment prerequisites:
    Aug 29, 2007 2:50:24 PM  Info: Loading selected archives...
    Aug 29, 2007 2:50:24 PM  Info: Loading archive 'C:\usr\sap\XID\DVEBMGS00\SDM\program\temp\temp13798ExcelFileAdapterModuleApplication.ear'
    Aug 29, 2007 2:50:25 PM  Info: Selected archives successfully loaded.
    Aug 29, 2007 2:50:25 PM  Info: Actions per selected component:
    Aug 29, 2007 2:50:25 PM  Info: Initial deployment: Selected development component 'ExcelFileAdapterModuleApplication'/'sap.com'/'localhost'/'2007.07.25.10.07.01'/'0' will be deployed.
    Aug 29, 2007 2:50:25 PM  Info: Ending deployment prerequisites. All items are correct.
    Aug 29, 2007 2:50:25 PM  Error: Unable to compare host[sideshow-mel] and host[PC4D] Throwable: java.net.UnknownHostException Throwable message: PC4D
    Aug 29, 2007 2:50:25 PM  Info: Saved current Engine state.
    Aug 29, 2007 2:50:25 PM  Info: Starting: Initial deployment: Selected development component 'ExcelFileAdapterModuleApplication'/'sap.com'/'localhost'/'2007.07.25.10.07.01'/'0' will be deployed.
    Aug 29, 2007 2:50:25 PM  Info: SDA to be deployed: C:\usr\sap\XID\DVEBMGS00\SDM\root\origin\sap.com\ExcelFileAdapterModuleApplication\localhost\0\2007.07.25.10.07.01\temp13798ExcelFileAdapterModuleApplication.ear
    Aug 29, 2007 2:50:25 PM  Info: Software type of SDA: J2EE
    Aug 29, 2007 2:50:27 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Aug 29, 2007 2:50:28 PM  Error: Unable to compare host[sideshow-mel] and host[PC4D] Throwable: java.net.UnknownHostException Throwable message: PC4D
    Aug 29, 2007 2:50:31 PM  Info: Begin of log messages of the target system:
    07/08/29 14:50:28 -  ***********************************************************
    07/08/29 14:50:29 -  Start updating EAR file...
    07/08/29 14:50:29 -  start-up mode is lazy
    07/08/29 14:50:29 -  EAR file updated successfully for 125ms.
    07/08/29 14:50:29 -  Start deploying ...
    07/08/29 14:50:29 -  EAR file uploaded to server for 94ms.
    07/08/29 14:50:31 -  ERROR: Not deployed. Deploy Service returned ERROR:
                         java.rmi.RemoteException: Cannot deploy application sap.com/ExcelFileAdapterModuleApplication..
                         Reason: Exception during generation of components of application sap.com/ExcelFileAdapterModuleApplication in container EJBContainer.; nested exception is:
                              com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/ExcelFileAdapterModuleApplication in container EJBContainer.
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:567)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                              at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
                              at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
                         Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/ExcelFileAdapterModuleApplication in container EJBContainer.
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:621)
                              at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
                              at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
                              at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:552)
                              ... 10 more
                         Caused by: java.lang.NoClassDefFoundError: com/sap/aii/af/mp/module/Module
    Loader Info -
                         ClassLoader name: [Deployment:Runtime:sap.com/ExcelFileAdapterModuleApplication]
                          Parent loader name: [Frame ClassLoader]
                          References:
                            common:service:http;service:servlet_jsp
                            service:ejb
                            common:service:iiop;service:naming;service:p4;service:ts
                            service:jmsconnector
                            library:jsse
                            library:servlet
                            common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
                            library:ejb20
                            library:j2eeca
                            library:jms
                            library:opensql
                            common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
                            interface:resourcecontext_api
                            interface:webservices
                            interface:cross
                            interface:ejbserialization
                            library:com.sap.aii.ai.lib
                            service:com.sap.aii.adapter.xi.svc
                            service:com.sap.aii.af.svc
                            service:com.sap.aii.af.cpa.svc
                          Resources:
                            C:\usr\sap\XID\DVEBMGS00\j2ee\cluster\server0\temp\deploy\1188391830231
                            C:\usr\sap\XID\DVEBMGS00\j2ee\cluster\server0\temp\deploy\1188391830231\ExcelFileAdapterModule.jar
                          Loading model: {parent,references,local}
                         The error occurred while trying to load "com.kk.ExcelModule.GetExcelFileBean".
                              at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:401)
                              at com.sap.engine.services.ejb.deploy.verifier.CheckUtils.loadClass(CheckUtils.java:25)
                              at com.sap.engine.services.ejb.deploy.verifier.session.SessionBeanCheck.check(SessionBeanCheck.java:42)
                              at com.sap.engine.services.ejb.deploy.verifier.Verifier.checkBean(Verifier.java:82)
                              at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:46)
                              at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:254)
                              at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2161)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
                              ... 16 more
                         For detailed information see the log file of the Deploy Service.
    07/08/29 14:50:31 -  ***********************************************************
    Aug 29, 2007 2:50:31 PM  Info: End of log messages of the target system.
    Aug 29, 2007 2:50:31 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Aug 29, 2007 2:50:31 PM  Error: Aborted: development component 'ExcelFileAdapterModuleApplication'/'sap.com'/'localhost'/'2007.07.25.10.07.01'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/ExcelFileAdapterModuleApplication..
    Reason: Exception during generation of components of application sap.com/ExcelFileAdapterModuleApplication in container EJBContainer.; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/ExcelFileAdapterModuleApplication in container EJBContainer.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Aug 29, 2007 2:50:31 PM  Info: Starting to save the repository
    Aug 29, 2007 2:50:32 PM  Info: Finished saving the repository
    Aug 29, 2007 2:50:32 PM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Aug 29, 2007 2:50:32 PM  Error: -
    At least one of the Deployments failed -
    Message was edited by:
            Gwen Baert

  • I did write a simple java program but it is not working please help me.....

    This is the program I wrote LineRect just to draw a line a rectangle etc...... Y it is not working How can i used the same program to run without using applet that is by using awt and swing.........Pls Help me.............
    import java.awt.*;
    import java.io.*;
    public class LineRect
    {public void paint(Graphics g)
         {g.drawLine(10,10, 50,50);
         g.drawRect(10, 60, 40,30);
         g.fillRect(60,10,30,80);
         g.drawRoundRect(10,100,80,50,10,10);
         g.fillRoundRect(20,110,60,30,5,5);
         g.drawLine(100,10,230,140);
         g.drawLine(100,140,230,10);
    <APPLET
    CODE =LineRect.class
    WIDTH=250
    HEIGHT=200>
    </APPLET>

    There are many significant errors here for instance you are using a class file as if it were an applet yet you do not subclass applet. Your code has no init method (if it is to be an applet). Your best bet is to go through the tutorials one step at a time. One thing to consider is to subclass a JPanel and draw on the jpanel overriding the paintComponent method. This can then be added to a JFrame or a JApplet's contentPane and would allow the same graphics in both. But again, please study the tutorials on all of this, otherwise you will be doing hit-or-miss programming, and that is no way to learn.
    Much luck!
    Addendum: Also, if you are just beginning in Java programming, I suggest you start with the basics and not with Swing / AWT / graphics programming. Otherwise you will just end up bruised and disappointed. You have to learn to walk before you can run.
    Edited by: Encephalopathic on Dec 26, 2007 5:09 AM

  • JNI Invocation: open file in Java, write file in CPP

    Hello,
    Warning: I am a dunce, bad CPP code ahead!
    Using JNI invocation, I am trying to read a binary file in Java and write it in CPP.
    Everything compiles and runs without error, but the input and output jpg files are of course different.
    TIA to any help,
    kirst
    (begin ByteMe.java)
    import java.io.*;
    public class ByteMe
        // Returns the contents of the file in a byte array.
        public byte[] getBytesFromFile(String strInfo) throws IOException
            System.out.println("Testing:" + strInfo);
            File file = new File("1.jpg");
            InputStream is = new FileInputStream(file);
            // Get the size of the file
            long length = file.length();
            // Create the byte array to hold the data
            byte[] bytes = new byte[(int)length];
            // Read in the bytes
            int offset = 0;
            int numRead = 0;
            while (offset < bytes.length
                   && (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) {
                offset += numRead;
            // Ensure all the bytes have been read in
            if (offset < bytes.length)
                throw new IOException("Could not completely read file "+file.getName());
            // Close the input stream and return bytes
            is.close();
            return bytes;
        public ByteMe()
              //System.out.println("in constructor");
    }(end ByteMe.java)
    (begin ByteMe.cpp)
    #include <stdlib.h>
    #include <string.h>
    #include <jni.h>
    #include <windows.h>
    // for file operations:
    #include <fstream>
    int main( int argc, char *argv[] )
         JNIEnv *env;
         JavaVM *jvm;
         JavaVMInitArgs vm_args;
         JavaVMOption options[5];
         jint res;
         jclass cls;
         jmethodID mid;
         jstring jstr;
         jobject obj_print;
         options[0].optionString = "-Xms4M";
         options[1].optionString = "-Xmx64M";
         options[2].optionString = "-Xss512K";
         options[3].optionString = "-Xoss400K";
         options[4].optionString = "-Djava.class.path=.";
         vm_args.version = JNI_VERSION_1_4;
         vm_args.options = options;
         vm_args.nOptions = 5;
         vm_args.ignoreUnrecognized = JNI_FALSE;
         // Create the Java VM
         res = JNI_CreateJavaVM(&jvm,(void**)&env,&vm_args);
         if (res < 0)
              printf("Can't create Java VM");
              goto destroy;
         cls = env->FindClass("ByteMe");
         if (cls == 0)
              printf("Can't find ByteMe class");
              goto destroy;
         jmethodID id_construct = env->GetMethodID(cls,"<init>","()V");
         jstr = env->NewStringUTF(" from C++\n");
         obj_print = env->NewObject(cls,id_construct);
         // signature obtained using javap -s -p ByteMe
         mid = env->GetMethodID(cls, "getBytesFromFile", "(Ljava/lang/String;)[B");
         if (mid == 0)
              printf("Can't find ByteMe.getBytesFromFile\n");
              goto destroy;
         else
              jbyteArray jbuf = (jbyteArray) env->CallObjectMethod(obj_print,mid,jstr);
              jlong size = jsize(jbuf);
              printf("size is: %d\n", size); // size shown in output is
              std::ofstream out("data.jpg", std::ios::binary);
              out.write ((const char *)jbuf, 100000);     
         destroy:
             if (env->ExceptionOccurred())
                env->ExceptionDescribe();
        jvm->DestroyJavaVM();
    }(end ByteMe.cpp)

    Hello,
    Me again. Well, not such a dunce after all. Here is code that works correctly, and compiles with no errors and no warnings.
    Will much appreciate help with clean-up code.
    TIA,
    kirst
    (begin ByteMe.java)
    import java.io.*;
    public class ByteMe
        public long getFilezize(String strInfo) throws IOException
              // demonstrates String parameter passed from CPP to Java:
              System.out.println("(getFilesize) Hello world" + strInfo);
              File file = new File("1.bmp");
              InputStream is = new FileInputStream(file);
              // Get the size of the file
              long length = file.length();
              is.close();
              return length;
        // Returns the contents of the file in a byte array.
        public byte[] getBytesFromFile(String strInfo) throws IOException
            System.out.println("(getBytesFromFile) Hello world" + strInfo);
            File file = new File("1.bmp");
            InputStream is = new FileInputStream(file);
            // Get the size of the file
            long length = file.length();
            System.out.println("length is: " + String.valueOf(length));
            // Create the byte array to hold the data
            byte[] bytes = new byte[(int)length];
            // Read in the bytes
            int offset = 0;
            int numRead = 0;
            while (offset < bytes.length && (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0)
                offset += numRead;
            // Ensure all the bytes have been read in
            if (offset < bytes.length)
                throw new IOException("Could not completely read file "+ file.getName());
            // Close the input stream and return bytes
            is.close();
            return bytes;
        public ByteMe()
              //System.out.println("in constructor");
    }(end ByteMe.java)
    (begin ByteMe.cpp)
              Signature obtained with command:
                   "C:\Program Files\Java\jdk1.5.0_15\bin\javap.exe" -s -p ByteMe
                   Compiled from "ByteMe.java"
                   public class ByteMe extends java.lang.Object{
                   public long getFilezize(java.lang.String)   throws java.io.IOException;
                     Signature: (Ljava/lang/String;)J
                   public byte[] getBytesFromFile(java.lang.String)   throws java.io.IOException;
                     Signature: (Ljava/lang/String;)[B
                   public ByteMe();
                     Signature: ()V
         Compiled VC++ 2005 Express, run on Vista
    #include <stdlib.h>
    #include <string.h>
    #include <jni.h>
    // file operations
    #include <fstream>
    int main( int argc, char *argv[] )
         JNIEnv *env;
         JavaVM *jvm;
         JavaVMInitArgs vm_args;
         JavaVMOption options[5];
         jint res;
         jclass cls;
         jmethodID mid;
         jmethodID sizeid;
         jstring jstr;
         jobject obj_print;
         jlong filesize;
         options[0].optionString = "-Xms4M";
         options[1].optionString = "-Xmx64M";
         options[2].optionString = "-Xss512K";
         options[3].optionString = "-Xoss400K";
         options[4].optionString = "-Djava.class.path=.";
         vm_args.version = JNI_VERSION_1_4;
         vm_args.options = options;
         vm_args.nOptions = 5;
         vm_args.ignoreUnrecognized = JNI_FALSE;
         // Create the Java VM
         res = JNI_CreateJavaVM(&jvm,(void**)&env,&vm_args);
         if (res < 0)
              printf("Can't create Java VM");
              goto destroy;
         cls = env->FindClass("ByteMe");
         if (cls == 0)
              printf("Can't find ByteMe class");
              goto destroy;
         jmethodID id_construct = env->GetMethodID(cls,"<init>","()V");
         printf("%s\n",id_construct);
         jstr = env->NewStringUTF(" from C++!\n");
         if (jstr == 0)
              // Normally not useful
              printf("Out of memory (could not instantiate new string jstr)\n");
              goto destroy;
         obj_print = env->NewObject(cls,id_construct);
         //BEGIN BLOCK to get file size
         sizeid = env->GetMethodID(cls, "getFilezize", "(Ljava/lang/String;)J");
         if (sizeid == 0)
              printf("Can't find ByteMe.getFilezize\n");
              goto destroy;
         else
              printf("got here\n");
              filesize =(jlong) env->CallObjectMethod(obj_print,sizeid,jstr);
              printf("got filesize\n");
         // END BLOCK to get file size
         // BEGIN BLOCK to write file
         mid = env->GetMethodID(cls, "getBytesFromFile", "(Ljava/lang/String;)[B");
         if (mid == 0)
              printf("Can't find ByteMe.getBytesFromFile\n");
              goto destroy;
         else
              jbyteArray ret =(jbyteArray) env->CallObjectMethod(obj_print,mid,jstr);
              // Access the bytes:
              jbyte *retdata = env->GetByteArrayElements(ret, NULL);
              // write the file
              std::ofstream out("data.bmp", std::ios::binary);
              //out.write ((const char *)retdata, 921654);
              out.write ((const char *)retdata, (long)filesize);
         // END BLOCK to write file
         destroy:
             if (env->ExceptionOccurred())
                env->ExceptionDescribe();
        jvm->DestroyJavaVM();
    }(end ByteMe.cpp)

  • Error while updating JAVA stack patchs

    hi i was updating JAVA stack patches from JSPM. and i got this error
    10/12/09 15:53:33 -  Start updating EAR file...
    10/12/09 15:53:33 -  start-up mode is lazy
    10/12/09 15:53:33 -  EAR file updated successfully for 118ms.
    10/12/09 15:53:33 -  Start deploying ...
    10/12/09 15:53:41 -  EAR file uploaded to server for 7537ms.
    10/12/09 15:53:43 -  ERROR: Not deployed. Deploy Service returned ERROR:
                         java.rmi.RemoteException: Cannot deploy application sap.com/tcwdsamplestestsuiteuuie..
                         Reason: Clusterwide exception: Failed to deploy application sap.com/tcwdsamplestestsuiteuuie. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:
                            com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application sap.com/tcwdsamplestestsuiteuuie. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
                            at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:569)
                            at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
                            at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:330)
                            at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:201)
                            at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:137)
                            at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                            at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                            at java.security.AccessController.doPrivileged(AccessController.java:207)
                            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
                            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
                         Caused by: com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application sap.com/tcwdsamplestestsuiteuuie. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
                            at com.sap.engine.services.webdynpro.WebDynproContainer.deploy(WebDynproContainer.java:1052)
                            at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
                            at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
                            at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
                            at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
                            at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
                            at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3187)
                            at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:554)
                            at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
                            at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:330)
                            at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:201)
                            at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:137)
                            at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                            at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                            at java.security.AccessController.doPrivileged(AccessController.java:207)
                            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
                            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    predecessor system -
                         com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application sap.com/tcwdsamplestestsuiteuuie. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
                            at com.sap.engine.services.webdynpro.WebDynproContainer.deploy(WebDynproContainer.java:1052)
                            at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
                            at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
                            at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
                            at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
                            at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
                            at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3187)
                            at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:554)
                            at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
                            at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:330)
                            at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:201)
                            at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:137)
                            at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                            at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                            at java.security.AccessController.doPrivileged(AccessController.java:207)
                            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
                            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
                         For detailed information see the log file of the Deploy Service.
    10/12/09 15:53:43 -  ***********************************************************
    Dec 9, 2010 3:53:43 PM   Info: End of log messages of the target system.
    Dec 9, 2010 3:53:43 PM   Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Dec 9, 2010 3:53:43 PM   Error: Aborted: development component 'tc/wd/samples/testsuite/uuie'/'sap.com'/'SAP AG'/'7.0013.20070703112808.0000'/'8', grouped by software component 'SAP_JTECHS'/'sap.com'/'SAP AG'/'1000.7.00.21.0.20091214121635''/'7':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/tcwdsamplestestsuiteuuie..
    Reason: Clusterwide exception: Failed to deploy application sap.com/tcwdsamplestestsuiteuuie. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:
            com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application sap.com/tcwdsamplestestsuiteuuie. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Dec 9, 2010 3:53:43 PM   Info: Starting to save the repository
    Dec 9, 2010 3:53:43 PM   Info: Finished saving the repository for 205 ms.
    Dec 9, 2010 3:53:43 PM   Info: Starting: Initial deployment: Selected software component 'SAP_JTECHS'/'sap.com'/'SAP AG'/'1000.7.00.21.0.20091214121635''/'7' will be deployed.
    Dec 9, 2010 3:53:43 PM   Error: Aborted: software component 'SAP_JTECHS'/'sap.com'/'SAP AG'/'1000.7.00.21.0.20091214121635''/'7':
    Failed deployment of SDAs:
    development component 'tc/wd/samples/testsuite/uuie'/'sap.com'/'SAP AG'/'7.0013.20070703112808.0000'/'8' : aborted
    Please, look at error logs above for more information!
    Dec 9, 2010 3:53:43 PM   Info: Starting to save the repository
    Dec 9, 2010 3:53:43 PM   Info: Finished saving the repository for 209 ms.
    Dec 9, 2010 3:53:43 PM   Info: Starting: Update: Selected software component 'BI_UDI'/'sap.com'/'SAP AG'/'1000.7.00.21.0.20091214120518''/'7' updates currently deployed software component 'BI_UDI'/'sap.com'/'SAP AG'/'1000.7.00.14.0.20071210170522''/'0'.
    Dec 9, 2010 3:53:43 PM   Error: Aborted: software component 'BI_UDI'/'sap.com'/'SAP AG'/'1000.7.00.21.0.20091214120518''/'7':
    No further description found.
    Dec 9, 2010 3:53:43 PM   Info: Starting to save the repository
    Dec 9, 2010 3:53:44 PM   Info: Finished saving the repository for 313 ms.
    Dec 9, 2010 3:53:44 PM   Info: Starting: Update: Selected software component 'CAF'/'sap.com'/'MAIN_APL70P21_C'/'1000.7.00.21.0.20100118105934''/'7' updates currently deployed software component 'CAF'/'sap.com'/'MAIN_APL70VAL_C'/'1000.7.00.14.0.20071210162941''/'0'.
    Dec 9, 2010 3:53:44 PM   Error: Aborted: software component 'CAF'/'sap.com'/'MAIN_APL70P21_C'/'1000.7.00.21.0.20100118105934''/'7':
    No further description found.
    Dec 9, 2010 3:53:44 PM   Info: Starting to save the repository
    Dec 9, 2010 3:53:44 PM   Info: Finished saving the repository for 229 ms.
    Dec 9, 2010 3:53:44 PM   Info: Starting: Update: Selected software component 'EP-PSERV'/'sap.com'/'SAP AG'/'1000.7.00.21.0.20100122081155''/'5' updates currently deployed software component 'EP-PSERV'/'sap.com'/'SAP AG'/'1000.7.00.14.0.20071210193159''/'0'.
    Dec 9, 2010 3:53:44 PM   Error: Aborted: software component 'EP-PSERV'/'sap.com'/'SAP AG'/'1000.7.00.21.0.20100122081155''/'5':
    No further description found.
    Dec 9, 2010 3:53:44 PM   Info: Starting to save the repository
    Dec 9, 2010 3:53:44 PM   Info: Finished saving the repository for 210 ms.
    Dec 9, 2010 3:53:44 PM   Info: Starting: Update: Selected software component 'LM-TOOLS'/'sap.com'/'MAIN_APL70P21_C'/'1000.7.00.21.0.20100118110644''/'7' updates currently deployed software component 'LM-TOOLS'/'sap.com'/'MAIN_APL70P14_C'/'1000.7.00.14.1.20080124101556''/'0'.
    Dec 9, 2010 3:53:44 PM   Error: Aborted: software component 'LM-TOOLS'/'sap.com'/'MAIN_APL70P21_C'/'1000.7.00.21.0.20100118110644''/'7':
    No further description found.
    Dec 9, 2010 3:53:44 PM   Info: Starting to save the repository
    Dec 9, 2010 3:53:45 PM   Info: Finished saving the repository for 353 ms.
    Dec 9, 2010 3:53:45 PM   Info: Starting: Update: Selected software component 'UWLJWF'/'sap.com'/'SAP AG'/'1000.7.00.21.0.20091214204516''/'5' updates currently deployed software component 'UWLJWF'/'sap.com'/'SAP AG'/'1000.7.00.14.0.20071210194048''/'0'.
    Dec 9, 2010 3:53:45 PM   Error: Aborted: software component 'UWLJWF'/'sap.com'/'SAP AG'/'1000.7.00.21.0.20091214204516''/'5':
    No further description found.
    Dec 9, 2010 3:53:45 PM   Info: Starting to save the repository
    Dec 9, 2010 3:53:45 PM   Info: Finished saving the repository for 213 ms.
    Dec 9, 2010 3:53:45 PM   Info: Starting: Update: Selected software component 'SAP-EU'/'sap.com'/'MAIN_APL70P21_C'/'1000.7.00.21.0.20100118101502''/'5' updates currently deployed software component 'SAP-EU'/'sap.com'/'MAIN_APL70VAL_C'/'1000.7.00.14.0.20071210153525''/'0'.
    Dec 9, 2010 3:53:45 PM   Error: Aborted: software component 'SAP-EU'/'sap.com'/'MAIN_APL70P21_C'/'1000.7.00.21.0.20100118101502''/'5':
    No further description found.
    Dec 9, 2010 3:53:45 PM   Info: Starting to save the repository
    Dec 9, 2010 3:53:45 PM   Info: Finished saving the repository for 213 ms.
    Dec 9, 2010 3:53:45 PM   Info: Starting: Update: Selected software component 'VCFLEX'/'sap.com'/'SAP AG'/'1000.7.00.21.0.20091214204617''/'5' updates currently deployed software component 'VCFLEX'/'sap.com'/'SAP AG'/'1000.7.00.14.0.20071210153724''/'0'.
    Dec 9, 2010 3:53:45 PM   Error: Aborted: software component 'VCFLEX'/'sap.com'/'SAP AG'/'1000.7.00.21.0.20091214204617''/'5':
    No further description found.
    Dec 9, 2010 3:53:45 PM   Info: Starting to save the repository
    Dec 9, 2010 3:53:45 PM   Info: Finished saving the repository for 331 ms.
    Dec 9, 2010 3:53:45 PM   Info: Starting: Update: Selected software component 'VCFRAMEWORK'/'sap.com'/'SAP AG'/'1000.7.00.21.0.20091214204625''/'5' updates currently deployed software component 'VCFRAMEWORK'/'sap.com'/'SAP AG'/'1000.7.00.14.0.20071210153730''/'0'.
    Dec 9, 2010 3:53:45 PM   Error: Aborted: software component 'VCFRAMEWORK'/'sap.com'/'SAP AG'/'1000.7.00.21.0.20091214204625''/'5':
    No further description found.
    Dec 9, 2010 3:53:45 PM   Info: Starting to save the repository
    Dec 9, 2010 3:53:46 PM   Info: Finished saving the repository for 230 ms.
    Dec 9, 2010 3:53:46 PM   Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Dec 9, 2010 3:53:46 PM   Error: -
    At least one of the Deployments failed -
    lgsep:/usr/sap/LEP/JC00/SDM/program/log #

    Hi ,
    Please check :
    https://wiki.sdn.sap.com/wiki/display/WDJava/Clusterwideexception-FailedtodeployWebDynprocontentforapplication
    Regards,
    Nibu Antony
    Edited by: Nibu Antony on Dec 13, 2010 2:52 PM

  • Java Heap Space error while reading from Excel

    Hello,
    I have a data flow which reads from excel and updates records in an oracle table.
    When the data flow tries to read the excel I get a java Heap space Error.
    Error preparing to read <SUPP_STG3_FILE1>: <Java heap space>.
    Data flow <DF_SUPP_STG3_UPD> is terminated due to error <58105>.
    I have configured Excel Adapter since the server is on UNIX. BOExcelAdapter shows status as red once the execution fails. Before that BOExcel adapter status is green.
    BOExcelAdapter Trace:
    1/13/12 10:57:38 PM Thread[Thread-6,5,main]      Received an error message from the message broker. [Communication failure. Read timed out]. Will exit adapter immediately.
    1/13/12 10:57:47 PM Thread[main,5,main]      Create broker client for life-cycle management. Host:port = hikalxboes01:4001
    1/13/12 10:57:47 PM Thread[main,5,main]      Create broker client for data exchange with ASP. Host:port = hikalxboes01:4001. Client ID = com.acta.adapter.msexceladapter.MSExcelAdapter.data_18
    1/13/12 10:57:47 PM Thread[Thread-11,5,main]      Create broker client for real-time services with ASP. Host:port = 'hikalxboes01:4000''.
    1/13/12 10:57:47 PM Thread[Thread-11,5,main]      Start instance [BOExcelAdapter] of adapter [com.acta.adapter.msexceladapter.MSExcelAdapter].
    1/13/12 10:57:47 PM Thread[Thread-11,5,main]      Register the client ID [com.acta.adapter.msexceladapter.MSExcelAdapter.data_18] and adapter destination [hikalxboes01:4001] with the adapter manager.
    1/13/12 10:57:47 PM Thread[Thread-11,5,main]      Registration complete.
    1/13/12 10:58:10 PM Thread[Thread-10,5,main]      java.lang.OutOfMemoryError: Java heap space
         at org.apache.poi.hssf.usermodel.HSSFRow.addCell(HSSFRow.java:273)
         at org.apache.poi.hssf.usermodel.HSSFRow.createCellFromRecord(HSSFRow.java:196)
         at org.apache.poi.hssf.usermodel.HSSFSheet.setPropertiesFromSheet(HSSFSheet.java:183)
         at org.apache.poi.hssf.usermodel.HSSFSheet.<init>(HSSFSheet.java:128)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:283)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:196)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:178)
         at com.acta.adapter.msexceladapter.MSExcelAdapterReadTable.begin(MSExcelAdapterReadTable.java:537)
         at com.acta.adapter.sdk.StreamOperationWrapper.beginStream(StreamOperationWrapper.java:88)
         at com.acta.adapter.sdk.AdapterRunnerImpl.processBeginOperation(AdapterRunnerImpl.java:1762)
         at com.acta.adapter.sdk.AdapterServiceDataListener.handleBrokerMessage(AdapterServiceDataListener.java:90)
         at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:439)
         at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:53)
         at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1621)
         at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:100)
    BOExcelAdapter Error Log:
    1/13/12 10:58:10 PM      java.lang.OutOfMemoryError: Java heap space
         at org.apache.poi.hssf.usermodel.HSSFRow.addCell(HSSFRow.java:273)
         at org.apache.poi.hssf.usermodel.HSSFRow.createCellFromRecord(HSSFRow.java:196)
         at org.apache.poi.hssf.usermodel.HSSFSheet.setPropertiesFromSheet(HSSFSheet.java:183)
         at org.apache.poi.hssf.usermodel.HSSFSheet.<init>(HSSFSheet.java:128)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:283)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:196)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:178)
         at com.acta.adapter.msexceladapter.MSExcelAdapterReadTable.begin(MSExcelAdapterReadTable.java:537)
         at com.acta.adapter.sdk.StreamOperationWrapper.beginStream(StreamOperationWrapper.java:88)
         at com.acta.adapter.sdk.AdapterRunnerImpl.processBeginOperation(AdapterRunnerImpl.java:1762)
         at com.acta.adapter.sdk.AdapterServiceDataListener.handleBrokerMessage(AdapterServiceDataListener.java:90)
         at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:439)
         at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:53)
         at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1621)
         at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:100)

    As Jay mentioned above it might be due to the size of the Excel spreadsheet as you might be hitting the limitation in Apache POI library used for adapter.
    What is the size of the Excel file?
    What is the value of -Xmx parameter - see DS Management Console > Adapter configuration page.
    Thank you,
    Viacheslav.

  • How to open java files in a java project

    hi ,
    i have to implement a java program analyzer and now i have implement a java parser using javaCC. My parser parse a java file at a time and i have to read and parse all java files in a java project. my idea is to enter
    java project name *.jpx as an input and search java files in project and parse them one by one, or , to enter the folder path of java source files of project and parse them.
    i am a beginer of java language and i don't know where to start to do it.
    is there someone tell me which way is easier and better for my case and some ways to implement it. i search sample files that is similar to my case but i cannot find any.
    thanks in advance.
    ami

    if u don't mind , can u tell me which tutorial i
    should read for that? http://java.sun.com/docs/books/tutorial/essential/io/
    This... for example.
    xH4x0r

  • How to go through java ???

    hi frds !!!
    i am beginer fof java .
    i want to learn core java , advance java ,and j2ee .
    i want to learn why should any one go for this technology ???
    i dont know from where to start .
    please help me .
    send me some documentation pdf files on my mail
    regarding core java , advance java and j2ee my mail address is [email protected]
    thank you .

    Check out the links uder Resources for Beginners at
    http://www.thejword.com/3.html#beginner_resources

  • ANSWER: HOW TO DETECT Java Plugin from JavaScript

    I created a new topic because the questions about
    how to detect Java Plugin in browsers are scattered
    thoughout this forum.
    Basically you need to employ two approaches for IE and NS.
    In IE you need to try to instantiate a small applet
    (not your production applet) in order to see if browser
    can do it. if the browser can do it, you can make a
    call applet from JavaScript in order to find version of
    JRE (as well as a host of other things).
    In NS you can write a simple JavaScript which will
    interrogate the browser for all plugins installed. Then
    ypu can make a desicion whether to pass execution to
    the next(or generated) page which hosts your applet,
    or ask the user to download/install a plugin.
    I ecourage everybody to host a plugin on your site
    rather leave default link to it which is generated by
    html converter.
    In order to run sample,
    Prerequisites:
    Java Plugin 1.3.
    If you have a different version of plugin,
    substitute hardcoded plugin version in JavaScript for
    value that you have.
    1. compile java file
    2. put class file in the same directory with html file
    3. load html file into the browser.
    4. press "Check Java Plugin.." button
    5. see it work
    6. examine code
    7. uninstall plugin
    8. repeat steps 1 - 4
    9. see it work
    10. install plugin.
    Sample code follows:
    **********************HTML FILE BEGIN***********
    <HTML>
    <HEAD>
    <!-- Generated by Kawa IDE -->
    <TITLE>Detect Java Runtime</TITLE>
    </HEAD>
    <SCRIPT LANGUAGE="JavaScript">
    var browsername;
    function doNetscape()
    for (i=0; i < navigator.plugins.length; i++)
    for (j = 0; j < navigator.plugins.length; j++)
    if(navigator.plugins[i][j].type == "application/x-java-applet;version=1.3")
    alert("You are running Netscape with Java Plugin 1.3.0 - OK");
    return;
    alert("You are running Netscape\nPlease, install Java Runtime Environment 1.3.0");
    function doMicrosoft()
    var applet = document.myApplet;
    if(applet == null)
    alert("You are running Microsoft Browser.\nPlease, install Java Runtime Environment 1.3.0");
    return;
    var version = applet.getJavaVersion();
    if(version == "1.3.0")
    alert("You are running IE, Java Plugin 1.3.0 installed - OK");
    else
    alert("You are running IE, other plugin installed - mybe OK if later that 1.3.0\nYour version: " + version);
    function getJava()
    var applet = document.myApplet;
    if(applet == null)
    alert("Please, install Java Runtime Environment");
    return;
         alert("JRE Version: " + document.myApplet.getJavaVersion());
    function checkJavaPlugin()
         browsername = navigator.appName;
         if(browsername.indexOf("Netscape")!= -1)
              browsername="NS";
              doNetscape();
         else
              if(browsername.indexOf("Microsoft")!=-1)
                   browsername="MSIE";
                   doMicrosoft();
              else
                   browsername="N/A";
                   alert("Unknown browser: " + browsername);
    </SCRIPT>
    <body>
    <Strong>Check Java Plugin</strong>
    <OBJECT id="myApplet" classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
         WIDTH = 1
         HEIGHT = 1 >
         <PARAM NAME = CODE VALUE = "DetectPluginApplet.class" >
         <PARAM NAME="scriptable" VALUE="true" >
         <embed type="application/x-java-applet;version=1.3"
              code = DetectPluginApplet width = 2 height = 2 MAYSCRIPT = "true" >
         </embed>
         </EMBED>
    </object>
    <FORM>
         <INPUT TYPE="button" value="Get Plugin Version in IE" onClick="getJava()">
         <INPUT TYPE="button" value="Check Java Plugin in NS and IE" onClick="javascript:checkJavaPlugin()">
    </FORM>
    </BODY>
    </HTML>
    **********************HTML FILE END***********
    ***************APPLET FILE BEGIN***********
    import java.awt.*;
    public class DetectPluginApplet extends java.applet.Applet
         public void init()
              add(new Label("DetectPluginApplet"));
    public String getJavaVersion()
    return System.getProperty("java.version");
    **************APPLLET FILE END************

    Try following java script, it works on new browsers (NS 4+, IE5+). For IE you have to enable 'ActiveX objects creation' in security options.
    var agt=navigator.userAgent.toLowerCase();
    var is_major = parseInt(navigator.appVersion);
    var is_nav = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
    && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
    && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1));
    var is_nav4up = (is_nav && (is_major >= 4));
    var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
    var is_ie5 = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")!=-1) );
    var is_ie5_5 = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.5") !=-1));
    var is_ie6 = (is_ie && (is_major == 4) && (agt.indexOf("msie 6.0") !=-1));
    var is_ie5up = (is_ie && (is_major == 4)
    && ( (agt.indexOf("msie 5.0")!=-1)
    || (agt.indexOf("msie 5.5")!=-1)
    || (agt.indexOf("msie 6.0")!=-1) ) );
    var pluginDetected = false;
    var activeXDisabled = false;
    // we can check for plugin existence only when browser is 'is_ie5up' or 'is_nav4up'
    if(is_nav4up) {
    // Refresh 'navigator.plugins' to get newly installed plugins.
    // Use 'navigator.plugins.refresh(false)' to refresh plugins
    // without refreshing open documents (browser windows)
    if(navigator.plugins) {
    navigator.plugins.refresh(false);
    // check for Java plugin in installed plugins
    if(navigator.mimeTypes) {
    for (i=0; i < navigator.mimeTypes.length; i++) {
    if( (navigator.mimeTypes[ i].type != null)
    && (navigator.mimeTypes[ i].type.indexOf(
    "application/x-java-applet;jpi-version=1.3") != -1) ) {
    pluginDetected = true;
    break;
    } else if (is_ie5up) {
    var javaVersion;
    var shell;
    try {
    // Create WSH(WindowsScriptHost) shell, available on Windows only
    shell = new ActiveXObject("WScript.Shell");
    if (shell != null) {
    // Read JRE version from Window Registry
    try {
    javaVersion = shell.regRead("HKEY_LOCAL_MACHINE\\Software\\JavaSoft\\Java Runtime Environment\\CurrentVersion");
    } catch(e) {
    // handle exceptions raised by 'shell.regRead(...)' here
    // so that the outer try-catch block would receive only
    // exceptions raised by 'shell = new ActiveXObject(...)'
    } catch(e) {
    // Creating ActiveX controls thru script is disabled
    // in InternetExplorer security options
    // To enable it:
    // a. Go to the 'Tools --> Internet Options' menu
    // b. Select the 'Security' tab
    // c. Select zone (Internet/Intranet)
    // d. Click the 'Custom Level..' button which will display the
    // 'Security Settings' window.
    // e. Enable the option 'Initialize and script ActiveX controls
    // not marked as safe'
    activeXDisabled = true;
    // Check whether we got required (1.3+) Java Plugin
    if ( (javaVersion != null) && (javaVersion.indexOf("1.3") != -1) ) {
    pluginDetected = true;
    if (pluginDetected) {
    // show applet page
    } else if (confirm("Java Plugin 1.3+ not found, Do you want to download it?")) {
    // show install page
    } else {
    // show error page
    }

  • Installing Java and Eclipse - its got to be easy, hasnt it?

    Hello all
    I dont know how ive got into this mess but all I know is it doesnt work
    I want to download Eclipse and have it run on my home XP computer - we use it at uni on linux machines.
    I went to the eclipse site and downloaded it - but the zip directory you download has no installation file. so i unzipped it and double click on the Eclipse icon. it came up with saying there is a problem, see the log file (it doesnt even come up with anything else, jst that message)
    I looked on the eclipse help and it says I need a java jdk or jre something. ive downloaded a few of those.
    its got to be something simple - please excuse my stupidness as its bound to be something obvious
    log files on request
    thanks in advance
    iain

    ive run it a few times but that was the most recent one
    i think thats the logs anyway
    !SESSION Apr 29, 2005 19:57:27.953 ---------------------------------------------
    eclipse.buildId=M200503110845
    java.version=1.3.1_15
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
    !ENTRY org.eclipse.osgi Apr 29, 2005 19:57:27.968
    !MESSAGE Error registering XML parser services.
    !STACK 0
    java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory
         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 java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at org.eclipse.core.runtime.adaptor.EclipseAdaptor.registerEndorsedXMLParser(EclipseAdaptor.java:272)
         at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStart(EclipseAdaptor.java:253)
         at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:61)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:958)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:954)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:937)
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:553)
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:477)
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:273)
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:243)
         at org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:166)
         at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:425)
         at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:216)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:127)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
         at org.eclipse.core.launcher.Main.run(Main.java:704)
         at org.eclipse.core.launcher.Main.main(Main.java:688)
    !ENTRY org.eclipse.osgi Apr 29, 2005 19:57:28.31
    !MESSAGE Startup error
    !STACK 1
    java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler
         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 java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at org.eclipse.core.runtime.adaptor.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:557)
         at org.eclipse.core.runtime.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:111)
         at org.eclipse.core.runtime.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:660)
         at org.eclipse.core.runtime.adaptor.EclipseBundleData.generateManifest(EclipseBundleData.java:233)
         at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadManifest(EclipseBundleData.java:191)
         at org.eclipse.core.runtime.adaptor.EclipseBundleData.getManifest(EclipseBundleData.java:159)
         at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadFromManifest(EclipseBundleData.java:280)
         at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultBundleData.initializeNewBundle(DefaultBundleData.java:77)
         at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultAdaptor$1.begin(DefaultAdaptor.java:451)
         at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:746)
         at org.eclipse.osgi.framework.internal.core.Framework$2.run(Framework.java:664)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:715)
         at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:659)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:219)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:800)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:429)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:222)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:127)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
         at org.eclipse.core.launcher.Main.run(Main.java:704)
         at org.eclipse.core.launcher.Main.main(Main.java:688)
    !ENTRY org.eclipse.osgi Apr 29, 2005 19:57:28.46
    !MESSAGE Bundle initial@reference:file:c:/Program Files/Programming/Eclipse/eclipse/plugins/org.eclipse.core.runtime_3.0.2/ [1] was not resolved.

Maybe you are looking for

  • External widescreen monitor not working properly

    Hi! i have an LG Flatron 2243S monitor and i just hooked it up to my late 2011 macbook pro 15" through the mini display port and vga cable since the monitor does not have DVI input, Im having issues with the resolution it shows. if i put it in 1920x1

  • Anyone know how to measure multiple file selections in a finder window?

    Hello, I have a flash drive that holds 8gbs. I have an enormous folder of images I am going to start passing to my buddy on the flash drive. Anybody know how I can select multiple files and know how big the selection will be prior to dragging them to

  • Request for MT 4 apps

    Would love to have META TRADER Apps in my BB z10  Solved! Go to Solution.

  • Accessing method of used compoent from a using component

    hi i have a USED component which implements a interface and its method display_flights. now i want to call this method from USING component. i have written the below coode lr_interfacecontroller TYPE REF TO ZIWCI_COMP_1.  " zcomp_1 is used component

  • Ipod touch won't do a thing

    my ipod touch battery died. tried recharging but nothing is happening. tried multiple chargers and usb ports. what do i do?