Java Servlet page not opening error 404

Hi!
I am working with servlets. I compiled the java file and the class file is been moved to
c:\javawebserver2.0\servlets, and the html files moved to public_html. Html files r opening
the classpath is mapped to jsdk.jar i.e
set CLASSPATH=c:\javawebserver2.0\lib\jsdk.jar
Built-in samples r working without any problem
when i try to run the servlet
Page Not Found error 404 occuring
Please do the favour for me
thanks

404 Not Found means you didn't deploy the app properly.
I think deploying an app like this is a terrible idea. If you have more than one app deployed on a production web server/servlet engine, you wouldn't want to put them all in the same place. "public_html" and the generic "servlets" directory shouldn't be used as dumping grounds for all your apps.
Learn how to deploy using a WAR file. It'll keep all your apps separate and their constitutive parts together.
Why Java Web Server? I don't think anyone uses it seriously anymore. Tomcat is the reference implementation of the servlet/JSP specs. I'd download that and use it instead of JWS. JMO, of course.

Similar Messages

  • Integration Directory : getting 404 Page not found error while accessing In

    Hello,
    When i am trying to open the Interation Directory, it is showing me 404 Page not found Error.
    Some Description
    - Executing sxmb_ifr,
    - From http://erpsys07:50300/rep/start/index.jsp,i am getting mentioned error when i am trying to access Integration Directory from URL.
    erpsys07 -> Central SLD -> J2ee Port - 50100
    erpsys07 -> PI system -> J2ee Port - 50300
    When i am clicking on integration directory link, it is pointing to Central SLD J2ee Port (50100) instead of 50300, it is pointing to
    http://erpsys07:50100/dir/start/sso/Directory.jsp instead of http://erpsys0750300/dir/start/sso/Directory.jsp.
    Could some help me where to change and what to change?
    Thanks,
    V.SINGH

    Have you checked port in Netweaver Administration?
    See which port is mentioned there. (If you are using PI 7.1)
    Check in SXMB_ADM transaction, and in your RFC Destination, where it is pointing.
    Thanks,
    Hetal
    Edited by: hetal shah on Nov 24, 2009 4:49 PM

  • Page not found Error while open install app

    I go through the all necessary steps to configure app domain & steps to create SharePoint hosted app still got 'page not found error'
    The final app URL that i got afte r open install app -"http://app-125e72eedbe144.domain name:9922/FirstApp/Pages/Default.aspx?SPHostUrl=http%3A%2F%2Fsp1%3A9922&SPLanguage=en-US&SPClientTag=6&SPProductNumber=15.0.4420.1017&SPAppWebUrl=http%3A%2F%2Fapp-125e72eedbe144.domainname%3A9922%2FFirstApp"
    i don't understand where i did mistake can any one help me to resolve that issue.

    Hi,
    According to your post, my understanding is that you get the “page not found” error while you open install app.
    You need to have a SharePoint Web Application that is bonded to port 80 without a host header.
    If you want to run it on https (SSL) then you also need to add an extra binding for SharePoint Hosted Apps to work.
    For more information, please refer to:
    Troubleshooting SharePoint 2013 Hosted Apps on-premises: “404 not found” error
    404 & 401 Errors with the App Management Service - SharePoint
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • HTTP 404 page not found error !! on tabs

    Hello All,
    I am having a page with multiple tabs . When the user navigates from one tab to another tab ( using standard tab set ) from interactive report I am getting the HTTP 404 page not found error .
    The tabs are in the following fashion.
    home page#1
    varlist page#2
    criteria page#7
    dynamic report page#10
    interactive report page#15
    I can move forward by selecting the tabs but when i am in interactive report tab and select any of the other tabs i am getting HTTP 404 page not found error..
    Can any one help me .
    thanks/kumar
    Edited by: kumar73 on May 5, 2010 2:45 PM
    Edited by: kumar73 on May 5, 2010 2:46 PM

    Hello Jarola / All,
    Selected Pseudo Parent Tab: TS1
    Select Standard Tabs: DBTable, variables , condition , Report , interactive report.
    When I am navigating from tab interactive report to any other tab the url is chaning to
    http://cosmo:8080/apex/wwv_flow.accept - resulting in HTTP 404 page not found error ..
    but when navigating with in the following tabs
    DBTable page#1
    variables page#2
    condition page#7
    report page#10
    I am having different url like example -
    http://cosmo:8080/apex/f?p=125:7:1075354762414252::NO
    Can any one tell me why i am unable to navigate from interactive tab to other tabs ..
    ================================
    I uploaded the applicatoin in oracle.apex.com
    http://apex.oracle.com/pls/apex/f?p=29558:1:3623891857047276:::::
    please find the link above .
    ===================
    The database tables are huge and inorder for me to replicate at oracl.apex.com I got to load the full schema which is not possible . May be you can go through the code to understand whats going wrong.
    thanks/kumar
    Edited by: kumar73 on May 6, 2010 6:46 AM
    Edited by: kumar73 on May 6, 2010 1:00 PM
    Edited by: kumar73 on May 6, 2010 1:01 PM
    Edited by: kumar73 on May 6, 2010 1:04 PM
    Edited by: kumar73 on May 6, 2010 2:46 PM

  • 404 page not found error after upgrade to 4.0 from 3.x

    We developed this application in 1.6 and a couple years ago upgraded to 3.2. We've just upgraded the Production version to 4.0.0 (that's what was on the Dev box). I understand that the template we used when developing it is now obsolete and I added some stuff to make it work properly (found tips here). In Dev it seemed to work correctly but now that it's in production we're getting a 404 Page not found error which "seems" to only occur after a search returns some results and you change the search criteria and try to rerun the search with this modified criteria without first leaving that page (if you click to a different tab and back before changing the search criteria you don't get the error). It doesn't matter which criteria field you change (date, text, LOV) the error comes up consistently. The criteria is submitted via a button (Go request). It's a PL/SQL function body returning SQL query. The only processes that are run is a Reset Pagination on the Go request.
    Is there some quick setting that can be changed that causes this? Or something in 4.0 that is different that I need to change when submitting a page, etc... I can't see anything in the debug & all the variables do have appropriate values.

    A column in the search results was changed to a Simple Checkbox when we upgraded to 4.0 (it has always been a checkbox in the older APEX versions). When I put it back to Standard Report Column I no longer get the page not found error.
    Is there some additional/different setting I need to do in order to use the simple checkbox option in a search results set?
    ETA: I see now that Checkboxes are not intended to work in standard report regions so I'll change them to LOVs or something and my problem should be solved.
    Edited by: mimi_jones on Jul 18, 2011 6:16 AM

  • 404 (Page Not Found) Error! Changes not Appearing on webpage

    Made changes in IWeb. However, these changes are not showing up on safari AND I am receiving a 404 (Page Not Found) Error! Help!! I have tried everything to resolve this

    Where do you publish your site and how do you upload the files?
    What is the URL of your site?

  • Page not found error while opening sharepoint 2013 site

    page not found error while opening sharepoint 2013 site 
    Please help me on this

    Hi,
    Please check the log file to find more information about this issue. The path of the log file is:
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS.
    In addition, please make sure the URL of the site is correct.
    Please check whether you could access other pages in the problematic site.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • I'm getting a message "404 (page not found error)" I think I entered an incorrect URL into my browser's address bar. How do I fix that?

    I was trying to post a comment on a support group site. I was asked what web address I was using, or something along those lines. In hindsight, I stupidly typed a '?' and pressed send. Now, when I try to access that site I get the message "404 (page not found error)
    If you're the site owner, one of two things happened:
    1. 1) You entered an incorrect URL into your browser's address bar, or
    2. 2) You haven't uploaded content."
    How can I fix this.

    I spoke with a Dell technician about this problem. He tried to access the site in question from his computer, i.e. separate from my computer, and he also got the same "404 (page not found error)". He said the problem lies with the site itself, not my computer, and that I should notify the site. Problem is I can't notify the site if I can't access it.

  • Application returns a "404 Page not found" error

    Application returns a "404 Page not found" error when attempting to use any of the Download links. What is the exact problem?
    Can anybody tell me how to resolve this problem?
    David

    http://nnnnnn.nnn.nnnnn:99/pls/apex/f?p=88:52:2181500142828824:FLOW_EXCEL_OUTPUT_R35183980327530985_en-us
    It looks like this.
    Thank you.
    David
    Edited by: user628655 on Sep 30, 2009 6:37 PM

  • HTTP 404 page not found error

    Hi all,
    I am getting HTTP 404 Page not found error when I try to run the test_fwktutorial.jsp. I have followed the instructions of a similar thread but none have helped.
    Kindly suggest me some solution to this problem.
    Thanks,
    Priya

    I did a simple search for 404 in the forum and got at least 10 threads, I think this thread is relevant to you, please try the solution suggested in the thread
    HTTP 404 Not Found error in JDeveloper 10.1.3.3.0 for Oracle Apps R12
    "Hi,
    Problem I faced:
    When I try to run, test_fwktutorial.jsp in JDev 10.1.3.3.0 for Oracle Apps R12, I was getting the first page with the links, but when i click on any of the links, say "Hello World", I am getting a "HTTP 404 Not Found". Same error I got by directly running any of the tutorial pages, or any custom pages. CHecked all the normal setting options like: responsibility key, username/pwds etc.
    Then I noticed in my address bar an error text:"You have insufficient privileges for the current operation".
    Solution I arrived at:
    In one of the forums, I had come across the point that maybe my local machine and Application server were on different domains, due to which I was getting "You have insufficient privileges for the current operation".
    1. Hence I checked for the domain on which my local machine was in:
    My Computer -> Properties -> Computer Name.
    2. There it was showing WORKGROUP instead of Domain.
    3. Here I clicked on the Change button and entered mycompany domain on which the server was like <companyidentier1>.<companyidentier2>.com
    I had to do this even though the machine i was using was connected to the domain using a VPN connection.
    4. Then after restarting my machine, I changed the Embedded OC4J Server Preferences to Default Local IP Address. And when i ran my page, it worked!!
    Before when I had not changed the domain of my local machine to the Apps Server domain, simply changing the Embedded OC4J Server Preferences to Default Local IP Address (as suggested in some forums), still gave me the same error.
    Hope this helps others facing similar problems.
    Thanks
    "

  • Overwriting old website in FTP - 404 page not found error!!! Heeelllp! :(

    Hi there,
    I recently re-designed my website on Adobe Muse. It was originally designed in iWeb. For the iWeb website I used a 3rd party FTP application (Transit) to upload the site.
    I wanted to overwright the old iWeb website with my new Adobe Muse website. So I deleted the files from the iWeb website on Transit, and used the inbuilt Adobe Muse FTP option to upload the new website.
    Now, no matter what I do, all I get is the 404 'page not found' error when I try to visit my site.. What am I doing wrong? Are my settings on Muse incorrect? Should the site pages have a specific name? The home page that I want is titled 'selected artwork' in Muse... should that have something to do with the home directory link?
    I'm so lost and frustrated! Please help!
    Any help or advice would be so much appreciated!
    Cheers,
    Harriet.

    Hi Parikshit!
    Thank you so much for your response!
    My site is www.harrietbody.com and yes, I did change the name of my pages... I changed everything... I've asked my hosting people to reset my account with them because I think I may have made a mistake deleting everything from the old website...
    I will try exporting as HTML and uploading with Transit and see how I go...
    I'm sorry if this is a really silly question, but how do I check if I'm uploading to the correct directory? I have a feeling this is where my problem is... how do I know which directory I am uploading to?
    Thank you again!
    Harriet.

  • "Page not found" error while fetching data using tomcat

    Hi all
    We have a java web application that runs on a distant server . The web server is apache tomcat . The database used is oracle. We upload large data to the site and generate various reports. We are using servlets for this purpose. But when there the amount of data fetch is larger, the browser shows "Page not found" error . We tried to increase the time out of the web server but it didnt work . Is there any solution to this problem ?
    Thanks & Regards
    Ashish

    Yup, don't fetch everything at a go!
    Google around for optimization techniques. I know one site called "javaperformancetuning" or something of that sort. It has some interesting articles on how to do this.
    Rich.

  • Page not found error in webdynpro Application

    Hi All,
    While we are opening a links getting Page not found error. This is  webdynpro ABAP application ,through Launch pad it is configured.
    We have recently upgarded our portal , previously it was working fine.
    R/3 is not upgraded .
    Regards,
    Krishna.

    Hi Krishna,
    Hope you are doing good.
    Kindly run the web diag tool as outlined in  note 1045019 or SAP Note No. 1332726 (depending on your version) and reproduce the issue.
    This will give you the exact reason why the issue occurs. Attach it here if you have any issues.
    Thank you!
    Kind Regards,
    Hemanth
    SAP AGS

  • "Page not found" error while trying to run a page

    Hello all,
    I tried to run a page in JDeveloper(9.0.6.6_606) and after the browser page pops up, it is displaying "HTTP 404 : Page not found" error.
    Please find the log below:
    C:\jdevbin\jdk\bin\javaw.exe -ojvm -classpath C:\jdevbin\j2ee\home\oc4j.jar -mx256m -Dhttp.proxyHost=proxy -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=10.200.152.236|localhost -Xverify:none com.evermind.server.OC4JServer -config C:\jdevhome\jdev\system9.0.3.1.1107\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Embedded OC4J startup time: 7047 ms.
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    Embedded OC4J startup time: 16 ms.
    Target URL -- http://10.200.152.236:8988/OA_HTML/runregion.jsp?page=%2Foracle%2Fapps%2Fpos%2Faccount%2Fwebui%2FNonPoInvCreatePG&akAppShortName=POS&akDbcFile=FIN1DEV2&akDevMode=1&akDiag=1&akPassword=pwd4dev2&akRespKey=ISUPPLIER_PORTAL_RESP&akUsername=dpsdx48&JRAD_XML_PATH=C%3A%5Cjdevhome%5Cjdev%5Cmyclasses%5CJRADXML%5C&JRADStartTime=1152606872484
    ApplicationServer: appName = bc4j
    ApplicationServer: appName = current-workspace-app
    ApplicationServer: appName = soap
    Error creating the ORB :
    Starting an OA Core session ...
    ICX DIAGNOSTIC: application_id = 177
    ICX DIAGNOSTIC: responsibility_id = 23075
    ICX DIAGNOSTIC: security_group_id = 0
    ICX DIAGNOSTIC: APPS Web agent = http://app-fin1dev2.albertsons.com:15160/pls/FIN1DEV2/
    FIN1DEV2=C384A6C2A84C8E63FAA51365BA91681A;path=/;domain=.albertsons.com
    ICX DIAGNOSTIC: mCookieHeader = FIN1DEV2=C384A6C2A84C8E63FAA51365BA91681A;path=/;domain=.albertsons.com
    ICX_DIAGNOSTIC: mEncryptedSessionID = C384A6C2A84C8E63FAA51365BA91681A
    ICX_DIAGNOSTIC: mSessionID = 687703439
    TIME: runregion.sessionBean.createSession [87296 ms]
    ICX_DIAGNOSTIC: mTransactionID = 78453
    ICX_DIAGNOSTIC: encryptedTransactionID = C974A13EBB894B23
    TIME: runregion.sessionBean.createTransaction [9672 ms]
    TIME: runregion.rest [0 ms]
    Is there anything you think I am missing in the configurations?
    Kindly help.

    I am also using OA Framework Jdeveloper....for ADF BC development.. Please find the log below:-
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config>
    E:\jdeveloper\jdevbin\jdk\bin\javaw.exe -client -classpath E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar;E:\jdeveloper\jdevbin\jdev\lib\jdev-oc4j-embedded.jar
    -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true
    -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config
    E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Oct 18, 2007 11:56:47 AM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    Oct 18, 2007 11:56:47 AM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    WARNING: Code-source E:\jdeveloper\jdevbin\jdev\appslibrt\xml.jar (from <library> in
    /E:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to
    /E:/jdeveloper/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it
    contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source E:\jdeveloper\jdevbin\jdev\appslibrt\jazn.jar (from <library> in
    /E:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to
    /E:/jdeveloper/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different
    versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source E:\jdeveloper\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /E:/jdeveloper/jdevbin/jdev/appslibrt/jazn.jar) has the same
    filename but is not identical to /E:/jdeveloper/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in
    E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the
    search path of loader default.root:0.0.0.
    WARNING: Code-source E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from
    WEB-INF/lib/ directory in E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same
    filename but is not identical to /E:/jdeveloper/jdevbin/jdev/appslibrt/uix2.jar (from <library> in
    /E:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it
    will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 19594 ms.
    Target URL--- http://hydhtcl33997.ad.infosys.com:8988/SRTutorialADFBC-UserInterface-context-root/faces/app/SRList.jspx
    07/10/18 11:56:56 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized

  • Csv output feature results in a "page not found" error in IE (ver 8)

    Has anyone else had issues with the csv output feature returning a "404 page not found" error when using IE version 8.0?

    Hello. I'm getting an Http 404 The webpage cannot be found" error when trying to export any APEX application's query results into Excel (Application Express 3.2.1.00.10). This was working fine before. Nothing changed with our APEX application. I've been always using I.E. Version 7.0.5730.11 with no problems. I've reset the I.E. defaults and still the problem exists. I've downloaded Mozilla Firefox and the problem does not happen. However, I would like to know why my I.E. still gets this error? Any feedback or suggestions would greatly be appreciated. Thanks for your time.

Maybe you are looking for