Hello world servlet on UCM 11g embedded tomcat

Hi,
I'm using UCM 11.1.1.5. I'm trying to run a simple jsp and servlet (hello world) on UCM embedded Tomcat (deployed with a war).
I successfully executes jsp, however I'm not able to runs servlets...I receive a 404 Http error (generated by WebLogic).
Deploying the same war on a external standalone tomcat server I successfully run the servlet.
Have you any idea?
Any input will be greatly appreciated.
Thanks for your helps,
S.

In order to be more complete, it follows the web.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<display-name>Hello, World Application</display-name>
<description>
This is a simple web application with a source code organization
based on the recommendations of the Application Developer's Guide.
</description>
<servlet>
<servlet-name>HelloServlet</servlet-name>
<servlet-class>mypackage.Hello</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloServlet</servlet-name>
<url-pattern>/hello</url-pattern>
</servlet-mapping>
</web-app>
Thank you very much.
Best regards,
S.

Similar Messages

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

  • 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 in Glassfish. Need help to start, please.

    Hello.
    I am new to servlet technology. I am reading the Servlet specification 2.4 and I want to try everything on practice. I want to start using the Glassfish. Currently I want to try it as a simple servlet container. A few years ago I used to work with tomcat and it was easy to compile a servlet and see its output in the browser. But now I am totaly confused with Glassfish but still I want to know more about it.
    So my question is:
    I compiled my helloworld servlet using jsdk1.5 and using libraries that came with sun app server 9 (glassfish). And now I want to see my servlet working. But I cannot find where should I put my compiled servlet (previously I put it into WEB-INF/classes). I also cannot find the web application descriptor (previously web.xml) to declare my servlet. Please, point me in the right direction so I could start with Glassfish and j2ee 5.0.
    Thanks,
    Grisha.

    Enter this line as the first line of code in your servlet source file.
    package com.servlet;Create remainder of directory structure on web server i.e. com/servlet
    So you should have this:~
    ~ROOT/WEB-INF/classes/com/servlet/
    Place simpleServlet into above directory
    So you should have this:~
    ~ROOT/WEB-INF/classes/com/servlet/simpleServlet.java
    create a web.xml file and put the following into it.
    <web-app>
        <servlet>
            <servlet-name>simpleServlet</servlet-name>
            <servlet-class>com.servlet.simpleServlet</servlet-class>
       </servlet>
           <servlet-mapping>     
                  <servlet-name>simpleServlet</servlet-name>
                  <url-pattern>/simpleServlet </url-pattern>
            </servlet-mapping>
    </web-app>Place web.xml in ~/ROOT/WEB-INF/
    So you should have this:
    ~/ROOT/WEB-INF/web.xml
    Start your webserver. open web browser and type
    http://localhost:8080/simpleServlet
    That should go a long way to getting you started. I never used Glassfish so I just hope the directory structure is as I expect.

  • Deploy of hello world servlet

    I installed Bea Web Logic 6.1 and I wrote a simple servlet HelloWorld to test it but now I explain it better:
    1) I created the directory "c:\prova" where I made a subdirectory "C:\prova\WEB-INF\classes" where I put the .class file of the Servlet.
    2) I made this web.xml:
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 1.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <servlet>
         <servlet-name>CiaoMondoServlet</servlet-name>
    <servlet-class>CiaoMondoServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>CiaoMondoServlet</servlet-name>
    <url-pattern>CiaoMondoServlet</url-pattern>
    </servlet-mapping>
    </web-app>
    3) I put it in the subdirectory : "C:\prova\WEB-INF"
    4) I made the war file: prova.war (c:\prova> jar cvf prova.war *.*)
    5) I put the war file int his directory :
    "C:\bea\wlserver6.1\config\examples\applications"
    6) I make the server start (The icon "Start Examples Server") and when I try to access this resource:
    http://localhost:7001/prova/CiaoMondoServlet
    It answers :
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.

    Hi
    I supose that this error due to the server doesn't recognize the application context.
    Please try to deploy the war file using the administrative console and try again.
    Jin

  • Start UCM 11g and IBR on WindowsServer 2008 during startup of the server

    Hello,
    I did install ucm 11g with an inbound refinery on a windows server 2008 64bit. The ucm and ibr are supposed to start automatically after the server is being turned on.
    1. I did put the startWeblogic.cmd and the startNodeManager.cmd inside the Autostartup directory. The weblogic and the nodemanager are being started fine in a dos console.
    2. I tried to start the ucm with the following command startManagedWeblogic UCM_Server1. Then it asks me for a username and password and then it throws a java exception and the UCM_Server1 is not being started.
    The current status is that the weblogic and nodemanager will be started automatically and the UCM_Server1 and IBR_Server1 have to be started manually.
    What is the usual way to startup the ucm automatically? Should I create Windows Services?
    Greetings
    Bodhy

    The best way is probably a Windows Service. Here is Oracle documentation on how to do this.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/server_start/winservice.html
    You could also try the Windows Task Scheduler. I have heard this works well (although a Windows Service would be better).
    http://www.windowsnetworking.com/articles_tutorials/Working-Windows-Server-2008-Task-Scheduler-Part1.html
    This post shows how to store your WebLogic login information encrypted on disk.
    http://corecontentonly.com/2010/07/27/start-weblogic-managed-server-without-username-and-password/
    Jonathan
    http://www.corecontentonly.com

  • Servlet Hello World

    I'm tying to run the hello world Thinking in Entreprise Java servlet:
    //: c15:servlets:ServletsRule.java
    // {Depends: j2ee.jar}
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class ServletsRule extends HttpServlet {
      int i = 0; // Servlet "persistence"
      public void service(HttpServletRequest req,
      HttpServletResponse res) throws IOException {
        res.setContentType("text/html");
        PrintWriter out = res.getWriter();
        out.print("<HEAD><TITLE>");
        out.print("A server-side strategy");
        out.print("</TITLE></HEAD><BODY>");
        out.print("<h1>Servlets Rule! " + i++);
        out.print("</h1></BODY>");
        out.close();
    } ///:~I use linux (Fedora Core 2), I have Tomcat, but I don't know how to put a servlet working with it.
    Can you help me?
    Thanks in advance.

    http://www.moreservlets.com/Using-Tomcat-4.htmlThis is a good one!
    Thank you!!!

  • How to deploy war file in embedded Tomcat in UCM

    Hi ,
    Can anyone please share the steps to configure embedded Tomcat in UCM, And steps to deploy individual JSP and War file.
    thanks,
    Edited by: user4884609 on Feb 13, 2012 4:23 PM

    one more question :
    The Url to access war file is something like this :
    http://localhost/idc/groups/jsp/documents/webapps/testwar/test.jsp
    Can we have friendly URL for war file ? something like http://localhost/testwar/test.jsp or may be http://localhost/idc/testwar/test.jsp ?

  • 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

  • Problem running Hello World tutorial from Embedded OC4J Server in JDev

    Hi All,
    I am trying to setup my JDeveloper 9i to run the toolbox tutorial projects. I setup the JDEV_USER_HOME, .dbc file, database connection and added the proper responsibilities for the user used in runtime connection, and am not able to successfully run the Hello World page. I get the following error after I click on the link in the test_fwktutorial.jsp. Can anyone please help me out?
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SQL_PLSQL_ERROR. Tokens: ROUTINE = createSession(int, String)(userid=6','0CB08790D63136AEE044080020884BA737960692413709198236595623945829'); REASON = java.sql.SQLException: ORA-06550: line 1, column 49:
    PLS-00306: wrong number or types of arguments in call to 'CREATESESSION'
    ORA-06550: line 1, column 43:
    PL/SQL: Statement ignored
    ; ERRNO = 6550;
         at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:974)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
         at oracle.apps.fnd.framework.webui.OAPageBean.validateUser(OAPageBean.java:4710)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:704)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at OA.jspService(OA.jsp:33)
         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.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-06550: line 1, column 49:
    PLS-00306: wrong number or types of arguments in call to 'CREATESESSION'
    ORA-06550: line 1, column 43:
    PL/SQL: Statement ignored
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
         at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
         at oracle.apps.fnd.framework.webui.OAPageBean.validateUser(OAPageBean.java:4710)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:704)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at OA.jspService(OA.jsp:33)
         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 ##
    java.sql.SQLException: ORA-06550: line 1, column 49:
    PLS-00306: wrong number or types of arguments in call to 'CREATESESSION'
    ORA-06550: line 1, column 43:
    PL/SQL: Statement ignored
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
         at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2698)
         at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2615)
         at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2561)
         at oracle.apps.fnd.common.WebAppsContext.createAnonymousSession(WebAppsContext.java:4768)
         at oracle.apps.fnd.common.WebRequestUtil.setGuestSession(WebRequestUtil.java:1246)
         at oracle.apps.fnd.framework.webui.OAPageBean.validateUser(OAPageBean.java:4708)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:704)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at OA.jspService(OA.jsp:33)
         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.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-06550: line 1, column 49:
    PLS-00306: wrong number or types of arguments in call to 'CREATESESSION'
    ORA-06550: line 1, column 43:
    PL/SQL: Statement ignored
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
         at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
         at oracle.apps.fnd.framework.webui.OAPageBean.validateUser(OAPageBean.java:4710)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:704)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at OA.jspService(OA.jsp:33)
         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 ##
    java.sql.SQLException: ORA-06550: line 1, column 49:
    PLS-00306: wrong number or types of arguments in call to 'CREATESESSION'
    ORA-06550: line 1, column 43:
    PL/SQL: Statement ignored
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
         at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2698)
         at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2615)
         at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2561)
         at oracle.apps.fnd.common.WebAppsContext.createAnonymousSession(WebAppsContext.java:4768)
         at oracle.apps.fnd.common.WebRequestUtil.setGuestSession(WebRequestUtil.java:1246)
         at oracle.apps.fnd.framework.webui.OAPageBean.validateUser(OAPageBean.java:4708)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:704)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at OA.jspService(OA.jsp:33)
         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)
    Thank you,
    Kitty

    Please note, you will not get ORA-xxx error if database connection is not established.
    You might be using either wrong dbc file(may be dbc of other instance) or wrong jdeveloper version.
    To find out correct jdeveloper version, refer the following link.
    http://prasanna-adf.blogspot.com/2008/11/new-to-oaf.html
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • SOA 11g Tutorial/Hello World application

    Dear All,
    I am very much new to SOA Pls let me know Tutorials or How to build Hello world or where to start the building the applications.
    Best regards,
    Raj

    http://www.oracle.com/technology/sample_code/products/soa/index.html
    http://blogs.oracle.com/soabpm/2009/12/soa_suite_11g_-somelong_awai.html
    http://www.oracle.com/technetwork/developer-tools/jdev/index-095536.html
    Regards,
    Anuj

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

  • 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

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

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

Maybe you are looking for

  • Error while deploying Java Client Proxy

    Hi Experts, I developed a java client proxy.Since i do not have access to visual administrator, i uploaded the ear file to a folder in the XI box and asked the basis folks to deploy it. On trying to deploy it on to the server they got the following e

  • How do I reset an iPod for a different user

    How do I reset an iPod for a different user

  • RAID - 1 and repair question

    Hi all, I have an AMD 770-C45 motherboard. After setup a raid-1 with 2 500GB disks, 1 of the disk becomes unusable at the RAID set. The raid set is still visible within Windows XP as RAID disk. Within the Raid config at BIOS, the 2nd disk has been de

  • Event for thumbnail creation?

    I'm using a wireless connection to send images to Bridge. Bridge updates the thumbnail pane when the new image is received. This works well if images as selected in descending order. However, the new image is not automatically selected. I'd like to d

  • Adobe reader X will not install

    before installing adobe reader X, should I uninstall adobe reader 7 ?