Hello World debug works, run fails

Hello - I've installed Eclipse and MinGW per instructions, created a project from the "Hello World C++ Project" executable, and successfully built the project. If I try to RUN the project, it fails with this error and no "Hello World" output:
<terminated> (exit value -1,073,741,515) HelloWorld.exe [C/C++ Application]
but if I DEBUG the project, I can step over the cout line then click Resume, and it executes correctly with the expected output and an exit value of 0.
What is happening?? Am I doing something wrong?
Thanks!
~Dan

Compare these two configurations (Run and Debug):
(Right click on the project) -> Properties -> C/C++ Build -> Settings -> Libraries
Make sure you have the Libraries and Library search path the same.
While in the Release mode, clean and build the project.
-- L. James
L. D. James
[email protected]
www.apollo3.com/~ljames
Daniel Fretz wrote on Mon, 03 August 2015 21:08Hello - I've installed Eclipse and MinGW per instructions, created a project from the "Hello World C++ Project" executable, and successfully built the project. If I try to RUN the project, it fails with this error and no "Hello World" output:
<terminated> (exit value -1,073,741,515) HelloWorld.exe [C/C++ Application]
but if I DEBUG the project, I can step over the cout line then click Resume, and it executes correctly with the expected output and an exit value of 0.
What is happening?? Am I doing something wrong?
Thanks!
~Dan

