How to run the servlet  from nwds

Hi........All
                 my scenario is in sender system so many files are there in that control file and data files .control file have names of the data files  first i have to pick the control files after that i have to pick the data files based on that control file for that purpose i written one FTP Client program for retrieving the files and wrote logic also it's working fine by stand lonly now i created one java proxy for that i developed one ejb module and that ejb module is called by one j2se application that is servlet and i created WAR file for servlet and JAR file for ejbmodule and i given this references  to  EAR file and i deployed that EAR file from NWDS it's deployed successfully
                     now i want call that servlet how can i call that servlet and how can i test that EAR file whether it's working fine or not. any one  can provide that documentation on that i really appreciate you
warm regards
syamprasad.p

Hi Syam
If your error is HTTP 404, then
Error: 404 Not Found
Description: The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
<b>Possible Tips:-</b> for HTTP_RESP_STATUS_CODE_NOT_OK 404
• 404 is an HTTP response code that indicates that the resource in question couldn't be found. Usually this is due to an incorrect URL, so it is better to cross check all URLs. Check pipeline URL in the SLD in the business system of the Integration Server For this go to SLD->Business System-><yourIntegrtaion Server>->Pipeline URL: It should be like this http://<host>:<port>/sap/xi/engine?type=entry Where host is the host name of the Integration Server and port is the HTTP(8xxx) port. To verify this in Integration Server you can do like this. Go to SXMB_ADM->Integration Engine Configuration->Choose Edit from Menu -> Change Global Configuration Data to switch to change mode. Then select System Landscape - Load Configuration. (This is not required always)
• Check that the port really is the ICM HTTP Port and not the J2EE port i.e SMICM then menu GOTO --> SERVICES and check the port number for HTTP. It should be HTTP port
• If the error is Page cannot be displayed, cannot find server in https configurations Check and correct the SSL configuration for the ABAP and the J2EE side of the system
• If the error is because of integration server when using Proxy communications then check these. i.e SXMB_ADM->Integration Engine Configuration->Corresponding Integration Server enrty should be dest://<Http Integration server-Destination> Where < Http Integration server -Destination > is the RFC destination (SM59) of type HTTP connection (type H) to the Integration Server. In this case, host name, port, and path prefix are saved in the RFC destination.
Ravi.

