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

Similar Messages

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

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

  • 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 hello world

    hi!
    I'm trying to deploy my hello world jsp and ejb. I tried a pair of different programming, but I always get the same message:
    02.12.2005 12:57:37 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [003]Deployment aborted
    Settings
    SDM host : sbrc30222
    SDM port : 50018
    URL to deploy : file:/c:/temp/temp33289HelloWorldEar.ear
    Result
    => deployment aborted : file:/c:/temp/temp33289HelloWorldEar.ear
    Aborted: development component 'HelloWorldEar'/'sap.com'/'localhost'/'2005.12.02.12.57.26':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/HelloWorldEar.. Reason: Application alias "contextRoot" for application "sap.com/HelloWorldEar" already exists in the HTTP Provider Service.; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Application alias "contextRoot" for application "sap.com/HelloWorldEar" already exists in the HTTP Provider Service.
         at com.sap.engine.services.servlets_jsp.server.container.ActionBase.checkAliasInHttp(ActionBase.java:178)
         at com.sap.engine.services.servlets_jsp.server.container.DeployAction.deploy(DeployAction.java:124)
         at com.sap.engine.services.servlets_jsp.server.container.WebContainer.deploy(WebContainer.java:103)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:594)
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:379)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:296)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3033)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:463)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: com.sap.engine.services.httpserver.exceptions.IllegalHostArgumentsException: Cannot add HTTP alias [contextRoot] on host default. An application with the same alias already exists.
         at com.sap.engine.services.httpserver.server.hosts.impl.HostPropertiesModifierImpl.checkAlias(HostPropertiesModifierImpl.java:283)
         at com.sap.engine.services.httpserver.server.HttpHosts.checkApplicationAlias(HttpHosts.java:385)
         at com.sap.engine.services.httpserver.server.HttpProviderImpl.checkApplicationAlias(HttpProviderImpl.java:251)
         at com.sap.engine.services.servlets_jsp.server.container.ActionBase.checkAliasInHttp(ActionBase.java:175)
         ... 19 more
    ', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Application alias "contextRoot" for application "sap.com/HelloWorldEar" already exists in the HTTP Provider Service.
         at com.sap.engine.services.servlets_jsp.server.container.ActionBase.checkAliasInHttp(ActionBase.java:178)
         at com.sap.engine.services.servlets_jsp.server.container.DeployAction.deploy(DeployAction.java:124)
         at com.sap.engine.services.servlets_jsp.server.container.WebContainer.deploy(WebContainer.java:103)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:594)
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:379)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:296)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3033)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:463)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: com.sap.engine.services.httpserver.exceptions.IllegalHostArgumentsException: Cannot add HTTP alias [contextRoot] on host default. An application with the same alias already exists.
         at com.sap.engine.services.httpserver.server.hosts.impl.HostPropertiesModifierImpl.checkAlias(HostPropertiesModifierImpl.java:283)
         at com.sap.engine.services.httpserver.server.HttpHosts.checkApplicationAlias(HttpHosts.java:385)
         at com.sap.engine.services.httpserver.server.HttpProviderImpl.checkApplicationAlias(HttpProviderImpl.java:251)
         at com.sap.engine.services.servlets_jsp.server.container.ActionBase.checkAliasInHttp(ActionBase.java:175)
         ... 19 more
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    I understand the message, that the directory is on the server yet. but I deletet all selfmade programs.

    Hi Steffen,
    Just edit the context-root element in your EAR file application.xml, e.g.
      <context-root>
        Hello
      </context-root>
    and try deploying again.
    HTH!
    Vladimir

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

  • SharePoint "Hello World" App showing blank page

    I have just created and deployed a "Hello World" app to test our SharePoint 2013 Appstore and run into a problem. The application has been uploaded to the store and can be added to a site, but when I click on the app in the site I get a blank page
    containing the following html:
    <html><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"><meta name="Robots" content="NOINDEX " /></head><body></body>
                    <script type="text/javascript">
                     var gearPage = document.getElementById('GearPage');
                     if(null != gearPage)
                         gearPage.parentNode.removeChild(gearPage);
                         document.title = "Error";
                     </script>
                     </html>
    I think the issue is related to the way our SharePoint environment is ssl offloaded. We have set up AAMs for the web application the application store is set up on. Both this site and the app domain are being offloaded.
    We have applied SP1, which as far as I am aware contains the March update which allows the app store to work like this.
    Has anyone got any suggestions?
    Thanks

    Thanks for your reply Jerry,
    This problem is a reproduction of the same issue we were having in our production environment. We are trying to install a 3rd party application and it wasn't working. In order to troubleshoot, we have configured our test environment in the same way and created
    a blank app to test the app store in isolation.
    I have used a number of network tools to see if there's anything obvious there, but in terms of the request it seems to be going through fine - SharePoint is serving the blank page.
    We have had a dig in the logs and found the following entry:
    03/05/2015 09:13:34.20 w3wp.exe (0x06A4)
    0x0CCC SharePoint Foundation
    General aiz2a
    High Request for app scheme does not match the webapp's scheme for this zone. Request Uri: http://app-4de7650b52503a.appstore-tst2013.<our domain>.net/sites/apptest/SharePointApp1/Pages/Default.aspx?SPHostUrl=https%3A%2F%2Fdocs%2Dtst2013%2E<our
    domain>%2Enet%2Fsites%2Fapptest&SPLanguage=en%2DUS&SPClientTag=0&SPProductNumber=15%2E0%2E4693%2E1000&SPAppWebUrl=https%3A%2F%2Fapp%2D4de7650b52503a%2Eappstore%2Dtst2013%2E<our domain>%2Enet%2Fsites%2Fapptest%2FSharePointApp1  Zone
    Response Uri: https://docs-tst2013.<our domain>.net Site collection path: /sites/apptest.
    Which seems to be saying the incoming request was an http:// request when it was expecting https://
    SSL is offloaded in our environment so the request to the SharePoint server will be http:// from the NLB, and https:// from the client browser.
    We have AAMs for the web application the app store url points to with http:// as the internal url and https:// as the public url.
    Does this help?
    Thanks.

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

  • ADF :Hello world Page and discussion for its deployment with Oracle guys!

    I have written a small article of creating hello world page in ADF with screenshtots,here is the link:
    http://mukx.blogspot.com/2008/03/adf-hello-world-page.html
    This article can help you for a self starter with ADF and some baisc idea of same components in both OAF and ADF.
    Here is the link of recent mail conversation with Oracle guys for ADF project deployment:
    http://mukx.blogspot.com/2008/04/discussion-for-deploying-adf-project-in.html
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Mukul,
    Thanks for the tute, am new to ADF so this was of great help to me. I had a query, if i want to have my own look and feel web pages and Oracle ADF ones, does the custimzation involve too much of manual coding or can be done easily in ADF. Also is there an equivalent tag to div in ADF Faces

  • Anybody can suggest quick sample 'Hello World' with ADF/JSF to deploy on WC

    We are using JDeveloper 11g, and Web Center 10.1.3.2.
    We have Oracle Portals 10.1.2.0.2
    We want to develop a portlet and deploy it to WC 10.1.3.2 to use it in Portals 10.1.2.0.2.
    Could anybody suggest any working "Hello World' sample with ADF/JSF to deploy on WC 10.1.3.2 WSRP.
    TIA

    Just to clarify. Oracle Portal 10.12.0.2 did not support WSRP based portlets (this was introduced in 10.1.4 or Portal) as such you would need to develop a JPDK based portlet in order to use it in both Portal 10.1.2.0.2 and WebCenter. If you upgrade the portal to 10.1.4 you will be able to use a WSRP 1.0 based portlet in both products (WebCenter also supports the draft WSRP2.0 extensions so make sure that you register the correct WSDL file)
    If you are trying to use JSF components within the Portlet itself you will need to use the JSF Portlet Bridge which accounts for the differences in lifecycle between JSF and WSRP.

  • How to Deploy Hello World in SOA suggest Step by step procedure

    HI
    I am done with the installation of SOA on Windows now I want to deploy same sample like Hello World or my first page.?
    When you install SOA all the default example get automatically get installed or do we need to do something else.
    Where should I check (can you please let me know the location)
    Can you please let me know the step by step procedure for that.
    Regards
    User649230

    Refer below links
    http://download-uk.oracle.com/docs/cd/B31017_01/index.htm
    http://www.oracle.com/technology/tech/fmw4apps/ebs/BPEL-Hello-World.pdf
    Regards

  • Problem With Deploying a very simple Servlet

    HELP REQUIRED:
    Hi,
    I'm including code of a very simple Servlet application (I shd not call it an application):
    index.html
    ==========
    <html><body bgcolor="#FFFFFF">
         <head>
         <title> Rajeev Asthana </title>
    <form action = "/HelloWorldApp/HelloWorld" method = "POST" >
    Please press Submit
    <input type = "submit" value = "Press Me!">
    </form>
    </body></html>
    HelloWorld.java
    ===============
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloWorld extends HttpServlet {
         public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
              throws ServletException, IOException {
              response.setContentType("text/html");
              PrintWriter out = response.getWriter();
              out.println("<html><body bgcolor=\"#FFFFFF\">");
              out.println("<p>Hello World!</p>");
              out.println("</body></html>");
              out.close();
    web.xml
    ========
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4" 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">
    <display-name>HelloWorldApp</display-name>
    <servlet>
    <display-name>HelloWorld</display-name>
    <servlet-name>HelloWorld</servlet-name>
    <servlet-class>HelloWorld</servlet-class>
    </servlet>
    </web-app>
    sun-web.xml
    ===========
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.0 Servlet 2.4//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-0.dtd">
    <sun-web-app xmlns="http://java.sun.com/xml/ns/j2ee">
    <context-root>/HelloWorldApp</context-root>
    <session-config>
    <session-manager persistence-type="memory">
    <manager-properties/>
    <store-properties/>
    </session-manager>
    <session-properties/>
    <cookie-properties/>
    </session-config>
    <cache enabled="false" max-entries="4096" timeout-in-seconds="30">
    <default-helper/>
    </cache>
    <class-loader delegate="true"/>
    <jsp-config/>
    </sun-web-app>
    I have deployed it in following directory structure:
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\HelloWorldApp\
    |
    |
    |               |               |               |
    |               |               |               |
    META-INF          WEB-INF          HelloWorld.java          index.html
                   |
                   |
              |          |          |          |
              |          |          |          |
         classes          sun-web.xml     web.xml          sun-j2ee-ri-project
         |
         |
         HelloWorld.class
    While generating HelloWorldApp.war (which is the war file for this app), I specifies /HelloWorldApp as context root (sun specific).
    Now, when I deployed it thru Admin Tool and then clicked on "Launch", it displays a page with :
    Please press Submit Press Me!
    But when I click the button "Press Me!", it says:
    "The requested resource (/HelloWorldApp/HelloWorld) is not available."
    What should I do to correct the problem?
    Thanks in advance.
         

    Yes, you need to add a servlet -mapping element and adjust your form to submit to the appropriate URL mapping.
    <servlet-mapping>
    <servlet-name>HelloWorldServlet</servlet-name>
    <url-pattern>/servlet/Hello</url-pattern>
    </servlet-mapping>

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

  • Hello World in Web Dynpro Java : exceptions

    Hi
    I am trying out the Hello World tutorial. But hit the error after the deployment and trial run. Please advice. Thanks in advance.
    500   Internal Server Error
    Failed to process request. Please contact your system administrator.
    java.lang.IllegalArgumentException: -1
         at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.IndexedItemsIterator.advanceIndex(IndexedItemsIterator.java:104)
         at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.GridLayoutAdapter$Cells.doNext(GridLayoutAdapter.java:368)
         at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.IndexedItemsIterator.next(IndexedItemsIterator.java:54)
         at com.sap.tc.ur.renderer.nn7.GridLayoutRenderer.renderGridLayoutRowFragment(GridLayoutRenderer.java:401)
         at com.sap.tc.ur.renderer.nn7.GridLayoutRenderer.renderGridLayoutFragment(GridLayoutRenderer.java:312)
         at com.sap.tc.ur.renderer.nn7.GridLayoutRenderer.render(GridLayoutRenderer.java:79)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.nn7.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:572)
         at com.sap.tc.ur.renderer.nn7.ScrollContainerRenderer.render(ScrollContainerRenderer.java:74)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.UiWindowRenderer.render(UiWindowRenderer.java:52)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendHtml(HtmlClient.java:1056)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.fillDynamicTemplateContext(HtmlClient.java:456)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:1240)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.retrieveData(HtmlClient.java:252)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRetrieveData(WindowPhaseModel.java:595)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:156)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

    Hi,
       It is quite hard to find out the problem by seeing only exception trace. I think you are missing one of the mandatory elelments' properties or setting them to invalid values. Please check and let me know if you can give more information.
    Regards,
    Siva

Maybe you are looking for

  • Installed the latest update and now Finder refuses to start/crashes

    Hey guys, I just installed the latest 10.4.11 update or whatever, along with Quicktime, iTunes, etc., and now when I log in to any account, Finder refuses to start. If it does start, it crashes. I've googled around and all I could find was that I sho

  • Extracting data From PDF to Excel

    I have inherited a large library of PDF invoices which I need to extract data from into excell - or some other spreadsheet. The other option is to open up thousands of pdf documents and run the numbers by hand which is just dumb. I am new to acrobat

  • Clone 10.2.0.5 agent problems

    Hello, I have followed instructions of manually cloning agent on Linux hosts. Has anyone been successful at this ? From the error messages, it seems as though cloning is not allowed anymore, but perhaps I am missing something. Here is what I am doing

  • MDM CO not displaying iview in GP

    Hi Gurus, I am able to create a GP process with webDynrpo Java. But when i am including the MDM operations and session commands in my webDynpro code, i am getting an error in the log file saying "This session id is already existing. The webDynrpo App

  • Project Info data

    Hi: Two things: 1. I need to add a copyright legend to a manual, I though in putting it into the Info section of the Preference window, but the space is too small for it, is there a way to specify more characters for that field?. Then I change it to