Help: Unable to set root servlet in a shared hosting environment

I'm using a shared hosting environment with GoDaddy and can't set the http://www.domain.com/ root servlet, i.e. the servlet that gets invoked when we go to the homepage.
I have the following web.xml file configured that currently works on my testing server:
     <servlet>
          <display-name>MainPage</display-name>
          <servlet-name>MainPage</servlet-name>
          <servlet-class>com.somedomain.MainPage</servlet-class>
     </servlet>
     <servlet-mapping>
          <servlet-name>MainPage</servlet-name>
          <url-pattern>/mainpage</url-pattern>
     </servlet-mapping>
     <welcome-file-list>
          <welcome-file>mainpage</welcome-file>
     </welcome-file-list>The application is configured as the 'ROOT' application on my development server, but shared in the hosting environment. I wonder if some permissions are not given since it is shared hosting environment. The error message I get when visiting the page is:
Forbidden
You don't have permission to access / on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.33 Server at dev9.somedomain.com Port 80Unfortunately the server get's restarted once a day, so multiple suggestions would be much appreciated. I will upload them all at once.

Change the value of the url-pattern value of your servlet mapping in the deployment descriptor. Instead of using "/mainpage" as the value use "/index.html" or "/index.jsp".
Edited To Add - But this might not be right, because it will result in an endless loop. You would eventually want to display the home page and it would trigger the servlet which would forward to the home page, triggering the servlet and on and on...
I don't think I know the answer here...
Edited by: nantucket on Apr 5, 2009 12:20 PM