Similar Messages

  • How to run the Servlet program?

    hi, all, I am new to servlet, and I want to know how to run the servlet program. I got the TomCat and Java JDK install in my computer, something else I need for create and run the servlet program?

    no that is all u need to run servlets. u can try few of the servlets that come with tomcat

  • How to run the JNLP from Command Line

    Hi All,
    how to run the JNLP file from the remote machine from our command line. I have requirement to run this JNLP file in java 1.4.2 version. Can any one tell me the procedure or the steps that are needed to run this file at command prompt.
    Regards,
    Prasanna.
    Edited by: VPrasanna on May 19, 2008 4:43 AM

    >
    I am getting "**java.security.AccessControlException: access denied (java.net.SocketPermission wwwgate0.mot.com:1080 connect,resolve)**" when I start the Web Start Client. >This seems like a largely separate problem to running the JNLP from the command line. It might have been better to end this thread (assign the dukes) and start a new one.
    >
    ..Can you help me in resolving this issue. >However, I suspect I can guess the problem.
    If this app. is normally hosted on wwwgate0.mot.com then it can 'phone home' to the server without further permission, but if you are running it from the command line, that might not be the codebase anymore.
    If you wish to do 'local testing' of such an app., I would recommend setting up a server like Tomcat on the local machine, and serving the test app. directly off that.
    >
    ..Its urgent...>Sun offers a number of options for urgent matters, such as support tickets. Perhaps you should look into one of those.

  • How to run the servlet without getting message window?

    while running servlet,i got a message window that 'Do you want to save:val?'how to rectify this problem while running servlet.
    Actually i saved the servlet files as HTTP and Generic.java respectively.
    In web.xml file,the content is as follows
    <servlet>
    <init-param>
         <param-name>title</param-name>
         <param-value>GenericServlet Example</param-value>
         </init-param>
         <init-param>
    <param-name>heading</param-name>
    <param-value>Servlet Program</param-value>
    </init-param>
    <servlet-name>G</servlet-name>
    <servlet-class>Generic</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>H</servlet-name>
    <servlet-class>HTTP</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>G</servlet-name>
    <url-pattern>/generic</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>H</servlet-name>
    <url-pattern>/http</url-pattern>
    </servlet-mapping>
    ======================================================
    The html file is as follows
    <html>
    <body>
    <form action="generic" method="get">
    User Name<input type=text name=t1><br>
    Password<input type=password name=t2><br>
    <input type="submit" value="GenericServlet Output">
    </form>
    <form action="val" method="get">
    User Name<input type=text name=t3><br>
    Password<input type=password name=t4><br>
    <input type="submit" value="HttpServlet Output">
    </form>
    </body>
    </html>
    ======================================================
    I executed the servlet as http://localhost:8080/stalin/sample.html
    and clicked the sumit button in the html page.
    During that time i got a problem but not getting the output.The problem is I got a message window?
    can anyone help me clarify my doubt plz

    That would occur if either the content type in the header is wrong (e.g. it is not text nor image, those content types with which the useragent used is associated), or if you have set content disposition in the header to attachment instead of inline.
    So, doublecheck the headers.

  • How to run the client from server

    HI FRIENDS,
    I HAVE A SMALL PROBLEM WITH MY PROGRAM.I WANTED TO START THE CLIENT FROM SERVER I.E THE CLIENT SHOULD BE EXECUTED AS SOON AS THE SERVER STARTS EXECUTION.SOME OF THEM SAID THAT THIS CAN BE DONE BY USING 'EXEC' COMMAND.BUT I COULDNT.SO PLEASE ANYONE HELP ME IN DOING THIS.
    BYE
    KP

    HI FRIENDS,
    I HAVE A SMALL PROBLEM WITH MY
    MALL PROBLEM WITH MY PROGRAM.I WANTED TO START THE
    CLIENT FROM SERVER I.E THE CLIENT SHOULD BE EXECUTEDCan't be done, unless the server and the client are on the same machine, or you have some other COM object or service set up to allow someone to do this remotely

  • How to Run the MDK Sample Example Application in SAP NWDS

    Hi all,
    As i go through the MDK 2.5 i have physically under gone with all option that are included in
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eba3a7-0601-0010-b982-92f1fca3258a
    this site and imported the Example 1 Application in nwds, but when try to run it,this application asking to mention some main Class option .
    tell me which class should i mention to run the example1 application.
    so please help me out of it ,
    thanks and Regards,
    Venu

    hi Venu Gopal,
    Welcome to the SDN and Mobile Community.
    Pl. check my weblog on this "Execute and Debug Applications from NWDS". /people/arunkumar.ravi/blog/2006/02/22/execute-debug-your-mi-code-from-nwds
    I've explained how to run the application from NWDS itself.
    Regards
    Arunkumar R

  • How to run the form that is only installed on a PC and not using a server?

    Hi
    I am new to Oracle and have taken the forms class. But I do not understand how to run the form from my PC using XP windows. (Do not have access to a server).
    I have started the OC4J, made sure the listener was started, compiled the form and then when I run it, it automatically goes to the HTTP:
    ERROR: res://ieframe.dll/acr_depnx_error.htm#,http://kevin:8889/forms/frmservle
    I connected to the database correctly. I can process a report and it does nor try to access the internet. My only issue is running the form. I verified it compiled.
    Sorry for a basic question. Could someone please help, I tried reviewing other questions, but not sure if they are connecting to a server or not.
    I see webutil but is it required if I don't have a server? Thank you in advance.

    Regardless of the version, it appears that you may not have configured the Builder. Do the following:
    1. Open the Builder
    2. From the menu, select Edit > Preferences > Runtime
    3. In the box labeled "Application Server URL:", enter a local URL needed to run a form OR click the button labeled "Reset to Default". If you decide to manually enter a value, it would looks something like this:
    http://localhost:8889/forms/frmservlet
    4. In the field labeled "Web Browser Location:", enter the path and executable to your preferred browser. So for example if IE is your browser of choice the entry would most likely look like this:
    C:\Program Files\Internet Explorer\IEXPLORE.EXE
    5. Click on OK and retest.
    By the way, you can manually enter a URL in the browser. Clicking the RunForm button from the Builder is strictly optional. To run the "test" form directly from the browser enter the following into the browser's address field:
    http://localhost:8889/forms/frmservlet?form=test
    More information about Forms can be found on OTN:
    http://www.oracle.com/technology/products/forms/index.html

  • How to run the cursor

    HI
    can i knw how to run the cursor from the package. The cursor name is "cursor fet_rec".
    procedure update_hdr is
    cursor fet_rec is
    i rhave the run procdure but i am unable to run the cursor.
    procedure update_hdr is
    cursor fet_rec is
    select status, request_hdr_id
    from xxkfupm01.kfupm_mcr_request_header
    where status = 'Approved'
    for update;
    cnt1 NUMBER := 0;
    cnt2 NUMBER := 0;
    BEGIN
    for rec in fet_rec Loop
    select count(*)
    into cnt1
    from XXKFUPM01.kfupm_mcr_request_details
    where request_hdr_id = REC.REQUEST_HDR_ID;
    select count(*)
    into cnt2
    from XXKFUPM01.kfupm_mcr_request_details
    where request_hdr_id = REC.REQUEST_HDR_ID
    and status = 'Complete';
    if (cnt1 = cnt2) THEN
    update xxkfupm01.kfupm_mcr_request_header
    set status = 'Complete'
    where current of fet_rec;
    END IF;
    END LOOP;
    Regards
    Arif
    Edited by: user11309801 on Jan 3, 2011 6:56 AM
    Edited by: user11309801 on Jan 3, 2011 7:00 AM

    http://tkyte.blogspot.com/2005/06/how-to-ask-questions.html
    http://www.oracle.com/pls/db102/homepage
    http://www.oracle.com/pls/db112/homepage

  • How to run a servlet in Tomcat 5.0 server

    HI Everybody,
    I want to know how to run the servlet file on my tomcat 5.0 server. that is where to place a class file and deployment details.
    Thanks In ADVANCE

    Sourav_cs wrote:
    I am a biginner to start servlet i get confusion to configure servlet in tomcat 5 where it should be saved in tomcat directory and how to execute that as first timeHi,
    goto
    tomcat 5.0\webappsnow create a folder here. this is your webapplication project name. Let's suppose it as "TestApp"
    inside this create directories as follows :
    TestApp
            |
            |-----JSP/htmls( if you have any )
            |
            |-----WEB-INF(File Folder)
                       |
                       |-----web.xml
                       |-----lib ( Directory. place all the .jar files which are required for this project(if any) )
                       |-----classes ( .class files. )[all of your java code should be placed here.](servlets / beans/ pojo )this is the general Directory structure of a web application. now you've to place the compiled .class file of your servlet in the "TestApp\WEB-INF\classes" directory. make sure that you've configured the servlet in Deploment Desctiptor, i.e, web.xml.
    now start the server and type the url like : "http://localhost:8080/TestApp/TestServlet"
    the port no. 8080 is the default port no. of tomcat. you have to give your port no. if u've modified it. and TestServlet is the <url-pattern> of your servlet.
    go through some tutorials .. then you can easily know that
    Diablo

  • How to run a Servlet Project's .war from Command Line??

    Hi there,,
    Can anybody help me with how to run a Servlet Project's .war file from command line??In fact I tried it using the following command,
    java -jar TestServProj.war
    but I get the following error,,,
    Failed to load Main-Class manifest attribute
    I can't find the project''s manifest file in the META-INF folder.
    Moreover,plz help me about know how to execute a single servlet class from command line...
    Thanks in advance...

    you cant run a .war file from command prompt
    .war files should be executed in a server
    how to execute a single servlet class
    do you mean to run the servlet or compile the servlet?
    any way you need a server and if you are a beginner Apache tocat will be the best server to start with you can down load it from
    http://tomcat.apache.org/

  • I have a new iMac running iTunes 10.4 in OS 10.6.8, and a new Mac Air running iTunes 10.4 in Lion.  I was able to transfer all my music etc. from the iMac onto the Air, but cannot figure out how to get the Playlists from the iMac to the Air.  iTunes Help

    I have a new iMac running iTunes 10.4 in OS 10.6.8, and a new Mac Air running iTunes 10.4 in Lion.  I was able to transfer all my music etc. from the iMac onto the Air, but cannot figure out how to get the Playlists from the iMac to the Air.  iTunes Help says File >Library >Export playlist and choose XML, or to save a copy of all your playlists, File > Library > Export Library, "the Exported info is saved in XML format."  Then it says, "to import an iTunes playlist, File > Library > Import Playlist".  Now I am assuming I do that import part on the Air, but when I try it doesn't recognize anything that can be imported - what am I missing??? Aside from a clue...

    Thanks, Jim, for taking the time, but the reply is unfortunately vague in the exact area of my confusion!  "you need to copy that file to your new computer..."  Well, the Import/Export instructions make it seem as if the two computers should be able to communicate this file thru wifi, but that's the linkage I can't seem tocreate with Import/Export.  Should I instead email a copy to myself (thats what applecare suggested)?  Copy it to and from a thumb drive?  But then place the file where?  And the article was helpful, but should I be trying to move the Library file or the Library.xml file (as iTunes Help suggests)?  Sorry to be so clueless about it...I suppose I buy Apple in the hopes of not having to think about this stuff, which approach seems not to be serving me well. Thanks again for your time!

  • How to call a method in the servlet from an applet

    I want to get the data for the applet from the servlet.
    How to call a method that exits in the servlet from the applet? I want to use http protocol to do this.
    Any suggestions? Please help.
    thanks

    Now that Web Services is around, I'd look at possibly implement a Web Service call in your applet, which can then be given back any object(s) on return. Set up your server side to handle Web Service calls. In this way, you can break the applet out into an application should you want to (with very little work) and it will still function the same

  • How to run the 9I report from the forms menue 9i

    how to run the 9I report from the forms menue 9i.
    Shehzad Latif

    Hi,
    1. create a Reports Object node in Forms. If you use teh same object node name then you can write generic code that works in all Forms
    2. Get the whitepaper about Forms/reports integrtion
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    Frank

  • How to run the open script code from eclipse?

    Hi,
    How to run the open script code from eclipse.
    Please let me any soulutions on this.

    Hi Konda
    I am not quite sure you can do that and it would even be not supported... Again, what is the purpose? Why do you want to run your openscript code in Eclipse?
    What is the code you try to run?
    As an example, even if you include al the jar files and so on. don't think the function "Launch Browser" could work because it isn't only java code orjar files.....
    If you give us more background. maybe we can guide you to a better solution...
    JB

  • Error while running the page from Jdeveloper

    Hello All,
    I am running the pages from my Jdeveloper but it is throwing some exception which is related to cache on the local server.Kindly help me out as i am not able to run even old pages which were running earlier.Kindly what changes on the server has affected this.
    Below is the exception i am getting in OC4J server tab of the Jdeveloper while running the page,kindly have a look:
    [[Sep 25, 2009 11:18:13 AM GMT+05:30]:1253857693195:Thread[HttpRequestHandler-16916276,5,main]:-1:-1:XXXXXX:000.000.00.000:-1:-1:EXCEPTION:[jtf.cache.CacheManager]:CacheManager.put(): Component cache: PROFILE_OPTION_VALUE_CACHE for application: FND is not enabled. Calling put() does not add an entry to the cache
    [Sep 25, 2009 11:18:13 AM GMT+05:30]:1253857693445:Thread[HttpRequestHandler-16617866,5,main]:-1:-1:XXXXXX:000.000.00.000:-1:-1:PROCEDURE:[fnd.security.DBConnObj]:Pool.isUsable(): END: Returning true.
    [Sep 25, 2009 11:18:13 AM GMT+05:30]:1253857693445:Thread[HttpRequestHandler-16916276,5,main]:-1:-1:XXXXXX:000.000.00.000:-1:-1:EVENT:[fnd.profiles.Profiles.getProfileOptionValue.config]:name=APPL_SERVER_TRUST_LEVEL; levelID=10001; levelValue=0; levelValueApplID=0; value=2; Cache Miss
    [Sep 25, 2009 11:18:13 AM GMT+05:30]:1253857693695:Thread[HttpRequestHandler-16916276,5,main]:-1:-1:XXXXXX:000.000.00.000:-1:-1:PROCEDURE:[fnd.common.WebAppsContext]:oracle.apps.fnd.common.WebAppsContext.getJDBCConnection(oracle.apps.fnd.profiles.Profiles@c063ad,0xe4bb3c,false): : BEGIN/END
    [Sep 25, 2009 11:18:13 AM GMT+05:30]:1253857693695:Thread[Thread-12,1,main]:-1:-1:XXXXXX:000.000.00.000:-1:-1:PROCEDURE:[fnd.security.AppsConnectionManager]:makeGuestConnection(): BEGIN
    [Sep 25, 2009 11:18:13 AM GMT+05:30]:1253857693773:Thread[HttpRequestHandler-16617866,5,main]:-1:-1:XXXXXX:000.000.00.000:-1:-1:UNEXPECTED:[fnd.common.logging.DebugEventManager.handlerException]:java.lang.Exception: E:\oracle\redora\iAS\Apache\Jserv\logs\apps.log (The system cannot find the path specified)
         at oracle.apps.fnd.common.logging.FileHandler.<init>(FileHandler.java:103)
         at oracle.apps.fnd.common.logging.FileHandler.<init>(FileHandler.java:80)
         at oracle.apps.fnd.common.logging.DebugEventManager.registerHandlers(DebugEventManager.java:1239)
         at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:986)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931)
         at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
         at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:873)
         at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:858)
         at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:827)
         at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:686)
         at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:846)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351)
         at oracle.apps.fnd.framework.webui.OAServerDelegate.getWebAppsContext(OAServerDelegate.java:1684)
         at oracle.apps.fnd.framework.webui.OAServerDelegate.getIcxCookieName(OAServerDelegate.java:568)
         at oracle.apps.fnd.framework.webui.OAJSPHelper.getIcxCookieName(OAJSPHelper.java:207)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:167)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Thread.java:534)

    Is it 9i Jdeveloper or 10G. Also check the Jdeveloper is being run on a compatible database. A Jdeveloper for 11i should run on an instance having 11i installed and same for R12. Also check the version of OA Frameworrk in the Jdeveloper you are using and the version deployed in instance.
    Regards
    Sumti

Maybe you are looking for

  • Newbie here with automatic update problem.

    Hi everyone, I just purchased a palm centro for sprint and so far I really like it. The problem is every morning when I get up there is this message... Sorry, your secheduled automatic updte did not complete successfully because a connection could no

  • Disk crash on Mac mini from 2009, 160GB

    Are there any particular type of disk I need to fit in the Mac mini? Are there any difficulties changing the disk or do I need to send it to support? Does the controller support SSD?

  • Need solution for Table control

    Hey Guru's, I need to develop a Table control in which I have a column that might be something like a TextBox/TextArea(in HTML), able to introduce more than one line, for each entry in the table control! I know it is possible to use the custom contro

  • CS 5 updates will not install

    I am running a MBPr with OSX 10.9.4 and CS5 with InDesign v7.0. My Adobe updater has 8 updates to install on my CS 5 applications, but it fails to do so even once all the updates are downloaded. The problem is that I cannot open indd. docs from someo

  • Can't open elements 11 on MAC Pro

    I installed elements 11 from a disc I bought from Amazon but it won't open. The icon appears on the dock but when I click on it nothing happens. HELP!!!!!