Doubt in output of  Report 'Hello World'....

Hi..
I copied report 'hello world' from abapdocu and executed it...I have created d screen and set d attributes similar to d report but when i click on the pushbutton i.e. next i don't get any output. Where is d mistake?
Plz reply...
Thanks!

>
neha.7 wrote:
> now u can delete this post...
No.  In my opinion, apart from the use of txtspk which is NOT permitted, the question itself, while basic, is acceptable.  It's not something that could be found easily by searching.  Even a newly qualified ABAPper with all the training could miss it. 
Important points:
*Read the rules of engagement.*
Don't ask questions that are easily answered by searching this site, or simply reading the ABAP help.
Don't answer such questions either!
And don't use txtspk!
Edited by: Matt on May 1, 2009 12:07 PM

Similar Messages

  • Adobe Drive not connecting to hello world sample launched via Eclipse

    I'm trying to get the hello world sample running with Drive SDK 5. I got:
    Adobe Drive 5.0.1
    AdobeDriveSDK-5.0.0.398770.zip
    latest Java JRE 1.6
    Eclipes 4.3.1 (Kepler SR 1)
    Windows 7 64bit
    I configured the hello world project as described in the getting started guide. I double checked that AD4ServiceManager.exe is not running. After starting the project in Eclipse and waiting about 15 seconds, all bundles are active:
    osgi> ss
    Framework is launched.
    id     State       Bundle
    0     ACTIVE      org.eclipse.osgi_3.5.0.v20090520
    1     ACTIVE      com.adobe.csi.ncomm_2.0.0.28
    2     ACTIVE      com.adobe.drive.core_2.0.0.28
    3     ACTIVE      org.eclipse.equinox.cm_1.0.100.v20090520-1800
    4     ACTIVE      org.eclipse.equinox.preferences_3.2.300.v20090520-1800
    5     ACTIVE      org.eclipse.equinox.app_1.2.0.v20090520-1800
    6     ACTIVE      com.adobe.drive.biz.filesystem_2.0.0.28
    7     ACTIVE      javax.servlet_2.5.0.v200806031605
    8     ACTIVE      org.eclipse.equinox.launcher_1.0.200.v20090520
    9     ACTIVE      com.adobe.drive.manager.executor_1.0.0.28
    10     ACTIVE      com.adobe.drive.connector.cmis_2.0.0.28
    11     ACTIVE      com.adobe.drive.ui_2.0.0.28
                     Fragments=27
    12     ACTIVE      org.hsqldb_2.2.9
    13     ACTIVE      com.adobe.drive.model.synchronization_2.0.0.28
    14     ACTIVE      com.adobe.drive.data.persistence.api_2.0.0.28
    15     ACTIVE      org.eclipse.equinox.ds_1.1.0.v20090601
    16     ACTIVE      org.eclipse.update.configurator_3.3.0.v20090312
    17     ACTIVE      org.hibernate_3.2.5
    18     ACTIVE      com.adobe.csi.core_2.0.0.28
    19     ACTIVE      com.adobe.drive.connector.service_2.0.0.28
    20     ACTIVE      com.adobe.drive.model_2.0.0.28
    21     ACTIVE      com.adobe.drive.data.provider_2.0.0.28
    22     ACTIVE      com.adobe.csi.auth.keystore_2.0.0.28
    23     ACTIVE      com.adobe.drive.connector.api_2.0.0.28
    24     ACTIVE      com.adobe.drive.data.persistence.hsqldb_2.0.0.28
    25     ACTIVE      com.adobe.drive.data.cache_2.0.0.28
    26     ACTIVE      org.apache.commons.codec_1.0.0.28
    27     RESOLVED    com.adobe.drive.ui.scripting_2.0.0.28
                     Master=11
    28     ACTIVE      org.apache.commons.net_1.4.1
    29     ACTIVE      sample.helloworld_2.0.0
    30     ACTIVE      com.adobe.csi.bootstrap_2.0.0.28
    31     ACTIVE      com.adobe.drive.data.manager_2.0.0.28
    32     ACTIVE      org.apache.commons.logging_1.0.4
    33     ACTIVE      com.adobe.versioncue.nativecomm_4.0.1.28
    34     ACTIVE      com.adobe.drive.biz.versioncue.api_2.0.0.28
    35     ACTIVE      org.eclipse.equinox.common_3.5.0.v20090520-1800
    36     ACTIVE      com.adobe.csi.pipes_2.0.0
    37     ACTIVE      com.adobe.drive.data.model_2.0.0.28
    38     ACTIVE      com.adobe.drive.data.persistence_2.0.0.28
    39     ACTIVE      com.adobe.drive.processinfo_2.0.0.28
    40     ACTIVE      com.adobe.drive.connector.cmis.client_2.0.0.28
    41     ACTIVE      com.adobe.drive.ncomm.filesystem_2.0.0.28
    42     ACTIVE      org.eclipse.equinox.registry_3.4.100.v20090520-1800
    43     ACTIVE      org.apache.commons.httpclient_3.1.0
    44     ACTIVE      com.adobe.drive.vcdetector_2.0.0
    45     ACTIVE      com.adobe.drive.ncomm.versioncue_2.0.0.28
    46     ACTIVE      com.adobe.drive.connector.cqdam_4.0.0.28
    47     ACTIVE      com.adobe.csi.core.preferences_2.0.0.28
    48     ACTIVE      org.eclipse.equinox.util_1.0.100.v20090520-1800
    49     ACTIVE      com.adobe.csi.utils_2.0.0.28
    50     ACTIVE      com.adobe.drive.biz.automount_2.0.0.28
    51     ACTIVE      com.adobe.csi.core.logging_2.0.0.28
    52     ACTIVE      com.adobe.drive.manager.interests_2.0.0.28
    53     ACTIVE      org.apache.log4j_1.2.15
    54     ACTIVE      com.adobe.drive.ifs_2.0.0.28
    55     ACTIVE      com.adobe.drive.core.jobs_2.0.0.28
    56     ACTIVE      org.eclipse.osgi.services_3.2.0.v20090520-1800
    57     ACTIVE      com.adobe.drive.biz.versioncue_2.0.0.28
    58     ACTIVE      com.adobe.csi.auth_2.0.0.28
    Also, the output of csstat looks fine:
    osgi> csstat
    Registered connector factories (schema : reference):
    cmis : {org.osgi.service.component.ComponentFactory}={component.factory=com.adobe.drive.connector.handlerfactory, component.name=com.adobe.drive.connector.cmis#cmis, service.id=48}
    cq : {org.osgi.service.component.ComponentFactory}={component.factory=com.adobe.drive.connector.handlerfactory, component.name=cq#cq, service.id=75}
    helloworld : {org.osgi.service.component.ComponentFactory}={component.factory=com.adobe.drive.connector.handlerfactory, component.name=sample.helloworld#helloworld, service.id=70}
    Instantiated connector factories (uuid : factory):
    Afterwards, I start Adobe Drive (32bit version). The UI hangs with the message "Adobe Drive is starting. Please wait.". From task manager I can see that not just Adobe Drive was started, but also AD4ServiceManager.exe. I guess, this should not happen, because Adobe Drive should discover the one launched via Eclipse.
    So what's going wrong here? How does Adobe Drive discover the one launched via Eclipse? What could block discovery?
    Here more details in case that helps debugging the problem. MANIFEST.MF:
    Manifest-Version: 1.0
    Bundle-ManifestVersion: 2
    Bundle-Name: HelloWorld Plug-in
    Bundle-SymbolicName: sample.helloworld
    Bundle-Version: 2.0.0
    Bundle-Vendor: Adobe Systems
    Adobe-AutoStart: true
    Require-Bundle: com.adobe.drive.connector.api,
    com.adobe.drive.core,
    com.adobe.drive.model,
    com.adobe.csi.utils
    Service-Component: OSGI-INF/HelloWorldHandlerFactory.xml
    build.properties
    source.. = src/
    output.. = bin/
    bin.includes = META-INF/,\
                   OSGI-INF/
    HelloWorldHandlerFactory.xml:
    <?xml version="1.0"?>
         <component name="sample.helloworld#helloworld"
         factory="com.adobe.drive.connector.handlerfactory">
         <implementation class="sample.helloworld.HelloWorldHandlerFactory"/>
    </component>
    Here the Eclipse run configuration settings:

    Wow, this seems to help even though it is still a bit shaky. Here the steps I have to do to get it working:
    manually launch 64bit version of AD4ServiceManager.exe with parameter -launchedbydrive
    launch Eclipse project and wait till ss shows everything as registered (much faster now)
    start 64bit version of Drive -> my adapter doesn't show up
    shutdown drive
    start 64bit version of Drive again -> my adapter now shows up and works as expected
    I find a few things confusing here:
    In Eclipse, should I configure the 32bit or 64bit version of AD4ServiceManager as plugin execution environment? Currently, I'm using the 32bit version.
    Why isn't the step of manually launching AD4ServiceManager.exe not mentioned in the getting started guide?
    I will reboot my machine to see if it is still working or just some special sun radiation making it work currently :-)

  • BPM 11g Hello World Application Error

    I am going through step-by-step tutorial on creating Hello World Application BPM 11g where I am running into WSDL Read Error message. The link for this tutorial is here:
    Building Your First Process with Oracle BPM 11g
    Error occurs at chapter "Enhancing the Basic Hello World Process" -> Adding a Business Rule -> Step 5.
    After creating Data Associations for input/output under Implementation dialog for "Review Needed" business rule and clicking on OK of the Properties dialog, I get following error message(please click on the link to see screenshot of error message):
    https://drive.google.com/file/d/0B1YDzO9g_MoLNkVTazdXTHp2UVE/edit?usp=sharing
    Let me know if you have trouble accessing this link.
    Basically the error is about not able to find decision service wsdl file:
    Error while reading wsdl file:
    ReviewRules_DecisionService_1.wsdl file not found
    Also get same error for HelloRules_DecisionService_1.wsdl file not found.
    I am not sure whether this file should be automatically generated when performing data associations and implementation of the business rule in the wizard.
    Please let me know what could be going wrong here. I tried going through this tutorial multiple times but get stuck at this step.
    BPM Suite 11g
    BPMN Editor
    11.1.1.7.0.0.97
    Jdev version: 11.1.1.7.0
    Jdev Build: JDEVADF_11.1.1.7.0_GENERIC_130226.1400.6493
    Thanks.

    I looked at the two XSDs the Hello World tutorial had you using.  This is what is causing your error.
    Here's an XSD that will work for the tutorial with 11.1.1.7.  Notice I put both the "hello" and "review" objects in the one XSD so you just have to use the one XSD. 
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:qt="http://www.mycompany.com/ns/hw" targetNamespace="http://www.mycompany.com/ns/hw"
         elementFormDefault="qualified">
        <element name="HelloObject" type="qt:HelloObjectType"/>    
        <complexType name="HelloObjectType">
            <sequence>
                <element name="date" nillable="true" type="dateTime"/>
                <element name="message" nillable="true" type="string"/>
                <element name="greeting" nillable="true" type="string"/>
            </sequence>
        </complexType>
        <element name="ReviewObject" type="qt:ReviewObjectType"/>
        <complexType name="ReviewObjectType">
            <sequence>
                <element name="review" nillable="true" type="string"/>
                <element name="reason" nillable="true" type="string"/>
            </sequence>
        </complexType>
    </schema>
    Hope this helps,
    Dan

  • Task Manager Process failing along w/ Hello World example

    Hello Edwin,
    Thank you very much for the word document on how to install Oracle BPEL into the oracle database. I was able to install according to your word document into my oracle 10g database. I have other problems though. When starting up the BPEL Process Manager, it gives me the following error message in the console:
    java.lang.NoClassDefFoundError: org/apache/xerces/xni/XNIException
    I guess this in turn leads to the TaskManager process failing as it has a yellow exclamation point next to it in the BPEL Console. The oc4j console window later displays this error message:
    04/08/07 13:25:01 java.lang.ClassNotFoundException: bpel._1_0.TaskManager__BPEL4WS_BIN
    Error while creating process.
    An error has occurred while attempting to instantiate the class "bpel._1_0.TaskM
    anager__BPEL4WS_BIN" for the process "TaskManager" (revision "1.0"). The exception reported was: bpel._1_0.TaskManager__BPEL4WS_BIN
    Please try recompiling your BPEL process again. The current BPEL process archive "TaskManager" may have been compiled with an older version of "bpelc".
    An error message similar to this occurs when I try and work through the "Hello World" tutorial. Any idea why these error messages are occuring? "classnotfound" exceptions tell me there is a classpath issue. Thanks for your help.
    Kenny R.

    Edwin,
    Nevermind. I fixed it. I just copied the xercesImpl.jar file to the %ORABPEL_HOME%/system/appserver/oc4j/j2ee/home/applib directory and the processes function fine now. Thanks. Is this a bug that I found? Or was something messed up with my initial installation?

  • Problem including jdk.dio into Hello World Example

    Hi
    I followed the Hello World Example and this worked on my raspberry pi. Then I tried to use jdk.dio to access some hardware via GPIO unfortunately then the build of the Deployment Package fails with :
    # 2/7/15 4:35:16 PM CET
    # Eclipse Compiler for Java(TM) v20140902-0626, 3.10.0, Copyright IBM Corp 2000, 2013. All rights reserved.
    1. ERROR in .../HelloOsgi.java (at line 9)
    import jdk.dio.ClosedDeviceException;
    ^^^^^^^
    The import jdk.dio cannot be resolved
    2. ERROR in .../HelloOsgi.java (at line 10)
    import jdk.dio.Device;
    ^^^^^^^
    The import jdk.dio cannot be resolved
    It builds without an error inside of eclipse. I added the dependencies to the manifest
    Manifest-Version: 1.0
    Import-Package: jdk.dio;version="1.0.0",
    jdk.dio.gpio;version="1.0.0",
    jdk.dio.spibus;version="1.0.0",
    org.osgi.service.component;version="1.2.0",
    org.slf4j;version="1.6.4"
    Service-Component: OSGI-INF/component.xml
    and to the build.properties
    output.. = bin/
    bin.includes = META-INF/,\
    OSGI-INF/
    source.. = src/
    additional.bundles = org.eclipse.osgi.services,\
    slf4j.api,\
    org.eclipse.kura.api,\
    jdk.dio
    What did I miss to do, so that the 'jdk.dio' can be resolved when building Deployment Package?
    Thanks and Regards
    - Franz
    (*)eclipse.github.io/kura/doc/hello-example.html

    I downloaded the "Developer's Workspace (with Web UI) " (user_workspace_archive_1.1.0.zip) from Kura 1.1.1 Extended Downloads (eclipse.org/kura/downloads.php) and imported this into my Eclipse workspace on my development machine. I checked the ZIP file it contains the jdk.dio_1.0.0.jar as stated in my Manifest and not 1.0.1 as you mentioned.
    I also checked on the target (raspberry pi) where I installed the "Raspbian (No, Net, with Web UI) - Stable" from Kura 1.1.1 Extended Downloads. Also here it is jdk.dio_1.0.0.jar under /opt/eclipse/kura/plugins.
    I don't think its a Version problem since Eclipse can build the code and finds all the dependencies. It is just when I try to export a 'Deployable plug-ins and fragments' or try to create the Deployment Package that the build fails.
    I found a workaround for the 'Deployable plug-ins and fragments' there I have to check the option 'Use class files compiled in the workspace' and the I can export it since the export does not need to build it just uses the already built classes from eclipse. I did not find such an option for the creation of the Deployment Package.
    Anyway I would like to be able to build without an IDE.
    What is the suggested approach to build a Deployment Package for Kura without the IDE so it could be integrated in some kind of a CI process?
    Is maven/tycho the way to go?
    Any help or hint is appreciated.
    Thanks Regards
    - Franz

  • System.out.println - Hello World Example

    Hi All
    I am using Apache Tomcat and trying t produce a simple output to the browser. Cannot get System.out.println to work. See code and out below:
    begin code
    <HTML>
    <HEAD><TITLE>hello jsp</TITLE></HEAD>
    <BODY>
    <%@ page language='java' contentType='text/html' %>
    <%
    String message = "Hello World";
    message = message + "\nAFTER";
    System.out.println("BEFORE");
    %>
    <%= (message) %>
    </BODY>
    </HTML>
    END code
    --begin browser output
    Hello World AFTER
    end browser ouput
    Would be grateful if someone could explain why the System.out.print statement cannot be seen in the browser output.
    many thanks
    Naresh

    System.out prints to System.out. What that is depends:
    In applets, (which the OP was not talking about) it is the Java Console.
    In JSP, it's the same as any application by default.
    You can change in Java what System.out prints to, but you don't often do this. But in JSP it doesn't print to the browser. JSP is not CGI, which does you the standard out as the destination for written data.

  • HOW TO: "Hello World" EJB Style

    The following Session EJB quick tutorial requires an IIOP datasource. This EJB should work in Oracle databases
    greater than 8.1.5.
    1. Create a new project for an Enterprise JavaBean.
    2. Name your project "Hello".
    3. Select Enterprise JavaBean from "A project containing a new..."
    4. Click Finish to close the Project wizard.
    The Enterprise JavaBeans wizard opens.
    5. For the EJB type, select Session Bean (Stateless)
    6. For the EJB name, enter "Hello" (no quotes!)
    The resulting interface names are created for you. Don't change them!
    7. Click Finish for the EJB wizard to generate the EJB project for you.
    8. Select Save All from the File menu. Call this workspace "Hello".
    You'll see that the EJB wizard generated the home, remote, and bean logic files for you. Now you'll need to
    add the business logic to the HelloBean.java file.
    9. Double click the HelloBean.java file, then click the Source tab to bring it into view.
    10. Before the last closing brace (}), add this line of code:
    public String hello() { return "Hello World!"; }
    11. Select File | Save All.
    12. In the Navigator, double-click the Hello.java file so that you can add the remote interface.
    13. Click the Source tab to bring Hello.java into view.
    14. Add the following line before the last brace (}):
    public String hello() throws java.rmi.RemoteException;
    15. Select File | Save All.
    16. Add the Oracle8i JVM classes to the Hello project by selecting Project | Project Properties and clicking
    the Libraries tab.
    17. Click Add, then click Oracle 8i JVM, then click OK.
    18. Click OK to dismiss the Project Properties dialog.
    19. Select Project | Make Project to compile the Hello project.
    20. In the Navigator, right-click the Hello folder and select Create EJB/8i Deployment Profile.
    21. In the Deployment Profile Wizard that appears, click the Advanced Button.
    Only the first (Automatically include files added to project) and the last (Redirect messages
    to the Message View) boxes should be selected.
    22. Click Done to close the Advanced dialog.
    23. Click the Connection tab and select an IIOP datasource. If there is none, you'll have to create one.
    All three checkboxes at the top of the page should be selected.
    24. Click Done. You'll be prompted to deploy now or later. Click Yes.
    JDeveloper will use the IIOP datasource you specified to deploy the Hello EJB project.
    Now you need to add the generated files that were created during deployment to the class path so that
    the client can find them.
    25. From the Project menu, select Project Properties, then click Add, then click New.
    26. Click the Elipses to the right of the Class path field, then click Add Jar/Zip.
    27. Navigate to the file called HelloGenerated.jar and double-click it to add it to the path.
    28. Click OK to close the two dialogs and Project Properties.
    After JDeveloper completes the deployment, you need to make a client to call the EJB methods and display the results.
    29. From the File menu, select New, then click on the Snippets tab.
    30. Double-click the EJB Oracle 8i Client icon.
    31. Click the Parameters button in the Snippet dialog.
    32. Enter the IIOP connection information you specified earlier.
    33. Enter the EJB Home and Remote interface names ("HelloHome" and "Hello").
    34. Click OK to close the Parameters button.
    The Client file is added to the project.
    35. In the Navigator, right-click the MyEJBJSClient.java file and select run.
    Check the Message View to see the output of your EJB!
    null

    I got the msg when I try to deployment EJB and I use the 8.1.7. andJdev 3.2. Please advise what is wrong for my IIOP connection. From the listener.log, the connection looks good.
    ======================================
    Compiling the project...done
    Validating the profile...done
    Initializing deployment...done
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    *** Archive generation completed ***
    *** Deploying the EJB to 8i JVM ***
    EJB deployment argument list:
    "C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\bin\javaw"
    "-DPATH=C:\Program Files\Oracle\JDeveloper 3.2\bin;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\bin"
    -classpath
    "C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\myclasses;C:\Program Files\Oracle\JDeveloper 3.2\lib\jdev-rt.zip;C:\Program Files\Oracle\JDeveloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\connectionmanager.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax_ejb.zip;C:\Program Files\Oracle\JDeveloper 3.2\auro
    a\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\lib\rt.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\xmlparserv2.jar"
    oracle.aurora.ejb.deployment.GenerateEjb
    -u
    scott
    -p
    tiger
    -s
    sess_iiop://localhost:2482:test
    -republish
    -keep
    -temp
    TEMP
    -descriptor
    "C:\Program Files\Oracle\JDeveloper 3.2\myprojects\Demo\EJB\DemoHelloEJB.xml"
    -oracledescriptor
    C:\Program Files\Oracle\JDeveloper 3.2\myprojects\Demo\EJB\DemoHelloEJB_oracle.xml
    -generated
    "C:\Program Files\Oracle\JDeveloper 3.2\myprojects\Demo\EJB\DemoHelloEJBGenerated.jar"
    "C:\Program Files\Oracle\JDeveloper 3.2\myprojects\Demo\EJB\DemoHelloEJBSource.jar"
    Cannot connect to service: sess_iiop://localhost:2482:test
    *** Errors occurred while deploying the EJB to 8i JVM ***
    *** Deployment completed ***
    ============================================

  • Doubt in Client Proxies Report Pragram

    Hi all,
    Now i came upto Generation & Activation of the ABAP Proxies
    Now its the time to write the Report to initiate the proxy.
    1) In my ABAP data Dictionary(SE11) i have the Standard table and from there i have to access the data & Push it to XI using Proxies
    2) Now My doubt is In the Report where i have to provide the details of the Standard table & it's Field names to pull the data into the Report.
    Regards
    Suman

    HI there,
    i am providing asample code..
    hope it willl help u
    tables: Mara.
    data: begin of itab_mara occurs 0,
    matnr like mara-matnr
    end of Itab_mara.
    Slect matnr from MARA into corrosponding fields of itab_mara.
    CALL METHOD ZCO_MI_POS_MOBILE_SERIAL_NUMBE =>execute_asynchronous
    exporting
    output = itab_mara.
    Just a simple code do the modifications according to u r structure..
    Reagrds
    Rao

  • Hello World  App : Exception in thread "main" java.lang.NoClassDefFoundErro

    Hi
    I have downloaded a latest version of JDK, I have several other versions on my machine from other times i endeavored to work on Java, but never got to doing so.
    I have compiled the HelloWorldApp (code below) but when i try to run it, I get the error below: My java version is listed as 1.5.0_06. Any insight would be great.
    F:\GamingExtravaGanza>java HelloWorldApp.class
    Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldApp/class
    * The HelloWorldApp class implements an application that
    * simply prints "Hello World!" to standard output.
    class HelloWorldApp {
        public static void main(String[] args) {
            System.out.println("Hello World!"); // Display the string.
    }F:\GamingExtravaGanza>java -version
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
    Mike

    I had tried without the class extension, too. Anyone have ideas for why i am getting the error ?
    F:\GamingExtravaGanza>java HelloWorldApp
    Exception in thread "main" java.lang.UnsupportedClassVersionError:
    umber in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Sour
    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 Metho
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Sourc
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

  • Unable to run Hello World

    Hi,
    I am new to OA Framework and trying to learn this thing.
    I have developed Hello World Tutorial but it is giving following error on execution;
    Exception Details.
    oracle.apps.fnd.framework.OAException: No data found for region (/oracle/apps/ak/hello/webui/HelloWorldPG).
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.loadPage(JRAD2AKMapper.java:739)
         at oracle.apps.fnd.framework.webui.OAPageBean.initializeCustomizationsMDS(OAPageBean.java:6138)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2126)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/ak/hello/webui/HelloWorldPG, XML Path = {1}. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    Non supported character set: oracle-character-set-560
         at oracle.adf.mds.internal.MetadataManagerBase.getUserCustomizationData(MetadataManagerBase.java:2216)
         at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCustHelper(MetadataManagerBase.java:2154)
         at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCust(MetadataManagerBase.java:1897)
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1360)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.loadPage(JRAD2AKMapper.java:722)
         at oracle.apps.fnd.framework.webui.OAPageBean.initializeCustomizationsMDS(OAPageBean.java:6138)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2126)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/ak/hello/webui/HelloWorldPG, XML Path = {1}. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    Non supported character set: oracle-character-set-560
         at oracle.adf.mds.internal.MetadataManagerBase.getUserCustomizationData(MetadataManagerBase.java:2216)
         at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCustHelper(MetadataManagerBase.java:2154)
         at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCust(MetadataManagerBase.java:1897)
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1360)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.loadPage(JRAD2AKMapper.java:722)
         at oracle.apps.fnd.framework.webui.OAPageBean.initializeCustomizationsMDS(OAPageBean.java:6138)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2126)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    Any help to resolve this issue is highly appreciated.
    Regards,
    Syed Ahmed

    Following is OC4J Server output;
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    D:\3.0Documents\OAFramework\JD\jdevbin\jdk\bin\javaw.exe -client -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=2750 -classpath D:\3.0Documents\OAFramework\JD\jdevbin\j2ee\home\oc4j.jar;D:\3.0Documents\OAFramework\JD\jdevbin\jdev\lib\jdev-oc4j.jar -Xbootclasspath/p:D:\3.0Documents\OAFramework\JD\jdevbin\jdev\appslibrt\ojdbc14.jar;D:\3.0Documents\OAFramework\JD\jdevbin\jdev\appslibrt\nls_charset12.zip -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -Dhttp.proxyHost=proxy.stc.com.sa -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=*.stc.corp|*.stc.com.sa|172.*.*.*|10.*.*.* -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 com.evermind.server.OC4JServer -config D:\3.0Documents\OAFramework\JD\jdevhome\jdev\system9.0.3.5.1437\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Debugger connected to local process.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 21328 ms.
    Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
    Oracle9iAS (9.0.3.1.0) Containers for J2EE initialized
    TIME: runregion: initialization [16 ms]
    Tutalii: D:\3.0Documents\OAFramework\JD\jdevbin\jdev\appslibrt\iasjoc.zip archive
    ICX DIAGNOSTIC: FND_TOP = D:\3.0Documents\OAFramework\JD\jdevhome\jdev\dbc_files\
    ICX DIAGNOSTIC: application_id = 601
    ICX DIAGNOSTIC: responsibility_id = 24742
    ICX DIAGNOSTIC: security_group_id = 0
    ICX DIAGNOSTIC: mEncryptedSessionID = keF3uZCBcUtLKe4pLhvxyIeS:S
    ICX DIAGNOSTIC: mSessionID = 1825688593
    TIME: runregion: session and transaction creation [6110 ms]
    ICX DIAGNOSTIC: mTransactionID = 683903617
    JRAD_PERF : /oracle/apps/ak/hello/webui/HelloWorldPG - processRequest : 594ms

  • Gcc won't compile hello world

    Hello World :
    #include<iostream>
    using namespace std;
    int main ()
    cout << "what am I doing wrong?";
    return 0;
    All the strace sh!t
    execve("/usr/bin/gcc", ["gcc", "hello.cpp"], [/* 43 vars */]) = 0
    uname({sys="Linux", node="stryder", ...}) = 0
    brk(0) = 0x805d000
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f59000
    access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY) = 3
    fstat64(3, {st_mode=S_IFREG|0644, st_size=65638, ...}) = 0
    mmap2(NULL, 65638, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f48000
    close(3) = 0
    open("/lib/tls/libc.so.6", O_RDONLY) = 3
    read(3, "177ELF111331220R1"..., 512) = 512
    fstat64(3, {st_mode=S_IFREG|0755, st_size=1363203, ...}) = 0
    mmap2(NULL, 1150540, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e2f000
    mmap2(0xb7f3e000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10f) = 0xb7f3e000
    mmap2(0xb7f46000, 7756, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f46000
    close(3) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e2e000
    set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e2e6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
    munmap(0xb7f48000, 65638) = 0
    brk(0) = 0x805d000
    open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
    fstat64(3, {st_mode=S_IFREG|0644, st_size=38399616, ...}) = 0
    mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7c2e000
    close(3) = 0
    brk(0x807e000) = 0x807e000
    rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
    rt_sigaction(SIGINT, {0x804ade0, [INT], SA_RESTART}, {SIG_IGN}, 8) = 0
    rt_sigaction(SIGHUP, {SIG_IGN}, {SIG_DFL}, 8) = 0
    rt_sigaction(SIGHUP, {0x804ade0, [HUP], SA_RESTART}, {SIG_IGN}, 8) = 0
    rt_sigaction(SIGTERM, {SIG_IGN}, {SIG_DFL}, 8) = 0
    rt_sigaction(SIGTERM, {0x804ade0, [TERM], SA_RESTART}, {SIG_IGN}, 8) = 0
    rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
    rt_sigaction(SIGPIPE, {0x804ade0, [PIPE], SA_RESTART}, {SIG_IGN}, 8) = 0
    rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
    access("/bin/gcc", X_OK) = -1 ENOENT (No such file or directory)
    access("/usr/bin/gcc", X_OK) = 0
    lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat64("/usr/bin", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
    lstat64("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=85296, ...}) = 0
    access("/bin/gcc", X_OK) = -1 ENOENT (No such file or directory)
    access("/usr/bin/gcc", X_OK) = 0
    lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat64("/usr/bin", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
    lstat64("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=85296, ...}) = 0
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/", X_OK) = 0
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/", X_OK) = 0
    access("hello.cpp", F_OK) = 0
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs", R_OK) = 0
    open("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs", O_RDONLY) = 3
    stat64("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs", {st_mode=S_IFREG|0644, st_size=3869, ...}) = 0
    read(3, "*asm:n%{v:-V} %{Qy:} %{!Qn:-Qy} "..., 3869) = 3869
    close(3) = 0
    access("/usr/lib/gcc/i686-pc-linux-gnu/specs", R_OK) = -1 ENOENT (No such file or directory)
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/", X_OK) = 0
    access("/tmp", R_OK|W_OK|X_OK) = 0
    gettimeofday({1121809872, 830804}, NULL) = 0
    getpid()
    open("/tmp/ccTAp7N8.s", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
    close(3) = 0
    stat64("/usr/libexec/gcc/i686-pc-linux-gnu/3.4.3/cc1plus", {st_mode=S_IFREG|0755, st_size=9274676, ...}) = 0
    access("/usr/libexec/gcc/i686-pc-linux-gnu/3.4.3/cc1plus", X_OK) = 0
    clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e2e708) = 7198
    waitpid(7198, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 7198
    --- SIGCHLD (Child exited) @ 0 (0) ---
    gettimeofday({1121809873, 223825}, NULL) = 0
    open("/tmp/ccLSz9Bn.o", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
    close(3) = 0
    stat64("/usr/libexec/gcc/i686-pc-linux-gnu/3.4.3/as", 0xbfc6c28c) = -1 ENOENT (No such file or directory)
    stat64("/usr/libexec/gcc/i686-pc-linux-gnu/3.4.3/as", 0xbfc6c28c) = -1 ENOENT (No such file or directory)
    stat64("/usr/libexec/gcc/i686-pc-linux-gnu/as", 0xbfc6c28c) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/as", 0xbfc6c28c) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/gcc/i686-pc-linux-gnu/as", 0xbfc6c28c) = -1 ENOENT (No such file or directory)
    stat64("/usr/libexec/gcc/i686-pc-linux-gnu/3.4.3/as", 0xbfc6c28c) = -1 ENOENT (No such file or directory)
    stat64("/usr/libexec/gcc/i686-pc-linux-gnu/as", 0xbfc6c28c) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/as", 0xbfc6c28c) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/gcc/i686-pc-linux-gnu/as", 0xbfc6c28c) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/i686-pc-linux-gnu/3.4.3/as", 0xbfc6c28c) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/as", 0xbfc6c28c) = -1 ENOENT (No such file or directory)
    clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e2e708) = 7199
    --- SIGCHLD (Child exited) @ 0 (0) ---
    waitpid(7199, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 7199
    stat64("/usr/libexec/gcc/i686-pc-linux-gnu/3.4.3/collect2", {st_mode=S_IFREG|0755, st_size=127724, ...}) = 0
    access("/usr/libexec/gcc/i686-pc-linux-gnu/3.4.3/collect2", X_OK) = 0
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/crt1.o", R_OK) = -1 ENOENT (No such file or directory)
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/crt1.o", R_OK) = -1 ENOENT (No such file or directory)
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/lib/i686-pc-linux-gnu/3.4.3/crt1.o", R_OK) = -1 ENOENT (No such file or directory)
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/lib/crt1.o", R_OK) = -1 ENOENT (No such file or directory)
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../i686-pc-linux-gnu/3.4.3/crt1.o", R_OK) = -1 ENOENT (No such file or directory)
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../crt1.o", R_OK) = 0
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/crti.o", R_OK) = -1 ENOENT (No such file or directory)
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/crti.o", R_OK) = -1 ENOENT (No such file or directory)
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/lib/i686-pc-linux-gnu/3.4.3/crti.o", R_OK) = -1 ENOENT (No such file or directory)
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/lib/crti.o", R_OK) = -1 ENOENT (No such file or directory)
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../i686-pc-linux-gnu/3.4.3/crti.o", R_OK) = -1 ENOENT (No such file or directory)
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../crti.o", R_OK) = 0
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/crtbegin.o", R_OK) = 0
    stat64("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    stat64("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    stat64("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/lib/i686-pc-linux-gnu/3.4.3/.", 0xbfc6b33c) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/lib/.", 0xbfc6b35c) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../i686-pc-linux-gnu/3.4.3/.", 0xbfc6b35c) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../.", {st_mode=S_IFDIR|0755, st_size=36864, ...}) = 0
    stat64("/lib/i686-pc-linux-gnu/3.4.3/.", 0xbfc6b38c) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/i686-pc-linux-gnu/3.4.3/.", 0xbfc6b37c) = -1 ENOENT (No such file or directory)
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/crtend.o", R_OK) = 0
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/crtn.o", R_OK) = -1 ENOENT (No such file or directory)
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/crtn.o", R_OK) = -1 ENOENT (No such file or directory)
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/lib/i686-pc-linux-gnu/3.4.3/crtn.o", R_OK) = -1 ENOENT (No such file or directory)
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/lib/crtn.o", R_OK) = -1 ENOENT (No such file or directory)
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../i686-pc-linux-gnu/3.4.3/crtn.o", R_OK) = -1 ENOENT (No such file or directory)
    access("/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../crtn.o", R_OK) = 0
    stat64("/usr/libexec/gcc/i686-pc-linux-gnu/3.4.3/collect2", {st_mode=S_IFREG|0755, st_size=127724, ...}) = 0
    access("/usr/libexec/gcc/i686-pc-linux-gnu/3.4.3/collect2", X_OK) = 0
    clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e2e708) = 7200
    waitpid(7200, /tmp/ccLSz9Bn.o(.text+0xd): In function `std::__verify_grouping(char const*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
    : undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::size() const'
    /tmp/ccLSz9Bn.o(.text+0x60): In function `std::__verify_grouping(char const*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
    : undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int) const'
    /tmp/ccLSz9Bn.o(.text+0x9f): In function `std::__verify_grouping(char const*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
    : undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int) const'
    /tmp/ccLSz9Bn.o(.text+0xce): In function `std::__verify_grouping(char const*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
    : undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int) const'
    /tmp/ccLSz9Bn.o(.text+0x127): In function `main':
    : undefined reference to `std::cout'
    /tmp/ccLSz9Bn.o(.text+0x12c): In function `main':
    : undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
    /tmp/ccLSz9Bn.o(.text+0x155): In function `__static_initialization_and_destruction_0(int, int)':
    : undefined reference to `std::ios_base::Init::Init()'
    /tmp/ccLSz9Bn.o(.text+0x186): In function `__tcf_0':
    : undefined reference to `std::ios_base::Init::~Init()'
    /tmp/ccLSz9Bn.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
    collect2: ld returned 1 exit status
    [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 7200
    --- SIGCHLD (Child exited) @ 0 (0) ---
    stat64("/tmp/ccLSz9Bn.o", {st_mode=S_IFREG|0600, st_size=2468, ...}) = 0
    unlink("/tmp/ccLSz9Bn.o") = 0
    stat64("/tmp/ccTAp7N8.s", {st_mode=S_IFREG|0600, st_size=6022, ...}) = 0
    unlink("/tmp/ccTAp7N8.s") = 0
    exit_group(1)
    Any help would be appreciated immensly.

    well, the compiler output would have been much more useful than an strace.  The gnu compilers are used by millions of people - I'm pretty sure someone would have noticed if it didn't compile c++ programs.  Following that logic, it's most likely a program error.
    Also, like biio said, use g++ for c++ apps, instead of gcc - that'll probably fix your issue because it compiles fine here:
    g++ hello.cpp -o hello

  • XSQL Hello World

    I am working with IE5 8i and Java Web Srvr 2.0
    I have done followings..
    1. set classpath for 4,5 jars
    2. added oracle servlet to JWS
    3. added servelet aliases
    4. configured xmlconfig for local database
    when i call http://hostname:9090/examples/test.xsql i get blank result back.
    test.xsql incluedes
    <xml>
    <xsql....connection=orcl
    select 'hello world' as 'testxml' from dual
    </xsql>
    any ideas?
    I am also looking for a specific example of inserting a xml output from html form into Oracle clob column.
    thanks
    syed

    You should check the log files for the servlet engine you are using to find out what is happening.
    Oracle XML Team
    null

  • GX Error (GX2GX) for bank or hello world sample applications

    Hi,
    I installed IAS 6.5 on Win 2000 professional. I tested my installation by accessing the fortune sample application. Yes, it works fine. However, when I deployed the Hello World or Bank sample application, I keep seeing this error:
    "GX Error (GX2GX)
    socket result code missing!!!".
    I have ensure that both the applications were deployed correctly. The deployment tool did not report any error. I am also able to see the 2 applications from the IAS administration tool. I then went to the HTTPAPI subkey in the IAS registry and set the DebugMode to 5. I saw the following message
    [16/May/2003 18:42:01:3] info: NSAPICLI-009: plugin reqexit: 0s+.97s. (1421580416)
    [16/May/2003 18:42:38:0] info: NSAPICLI-012: plugin reqstart, tickct: 1553096666
    [16/May/2003 18:42:38:0] info: NSAPICLI-009: plugin reqexit: 0s+.464s. (1553113298)
    [16/May/2003 18:42:38:6] info: NSAPICLI-012: plugin reqstart, tickct: 1555213509
    [16/May/2003 18:42:38:6] info: NSAPICLI-009: plugin reqexit: 0s+.421s. (1555228604)
    [16/May/2003 18:43:18:6] info: NSAPICLI-012: plugin reqstart, tickct: 1698313776
    [16/May/2003 18:43:18:6] warning: UTIL-013: GXGUID: NameTrans lookup failed (ApplogicServlet System_StaticServlet)
    [16/May/2003 18:43:18:6] warning: NSAPICLI-011: socket result code missing!!!
    Any idea what is wrong??? Please help... Thank you in advance for your help.

    If you're trying to run the Ant scripts, I think I know how you feel.  Here's what I do to seed new test users into a new installation:
    1. Download the workflow-001-DemoCommunitySeedApp.zip File  -> Go to http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/obpm/11g/r1/install/installing_obpm11g.htm#s6. ->  Click Demo Community Seed Application.
    2. Unzip the zip file
    Unzip the contents of the workflow-001-DemoCommunitySeedApp.zip file into a directory. (For these instructions, I will assume you unzipped it into a C:\stageFMW\democommunity directory.)
    3. Deploy the Associated EAR File Deploy
    Deploy the SOATestDemoApp.ear EAR file located in your C:\stageFMW\democommunity\DemoCommunitySeedApp directory to your Managed Server. This is done by:
    Loggin into the WebLogic Administration Console (e.g., http://<your machine>:<your port number>/console)
    In the upper left corner under Domain Structure click Deployments
    Click the "Install" button
    Upload the EAR file by clicking the upload your file link.
    Select the SOATestDemoApp.ear file and click Next -> Next
    Select Install this deployment as an application and click Next
    Check the correct checkbox to deploy the application to the Admin (if there is no SOA Managed Server) or the SOA Managed Server (if it exists)  - typically this is just "soa_server1"
    Once deployed, stop and restart the Admin and Managed Servers
    4. Run the Servlet to Seed the Users
    Run the servlet by opening your browser to: (if you have a managed server) http://<yourmachinename>:8001/integration/SOADemoCommunity/DemoCommunitySeedServlet or (if you deployed it to the admin server) http://<yourmachinename>:7001/integration/SOADemoCommunity/DemoCommunitySeedServlet
    Select Seed Community and then click the Submit button.

  • Cpptasks - working hello world jni example on linux

    I have a working hello world example working on linux that uses cpptasks for the build. I'll post it here as I don't see any info on this out there. I hope this is helpful for you.
    -Todd
    Contents:
    - build.xml
    - helloworld.c
    - helloWorldCWrapper.java
    - directory structure
    - environment vars
    - output : $ant build
    - output : $ant run
    - References
    build.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <project basedir="." default="build" name="myJni">
         <property name="build" value="build"/>
         <property name="src" value="src"/>
         <property name="stub" location="stub"/>
         <property environment="os"/>
    <!-- Load the cpptasks task -->
    <taskdef resource="cpptasks.tasks"/>
    <typedef resource="cpptasks.types"/>
         <path id="project.classpath">
    <pathelement location="${build}"/>
    <pathelement location="."/>
    </path>
         <target name="init">
              <mkdir dir="${build}"/>
              <mkdir dir="${stub}"/>
    </target>
    <target name="clean" depends="init">      
              <delete>
                   <fileset dir="${build}">
                   <include name="*.class"/>
                   </fileset>
                   <fileset dir="${stub}">
                   <include name="*.h"/>
                   <include name="*.c"/>
                   </fileset>
              </delete>
         </target>
    <target name="jni-compile" description="--> create the jni h/c files">
         <javah class="com.bigdog.jni.helloWorldCWrapper" destdir="${stub}" verbose="yes" force="yes">
              <classpath refid="project.classpath"/>
         </javah>      
    </target>
         <target name="build" depends="init, java-compile, jni-compile, c-compile">
    </target>
         <target name="java-compile">
    <echo message="${ant.project.name}: ${ant.file}"/>
    <javac destdir="${build}">
    <src path="${src}"/>
    <classpath refid="project.classpath"/>
    </javac>
         </target>
    <target name="c-compile" description="--> compile c code">
    <cc link="shared" outtype="shared" multithreaded="true" optimize="speed"
    objdir="${build}" outfile="${build}/libhelloworld">
    <compilerarg value="-Wall"/>
    <compilerarg value="-D_JNI_IMPLEMENTATION_"/>
    <compilerarg value="-fno-strict-aliasing"/>
    <linker name="g++">
              <linkerarg value="-olibhelloworld.so"/>
         </linker>
    <fileset dir="${src}" includes="helloworld.c"/>
         <includepath>
              <path path="${os.JAVA_HOME}/include"/>
              <path path="${os.JAVA_HOME}/include/linux"/>
              <path path="${basedir}/stub"/>
              <path path="${build}"/>
         </includepath>
    </cc>
    </target>
         <target name="run">
    <echo message="${ant.project.name}: ${ant.file}"/>
              <echo message="java.library.path = ${java.library.path}"/>
              <echo message="LD_LIBRARY_PATH = ${os.LD_LIBRARY_PATH}"/>
    <java classname="com.bigdog.jni.helloWorldCWrapper">
    <classpath refid="project.classpath"/>
    </java>
         </target>
    </project>
    helloworld.c
    #include <jni.h>
    #include <stdio.h>
    #include "com_bigdog_jni_helloWorldCWrapper.h"
    JNIEXPORT void JNICALL
    Java_com_bigdog_jni_helloWorldCWrapper_print(JNIEnv *env, jobject obj)
              printf("Hello world :o)\n");
              return;
    helloWorldCWrapper.java
    package com.bigdog.jni;
    public class helloWorldCWrapper {
         private native void print();
         public static void main(String[] args) {
              new helloWorldCWrapper().print();               
         static {
              System.loadLibrary("helloworld");
    directory structure
    ./.project
    ./.classpath
    ./build
    ./build/com
    ./build/com/bigdog
    ./build/com/bigdog/jni
    ./build/com/bigdog/jni/helloWorldCWrapper.class
    ./build/history.xml
    ./build/helloworld.o
    ./build/libhelloworld.so
    ./build/dependencies.xml
    ./stub
    ./stub/com_bigdog_jni_helloWorldCWrapper.h
    ./src
    ./src/com
    ./src/com/bigdog
    ./src/com/bigdog/jni
    ./src/com/bigdog/jni/helloWorldCWrapper.java
    ./src/helloworld.c
    ./bin
    ./bin/helloworld.c
    ./build.xml
    ./build-user.xml
    ./history.xml
    environment vars
    user@machine:~/working/eclipse_proj/myJini$ export | grep LD
    declare -x LD_LIBRARY_PATH="/home/user/working/eclipse_proj/myJini/build"...
    Note: I had to modify the LD_LIBRARY_PATH in my .bashrc file. Modifying
    it from the command line seemed to have no effect.
    output : $ant build
    Buildfile: /home/user/working/eclipse_proj/myJini/build.xml
    init:
    java-compile:
    [echo] myJni: /home/user/working/eclipse_proj/myJini/build.xml
    [javac] Compiling 1 source file to /home/user/working/eclipse_proj/myJini/build
    jni-compile:
    [javah] [Search path = /home/user/bin/jdk1.5.0_03/jre/lib/rt.jar:/home/user/bin/jdk1.5.0_03/jre/lib/i18n.jar:/home/user/bin/jdk1.5.0_03/jre/lib/sunrsasign.jar:/home/user/bin/jdk1.5.0_03/jre/lib/jsse.jar:/home/user/bin/jdk1.5.0_03/jre/lib/jce.jar:/home/user/bin/jdk1.5.0_03/jre/lib/charsets.jar:/home/user/bin/jdk1.5.0_03/jre/classes:/home/user/working/eclipse_proj/myJini/build:/home/user/working/eclipse_proj/myJini]
    [javah] [Loaded /home/user/working/eclipse_proj/myJini/build/com/bigdog/jni/helloWorldCWrapper.class]
    [javah] [Loaded /home/user/bin/jdk1.5.0_03/jre/lib/rt.jar(java/lang/Object.class)]
    [javah] [Forcefully writing file /home/user/working/eclipse_proj/myJini/stub/com_bigdog_jni_helloWorldCWrapper.h]
    c-compile:
    [cc] Starting dependency analysis for 1 files.
    [cc] 0 files are up to date.
    [cc] 1 files to be recompiled from dependency analysis.
    [cc] 1 total files to be compiled.
    [cc] Starting link
    build:
    BUILD SUCCESSFUL
    Total time: 2 seconds
    output : $ant run
    Buildfile: /home/user/working/eclipse_proj/myJini/build.xml
    run:
    [echo] myJni: /home/user/working/eclipse_proj/myJini/build.xml
    [echo] java.library.path = /home/user/bin/jdk1.5.0_03/jre/lib/i386/server:/home/user/bin/jdk1.5.0_03/jre/lib/i386:/home/user/bin/jdk1.5.0_03/jre/../lib/i386:/home/user/working/eclipse_proj/myJini/build:/usr/local/qt/lib:/usr/local/qt/lib:/usr/local/qt/lib:/usr/local/qt/lib:/mnt/bea/p4/src910_150/bea/weblogic90/server/native/linux/i686:/lib:/lib/i686:/usr/lib:/usr/openwin/lib
    [echo] LD_LIBRARY_PATH = /home/user/bin/jdk1.5.0_03/jre/lib/i386/server:/home/user/bin/jdk1.5.0_03/jre/lib/i386:/home/user/bin/jdk1.5.0_03/jre/../lib/i386:/home/user/working/eclipse_proj/myJini/build:/usr/local/qt/lib:/usr/local/qt/lib:/usr/local/qt/lib:/usr/local/qt/lib:/mnt/bea/p4/src910_150/bea/weblogic90/server/native/linux/i686:/lib:/lib/i686:/usr/lib:/usr/openwin/lib
    Hello world :o)
    BUILD SUCCESSFUL
    Total time: 1 second
    References:
    http://public.cabit.wpcarey.asu.edu/janjua/java/jni/
    http://bleaklow.com/blog/archive/000162.html
    http://sourceforge.net/projects/ant-contrib
    http://sourceforge.net/project/showfiles.php?group_id=36177&package_id=28636

    VC++ works just fine.
    I use the IDE rather than command-line processing. I create a "dll" project, and implement the functions defined by running javah.

  • Xcode unabled to run any program (even Hello World default)

    I've started into programming c++ and java in Osx (come from linux) and i've tried xcode (after trying netbeans, eclipse etc) because i find it the most comfortable IDE to work.
    The problem comes when i download xcode on my own laptop, after the large download and installation (and few updates) i tried the basic Hello World program.
    What is my surprise when, after building succesfully, i get no output at all outputs sections, but more surprised when i try to stop running the program and xcode doesn't respond.
    I get this error with every program, doesnt matter which language.
    I also have a crash when quitting xcode (it freezes and colored ballon pointer appears), so i have to force xcode quit.
    Have anyone faced this issue before? or known whats the issue related with?
    I'll really appreciate any help (as i can't program anything in osx if i want to use xcode)

    From my Guest account it works perfectly.
    How can I make it works on my Account ? Which preference file should I need to change.
    Here is the message from the debugger
    Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Main' in bundle NSBundle </Users/USER/Library/Application Support/iPhone Simulator/7.1/Applications/A0D30F60-57F6-41C5-9EB0-E5FE46F50DB1/ToDoList.app> (loaded)'
    Thank you for your help

Maybe you are looking for

  • Macbook Pro(Mid-2014) Not Detecting External Monitor

    Hi everyone, I'm trying to connect my MBP to an external monitor via HDMI. Since my MBP has an HDMI port built in, I'm not using any adapters between it and the monitor. But nothing is happening when I connect the HDMI cable, my MBP does not seem to

  • Question on Adobe Photoshop 5.0 for Mac

    I am using on my IMac (10.6.8 Snow Leopord) Aperture 3. I want to know  : 1. Can I download and use Abode Photoshop 5.0  Limited Edition  Windows / Mac  onto my IMac ? 2. Although this Abode program is ancient now, can it do certain things that Apert

  • User exist for controlling the OutPut type in sales order

    Hi Is their any exist which controls the output type based on header data of the order? VA01/02. Best regards Satish Kumar K

  • Getting Message - Customer PINXX does not exist

    Hi experts, While creating a P.O. I am getting a message that "CUSTOMER PINXX DOES NOT EXIST (PLEASE CHANGE ENTRY IN PLANT INXX) *Following is the message details:- Customer PINXX does not exist (please change entry in plant INXX) Message no. 06849 D

  • Transport process chain to production

    Hi, i changed process chain in dev system and transported to QA. What i did is created a request then goto se09, select the request and click on release. Now i went to QA system then goto STMS tcode. double click on Quality system and then selected t