Wrong path to application

Hello,
i try to call a application in a war (which is in an ear); but the path the server take is the wrong one. he always take:
D:\usr\sap\P64\JC00\j2ee\cluster\server0\apps\sap.com\com.sap.engine.docs.examples\servlet_jsp\_default\root\...
Can i change this?
Thanks,
Frank

Hi Frank,
How did you call the application in a war?
Regards,
Violeta

Similar Messages

  • Wrong path and application in registry protocol\stdFileEditing\Server ?

    Hi
    How come there is a wrong path in registry is it a security issue, error or just values not in use anymore ?
    I check via regedit: HKEY_CLASSES_ROOT the key .pdf points to
    AcroExch.Document the key curver points to AcroExch.Document.7
    Under this i check
    HKEY_CLASSES_ROOT\AcroExch.Document.7\protocol\StdFileEditing\server
    the value is
    "C:\Program Files\Adobe\Reader 9.0\Acrobat\Acrobat.exe" (Acrobat catalog and the exe file is not existing)
    but in my filesystem the real path is
    C:\Program Files\Adobe\Reader 9.0\Reader
    and i think the program should be AcroRd32.exe instead
    When I have corrected the key an update would reverse it to the old not existing value
    So could anyone tell me why i se this behaviour ?
    Regards
    SEJ

    Hi Frank,
    How did you call the application in a war?
    Regards,
    Violeta

  • Web Application Transaction Monitoring Alerts with "wrong" Path

    Hello,
    i have created some web transaction monitors, such as
    http://foo.htm who is  hosted on the server foo123.cologne.org.
    It works.. but
    we have also a mssql monitoring, the discovery of the mssql management pack discovers the reporting part of mssql server on our managementserver Operations12.cologne.org. So (it's right..) the server Operations12.cologne.org is a member of the SQL Instances;SQL
    Compontents;SQL Computers group.
    When the web transaction monitor generates an alert, it have the pathname Operations12.cologne.org and not the pathname of the "right" server foo123.cologne.org.
    For our mssql admins i have build an email-notification, when somethings going wrong at our sql servers (member of the SQL Instances;SQL Compontents;SQL Computers group) they received a mail.
    The problem is, that they received a mail, when a web transaction monitor generated one, because the pathname is the name of our management server, because the management server is a member of thos sql server groups.
    Someone have an idea to fix my "problem"?
    - Best way: changing the path names of the web transaction monitorings... but how? i can't find anything to change..
    Kind regards
    Wolfgang Winter

    Thank you, it's a help to decide, what to do, so i have to solutions:
    - installing an agent to the web-appliction-hosting-server and configure it as a watcher node
       (may be i will have problems with our firewall admins, because they have to allow the communications and.. when the hosting watcher is down, i have no alerts.. when i use more than one watcher nodes (good).. i have the wrong path names..
    - configure a part of our management server group without  SQL-Reporter Component as a watcher node
       (more easy, because i have to tell my firewall admins: "the server foo456 is the standard watcher node"
    Crazy.. because i don't know, how to assign the web transaction monitors to the "causing" server.., for mail notification and for our integration to HP Service Desk...

  • JSF - Why getting wrong path Handling URLs in Facelets Templates

    Hi, I am trying to do a web application using JSF, Facelets in Netbeans 6.7. but I am having a problem:
    Why I am getting wrong path ?
    It is very simple, straight forward web application.
    When run, it shows the template-client.xhtml perfectly . The navigation menu is shows ok, but they don't work. However, if I enter in the browser address http://localhost:8080/test3/portal/products.jsf it goes perfect to the right page and the navigation between About, Products and Home works perfect. But once I click on Home, the menu start to give me errors. Looks like the path is wrong again.
    folders structure:
    test3My code:
    faces-config.xml:
    <?xml version='1.0' encoding='UTF-8'?>
    <!-- =========== FULL CONFIGURATION FILE ================================== -->
    <faces-config version="1.2"
        xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
        <application>
            <view-handler>
                com.sun.facelets.FaceletViewHandler
            </view-handler>   
        </application>
    </faces-config>web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
        <context-param>
            <param-name>com.sun.faces.verifyObjects</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>com.sun.faces.validateXml</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
            <param-value>.xhtml</param-value>
        </context-param>
        <context-param>
            <param-name>facelets.DEVELOPMENT</param-name>
            <param-value>false</param-value>
        </context-param>
        <context-param>
            <param-name>facelets.SKIP_COMMENTS</param-name>
            <param-value>true</param-value>
        </context-param>
        <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>*.jsf</url-pattern>
        </servlet-mapping>
        <session-config>
            <session-timeout>
                30
            </session-timeout>
        </session-config>
        <welcome-file-list>
            <welcome-file>forward.jsp</welcome-file>
            </welcome-file-list>
        </web-app>forward.jsp:
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <jsp:forward page="template-client.jsf"/>template-client.xhtml:
    <?xml version='1.0' encoding='UTF-8' ?>
    <!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"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:h="http://java.sun.com/jsf/html">
        <body>
            This text above will not be displayed.
            <ui:composition template="/template.xhtml">
                This text will not be displayed.
                <ui:define name="title">
                    Facelets
                </ui:define>
                This text will also not be displayed.
                <ui:define name="body">
                    Hello from the Facelets client template!
                </ui:define>
                This text will not be displayed.
            </ui:composition>
            This text below will also not be displayed.
        </body>
    </html>template.xhtml:
    <?xml version='1.0' encoding='UTF-8' ?>
    <!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"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:ice="http://www.icesoft.com/icefaces/component">
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <title>Facelets - Template Example</title>
            <link href="#{facesContext.externalContext.requestContextPath}/css/default.css" rel="stylesheet" type="text/css" />
        </head>
        <body>
            <div id="menu">
                <ui:insert name="linemenu">
                    <ul>
                        <li><a href="../forward.jsp">Home</a></li>
                        <li><a href="about.jsf">About Us</a></li>
                        <li><a href="products.jsf">Products</a></li>
                    </ul>
                </ui:insert>
            </div>
            <div>
            <h1>
                <ui:insert name="title">Default Title</ui:insert>
            </h1>
            <p>
                <ui:insert name="body">Default Body</ui:insert>
            </p>
            </div>
        </body>
    </html>about.xhtml:
    <?xml version='1.0' encoding='UTF-8' ?>
    <!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"
          xmlns:ui="http://java.sun.com/jsf/facelets">
        <body>
            <ui:composition template="./../template.xhtml">
                <ui:define name="title">
                    title ABOUT
                </ui:define>
                <ui:define name="body">
                    body ABOUT
                </ui:define>
            </ui:composition>
        </body>
    </html>products.xhtml:
    <?xml version='1.0' encoding='UTF-8' ?>
    <!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"
          xmlns:ui="http://java.sun.com/jsf/facelets">
        <body>
            <ui:composition template="./../template.xhtml">
                <ui:define name="title">
                    title PRODUCTS
                </ui:define>
                <ui:define name="body">
                    body PRODUCTS
                </ui:define>
            </ui:composition>
        </body>
    </html>

    My folders:
    Test3
         Web Pages
              /WEB-INF
              /css
                  -default.css
              /layouts
              /portal
                  -about.xhtml
                  -products.xhtml
              -forward.jsp
              -template.xhtml
              -template-client.xhtmlPlease, I need help with this. It may is very easy to find out, I maybe skiping something
    Thank for your help anyone!!!

  • Genymotion plugin, path to application

    Hi, I installed genymotion from aur, is working fine, I can add virtual devices and run it, I install the genymotion plugin in android studio, it need to set the path to the genymotion folder but nothing is working, I try genimotion location with "which genymotion", try the local folder at home directory, but nothing is working, anyone can tell me what folder I need set there?
    my android studio is the zip file downloaded from android developer website, not the one from the aur.
    http://i58.tinypic.com/2z7ic1l.png
    moderator edit [ewaller] Converted over sized image tags to url tags https://wiki.archlinux.org/index.php/Fo … s_and_Code
    Last edited by ewaller (2014-09-09 03:21:14)

    In addition to working out whether you're using the system application support directory, or the user one, you also need to look at the path itself.
    Assuming, for now, that 'path to application support as text' returns 'HD:System:Library:Application Support:", your code:
    set f_name to (path to application support as text) & "My_appname" & "my_filename.txt"
    will result in:
    "HD:System:Library:Application Support:Myappnamemyfilename.txt"
    Note how My_appname and my_filename.txt are merged - because you just appended the two strings. You need to separate these two items with a colon in order to specify another directory level:
    set f_name to (path to application support as text) & "My_appname:" & "my_filename.txt"
    Finally, the fact you 'get EOF errors' is a little wierd. If your path is wrong I would expect a 'file not found' error, not a EOF error. It may be that you are specifying the correct file but there's some other error in your script when you process it that is causing your problem.

  • Wrong path for go.bat in portal integration

    Hi Friends,
    during the configuration of the portal integration in rspor_cust01 I get the message
    'Windows can not find C:\usr.......\go.bat'.
    Where can I change the path because it is in D:\usr\sap\......go.bat.
    Thanks you for any help.
    Rg Jimbob

    Hi Subbu,
    I used workshop page properties to associate the image to the page.
    framework/skins/classic/images/home.gif
    - Shankar
    Subbu Allamaraju <[email protected]> wrote:
    Shankar,
    Did you use any tag to create the img tag? Do you have any sample
    HTML/JSP snippet?
    Subbu
    Shankar Bala wrote:
    I created a new desktop and have the following problem. The imagelinks to portal
    pages in the horizontal nav bar in the top have wrong path.
    Example.
    In the original portal the home page link in the nav bar has a imageassociated
    with it in workshop.
    \framework\skin\classic\images\home.gif
    The partial url generated for the image looks liek this:
    \mywebapp\\framework\skin\classic\images\home.gif.
    I created a new desktop everything works fine except for the images.The href's
    are created for the links but the image path is wrong.
    the url generated is : \mywebapp\appmanager\framework\skin\classic\images\home.gif
    The "appmanager" in the path causes the problem.
    Is this a bug?

  • Wrong path on JNLP chain

    Hi
    Sorry to post it here, but I was unable to find where We can post JavaFX Issues.
    This is a minor issue, but need to be adressed.
    I always set my java Console to shown, to test my applets, etc.
    While testing some JavaFX, I could note that JavaFX has a wrong path, or a wrong path chaining:
    network: Connecting http://javafx.com/launch/lib/lib/basickit.jar with cookie "JSESSIONID=c3c4962140d944b30859de123fae; s_cc=true; s_sq=%5B%5BB%5D%5D"
    java.io.FileNotFoundException: http://javafx.com/launch/lib/lib/basickit.jar
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Unknown Source)
         at sun.plugin.PluginURLJarFileCallBack.access$000(Unknown Source)
         at sun.plugin.PluginURLJarFileCallBack$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
         at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
         at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
         at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
         at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
    (...)Note the correnct URL is
    http://javafx.com/launch/lib/basickit.jar an not
    http://javafx.com/launch/lib/lib/basickit.jar , without the extra /lib
    A few lines later there is a correct call to basickit.jar :
    network: Connecting http://javafx.com/launch/lib/basickit.jar.pack.gz with cookie "JSESSIONID=c3c4962140d944b30859de123fae; s_cc=true; s_sq=%5B%5BB%5D%5D"
    network: ResponseCode for http://javafx.com/launch/lib/basickit.jar.pack.gz : 304
    network: Encoding for http://javafx.com/launch/lib/basickit.jar.pack.gz : null
    network: Disconnect connection to http://javafx.com/launch/lib/basickit.jar.pack.gzI hope it help to find out a fix.
    A.

    Which applet were you running?It happens on several demos at JavaFX.com .
    Perhaps in all of then.

  • Update Reader 9.5.2. Windows7 wrong path

    Waar kan ik het correcte pad invoeren?

    Sorry, I have no idea what "wrong path" you are talking about?  An error message during the update?  How are you updating?
    Maybe and uninstall (using http://labs.adobe.com/downloads/acrobatcleaner.html) and reinstall will fix the problem?

  • New desktop has wrong path for page links in nav bar

    I created a new desktop and have the following problem. The image links to portal
    pages in the horizontal nav bar in the top have wrong path.
    Example.
    In the original portal the home page link in the nav bar has a image associated
    with it in workshop.
    \framework\skin\classic\images\home.gif
    The partial url generated for the image looks liek this:
    \mywebapp\\framework\skin\classic\images\home.gif.
    I created a new desktop everything works fine except for the images. The href's
    are created for the links but the image path is wrong.
    the url generated is : \mywebapp\appmanager\framework\skin\classic\images\home.gif
    The "appmanager" in the path causes the problem.
    Is this a bug?

    Hi Subbu,
    I used workshop page properties to associate the image to the page.
    framework/skins/classic/images/home.gif
    - Shankar
    Subbu Allamaraju <[email protected]> wrote:
    Shankar,
    Did you use any tag to create the img tag? Do you have any sample
    HTML/JSP snippet?
    Subbu
    Shankar Bala wrote:
    I created a new desktop and have the following problem. The imagelinks to portal
    pages in the horizontal nav bar in the top have wrong path.
    Example.
    In the original portal the home page link in the nav bar has a imageassociated
    with it in workshop.
    \framework\skin\classic\images\home.gif
    The partial url generated for the image looks liek this:
    \mywebapp\\framework\skin\classic\images\home.gif.
    I created a new desktop everything works fine except for the images.The href's
    are created for the links but the image path is wrong.
    the url generated is : \mywebapp\appmanager\framework\skin\classic\images\home.gif
    The "appmanager" in the path causes the problem.
    Is this a bug?

  • Number of records in given path of application server

    How
    to find number of records in given path of
    application server

    I think that this almost works.
    report zrich_0001.
    data: begin of itab occurs 0,
          rec(1000) type c,
          end of itab.
    data: wa(1000) type c.
    data: number_of_files type i.
    data: number_of_records type i.
    data: tot_size type i.
    data: tot_number_of_records  type i.
    data: p_file type localfile.
    data: ifiles type table of  salfldir with header line.
    data: file type string.
    parameters: p_path type salfile-longname
                        default '/usr/sap/TST/DVEBMGS01/data/'.
    call function 'RZL_READ_DIR_LOCAL'
         exporting
              name           = p_path
         tables
              file_tbl       = ifiles
         exceptions
              argument_error = 1
              not_found      = 2
              others         = 3.
    loop at ifiles.
      clear itab. refresh itab.
      concatenate p_path ifiles-name into file.
      catch system-exceptions dataset_read_error  = 1.
        open dataset file for input in text mode.
        if sy-subrc = 0.
          do.
            read dataset file into itab.
            if sy-subrc <> 0.
              exit.
            endif.
            append itab.
          enddo.
        endif.
        close dataset file.
      endcatch.
      if sy-subrc = 0.
        number_of_files = number_of_files + 1.
        describe table itab lines number_of_records .
        tot_number_of_records
            = tot_number_of_records  + number_of_records .
        tot_size = tot_size + ifiles-size.
        write:/ ifiles-name, ifiles-size,  number_of_records.
      endif.
    endloop.
    Regards,
    Rich Heilman

  • Function module to find the path of application server

    Hi can any one say me what is the function module to find the path of the application server

    Hi ,
    What i understand from ur question is that u need path for application server from the presentation layer i.e user screen.
    u can achive the path this way
    parameter: file type filename-fileintern.
    when user presses F4 here, it will show the directories and path in the AL11.
    I didnt find any FM which will get the path of Al11.
    revrt back if any issues,
    Regards,
    Naveen

  • Convert file path in application server as link

    How can we convert file path in application server as link to send email.
    Thanks
    Suresh

    Your app server folders have a mappable location on your network, e.g,
    server\path\filename.  Use an HTML anchor tag and build the link with code.  You'd be better off storing files on a file server (write to a mapped location from the app server) and link to there (same process).

  • Getting path to application associated with file type

    Hello,
    I'm looking for a platform-independent way to get path to application associated with given file type. Desktop API introduced in JSE 1.6 seems to do this, but it only lanuches the app.
    Any suggestions will be apprecieted

    Okay then, how can I open the file in it's associated
    application AND get the Process object of app's
    instance?If it doesn't bother you that the app will only work on windoze, then you can use the shell "start" command on the file.
    Process proc = Runtime.getRuntime().exec(new String[]{"cmd", "/C","start",filePath});However waitFor() will only wait for the process to be launched, not completed. Since your program doesn't know what Windoze will choose to launch, this makes sense.

  • Path to application question

    Hi,
    I want a way to open a file with a certain app but I don't want to keep that app in my Applications folder.  I found this example:
    set the_file to (choose file) --as alias
    set useFinder to true
    if useFinder then
              set the_application to path to application "TextEdit"
              tell application "Finder"
                        open the_file using the_application
              end tell
    else
              tell application "TextEdit"
                        activate
                        open the_file
              end tell
    end if
    And this kinda works but using path to application still doesn't work if the app is not in /Applications and the 2nd option is slow (about 5 seconds vs 0.5 seconds doing it the first way).  What other options do I have?  Thanks,
    rc

    Well it's an app I'm developing so you wouldn't know it by name.  But I do have a bunch of test versions all over my computer so this probably messes things up?  I will make a few more trials and use an app like Preview or something for testing as well.  I'll post back thanks...
    rc

  • Mail has wrong path for Save

    I am using v. 7.1 of Mail under OS X 10.9.1. When I attempt to save an email to my Documents folder I get an error message:
    Could not save to path /Users/bob/~/~/~/~/~/~/~/~/~/~/Documents/Payment submitted.rtf. Choose a different path.
    Clearly Mail has a bad pathname for the Documents folder. TextEdit documents save properly to Documents. Terminal shows the path to Documents as: /Users/bob/Documents
    What is going wrong with Mail?
    Bob

    Agreed.  I get a completely different wrong path, but only (so far) when I try for Documents.  Seems like a bug. Good catch.
    Apple - Mac OS X - Feedback

Maybe you are looking for

  • Cash Discount in Hungary

    Hi, We have a legal requirement for Hungary and we couldn't find a sap note to solve the problem. Maybe you can help us. We have to post the cash discount in two different accounts. A percentage of the cash discount will be post in the standard cash

  • IM Drill Down report IME0

    Hi, we use own IM reports created by Report Painter. Execute by transaction IME0. Is there any possibility change the 'Priority characteristic' (invest.program,from pos., Approval year) which have default selection setting 'only one value' to selecti

  • Microsoft Word does not quit

    Microsoft Word does not quit MBP X.4.6 I upgraded my computer from a G4 powerbook to a MBP. In the process I also went from system X.3.9 to 4.6. Since opgrading I have problems with Microsoft Word. When I log out or shut down Microsoft Word refuses t

  • Reinstalling should I install 8.5 and 8.6 or just 8.6?

    A recent hard drive crash has forced me to reinstall everything from scratch. So far I have installed: LV 5.11 because still I have to maintain a huge LV 5.11 code base LV 8.21 because 8.5 and higher will not open 5.11 code directly so I have to open

  • HT4859 can i restore one app from cloud

    can i restore just one app from the cloud