404 Not Found : Servlet not found on this server

I have been trying to run a simple servlet from a JSP page. For some reason I keep getting an error informing me that the servlet in question cannot be found on the server. I have incuded some code from my project in the hope that it may provide a clue to the problem. I would appreciate any help.
from the web.xml file
<servlet>
<servlet-name>MapTestServlet</servlet-name>
<servlet-class>Common.MapTestServlet</servlet-class>
</servlet>
from the JSP page
<FORM ACTION="\PATSCoreROC\classes\Common.MapTestServlet" METHOD="post">
<INPUT TYPE="SUBMIT" NAME="Test" VALUE="Test Servlet">
</FORM>
Clicking the Test Servlet button produces the following 404 error in the browser
404 Not Found
Resource /PATSCoreROC/classes/Common.MapTestServlet not found on this server

After a little work and some coffee I tried the following and it resolved my problem.
<FORM ACTION="servlet\Common.MapTestServlet" METHOD="post">
<INPUT TYPE="SUBMIT" NAME="Test" VALUE="Test Servlet">
</FORM>
I should have included 'servlet\' in the ACTION property.

Similar Messages

  • Problem with Cisco Bars after Database Republish ("Could not find Cisco Unified database on this server")

    OS Version: 2000.4.3a
    OS Service Release: 2000.4.5bSR21
    OS Upgrade: 2000.4.5a
    Bars Version: 4.0.15000
    CUCM Version: 4.2(3)sr4b
    During the upgrade process of our CUCM 4.2(3) to version CUCM 4.2(3)sr4b the database replication between our 2 servers (1x pub, 1x sub) failed. After fixing this via dbhelper tool (everthing´s green and smiling again) service seemed to be ok.
    But now Cisco Bars does not work anymore. The backup process of the publisher fails with "Error=[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '(null)'. Reason: Not associated with a trusted SQL-Server connection." So it looks like some kind of database setting for bars  is misconfigured after the republishing process.
    Yesterday I tried to reinstall BARS (now in the newest version 4.0.150000), but the same error message occured. Now I get the message "Could not find Cisco Unified database on this server" when I try to configure the Backup source within BARS.
    Curiously the backup of our second CCM (sub) works as expected (but without CDR and TFTP Data). The "BackAdmin" User exists and is not locked (and wasn´t changed manually at all).
    I am runnig out of ideas... :-(
    Any hint or idea on how to fix this is kindly appreciated
    best regards
    Michael

    Mike,
    I don't have anything definitive here but I am wondering if there is a discrepency between the database names.  In SQL Enterprise Manager, you can go to the Publisher and see what the current database name is.  It will be the one being replicated and will take the form of CCM0300 or CCM0301 or CCM0302.  You should see more than one.  Anyway, take note of the name.
    Then on the Publisher launch regedit and go to HKLM\Software\Cisco Systems, Inc.\DBL\
    Look at the values for DBConnection0 and DBConnection1.
    It will be something like DSN=CiscoCallManager;Server=;DATABASE=;Trusted_Connection=yes
    Does the in the DSN match what you expect?
    Also, going to back to SQL Enterprise Manager, check out the permissions on the database (Right Click->Properties, go to Permissions tab).
    Another thing to check if you think it is permissions related is the AdminUtility.exe (c:\program files\cisco\bin\).  This can be used to resync system account passwords.
    TBH, I am just shooting in the dark here but these are things I would check.
    Regards,
    Bill

  • I can not access ANY webpage...it is giving me a 403 Forbidden message saying I do not have permission to search on this server, yet, I have been using Firefox for months...this just started happening today?

    This message just started happening...I use IE as well and have no problems.
    I prefer Firefox and I hope you can resolve this.

    Who is your Internet Service Provider...?
    Do you have any computer which is able to go online wirelessly...?
    Have you forwarded any ports on the router...?
    Try to adjust the wireless settings on the router and check...
    Open an Internet Explorer browser page on your wired computer(desktop).In the address bar type - 192.168.1.1 and press Enter...Leave Username blank & in Password use admin in lower case...
    Under the Wireless tab,Change the SSIS(Network Name) to some unique name.Change the Channel Width to 20MHz only and Channel to 11,click on save settings.Under the Wireless Security subtab,Change the Security to WEP and type any ten digit number in key1 as the network security key,click on save settings..Under the Advanced Wireless Settings,Change the Beacon Interval to 75,Change the Fragmentation Threshold to 2304,Change the RTS Threshold to 2304 and Click on Save Settings...
    Also,for the gaming system,check this link.

  • Why does my web service web.xml reference a class that is not a servlet?

    In jDeveloper 10.1.3, I created the simplest web service I could think of. I created a HelloWorld class that has one method that accepts a name as a parameter and returns "Hello " + name. Using the wizards, I was able to get it to run just fine in my development environment. However, if I generate a WAR file and deploy it to Tomcat 5.5, it chokes on the web.xml. Here it is...
    <pre>
    <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">
    <servlet>
    <description>Web Service MyHelloWorldServiceSoapHttpPort</description>
    <display-name>Web Service MyHelloWorldServiceSoapHttpPort</display-name>
    <servlet-name>MyHelloWorldServiceSoapHttpPort</servlet-name>
    <servlet-class>com.dex.b2b.HelloWorld</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>MyHelloWorldServiceSoapHttpPort</servlet-name>
    <url-pattern>MyHelloWorldServiceSoapHttpPort</url-pattern>
    </servlet-mapping>
    </web-app>
    </pre>
    The servlet-class value is my simple HelloWorld class, not a servlet. How is this suppose to run, if the servlet-class value is not a servlet? It certainly did not run in Tomcat 5.5. I can't get it to run on Oracle App Server 10.1.2 either.
    Thanks

    Hi fellrunningpictures-
    Picasa web albums shows you that message because they are not fully compatible with the latest version of Firefox. I would recommend contacting Picasa to encourage them to become fully compatible. I found a link for contacting them here:
    * [http://support.google.com/picasa/?hl=en http://support.google.com/picasa/?hl=en]
    Hope that helps.

  • Servlet not found(404) in linux

    i have java1.4,tomcat3.3.1 and apache2. i want to connect tomat and apache using mod_jk in debian Linux. when i create a Test apllication in webapps called "TestApplication" with a class TestServlet.class.(this is just a Servlet class to print Hello Servlet)
    when i request
    http://localhost:8080/TestApplication/servlet/TestServlet
    http://localhost:8080/TestApplication/servlet/TestServlet
    i am getting servlet not found 404.
    and also in the tomcat i am getting the following messages
    -Ctx(/TestApplication)Class NotFound:TestServlet
    -Ctx(/TestApplication)Status Code:404 request(TestApplication+/servlet+null) msg: null
    JAVA_HOME=/opt/java
    PATH=/opt/java/bin
    TOMCAT_HOME=/opt/tomcat
    and this is my web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <servlet>
    <servlet-name>Servlet_TestServlet</servlet-name>
    <display-name>Servlet TestServlet</display-name>
    <description>Default configuration created for Servlet.</description>
    <servlet-class>TestServlet</servlet-class>
    </servlet>
    <servlet-name>Servlet_TestServlet</servlet-name>
    <url-pattern>/servlet/TestServlet</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>
    30
    </session-timeout>
    </session-config>
    </web-app>
    and this is my mod_jk.conf file
    <IfModule !mod_jk.c>
    LoadModule jk_module /usr/lib/apache/1.3/mod_jk.so
    </IfModule>
    JkWorkersFile "/opt/tomcat/conf/jk/workers.properties"
    JkLogFile "/opt/tomcat/logs/mod_jk.log"
    JkLogLevel emerg
    JkMount /admin ajp13
    JkMount /admin/* ajp13
    JkMount /examples ajp13
    JkMount /examples/* ajp13
    JkMount /TestApplication ajp13
    JkMount /TestApplication/* ajp13
    when i run tomcat it is showing this application as mounted.
    i think i made everythig fine but i am getting not found 404 message.
    can any one help me..

    Servlets belong to the web-inf/classes dir.
    In web-inf a web.xml file should be saved:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
      <display-name>Welcome to Tomcat</display-name>
      <description>
         Welcome to Tomcat
      </description>
        <servlet-mapping>
            <servlet-name>invoker</servlet-name>
            <url-pattern>/servlet/*</url-pattern>
        </servlet-mapping>
    </web-app>Andreas

  • Can't do online banking. Get error message. "The requested URL /Summary.cgi was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    I can't do online banking. When I try to open the page I get error "The requested URL /Summary.cgi was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Hi,
    These blog posts might help debug problem
    Oracle APEX: Got a 404 Not Found? | Inside Oracle APEX by Patrick Wolf
    daust_de :: Oracle XE / APEX: Troubleshooting the 404-not found error on XE
    Regards,
    Jari

  • Hello, i need help i'm doing experiment on ilab i have managed to put my experiment on the platform but when i try to launch it fails with an error 404 that the page not found. any one with idea of what i should do to solve this problem. thank you

    hello, i need help i'm doing experiment on ilab i have managed to put my experiment on the platform but when i try to launch it fails with an error 404 that the page not found. any one with idea of what i should do to solve this problem. thank you

    hey Sally,
    Can you elaborate on the ilab and what you are trying to do? I have found this page to explain error 404, but I am not sure if it directly applies to  you
    http://digital.ni.com/public.nsf/allkb/D0998D3734926FA08625782300016E40?OpenDocument
    Regards,
    A. Zaatari
    National Instruments
    Applications Engineer

  • Apex_util.get_blob was not found on this server

    Hi All,
    APEX Version: 3.1.1.00.09
    Database version 11g
    I am trying to create a report, with a column having a link to download the file stored as BLOB type in the database.
    I performed the following steps:
    *1. created custom report base on SQL Query:*
    select PROGRAM_ID ,
    USER_ID ,
    dbms_lob.getlength(FILE_CONTENT) "FILE_CONTENT" ,
    File_name
    from PGMRECRT_FRMS_USRSUBMTSTATUS
    [Primary Keys for the table PGMRECRT_FRMS_USRSUBMTSTATUS are :  Program_id and user_id]
    *2. Configured BLOB Download Format Mask for the column "File_Content" as:*
    DOWNLOAD:PGMRECRT_FRMS_USRSUBMTSTATUS:FILE_CONTENT:PROGRAM_ID:USER_ID::FILE_NAME:LST_UPD_TSTMP::attachment:Download
    *3. When I run the report I get the Download link in the "File_Content" column.*
    *4. When the link is clicked it throws 404 Not found Error, with the following message on the browser:*
    The requested URL /pls/apex/apex_util.get_blob was not found on this server.
    The Page Source contains the following
    href="apex_util.get_blob?s=3261371303066053&a=101&c=2878703203169482&p=16&k1=147&k2=&ck=01786319873F8A6F1A1344A1B2A17567&rt=CR" alt="Download" title="Download 32KB"
    I don't see the second Primary key being passed in the source. (User_id)
    I checked the HTTP Server error log, here is the error recorded in the log file:
    [Sat Jun  6 02:22:14 2009] [error] [client 141.144.160.57] [ecid: 1244280134:148.87.1.123:18724:0:2223,0] mod_plsql: /pls/apex/apex_util.get_blob HTTP-404 ORA-00900: invalid SQL statement\nORA-06512: at "SYS.WWV_DBMS_SQL", line 206\nORA-06512: at "FLOWS_030100.WWV_FLOW_DML", line 2409\nORA-06512: at "FLOWS_030100.HTMLDB_UTIL", line 1580\nORA-06512: at line 31\n
    Please suggest what is the problem here and how should I go about resolving it.
    I have created sample report: Visit following link: [It is SSO enabled]
    https://techbpo-stage.oracle.com:4443/pls/apex/f?p=101:16
    Thanks & Regards
    Pooja

    For people who are still searching for a solution:
    I think you have to make sure that you select the primary key of the table containing the blob and do not use an alias for this column.
    I first tried following scenario:
    select my_table.pk_id, my_table.description, dbms_lob.getlength(doc.document_data) document_data
    from table1 my_table
    join table2 doc
    on doc.pk_id = my_table.fk_doc_id;
    I filled in the correct column attributes but still this resulted in the 500 error.
    After some research i tried following scenario:
    select my_table.pk_id, my_table.description, doc.pk_id document_id, dbms_lob.getlength(doc.document_data) document_data
    from table1 my_table
    join table2 doc
    on doc.pk_id = my_table.fk_doc_id;
    But still this resulted in the 500 error.
    Finally thanks to a lucky guess I removed the alias from the doc.pk_id and added an alias for the my_table.pk_id and everything worked fine.
    select my_table.pk_id table_id, my_table.description, doc.pk_id, dbms_lob.getlength(doc.document_data) document_data
    from table1 my_table
    join table2 doc
    on doc.pk_id = my_table.fk_doc_id;
    I also read something about the order in which you select the blob file, I always select it as the last column. I'm not sure if this has any influence on the result.
    Regards,
    Bjorn

  • The requested URL not found on this server

    Hi
    I was trying to export the output of a report to Excel spreadsheet using the technique mentioned in the below link
    http://htmldb.oracle.com/pls/otn/f?p=18326:54:4064128727007824::::P54_ID:1962
    and got a "requested URL pls/apex/x.excel_xml was not found in this server" error message. I have successfully created the procedure and it exists under the workspace schema with the correct permissions.
    What am I doing wrong?
    Thanks in advance.

    Hi Scott,
    Thanks for looking into this. I am using Oracle-Application-Server-10g/10.1.2.0.2 , Application Express Release 2.2 and Oracle Database 10g Enterprise Edition Release 10.2.0.1.0.
    My application and the oracle procedure I am trying to call (excel_xml) exists in the same workspace "testworkspace" . I ran the grant requst as "grant execute on excel_xml to public".
    But still I get the URL not found error message.
    Here is the error log from Apache
    [Wed Sep 20 08:35:59 2006] [error] [client 10.60.23.126] [ecid: 4141503397020,1] File does not exist: c:/orahome_1/apache/apache/htdocs/favicon.ico
    [Wed Sep 20 08:56:09 2006] [error] [client 10.60.23.126] [ecid: 3866626726665,1] mod_plsql: /pls/apex/report.excel_xml HTTP-404 \nreport.excel_xml: PROCEDURE DOESN'T EXIST\n
    [Wed Sep 20 09:03:38 2006] [error] [client 10.60.23.126] [ecid: 1976841578959,1] mod_plsql: /pls/apex/report.excel_xml HTTP-404 \nreport.excel_xml: PROCEDURE DOESN'T EXIST\n
    Really appreciate any help on this.
    Thanks.

  • LSO Content Player  Error - HTTP Error 404 - File or directory not found

    Hi All
    Please could you assist.
    I have published a course to my ISS CMS and configured the links in both ECC and J2EE lsm/mediator.
    Result
    Username='username', SystemName='HRD', Client='030', Host='22.22.22.22', Language='EN', SystemNumber='00', EnablePoolSharing='true', MaxConnection=50, AbapDebug=false:
    CPCFG.RSURL = http://iiscmshost.domain/LSO600/Content/
    CPCFG.REPUS = username
    ServerURL=http://iiscmshost.domain/LSO600/Content/  ok!
    I was able to successfully publish the course from the Authoring Environment to the CMS server.
    When selecting the starting the course from the portal with content player i get the following error.
    HTTP Error 404 - File or directory not found
    But the URL is referring to - http://iiscmshost.domain/lms/mediator/courseview?sid=8685627505550088697845288091101&language=EN&sys=HRD&client=030&sap-accessibility=X
    How does directory http://iiscmshost.domain/lms/mediator get created when the content is in http://iiscmshost.domain/LSO600/Content ??
    Secondly can I change this reference to my LSO600/Content directory.
    Please advise with any information. Point will be awarded.
    Regards
    Maahir

    Dear Maahir,
    We are facing the same problem. We are pointing over CMS to IIS, instead of KM content of portal. We are successfully able to release and publish the course, then attach to a course participant also.
    But. When participants logs into the portal and click on Start Now. It giving 404 file not found Error. Its the same error. All our Course and content pointed to CMS IIS Server Url.
    When we did the content player config test, result is NOT OK. We have required R3 authorization and CMS user authorization also with admin rights. Content Player console is working in AE when we start up the course. Its showing the error.
    So, it seems like content player is not working properly. Bcoz we are launching course from  http://WEBDAV repository server maintained in back end system. Which is the IIS(CMS Server)for us. Do we need to maintain anything separately to launch a course from IIS Server on R3 and SAP Portal. Below sample URL from page.
    http://Sever:port/lms/mediator/courseview = xxxxxxxxxxxxxxx
    Could you please us know, how did you resolve the issue and tell me the cause of this issue.
    Thanks and Regards
    Obli

  • HTTP server code 404 reason Not Found explanation Not Found

    Hi all
    I am facing this error "HTTP server code 404 reason Not Found explanation Not Found" during a asynchronous xml message sent to a buisiness service
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
      <SAP:P1>404</SAP:P1>
      <SAP:P2>Not Found</SAP:P2>
      <SAP:P3>Not Found</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP server code 404 reason Not Found explanation Not Found</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    could you provide an explanation on this error.

    Hi
    Go through this
    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.
    Possible Tips:- 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.
    **********Reward points if usefulll.**********

  • In WAS Form Based Authentication : Exception Servlet Not Found: FormLoginSe

    Hi,
    I am using form bases athentivation in WebSpahe Application Server.
    When I am send the login.jsp then this exception is comming
    com.ibm.ws.webcontainer.servlet.exception.ServletNotFoundException: Servlet Not Found: FormLoginServlet
    with regards
    Siddharth
    ([email protected])

    Hi,
    I am using form bases athentivation in WebSpahe Application Server.
    When I am send the login.jsp then this exception is comming
    com.ibm.ws.webcontainer.servlet.exception.ServletNotFoundException: Servlet Not Found: FormLoginServlet
    with regards
    Siddharth
    ([email protected])

  • SOAP:ENV Error: Resource..not found on this server

    I created a simple java class with a method that returns org.w3c.dom.Element type.
    Created web service for this class and method in Jdeveloper.
    Deployed this web service in OC4J locally (as explained by other web services examples).
    Then I created a Client Stub for this web service (.wsdl file).
    When testing this client stub ( I followed the same steps as mentioned in OTN DEPT/EMP Web Service), I get the following exception:
    D:\JDEVELOPER\jdk\bin\javaw.exe -ojvm -classpath D:\JDEVELOPER\jdev\mywork\MyWorkspace\MyProject2\classes;D:\JDEVELOPER\jdev\lib\jdev-rt.jar;D:\JDEVELOPER\jdbc\lib\classes12.jar;D:\JDEVELOPER\jdbc\lib\nls_charset12.jar;D:\JDEVELOPER\jdev\lib\jdev-rt.jar;D:\JDEVELOPER\soap\lib\soap.jar;D:\JDEVELOPER\lib\xmlparserv2.jar;D:\JDEVELOPER\jlib\javax-ssl-1_2.jar;D:\JDEVELOPER\jlib\jssl-1_2.jar;D:\JDEVELOPER\j2ee\home\lib\activation.jar;D:\JDEVELOPER\j2ee\home\lib\mail.jar;D:\JDEVELOPER\j2ee\home\lib\http_client.jar;D:\JDEVELOPER\lib\xmlparserv2.jar;D:\JDEVELOPER\lib\xmlcomp.jar;D:\JDEVELOPER\rdbms\jlib\xsu12.jar GetProductsClient
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type &quot;text/html&quot;, must be: &quot;text/xml&quot;. Response was:
    &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;404 Not Found&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;404 Not Found&lt;/H1&gt;Resource /MyWorkspace-MyProject2-context-root/GetProducts not found on this server&lt;/BODY&gt;&lt;/HTML&gt;
    The SOAP response is as bellow:
    HTTP/1.1 404 Not Found
    Date: Wed, 27 Nov 2002 15:36:27 GMT
    Server: Oracle9iAS (9.0.3.0.0) Containers for J2EE
    Content-Length: 171
    Connection: Close
    Content-Type: text/html
    <HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>404 Not Found</H1>Resource /MyWorkspace-MyProject2-context-root/GetProducts not found on this server</BODY></HTML>
    The Debug shows, the Method getProductsXM() in the client stub is failing at
    Response response = call.invoke(endpointURL, "");
    This appears to be generating fault and the code is throughing exception which is not casted in to a Element type.
    Not sure what is causing this to fail. And I have not toucjed/ changed the URI for this webservice myself at all. Whatever URIs or Name spaces are there, they are all generarted by JDeveloper.
    I was trying to create a web service that display/return Resultset.
    Any feedback/suggestions ? I would appreciate if you can point me to some sample code that does this ( returning Resultset as XML -<ROWSET> Element)
    Thanks,
    Madhu

    Does this do the trick?
    Server side class:
    import org.w3c.dom.*;
    import oracle.xml.parser.v2.*;
    public class Employee
    public Employee ()
    public Element getEmployeeElement(){
    Document doc = new XMLDocument();
    Element elAdd = doc.createElement( "employee");
    Element elA = doc.createElement( "name");
    elA.appendChild(doc.createTextNode("Mike"));
    elAdd.appendChild(elA);
    doc.appendChild(elAdd);
    return doc.getDocumentElement();
    Generated Interface from JDev:
    * Generated by the Oracle9i JDeveloper Web Services Interface Generator
    * Date Created: Wed Nov 27 11:42:37 PST 2002
    * This interface lists the subset of public methods that you
    * selected for inclusion in your web service's public interface.
    * It is referenced in the web.xml deployment descriptor for this service.
    * This file should not be edited.
    public interface IEmployee
    public org.w3c.dom.Element getEmployeeElement();
    Generated client with a print method to output the result (using WSDL generated by JDeveloper):
    import oracle.soap.transport.http.OracleSOAPHTTPConnection;
    import org.apache.soap.encoding.soapenc.BeanSerializer;
    import org.apache.soap.encoding.SOAPMappingRegistry;
    import org.apache.soap.util.xml.QName;
    import java.net.URL;
    import org.apache.soap.Constants;
    import org.apache.soap.Fault;
    import org.apache.soap.SOAPException;
    import org.apache.soap.rpc.Call;
    import org.apache.soap.rpc.Parameter;
    import org.apache.soap.rpc.Response;
    import org.w3c.dom.Element;
    import java.util.Vector;
    import java.util.Properties;
    import oracle.xml.parser.v2.*;
    * Generated by the Oracle9i JDeveloper Web Services Stub/Skeleton Generator.
    * Date Created: Wed Nov 27 11:39:29 PST 2002
    * WSDL URL: file:/D:/demo/Workspace5/Project1/src/Employee.wsdl
    public class EmployeeStub
    public EmployeeStub()
    m_httpConnection = new OracleSOAPHTTPConnection();
    m_smr = new SOAPMappingRegistry();
    public static void main(String[] args)
    try
    EmployeeStub stub = new EmployeeStub();
    // Add your own code here.
    Element e = stub.getEmployeeElement();
    ((XMLElement)e).print(System.out);
    catch(Exception ex)
    ex.printStackTrace();
    public String endpoint = "http://127.0.0.1:8888/Workspace5-Project1-context-root/Employee";
    private OracleSOAPHTTPConnection m_httpConnection = null;
    private SOAPMappingRegistry m_smr = null;
    public Element getEmployeeElement() throws Exception
    Element returnVal = null;
    URL endpointURL = new URL(endpoint);
    Call call = new Call();
    call.setSOAPTransport(m_httpConnection);
    call.setTargetObjectURI("Employee");
    call.setMethodName("getEmployeeElement");
    call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML);
    Vector params = new Vector();
    call.setParams(params);
    call.setSOAPMappingRegistry(m_smr);
    Response response = call.invoke(endpointURL, "");
    if (!response.generatedFault())
    Parameter result = response.getReturnValue();
    returnVal = (Element)result.getValue();
    else
    Fault fault = response.getFault();
    throw new SOAPException(fault.getFaultCode(), fault.getFaultString());
    return returnVal;
    public void setMaintainSession(boolean maintainSession)
    m_httpConnection.setMaintainSession(maintainSession);
    public boolean getMaintainSession()
    return m_httpConnection.getMaintainSession();
    public void setTransportProperties(Properties props)
    m_httpConnection.setProperties(props);
    public Properties getTransportProperties()
    return m_httpConnection.getProperties();
    Mike.

  • Breadcumbs don't work online: '404 - File or directory not found'

    Breadcrumbs all work fine when testing my AirHelp application offline on my Windows 7 pc, (or if I access it as online browser based help). However, when I try to test the online Airhelp most of the breadcrumbs return a '404 - File or directory not found' error.
    My RoboHelp Project has been created as follows:
    1. There is a homepage created inside of RoboHelp
    2. Then I have linked a number of framemaker books, for each of which the FM table of contents is being converted to create a new associated TOC.
    3. In the master TOC I have added a New TOC Book for each framemaker book (making it a book with a link to a htm), under the New TOC Book I have inserted a TOC placeholder for the appropriate associated TOC.
    When the Online AirHelp version is run, the breadcrumbs can only be used to navigate to the homepage and to the New TOC Books at the level immediately beneath the home page. The links to these pages seem to make sense, being of the form:
    Breadcrumb
    Link
    Home
    event:homepage.htm
    Home/User Guide
    event:../../../User_Guide.htm
    Where it goes wrong is for the breadcrumbs futher down the path which have links similar to those shown below:
    Breadcrumb
    Link
    Home/User Guide/Introduction
    event:introduction.htm
    Home/Handbook/Sign_Conventions
    event:Sign_Conventions.htm
    In both of the above the URL request that is being passed to the online server is not the full path, (it seems to be a relative path?) Is this the reason why the breadcrumbs don't work, and if so can you suggest what I need to do to get them working?
    I am up against a deadline, and at the moment the only way forward I have is to abandon the converted Framemaker TOCs and have RoboHelp autocreate a TOC for the whole project for me, however this is not a practical solution because the folder structure is not the same when I do this and would require a great deal of manual editing each time it is rebuilt.
    Hoping somebody out there can please assist?
    Thanks.

    Thanks TP,
    I have many public IP's available. Do I need to install the RD Web access role on the DMZ server that has the RD Gateway role even if i have spare public IP's available? 
    I've basically have this setup "3.1. RD Gateway without AD DS in perimeter network deployment:"
    On the below link
    http://blogs.msdn.com/b/rds/archive/2009/07/31/rd-gateway-deployment-in-a-perimeter-network-firewall-rules.aspx
    currently there's an CNAME record in DNS for remote.external.com which points to Server3.internal.pri
    which holds the RD
    Connection Broker, RD Licensing and RD Web Access roles
    Are you saying to create an A record and point it to Server3.internal.pri
    internal IP? I'm not getting certificate errors (yet) so do i have to run the script? i ask this as the error message i'm getting (404 - File or directory not found) doesn't seem to be related to certificates, i'm making changes to a production environment
    so i have to be extra carefull!
    Cheers!

  • RD Gateway - 404 - File or directory not found - Remote Desktop Services 2012 R2 - External users

    Hi All, 
    I’m currently deploying RDS to our network, I’ve installed and configured the RD Gateway role – accessing https://remote.external.com/RDWeb internally works fine but not externally. Externally https://remote.external.com reaches the servers default IIS page
    but once I put /RDWeb I get the error 404 – File or directory not found.
    I’m not sure what’s not configured properly but below is the setup – keep in mind that the internal domain is different to the external FQDN i.e. the server name of the GD Gateway is Server4.internal.pri and the FQDN to access RDS externally is remote.external.com 
    - Server1.internal.pri Internal Network
    RD Session Host
    - Server2.internal.pri Internal Network
    RD Session Host
    - Server3.internal.pri Internal Network
    RD Connection Broker, RD Licensing, RD Web Access
    - Server4.internal.pri DMZ Network
    RD Gateway DMZ IP/ Internal IP
    - Certificate for all servers is a wildcard *.external.com
    In the RDS Deployment Properties
    Deployment Properties> Certificates> all certificates are configured with a wildcard certificate e.g. *.external.com
    Deployment Properties> RD Web Access server= server3.internal.pri URL = https:// server3.internal.pri/RDWeb
    Deployment Properties> RD Gateway> Server name = remote.external.com – I’ve understood that this is the URL (FQDN) to access RDS and not the RD Gateway servername itself
    RD Gateway Manager Properties
    Browse and import certificate> *.external.com
    Transport Settings> IP address for HTTPS = 192.168.x.x (DMZ IP)
    Transport Settings> IP address for UDP = 192.168.x.x (DMZ IP)
    IIS
    Both the RD Gateway and the Connection Broker have https certificate as *.external.com and in the site bindings https is * for ip addresses, specifying the DMZ IP on the RD Gateway doesn’t fix the issue
    DNS, Network, Domain etc..
    remote.external.com points the Public IP in DNS with an A record – Public IP is NATed to the RD Gateways DMZ IP on the firewall – RD Gateway is joined to the domain – RD Gateway has another NIC with an internal IP
    Firewall
    Port 80, 443, 3391 is open from the internet to the RD Gateways DMZ IP, RD Gateway also has an internal IP with full access to the other RDS roles
    Errors I receive with the MS Best Practice Analyzer
    Problem:
    The Remote Desktop Gateway (RD Gateway) server Secure Sockets Layer (SSL) certificate may not have a valid certificate subject name.
    Impact:
    If the RD Gateway server is configured to use an SSL certificate with a certificate subject name that is not valid, users cannot connect to internal network resources (computers) through the RD Gateway server.
    Resolution:
    Use the RD Gateway Manager tool to select a valid SSL certificate for the RD Gateway server to use.
    Even though I did configure this… seems like it might be from the split DNS
    Other 
    I can access RDS from the RD Gateway box https://remote.external.com and client machines
    no certificate errors internally, either externally when I reach the default IIS page of the RD Gateway i.e. https://remote.external.com
    Any help is much appreciated!

    Thanks TP,
    I have many public IP's available. Do I need to install the RD Web access role on the DMZ server that has the RD Gateway role even if i have spare public IP's available? 
    I've basically have this setup "3.1. RD Gateway without AD DS in perimeter network deployment:"
    On the below link
    http://blogs.msdn.com/b/rds/archive/2009/07/31/rd-gateway-deployment-in-a-perimeter-network-firewall-rules.aspx
    currently there's an CNAME record in DNS for remote.external.com which points to Server3.internal.pri
    which holds the RD
    Connection Broker, RD Licensing and RD Web Access roles
    Are you saying to create an A record and point it to Server3.internal.pri
    internal IP? I'm not getting certificate errors (yet) so do i have to run the script? i ask this as the error message i'm getting (404 - File or directory not found) doesn't seem to be related to certificates, i'm making changes to a production environment
    so i have to be extra carefull!
    Cheers!

Maybe you are looking for