IWS60SP4 Additional Document Directories Problem with Web Application

We have iPlanet/Sunone WebServer 6.0 Service Pack 4 installed. I have deployed a web application using the wdeploy command line. I have defined an additional document directory that is outside of the web application and document root. No matter how many ways I try it, it seems to expect that the document root is the source of the files and totally ignores the additional document directory definition.
Example:
additional document directory: /add /opt/dir1/dir2
document root: /opt/doc/root
URL given: http://my.domain.com/uri/add/file.html
expected: to get file.html out of /opt/dir1/dir2
actual: fails, trying to get /opt/doc/root/add/file.html
Do additional document directories actually work? (They worked for us under iPlanet 4.1) If so, please tell me how to make them work with a deployed web application.
Thank you.
- Tom

In the original post you state:
Example:
additional document directory: /add /opt/dir1/dir2
document root: /opt/doc/root
URL given: http://my.domain.com/uri/add/file.html
expected: to get file.html out of /opt/dir1/dir2
actual: fails, trying to get /opt/doc/root/add/file.html
You are mapping /add to the new dir. The URL you would need to type then is:
http://my.domain.com/add/file.html
not
http://my.domain.com/uri/add/file.html
Mapping /add to a new dir will work. You do not need to specify /uri/add.

Similar Messages

  • Java Problem with Web Application

    Hi Experts
    I have a new poblem of connexion with my tools ( Web A
    In fact when I execute my template, I have this error of communication:
    ERROR JAVA : INCOMING CALL IS NOT AUTORIZED
    I do a lot of thing like :
    Create RFC Destination in J2EE Engine.
    Create RFC Destination for the Portal.
    Maintain Portal Server Settings for the Portal
    Maintain Single Sign-On in the BI System
    Export BI Certificate to the BI System.
    Import BW Certificate to the Portal.
    Create BI System in the Portal.
    Configure User Management in the Portal
    Export Portal Certificate to the Portal
    Importing the Portal Certificate to the J2EE Engine
    Import Portal Certificate to BI System
    Set up Repository Manager for BI Documents and BI Metadata
    Maintain User Assignment in the Portal.
    Import SAP Basis Plug-In to BI System.
    Thanks

    Let's take this one step at a time.
    1. You have successfully configured ABAP/Java communication using template installer? See note 917590.
    2. Did you assign the portal user appropriate portal roles?
    3. Can you start a web query from 7.0 query designer?

  • Problem with web.show_document with Jinitiator and Firefox

    Not sure Firefox 2.0 is officially certified with Forms 9.0.4.1 and Jinitiatorbut regardless we have some users who want to use this combination. Everything seems to work fine except for the calls to web.show_document which opens a new browser window and displays some html etc.
    The problem is that even though the client Forms JVM is Jinitiator (1.3.1.18 or .21) when the call to web.show_document occurs somehow the Sun Java Plugin starts and having the two JVM's at once causes a fatal crash in Firefox. Can anyone suggest a way to preven the second JVM from opening?
    When the user uses the Sun Plug as the client Forms JVM there is no problem as the second JVM does not open. Unfortunately some users insist on Jinitiator with Firefox hence the problem. -quinn

    James,
    This whole applet embedded in a browser model for webforms is driving us batty at times. The list of problems includes:
    1) Users are constantly tempted by browser controls and accidentally do all sorts of things to get them in trouble. This has included but not limited to using the navigation arrows, jumping off to read their email in the same window as the form and returning to a dead forms session, minimizing, resizing, blurring off to another window and then returning back by clicking on the title bar of the browser and wondering why the form doesn't tab etc.
    Sure hobbling the browser by opening with limited functionality is a possibility but not a complete solution.
    2) New versions of browsers seem to break something. Both IE 7 and Firefox 2 have their own problems with web.show_document, especially file associations such as CSV and DBF and trying to open things in Excel in IE7.Firefox seems to have less problems for some yet some some oddities like the one that started this thread (and 2.0 opening new windows in tabs by default instead of windows).
    3) JVM jigsaw puzzle. Is it Jinit or Sun, which versions? Which combinations of browser version and JVM works.
    4) General fragility of the whole architecture. Running a client JVM in a web browser on top of a PC Operating system connectiong to a forms server over a network embedded in a Java Container server on a full blown web server running on a unix operating system is pushing the bubble. Throw in the mix that any of these components can be combined in numerous ways makes one wonder how it works as well as it does.
    Still users randomly getting dropped connections to forms server (network gltches?). General sluggishness (poorly written forms?). Periods of users with unduplicatable errors primarily network related it would appear.
    General feel that it is not rock solid stable. Perusing metalink documents on performance and tuning gives too much and too general info to troubleshoot so just shrug shoulders and say 'network problem'.
    What's the solution? Java webstart would seem to help at least with the browser realted issues but is that supported and documented how to use yet. Also we'd lose web_show_document which is critical (could it be replaced by webutil calls to open browser?).
    -quinn

  • Problem with web.xml

    Hello,
    I have a big problem with web.xml.
    i can run the servlet demos with the default web.xml, but when i try to user a costum web.xml files, i receive a 404 page not found on a link.
    i have some dificulty to post here. but can somebody help my with my web.xml files?
    thanks for your help.
    have a nice day!

    Be careful with the place of your files and folders. It's possible that you've just mentioned the cause of your problem.
    My web.xml is
    <?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>gco</display-name>
    <description>gco webapplicaties</description>
    <servlet>
    <servlet-name>MopoController</servlet-name>
    <servlet-class>org.gertcuppens.controller.MopoController</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>MopoController</servlet-name>
    <url-pattern>/MOPO</url-pattern>
    </servlet-mapping>
    </web-app>
    When I want to call my web application locally, I use the URL http://localhost:8080/gco/MOPO.
    The http://localhost:8080 calls Tomcat. With /gco, Tomcat knows it should look for a folder gco inside the webapps folder. This one should contain a WEB-INF/web.xml folder for further instructions.
    With /MOPO Tomcat knows, having read the web.xml files of all webapps folders at start, it should look for a servlet with the name MopoController. And this MopoController points to the class org.gertcuppens.controller.MopoController. So, Tomcat knows where to find everything.
    Try to see whether your Tomcat can find everything inside the folders using your web.xml file.

  • Integration office365 with web applications

    Hi, I'm develop web application where I have my own storage for files. I wan't add functionality that provide editing files via web browser.
    1. Is there possibility to call office365 app from my app by some API, send my file stream, edit and on save get back file stream to save in my storage?
    2. If you provide functionallity from 1.how looks architecture solustion? Do I conect some global office server or should I have office365 app instantion on my server?
    Thanks,
    Chris

    Hi,
    According to your post, my understanding is that you want to integration office365 with web applications.
    For your task the
    file API
    should be the right one. With it you can access and manipulate Office and OneDrive for Business documents.
    Here is a similar thread for your reference:
    http://stackoverflow.com/questions/27396671/office-365-integration-with-asp-net-web-application-mvc-application
    More information:
    http://channel9.msdn.com/Series/Deep-Dive-Integrate-Office-365-APIs-in-Your-Web-Apps
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Can Additional Document Directories use UNC Paths?

    For Sun One WS 6.0 SP 7 on Windows 2000
    Can additional document directories use UNC paths, or does the directory containing the HTML documents have to be on the server running the Web Server? The documentation
    http://docs.sun.com/source/816-5682-10/esapui21.htm#80857
    says:
    "Map To Directory. Specifies the absolute path of the directory you want the URL prefix to map to, for example,
    C:/iplanet/marketing/pubdocs/index.html"
    But could you instead use:
    \\servername\path\somedocs\
    Anyone ever tried this? And would you have to swap the direction of the slashes?
    //servername/path/somedocs/
    Thanks!
    --John                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    For Sun One WS 6.0 SP 7 on Windows 2000
    Can additional document directories use UNC paths, or does the directory containing the HTML documents have to be on the server running the Web Server? The documentation
    http://docs.sun.com/source/816-5682-10/esapui21.htm#80857
    says:
    "Map To Directory. Specifies the absolute path of the directory you want the URL prefix to map to, for example,
    C:/iplanet/marketing/pubdocs/index.html"
    But could you instead use:
    \\servername\path\somedocs\
    Anyone ever tried this? And would you have to swap the direction of the slashes?
    //servername/path/somedocs/
    Thanks!
    --John                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Problems with EJB Application with many CMP's

    I had been working with a Sun engineer in reference to a major problem with a large CMP Module with over 120 cmp beans with many relationships. It was filed as a bug and just recently they released Update 2. I installed this update and now I can build our complete application in Sun 1 Studio 5. Now, there seems to still be a problem in the application module. If we create the application and add our session module, cmp module and web module there is not problems. I can create the ear file and deploy this to S1AS7. Now if I exit the IDE the next time I return the Application shows that there is a error (red error indicator). I cannot expand the application to see the modules. The same problem was in S1S4 but it was not that big of a deal as it allowed you to add the modules back in, save and export the ear. But, now in S1S5 you cannot do a single thing with this module. Even the menu items to delete are not available. The only thing we can to is create the application again and add the modules etc. Also, if I right click on the application and select view error information it does nothing so I cannot even see the error that is causing this trouble. Also, we know it is something with the application and the cmp module because we can add just the web moduel and session module, save, exit and return and the application is fine. It is only when we add in the cmp module that after saving and returning things are wacked.
    Has anyone else seen this problem with the application?

    I have found the error. In the ide log it showed that the entity expansion limit was reached for the DOM parser. I added this to my ide.cfg and all works well now.
    -J-DentityExpansionLimit=128000
    Apperently the limit is 64000 and with the very large modules it was just not enough.

  • N95 problem with ''Help'' application

    Dear all,
    I've update recently my N95 with new software release 20.0.015, but the problem with help application is not resolved...The problem is the following: when I try to open HELP I receive the error message MEMORY FULL, but my free RAM is 23/24 MB and the free memory on the device is 112 MB. Can you help me to resolve this problem?
    Thanks

    I have the same problem - no in any applications or using the Help application itself.
    Of possible interest ?>: is a 'help folder' I have with a name displayed in the Help application as 4x boxes.
    Using: -Menu -Tools -Utilities -Help
    ...I have an odd looking file listed at the end (after 'ZipManager' & before '3-D ringing tones'). The name is displaying as 4 x boxes - presumably non display characters ?>
    Is this folder on all N95s ? (i.e even those with a working Help) ?
    Anyone know how/where to locate this folder ?
    HammY

  • I have problems with installed applications

    I have problems with installed applications, I used to work correctly, but yesterday it just stopped working all run which came by default. could tell me I have to do to eliminate this problem?

    Try downloading another app - any free app is fine. See if that resets the other apps and allows them to work again.

  • Problem with an application running Adobe Flex. Tech people say they cannot monitor, track or catch the problem.

    Problem with an application running Adobe Flex. tech people say they cannot monitor, track or catch the problem. Application shuts down and give the following erre:
    Failure of server APACHE bridge:
    No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent.

    <moved from Downloading, Installing, Setting Up to Flex>

  • I have a problem with my application update since i updated to iOS6

    i am having a problem with my application update since i updated my iphonw to iOS 6. small updates are taking very long time and even not getting finished after several hours.
    my internet connection is very fine and having good speed. i think updating to iOS 6 was a mistake....

    Do a reset (Hold Sleep/Wake and Home buttons about 10 secs or more till Apple logo appears, ignore the Slide to Power Off that appears)
    Note: You will not lose any data.

  • I'm having problems with JavaFX applications run on raspberry pi!

    I'm having problems with JavaFX applications run on raspberry pi. I did all the steps of the videos of the course: overclocking, uncommented what I had to uncomment about the framebuffer but Exceptions are still happening. The Fireworks demo example does not work. Someone went through this problem? Java applications are ok. As the versions of java in netbeans project and also on "properties" and they are all JDK 8. So if someone can give a hint, I'm very grateful!

    Can you provide the exceptions you got so I can help you better?
    Would you like to do a coaching session for this?
    -Vinicius

  • I'm having a problem with the application Dropbox and I want to uninstall it. In finder it does not allow me to move it to trash telling me the dopbox application is open. How do I close it? when it shows up nowhere as an open application?

    I'm having a problem with the application Dropbox and I want to uninstall it. In finder it does not allow me to move it to trash telling me the dopbox application is open. How do I close it? when it shows up nowhere as an open application?

    Is there a DropBox icon up in the menubar you can click on & see quit DropBox?
    https://www.dropbox.com/help/41

  • Print a Web Template with Web Application Designer 3.X

    Hello
    I would know how I can print a web template made with Web Application Designer 3.X and that it is in the Intranet.
    Actually I'm printing that page with the option of the browser (Internet Explorer) but it print only I see, no print all the chart and the rest of the columns.
    How can I print all the data that compose  the web template?
    Thank you.

    Hello Sharath,
                         First check whether you have change authorizations for WAD, check you user name is added in the role for web templates and also check the authorizations.
    then in the web template in the menu bar go to view option ,select web items and properties , so that you can find them in the left hand side, then replace the chart item with the table and assign the query to the table.
    hope it is clear,
    assign points if useful.

  • Additional document directories

    Does anyone know how to set up additional document directories in the weblogic.properties
    file ? I already have a document root when I set up the weblogic.httpd.documentRoot
    directory
    Now I need to create a relative link , for example
    documentRoot = /some/directory/name
    if someone hits http://server.name:7001/abcd , it automatically sends them to
    /some/directory/name/abcd/public_html ??
    Is this possible ??
    Thanx
    Kal

    Hi.
    I don't think there is a way to do this. I presume you are talking about WLS 5.1 or
    earlier. Each instance of the server has only 1 instance of a document root.. All resources
    served must be in that root or in a subdirectory underneath it.
    Requesting http://server.name:7001/abcd will request a resource in the abcd directory under
    your document root.
    Michael
    Kalyan wrote:
    Does anyone know how to set up additional document directories in the weblogic.properties
    file ? I already have a document root when I set up the weblogic.httpd.documentRoot
    directory
    Now I need to create a relative link , for example
    documentRoot = /some/directory/name
    if someone hits http://server.name:7001/abcd , it automatically sends them to
    /some/directory/name/abcd/public_html ??
    Is this possible ??
    Thanx
    Kal--
    Developer Relations Engineer
    BEA Support

Maybe you are looking for

  • Help I can't get past grey screen or reinstall osX

    Hi I have an imac g5 without isight (non intel) and I tried to install the new osx update (this is thursday night). A pop up said the install failed and i tried to open a program, but it only bounced once on the dock and didn't open. When I tried to

  • Acrobat vs Livecyle - which is better for making accessible PDF's

    I am having a very hard time making my PDF accessible. The source program I use to create my document is InDesign 5.5. I convert to PDF and am attempting to tag it using Acrobat X. I tried tagging my form using the articles panel in InDesign but it d

  • Nokia C6-01

    Could anyone help. I just realised that my touch screen doesn't work. The phone has never fallen or touch water. What should I do?

  • Unable to read beyond end of the stream

    I am coding a Training log for a college project and I am getting this error:  An unhandled exception of type 'System.IO.EndOfStreamException' occurred in Microsoft.VisualBasic.dll Additional information: Unable to read beyond the end of the stream.

  • Strange message

    Anyone know wht's is this message : its a app with mdb: Error deploying file:/C:/oraNew/j2ee/home/Cobranca/ejb/ homes: Unknown resource type: javax.jms.ConnectionFactory