Similar Messages

  • First WDA (Hello World) not working in IE but looks good in FireFox.

    Hi,
    My Hello World App in WD  is not working in Browser IE. So I can't TEST it in SE80. It only shows a blank page and a javascipt error...
    Taking the same URL in Firefox works just fine....
    BSP apps is working just fine in both browsers.
    sapr3d.korkow is inside a "single label domain"
    http://sapr3d.korkow/sap/bc/webdynpro/sap/zwd_test2?sap-system-login-basic_auth=X&sap-client=300&sap-language=EN
    I have looked at the Config Manuals for WDA. FQDN etc.
    RZ10 now looks like this
    icm/host_name_full                          sapr3d.korkow
    rdisp/rfc_min_wait_dia_wp                   5
    rsdb/ntab/irbdsize                          8000
    rsdb/ntab/ftabsize                          35000
    rsdb/esm/buffersize_kb                      6144
    rsdb/cua/buffersize                         5000
    zcsa/installed_languages                    DEFKNOV
    abap/buffersize                             400000
    DIR_EPS_ROOT                                F:\usr\sap\trans\EPS
    DIR_TRANS                                  
    $(SAPTRANSHOST)\sapmnt\trans
    SAPTRANSHOST                                sapr3d
    SAPSYSTEMNAME                               U01
    SAPGLOBALHOST                               sapr3d
    SAPSYSTEM                                   00
    INSTANCE_NAME                               DVEBMGS00
    DIR_CT_RUN                                  $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTAMD64
    DIR_EXECUTABLE                              $(DIR_INSTANCE)\exe
    PHYS_MEMSIZE                                9059
    rdisp/wp_no_dia                             16
    rdisp/wp_no_btc                             4
    rdisp/max_wprun_time                        900
    icm/keep_alive_timeout                      180
    icm/server_port_0                           PROT=HTTP,PORT=80,TIMEOUT=0,PROCTIMEOUT=180
    ms/server_port_0                            PROT=HTTP,PORT=81$$
    rdisp/wp_no_enq                             1
    rdisp/wp_no_vb                              4
    rdisp/wp_no_vb2                             2
    rdisp/wp_no_spo                             1
    In my hosts file I have:
    127.0.0.1       localhost
    178.18.8.15     SAPR3D
    Any Pointers ?
    Br,
    Martin

    Hi,
    I'm using IE 7.0.5730.13
    I also "fixed" securtiy settings to be as Low as possible....
    (Below message I could not cut and paste... so there may be some spelling misstakes.)
    First javascript error:
    Line: 10
    Char: 13
    Error: Invalid argument
    code: 0
    URL: http://sapr3d.korkow/sap/bc/webdynpro/sap/zwd_test2?sap-system.....
    second error (pushing Next button):
    same as above but:
    URL: http://sapr3d.korkow/sap/bc/webdynpro/ssr/domain_relax.html?000041-1
    third error:
    same as above but:
    URL: http://sapr3d.korkow/sap/bc/webdynpro/sap/zwd_test2~ucfLOADING?sap-contextid=SID.....&sap-wd-clientWindowid=25143
    Any pointers ?
    Br,
    Martin
    Edited by: Martin Andersson on Jun 29, 2008 5:36 AM

  • Hello World plugin works in 32-bit, does not work in 64-bit

    I created a simple "Hello World" plugin by following the instructions in Adobe's guide: Getting Started with Adobe Illustrator CC Development, which is available as a pdf here.
    The plugin works in the 32-bit version of Illustrator CS6, but I get an error message while trying to launch the 64-bit version. "Error loading plugins. HelloWorld.aip"
    How can I fix this error?

    You need to build 64 bit version of plugin. Change the configuration to x64 in your visual studio (I am assuming windows) and build. It should work fine.

  • Hello World Tutorial not working. processFormRequest not called

    In 9iJDeveloper when running the HelloWorld tutorial, I enter a value in the 'Hello' box, and press 'Go'. The page refreshes, but the value entered does not get displayed. No Information box is displayed, as it should according to the tutorial. So, I ran under debug, and it appears that in HelloWorldMainCO only processRequest is called. The breakpoint in processFormRequest is never reached.
    I have tried the other tutorials, and no 'POST's are working.
    However, when I logon to applications as 'OA Framework ToolBox Tutorial' responsibility and run the tutorials they work fine.
    Any help will be appreciated.

    Hi,
    I am having the same problem. We could be facing the same issue. I am following this issue in the thread 'Hello World not working'. You are welcome if you want to join us there.
    Thanks
    Sandeep

  • Cannot get hello world to run?!

    Ack, an IDE is a terrible thing. I recently tried to compile/run a java program the old fashioned way (from DOS command prompt), and I can't even get a simple hello world prog to run!
    I've got a file "Hello.java" with the code
    public class Hello {
    public static void main(String[] args) {
    System.out.println("hello, world!");
    } from the command prompt, i then do "javac Hello.java", which works fine, and then a "java Hello". Unfortunately, "java Hello" says "NoClassDefFoundError: Hello"... I can't for the life of me figure out why something so simple isn't working. Anyone? I'm getting pretty desperate here lol...

    hi,
    may be your class path doesn't set.
    set classpath=.;%classpath%;copy and paste it into your current dir and try once

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

  • Can't get even a hello world program to work

    Hello,
    I am new to java and have written the following and saved it
    to hello.java:
    public class hello
    public static void main(String[] args)
    System.out.println("Hello, world");
    Then I run javac as follows:
    javac hello.java
    No errors, so I type:
    java hello
    and I get
    Exception in thread "main" java.lang.NoClassDefFoundError: hello
    I have been careful for upper and lower case.
    What am I missing?
    I just installed java on this machine.
    Thanks,
    Mike

    Do this instead:java -cp . hello... note the dot following the '-cp' flag. The Java virtual machine needs to
    know where your classes are stored, i.e. it doesn't assume a concept
    of a 'current working directory'. The '-cp' flag is followed by a list of dirs
    (here it's just the current directory '.') that store .class files.
    kind regards,
    Jos

  • Simple "Hello world" servlet in sap j2ee 6.20

    Hello @ all,
    I want to develop a little "hello world" servlet which runs on a sap j2ee 6.20.
    Writing the code is not the problem
    But I do not know which steps I have to do in order to get the servlet to run.
    Do I have to create an ear-File? If yes how can I build an ear-File!
    Or is the a way to just create a folder in the root of the j2ee with an WEB-INF folder! I tried this but it dosn´t work!
    Is there perhaps a plugin available for eclipse 2.1 to develop and deploy the application to the sap j2ee??
    Thanks alot for your help!
    Best regards
    Kai

    Hi Kai.
    Coding is always cool!! Never a problem
    >>Do I have to create an ear-File? If yes how can I build an ear-File!
    Anyways, If you have created the J2EE application then you have to build a Web Applicatipn Project. And then give the reference of your application to this Web Application Project. Now craete a archive file of this web application project.
    When you will do this a <b>.ear</b> file will be created and a <b>.war</b> file will also be created in your application. Noe Deploy ear to J2ee engine. It will ask for the password of SDM. Give that password and it will be deployed on the SAP J2ee engine.
    To run the application write:
    http://<my_server>:<my_port>/irj/servlet/<my_application_name>/
    This will run your application. Hope this will help.
    Do award points if you find answer is helpful for you.
    Rgds
    Vikas

  • Hello World Servlet Not Working

    Hi,
    I am using apache and eclipse for the first time. I am running into an issue. When I create the HelloServlet.java class, a yellow icon with a question mark appears on top on my web-inf, package, and class. I also notice a yellow line appears under the class name HelloWorld. I place the curso on top of it, and I saw the message below:
    �The serializable class HelloServlet does not declare a static final serialVersionUID field of type long�. I am not sure what I did wrong. When I paste the url in the browser, it does not show the message. It shows me an error 404.
    I am using eclipse 3 with tomcat 6 and java 5.
    P.S. I started tomcat, and all the jsp and html samples are working fine.

    I am getting the error message below when I compile my hello World Servlet.
    Dec 13, 2007 11:45:54 AM org.apache.catalina.core.AprLifecycleListener init
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_14\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jre1.6.0_03\bin\client;C:\Program Files\Java\jre1.6.0_03\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.5.0_14\bin;C:\JDBC\sqljdbc_1.2\enu\sqljdbc.jar;c:\Program Files\Microsoft SQL Server\90\Tools\binn\
    Dec 13, 2007 11:45:54 AM org.apache.coyote.http11.Http11Protocol init
    SEVERE: Error initializing endpoint
    java.net.BindException: Address already in use: JVM_Bind:8080
         at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501)
         at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:177)
         at org.apache.catalina.connector.Connector.initialize(Connector.java:1059)
         at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
         at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:518)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
    Dec 13, 2007 11:45:54 AM org.apache.catalina.startup.Catalina load
    SEVERE: Catalina.start
    LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080
         at org.apache.catalina.connector.Connector.initialize(Connector.java:1061)
         at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
         at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:518)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
    Dec 13, 2007 11:45:54 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 827 ms
    Dec 13, 2007 11:45:54 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Dec 13, 2007 11:45:54 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
    Dec 13, 2007 11:45:54 AM org.apache.tomcat.util.digester.Digester fatalError
    SEVERE: Parse Fatal Error at line 1 column 6: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)
         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
         at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)
         at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPIData(XMLScanner.java:689)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanPIData(XMLDocumentFragmentScannerImpl.java:750)
         at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPI(XMLScanner.java:664)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(XMLDocumentScannerImpl.java:845)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
         at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
         at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:369)
         at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1062)
         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4239)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Dec 13, 2007 11:45:54 AM org.apache.catalina.startup.ContextConfig applicationWebConfig
    SEVERE: Parse error in application web.xml file at jndi:/localhost/HelloWorld/WEB-INF/web.xml
    org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1269)
         at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
         at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:369)
         at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1062)
         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4239)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Dec 13, 2007 11:45:54 AM org.apache.catalina.startup.ContextConfig applicationWebConfig
    SEVERE: Occurred at line 1 column 6
    Dec 13, 2007 11:45:54 AM org.apache.catalina.startup.ContextConfig start
    SEVERE: Marking this application unavailable due to previous error(s)
    Dec 13, 2007 11:45:54 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error getConfigured
    Dec 13, 2007 11:45:54 AM org.apache.catalina.core.StandardContext start
    SEVERE: Context [HelloWorld] startup failed due to previous errors
    Dec 13, 2007 11:45:55 AM org.apache.coyote.http11.Http11Protocol start
    SEVERE: Error starting endpoint
    java.net.BindException: Address already in use: JVM_Bind:8080
         at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501)
         at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:515)
         at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:204)
         at org.apache.catalina.connector.Connector.start(Connector.java:1132)
         at org.apache.catalina.core.StandardService.start(StandardService.java:531)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Dec 13, 2007 11:45:55 AM org.apache.catalina.startup.Catalina start
    SEVERE: Catalina.start:
    LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:8080
         at org.apache.catalina.connector.Connector.start(Connector.java:1139)
         at org.apache.catalina.core.StandardService.start(StandardService.java:531)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Dec 13, 2007 11:45:55 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 1244 ms
    Dec 13, 2007 11:45:55 AM org.apache.catalina.core.StandardServer await
    SEVERE: StandardServer.await: create[8005]:
    java.net.BindException: Address already in use: JVM_Bind
         at java.net.PlainSocketImpl.socketBind(Native Method)
         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
         at java.net.ServerSocket.bind(ServerSocket.java:319)
         at java.net.ServerSocket.<init>(ServerSocket.java:185)
         at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
         at org.apache.catalina.startup.Catalina.await(Catalina.java:630)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:590)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

  • Error while running Hello world from Tutorial

    Hi ,
    I am facing a strange problem while running Hello world from tutorial. The page expires after running for half an hour and the log in the Jdeveloper is
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Jdev\jdevbin\jdk1.4.2\bin\javaw.exe -client -classpath C:\Jdev\jdevbin\j2ee\home\oc4j.jar;C:\Jdev\jdevbin\jdev\lib\jdev-oc4j.jar -Xbootclasspath/p:C:\Jdev\jdevbin\jdev\appslibrt\ojdbc14.jar;C:\Jdev\jdevbin\jdev\appslibrt\nls_charset12.zip -DRUN_FROM_JDEV=true -mx256m -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 com.evermind.server.OC4JServer -config C:\Jdev\jdevhome\jdev\system9.0.3.5.1312\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 5782 ms.
    Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
    Oracle9iAS (9.0.3.1.0) Containers for J2EE initialized
    Tutalii: C:\Jdev\jdevbin\jdev\appslibrt\iasjoc.zip archive
    [Feb 27, 2008 4:31:57 PM IST]:1204110117921:Thread[HttpRequestHandler-25086455,5,main]:-1:-1:sisatpat:9.182.220.120:-1:-1:UNEXPECTED:[fnd.common.logging.DebugEventManager.handlerException]:java.io.FileNotFoundException: C:\u01\VIS\FND.log (The system cannot find the path specified)
         at java.io.FileOutputStream.openAppend(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
         at oracle.apps.fnd.common.logging.FileHandleManager.getFileInternal(FileHandleManager.java:99)
         at oracle.apps.fnd.common.logging.FileHandler.<init>(FileHandler.java:99)
         at oracle.apps.fnd.common.logging.FileHandler.<init>(FileHandler.java:79)
         at oracle.apps.fnd.common.logging.DebugEventManager.registerHandlers(DebugEventManager.java:1198)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:949)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:907)
         at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
         at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:1025)
         at oracle.apps.fnd.common.WebAppsContext.init(WebAppsContext.java:3486)
         at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:537)
         at oracle.apps.jtf.base.resources.Architecture.createWebAppsContext(Architecture.java:429)
         at oracle.apps.jtf.base.resources.Architecture.createAppsContext(Architecture.java:422)
         at oracle.apps.jtf.base.resources.Architecture.createAppsContext(Architecture.java:330)
         at oracle.apps.jtf.cache.ArchitectureWrapper.createAppsContext(ArchitectureWrapper.java:90)
         at oracle.apps.jtf.cache.appsimpl.AppsCacheLogger.<clinit>(AppsCacheLogger.java:34)
         at oracle.apps.jtf.cache.appsimpl.AppsCacheEnvironment.getCacheLogger(AppsCacheEnvironment.java:67)
         at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:595)
         at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:364)
         at oracle.apps.jtf.cache.CacheAdmin.isComponentRegistered(CacheAdmin.java:314)
         at oracle.apps.fnd.cache.Cache.registerCacheIfNeeded(Cache.java:119)
         at oracle.apps.fnd.cache.Cache.initCache(Cache.java:110)
         at oracle.apps.fnd.cache.Cache.<init>(Cache.java:88)
         at oracle.apps.fnd.cache.AppsCache.<init>(AppsCache.java:87)
         at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:280)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileStore.java:482)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(ExtendedProfileStore.java:113)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContext.java:3834)
         at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:942)
         at oracle.apps.fnd.common.Context.setProfileStore(Context.java:825)
         at oracle.apps.fnd.common.Context.setProfileStore(Context.java:807)
         at oracle.apps.fnd.common.WebAppsContext.init(WebAppsContext.java:3484)
         at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:537)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:346)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at test_fwktutorial._jspService(test_fwktutorial.jsp:45)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         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:797)
         at java.lang.Thread.run(Thread.java:534)
    [Feb 27, 2008 4:31:57 PM IST]:1204110117890:Thread[HttpRequestHandler-25086455,5,main]:-1:-1:sisatpat:9.182.220.120:-1:-1:UNEXPECTED:[fnd.common.logging.FileHandler.publish]:Please check File Permission/Disk Space for: /u01/VIS/FND.log, defaulting Logging to STDERR
    Can any one help!!
    Thanks,
    Sid..

    Sid,
    1) Check your using the correct version of Jdev with your instance.
    Metalink note 416708.1 - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12
    Will give the mappings.
    And check the Jdev setting
    330236.1 - Configuring JDeveloper For Use With Oracle Applications 11i and R12
    2) Instead of using the tutorial, create a sample page, Am and run the page.
    Check what error you are getting.
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • Cookie error while running Hello World

    Hi,
    When i run test_fwklabsolutions.jsp, i get the page where there are links named Hello World, Home etc.
    But when i click on one of the link, i get this message
    "You have encountered an unexpected error. Please contact the System Administrator for assistance.
    Click here for exception details. "
    When I click on the link "Click here for exceptions:" a blank page is displayed.
    In the debugger window of jDeveloper, i get the following message :
    "ICX DIAGNOSTIC: FND_TOP = D:\Jdeveloper\jdevhome\jdev\myhtml\OA_HTML\
    ICX DIAGNOSTIC: application_id = 601
    ICX DIAGNOSTIC: responsibility_id = 24743
    ICX DIAGNOSTIC: security_group_id = 0
    ICX DIAGNOSTIC: mEncryptedSessionID = onhyPf0XCy7zyEvfbWKZOkVT:S
    ICX DIAGNOSTIC: mSessionID = 298494531
    ICX DIAGNOSTIC: mTransactionID = 774968588
    java.lang.NullPointerException
         at oracle.apps.fnd.common.WebRequestUtil.getCookieValue(WebRequestUtil.java:130)
         at oracle.apps.fnd.common.WebRequestUtil.getSessionCookie(WebRequestUtil.java:622)
         at oracle.apps.fnd.framework.webui.OAJSPHelper.getIcxCookie(OAJSPHelper.java:274)
         at oracle.apps.fnd.framework.webui.OAJSPHelper.getIcxCookie(OAJSPHelper.java:239)
         at oracle.apps.fnd.framework.webui.OAServerDelegate.getIcxSessionContext(OAServerDelegate.java:423)
         at oracle.apps.fnd.framework.webui.OAJSPHelper.handleErrorStackDisplay(OAJSPHelper.java:1306)
         at _OAErrorPage._jspService(OAErrorPage.jsp:68)
         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.include(ServletRequestDispatcher.java:119)
         at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:547)
         at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:518)
         at _OA._jspService(OA.jsp:35)
         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 idea where I am going wrong.
    -Debojyoty

    Sid,
    1) Check your using the correct version of Jdev with your instance.
    Metalink note 416708.1 - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12
    Will give the mappings.
    And check the Jdev setting
    330236.1 - Configuring JDeveloper For Use With Oracle Applications 11i and R12
    2) Instead of using the tutorial, create a sample page, Am and run the page.
    Check what error you are getting.
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • While running hello world program for 12.1.3, getting error

    We followed the instruction given in dev tutorial and set the 12.1.3 jdev.
    When try to run the “Hello World” program, got error
    “You have insufficient privilege”
    Solution:
    I changed the setting as below and it worked.
    Jdeveloper -> Tools -> Embedded OC4J server setting -> start up
    Choose option: Default IP address
    And issue got resolved.
    I want to share this with everyone.

    We followed the instruction given in dev tutorial and set the 12.1.3 jdev.
    When try to run the “Hello World” program, got error
    “You have insufficient privilege”
    Solution:
    I changed the setting as below and it worked.
    Jdeveloper -> Tools -> Embedded OC4J server setting -> start up
    Choose option: Default IP address
    And issue got resolved.
    I want to share this with everyone.

  • Exception while running hello world program

    Hi OAF guys
    i am getting the following exception when i am trying to run the Hello world example. Any body knows this problem, respond asap
    Exception Details.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.adf.mds.exception.MDSRuntimeException; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1960)
         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
         at oracle.apps.fnd.framework.mds.cache.ATGCacheMgrDelegateImpl.<init>(ATGCacheMgrDelegateImpl.java:325)
         at oracle.apps.fnd.framework.mds.cache.ATGCacheFactoryImpl.<init>(ATGCacheFactoryImpl.java:44)
         at oracle.apps.fnd.framework.mds.OAMDSContextUtils.createMDSContext(OAMDSContextUtils.java:202)
         at oracle.apps.fnd.framework.mds.OAMDSContextUtils.createMDSContext(OAMDSContextUtils.java:149)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3444)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:988)
         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
         at oracle.apps.fnd.framework.mds.cache.ATGCacheMgrDelegateImpl.<init>(ATGCacheMgrDelegateImpl.java:325)
         at oracle.apps.fnd.framework.mds.cache.ATGCacheFactoryImpl.<init>(ATGCacheFactoryImpl.java:44)
         at oracle.apps.fnd.framework.mds.OAMDSContextUtils.createMDSContext(OAMDSContextUtils.java:202)
         at oracle.apps.fnd.framework.mds.OAMDSContextUtils.createMDSContext(OAMDSContextUtils.java:149)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3444)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:988)
         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)
    thanks in advance
    Thanks & Regards
    U.Palakondaiah

    For a quick resolution please add the below -D parameter to Java Options under "Project Settings->Configurations->Development->Runner"
    -DCACHEMODE=DISTRIBUTED
    Next thing I want you to do is, check what version of "oracle.apps.jtf.cache.HTCacheProvider" class
    your jdeveloper has? It should be >= 115.33. If not then try after deleting all your class files (myclasses/myglobalclasses and other external classes - may be one of them might have older version of this class file).
    Thanks,
    Eshwar

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

  • OAF Hello World Run Time errors

    Hi All,
    I was building the Hello world OA page as per the instruction given in developer guide and while i am running the page i am getting the error message like below.
    Any help would appreciate.
    Thanks,
    sAik
    Exception Details:-
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.apps.jtf.cache.CacheLoaderNotFoundException;
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
    at OAErrorPage.jspService(OAErrorPage.jsp:34)
    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.include(ServletRequestDispatcher.java:119)
    at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:547)
    at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:518)
    at runregion.jspService(runregion.jsp:143)
    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.apps.jtf.cache.CacheLoaderNotFoundException
    at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:3236)
    at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:3203)
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:248)
    at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1293)
    at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1147)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1008)
    at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:977)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931)
    at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
    at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:873)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:858)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:827)
    at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:686)
    at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:846)
    at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:352)
    at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
    at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
    at runregion.jspService(runregion.jsp:96)
    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.apps.jtf.cache.CacheLoaderNotFoundException
    at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:3236)
    at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:3203)
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:248)
    at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1293)
    at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1147)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1008)
    at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:977)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931)
    at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
    at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:873)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:858)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:827)
    at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:686)
    at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:846)
    at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:352)
    at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
    at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
    at runregion.jspService(runregion.jsp:96)
    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)

    Hi,
    From project settings Configuration->Development->Runner Java Option remove all the options with CACHE. That means if the value is
    -Xbootclasspath/p:C:\JDeveloper\jdevbin\jdev\appslibrt\ojdbc14.jar;C:\JDeveloper\jdevbin\jdev\appslibrt\nls_charset12.zip -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m
    Change it to
    -Xbootclasspath/p:C:\JDeveloper\jdevbin\jdev\appslibrt\ojdbc14.jar;C:\JDeveloper\jdevbin\jdev\appslibrt\nls_charset12.zip -DRUN_FROM_JDEV=true -mx256m
    HTH
    Dinesh