Similar Messages

  • Unable to set root/main/default servlet in Tomcat 5.5

    I'm on a shared hosting account with Tomcat 5.5 and cannot figure out why I can't set the default servlet. I want all incoming requests regardless of the relative path, to be handled by the Redirect servlet. There is only one servlet in the whole project.
    Some examples
    http://www.mydomain.com -> Redirect servlet (not working)
    http://www.mydomain.com/ -> Redirect servlet (not working)
    http://www.mydomain.com/a -> Redirect servlet
    http://www.mydomain.com/blaldjflajdd -> Redirect servlet
    With the below web.xml file, the last two above works just fine, but the first two gives a 403 error. What gives, I followed the Tomcat documentation to the teeth... It seems to work on my development server, but not on the shared hosting. Is this a setting anyone would block? Any help would be much appreciated.
    The full web.xml setting below:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" 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">
         <display-name>Redirect</display-name>
         <servlet>
              <display-name>Redirect</display-name>
              <servlet-name>Redirect</servlet-name>
              <servlet-class>com.somedomain.Redirect</servlet-class>
              <init-param>
                   <param-name>host</param-name>
                   <param-value>www.myotherdomain</param-value>
              </init-param>
              <init-param>
                   <param-name>redirect-type</param-name>
                   <param-value>301</param-value>
              </init-param>
         </servlet>
         <servlet-mapping>
              <servlet-name>Redirect</servlet-name>
              <url-pattern>/</url-pattern>
         </servlet-mapping>
    </web-app>I tried adding other mappings as well that didn't work, such as :
         <servlet-mapping>
              <servlet-name>Redirect</servlet-name>
              <url-pattern>/*</url-pattern>
         </servlet-mapping>What would happen if I try an empty url-pattern?
         <servlet-mapping>
              <servlet-name>Redirect</servlet-name>
              <url-pattern></url-pattern>
         </servlet-mapping>Any help would be much appreciated. I tried workarounds, by using an index.jsp file to supplement, but that isn't working quite right either. I prefer to have it setup properly though.... Please Help!!!

    tomcat does not compile servlets, only JSP's will be translated and compiled on the fly. You need to compile them yourself, possibly using ANT or an IDE like NetBeans or Eclipse to make it easier to deploy the changes.

  • Please help: unable to set preferences for planning from workspace.

    Hi Experts,
    unable to set preferences for planning from workspace.(file--->preferences----->planning), when doing this task prompts " An Error occured" preferences works fine with other components IR, FR, WEB ANALYSIS.problem is only with the planning.
    1) i restarted the workspace and planning services but even then the same issue.
    Please help me out on this issue.
    Thanks.

    Hi,
    Do you get the same problem if you access planning directly ? http://<planningmachine>:8300/HyperionPlanning/
    Just trying to understand if it related directly to planning and maybe you will get a different error message.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • HELP: Unable to set up a personal email account on the BlackBerry 8820

    Please advise

    Hello,
    Please avoid any personal information within these forums...they are public, and you have just posted your personal email address for all spammers to troll for and use. Not wise.
    Rather, you need to contact your carrier. To use the proprietary RIM Push email capability, you must have an adequate data plan from your carrier. The carriers host BIS for their BB users. Typically, BIS is not available via generic data plans. Many carriers call what is necessary The Blackberry Data Plan. Whatever they call it, it is the carrier who delivers BIS to their BB users -- contact them for assistance. Once you have a BIS-capable data plan on your BB (at whatever fees your carrier will charge, btw), you will then have Personal Email added to the email setup wizard.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I am unable to set up my iphone 5 after reset since am getting a error stating 'unable to reach server' . i tried restoring the same from my computer  but  i get a error stating server unavailable' .  please help me as my phone is stuck at the set up page

    i am unable to set up my iphone 5 after reset since am getting a error stating 'unable to reach server' . i tried restoring the same from my computer  but  i get a error stating server unavailable' .  please help me as my phone is stuck at the set up page. so i have already tried recovery mode as well.

    Contact Apple support for warranty service.

  • Please Help, After Kernel panic restart failed- apple swirl(6 hrs), SafeMode-failed, SUMode-sucess. Could not unmount disk to erase. Repair permissions-multiple fail errors:unable to set permissions on... unable to set owner and group...

    Please Help, I deleted an account that was the same name as the administrator but was not the administrator. Also a samsung galaxy s phone was charging through the usb port.
    I closed out a program and got a message that the temp file could not be stored/saved.
    Then a Kernel panic message occurred and restart was necessary.
    The restart resulted in the screen with the apple logo and a continous swirl for 6+hrs,
    Attempted Safe Mode start up, unsuccessful,
    Single User Mode-sucess.
    Ran $ fsck_hfs -rfd /dev/disk0s2 Ran several times repairs made with one which remained. something about a node.
    No change in start up attempts
    Started with install CD matching current OS 10.6
    Ran Disk Utility Repair Permissions resulting in multiple errors:
    One line/error
    Warning: SUID file /////Ardagent has been modified and will not be repaired
    144 lines/errors of this type of series of lines
    Group permissions differ on...should be drwxr-xr-x, they are -rw-r--r-- .
    permissions differ on...should be drwxr-xr-x, they are -rw-r--r-- .
    unable to set owner and group...error 22: Invalid Argument
    unable to set permissions on...error 22: Invalid Argument
    Ran Repair Disk, result:
    Error: Could not unmount disk (in red)
    Ran Verify Disk, result:
    The volume HD appears to be ok (in green)
    Next I attempted to erase the dist to start from scratch since I have data backed up on time machine.
    Error message box
    Volume Erase failed
    Volume Erase failed with error:
    Could not unmount disk
    I am looking to solve without buying DiskWarrior unless only resort.

    So it looks like  solved it for now I will update later. What I did was after starting from the install cd for the 10.6 system I ran from terminal ran:
    diskutil disablejournaling /dev/disk0s2
    diskutil disableownership /dev/disk0s2
    diskutil repairPermissions /dev/disk0s2
    then i closed terminal and then when to disk utility and chose to repair disk with results all was fine. Then ran repair permissions and got similar results from terminal function next I erased disk and then chose to restore from time machine and it is now restoring! yea!

  • I recently purchased my first MacBook Air but am unable to set up my @live.ie email account. My emails to this account come through to my iphone no problem. Can anyone help please?

    I recently purchased my first MacBook Air but am unable to set up my @live.ie email account. My emails to this account come through to my iphone no problem. Can anyone help please?

    Open Mac Mail.
    From the menu bar click Mail > Preferencees then select the Accounts tab then the Account Information tab then click + to add the account.

  • Please kindly help me out.... i just update my iphone to the latest os but i was unable to set my phone up now

    Please kindly help me out.... i just update my iphone to the latest os but i was unable to set my phone up now

    Did you buy your phone unlocked from Apple or did you have the original carrier unlock it? Or did you have some third party unlock it for you? If the latter, and you are trying to set the phone up with a different carrier than the original, you're going to have problems as the update most likely reversed the unauthorized unlock.

  • HT4557 I'm trying to set up my iphone for home sharing and its says unable to set up home sharing. My password is correct, I've tried it three times with the same message. Any help?

    I'm trying to set up my iphone for home sharing and its says unable to set up home sharing. My password is correct, I've tried it three times with the same message. Any help?

    Hello daltonfromgbr
    Check out the article below to troubleshoot you issue with connecting to Home Sharing. It will walk you through checking firewall settings as well as your network connection.
    Troubleshooting Home Sharing
    http://support.apple.com/kb/ts2972
    Regards,
    -Norm G.

  • When I type any website like wikipidia or linkedIn that has initial page names as Home, I am going to some unknown website. It is happening for many other websites like yahoo, timesofindia, etc. Please help me, because I am unable to find root cause.

    When I type any website like wikipidia or linkedIn that has initial page named as Home, I am going to some unknown website. It is happening for many other websites like yahoo, timesofindia, etc. Please help me, because I am unable to find root cause.

    Apple does not give away its products.
    Unless you are the 1,000th person to show up at a new Store and Tim Cook is there and his assistant is filming you to be posted on their Home Page.
    That is yet another FaceBook SCAM.

  • HELP! Unable to run root.sh

    I have just started to install the Oracle 8.0.5 for Linux and
    have run into a little problem (I am using RedHat 5.1). I setup
    the proper oracle user and group and set up the proper env
    variables in the .profile of the oralce user I setup like so:
    LD_LIBRARY_PATH="$ORACLE_HOME/lib"
    ORACLE_BASE="/u01/app/oracle"
    TMP_DIR="/tmp"
    ORACLE_TERM="vt100"
    PATH="$PATH:/$ORACLE_HOME/bin"
    ORACLE_SID="doug"
    export LD_LIBRARY_PATH ORACLE_BASE TMP_DIR ORACLE_TERM ORACLE_SID
    PATH
    I then went in as the Oracle user and in /cdrom/orainst I looked
    for the file orainst like the instructions say but instead find:
    00_TRANS.TBL crora.sh* install* root.sh
    I am not sure where the orainst file is but I run install
    instead, it asks me a few questions (mentions that it will
    require only 300MB of disk space - this seems small) - what is
    the ORACLE_HOME and ORACLE_SID and then says "extracting from the
    CD". Then it says:
    Do you want to create a database now? [n]
    y
    Saving listener.ora -> listener.ora.sav
    Saving tnsnames.ora -> tnsnames.ora.sav
    Creating listener.ora ...
    Creating tnsnames.ora ...
    Creating database ...
    Environment settings are in file in /opt/oracle/.env
    To set environment :
    $ cd $ORACLE_HOME; . ./.env
    Installation complete.
    Login as root and run root.sh
    This is where all the problems start. I log into another term as
    root, set the env settings like it says (for both the oracle dba
    user and root just to be safe) with the .env script and then I
    try to run root.sh as root and receive the message:
    [root@localhost orainst]# ./root.sh
    Please set ORACLE_HOME, ORACLE_SID environment variables before
    invoking this and run this as root
    /bin/chmod: oracle: No such file or directory
    /bin/chmod: oracle: No such file or directory
    [root@localhost orainst]#
    The problem that I have here is that the ORACLE_HOME and
    ORACLE_SID are set. When I echo these variables they are set:
    [root@localhost orainst]# echo $ORACLE_HOME
    /opt/oracle
    [root@localhost orainst]# echo $ORACLE_SID
    doug
    What seems to be the problem here? The one other thing here is
    that I have verified that the oratab file has been created. I was
    not able to find the oratab.sh script but I found a oratab in
    /etc. I read in the documentation that this should be in
    /var/opt/oracle. I have copied the /etc/oratab to this location
    just to make sure. Can anyone tell me what it is that I need to
    do to run root.sh and exactly what the next step is in this crasy
    install process.
    Thank you for your time.
    null

    Try to run JDK demo's jar file in win98-cn ,does it ok?
    Can you use "java ..." command to complie any java file ?
    Please check you jdk setting in win98.

  • Unable to set kernel parameters using Reource Control

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx
    guru

    I finally had some time to find the actual syntax for tuning process.max-msq-qbytes and process.max-msg-messages. prctl will change those paramaters for an existing process.
    As a proof of concept I changed process.max-msg-messages to a 64k. process 2221 is my shell.
    prctl -n process.max-msg-messages  -r -v 64k 2221
    bash-3.00# prctl 2221
    process: 2221: -csh
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    process.max-port-events
            privileged      65.5K       -   deny                                 -
            system          2.15G     max   deny                                 -
    process.max-msg-messages
            privileged      64.0K       -   deny                                 -
            system          4.29G     max   deny                                 -
    process.max-msg-qbytes
            privileged      64.0KB      -   deny                                 -
            system          4.00GB    max   deny                                 -And now to make this persist across reboots...
    So long as I'm experimenting, I'll use projadd and add a new project which just includes me and not the rest of the users in the group staff.
    bash-3.00# projadd -p 115 -U testuser \
    -K "process.max-msg-messages=(priv,64K,deny)" \
    -K "process.max-msg-qbytes=(priv,64K,deny)" \
    user.me This creates the following /etc/project:
    (note the last line is all on one line in the real file minus the \.)
    placer% cat /etc/project
    system:0::::
    user.root:1::::
    noproject:2::::
    default:3::::
    group.staff:10::::
    user.me:115::testme::\
    process.max-msg-messages=(priv,64000,deny);process.max-msg-qbytes=(priv,65536,deny)After a reboot I checked the values by loging in under my user and running prctl.
    placer% prctl $$
    process: 419: -csh
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    process.max-port-events
            privileged      65.5K       -   deny                                 -
            system          2.15G     max   deny                                 -
    process.max-msg-messages
            privileged      64.0K       -   deny                                 -
            system          4.29G     max   deny                                 -
    process.max-msg-qbytes
            privileged      64.0KB      -   deny                                 -
            system          4.00GB    max   deny                                 -
    process.max-sem-ops
            privileged        512       -   deny                                 -
            system          2.15G     max   deny                                 -
    ...Solaris 10 has different tunables and default values from 8 and 9. It's default tunables should be good for most applications per a given system's hardware. There are some great blog articles, and discussions on opensolaris.org and blogs.sun.com on tuning that explain the intent of tuning and why we shouldn't have to tune.
    Cheers,
    ~~sa

  • Unable to set browser preview options

    I posted this a few days ago and didn't get any responses, so
    am trying again in case I'll have better luck today. :-)
    I hope someone can help because this problem, which suddenly
    occured, is makign it impossible for me to do any work in
    Dreamweaver and that's driving me crazy... :-0
    Thanks!
    I feel a bit silly about this - but for some reason I am
    unable to set the browser preview options in my preferences. I'm
    using Dreamweaver 8 on a Mac OX10.3.9, and trying to designate
    Firefox 1.5 as my default primary browser, and Safari 1.3.2 &
    IE5 as secondary options. When I first open Dreamweaver I get a
    message saying 'Unable to read Preview in Browser Preference.
    Please remove all browsers form the list and add them again". So I
    remove them all and when I try to add them back, none of my choices
    show up in the box. Then I restart and the old ones are still
    there. If I try to change the check in the box that indicates
    primary or secondary browsers, my program crashes. Anyone have a
    clue what's going on? Thanks so much for any help...

    This - file:///ether/Patricia Yenawine/images/oxblood_med.jpg
    - tells me
    that your local root folder is on a network shared drive. I
    am guessing
    that your problem stems from the fact that network
    permissions/protocols are
    interfering with your ability to successfully write your
    cache files and
    your browser preferences.
    Do you have the same problem with sites that are truly local
    to your
    computer?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "amysue102" <[email protected]> wrote in
    message
    news:e48hoq$ba0$[email protected]..
    > Originally posted by: Newsgroup User
    > Open DW, select a site, create a new page, and insert an
    image from within
    > that site to insert on the page. Without saving the page
    (!important)
    > copy
    > the code and paste it into a reply here, please.
    >
    > Murray,
    >
    > Thank you! for helping...
    > I followed your direction - here's the code:
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=ISO-8859-1" />
    > <title>Untitled Document</title>
    > </head>
    >
    > <body>
    > <img src="file:///ether/Patricia
    Yenawine/images/oxblood_med.jpg"
    > width="158"
    > height="115" alt="oxblood bowl" />
    > </body>
    > </html>
    >
    > May Blessings rain upon you!
    >
    > Amy
    >

  • Unable to set configured property

    Hi,
    I am getting this following error during my server start up
    **** Error Unable to set configured property "/atg/
    dynamo/servlet/dafpipeline/AccessControlServlet.accessControllers" atg.nucleus.ConfigurationException
    Please help me out.
    Thanks in advance,
    Jk

    did u add ur own accessControlles ?
    It might not have been defined properly.
    follow the below link -
    http://docs.oracle.com/cd/E23507_01/Platform.20073/ATGPersProgGuide/html/s0508configuringtheaccesscontrolservl01.html

  • [Help] Unable to find component with absolute reference

    I've deployed my project files to server and registered in Application.
    Class Files under myclasses goes to -> /disk2/app/applmgr/comntop/java/ldc/oracle/apps/sla/calnet/xref/phone
    Page XML under myprojects goes to -> /disk2/app/applmgr/appltop/xx_custom/11.5.0/mds
    The page is rendered successfully.
    (In EBS, HTML Call registered in FUNCTION is OA.jsp?page=/ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG)
    However, if I click any "action" such as <apply>, <delete>.. etc, I get "Unable to find component with absolute reference" error.
    I've verified -> exec JDR_UTILS.printDocument('/ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG', 150), and it did fetch the XML code.
    I've verified I restart Apache as well as deleting out pages -> rm -rf $COMMONTOP/_pages
    What am I missing here? Please help.
    xmlimport.bat
    REM   Setting Up JDeveloper Path
         set JDEV_BIN_HOME=C:\JDev9i_OAExtend_RUP7\jdevbin
         set JDEV_USER_HOME=C:\JDev9i_OAExtend_RUP7\jdevhome\jdev
         set JDEV_PROJECT_HOME=%JDEV_USER_HOME%\myprojects
    REM   Location of the import file
         set PATH=%JDEV_BIN_HOME%\jdk\bin;%JDEV_BIN_HOME%\jdev\bin;%PATH%
    REM   Setting up DB Connection Path
             set DB_CONNECTION="(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = arebdt.xxx.com)(PORT = 1521))(CONNECT_DATA = (SID = ARTEST)))"     
    REM   Setting up Page(s) to upload
         set PAGE2UPLOAD=ldc\oracle\apps\sla\calnet\xref\phone\webui\PhonePG.xml
         set APPS_PASSWD=<pass>
    REM   Execute import.bat
         call import.bat %JDEV_PROJECT_HOME%\%PAGE2UPLOAD% -rootdir %JDEV_PROJECT_HOME% -username apps -password %APPS_PASSWD% -dbconnection %DB_CONNECTION%
         pause
    REM   End of process     Error page
    Exception Details. 
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_REGION_DATA. Tokens: REGIONCODE = ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG;
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:529)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3719)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3452)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1011)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
         at _oa__html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at _oa__html._OA._jspService(_OA.java:94)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1352)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:503)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3719)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3452)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1011)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
         at _oa__html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at _oa__html._OA._jspService(_OA.java:94)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)
    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1352)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:503)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3719)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3452)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1011)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
         at _oa__html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at _oa__html._OA._jspService(_OA.java:94)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)

    Ok, I admit it's my mistake.
    I found a url coded in my CO miss a / at the beginning of the url address.
    So, the Application deployment was OK.
    Incorrect -> "OA.jsp?page=ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG"
    Correct   -> "OA.jsp?page=/ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG"Note that, in JDeveloper, page will function successfully without the /, but in EBS it will throw the error.
    Code with correct url address embedded.
           pageContext.forwardImmediately("OA.jsp?page=/ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG",
                                          null,
                                          OAWebBeanConstants.REMOVE_MENU_CONTEXT,
                                          null,
                                          null,
                                          false, // retain AM
                                          OAWebBeanConstants.ADD_BREAD_CRUMB_NO); Edited by: user595907 on 2010/9/17 下午 4:28

Maybe you are looking for

  • One signature will not stay connected to one of my email accounts. Why???

    I have several email accounts (IMAP and POP) and several signatures used with each account. The problem that I'm having is that I cannot get the signature that I want to use with a specific account to stay associated with that account. Every time I r

  • The One Day and 5 day options ont seem to be worki...

    I get as far as the login screen. I choose buy on the One Day option or the 5 day option and the system hangs Message at bottom of screen says  Waiting for btwifi.purchases.fon.com When I choose the 30 day option I get connected to the next step in p

  • How to remove all the files in a directory

    hi all , am new to unix.. i need to remove all the fine in the directory . how can i remove it.. can any one tel me the command.. i have use rm -f logs(folder name). but it is not removing any file .. Thanks sreedahr

  • Problems with display

    So I was using my G3 800Mhz iBook this evening and was reading a web page when the screen went weird and these horizontal lines appeared all over the screen. The machine would not respond to any input so I forced it to shutdown. I restarted the devic

  • Web service for inbound to third party solution

    Hi , I am working with a scenario of posting idocs from ECC into a B2B third party system using SOAP. I have created the service interface for the inbound to the third party and supplied them the WSDL the old fashioned way from the service interface