Maybe you are looking for

  • Apple Loops and the Loop Browser

    maybe I'm missing something here, but whenever I save an edited audio file (or loop) with Apple Loops I can never seem to find the same file in the Loop Browser. (unless that is how the app is suppose to behave ...) I assumed the Loop Browser behaves

  • Connecting to an ejb from another appserver

    Hello, I need to connect to an EJB running on a company's REMOTE Weblogic appserver. I have done so using normal class files but now I wish to use an EJB to do so. I am using Jboss but am getting errors from Jboss saying that it cannot find certain f

  • Serious Keyboard Key Mapping Issue

    Hi there everyone... Yesterday evening, while i was watching a movie on my Macbook, i accidentally pressed the command button, and all of a sudden the movie stopped playing. After some research on the internet, I activated the keyboard palette, and f

  • Writing a pause method in a class which extends TimerTask

    I run my method using this code: synchronized public void run() {               MainClass.myMethod();          }and I want to run my method every 10 seconds so I do like this: public void start() {               try {                   timer.schedule

  • Can't see components

    The desired effect is to draw a red and a blue square. The squares don't show up on the panel. Resolution? Thanks! /* File RBSquarePanel.java */ import java.awt.*; import java.awt.event.*; import javax.swing.*; public class RBSquarePanel extends JPan