Setting Document Root in WebLogic 6.1

I have recently migrated from WebLogic 5.1 to WebLogic 6.1, on Windows 2000
running jdk 1.3.1. My Document Root settings (weblogic.httpd.documentRoot)
from WebLogic 5.1 in my weblogic.properties file did not carry over to
WebLogic 6.1, so does anybody know how to set the Document Root in WebLogic
6.1? Or is there an equivalent to it now?
Thanks in advance,
Dustin N. Jenkins

Hi Dustin,
I think you posted this to the wrong newsgroup :-)
In WLS 6.1, document roots are Web Application specific. Unless you explicitly
change it, the default Web Application (the one that you get when you type in
the http://localhost:7001 URL), the document root is a folder under your domain's
application directory named "DefaultWebApp_{name-of-your-server}". Where {name-of-your-server}
is whatever value you assigned to the -Dweblogic.Name property, on the command
line you started WLS with. Refer to the WLS 6.1 documentation for instructions
on how to change this to a different Web Application. Here are a couple of links
that will provide you with some insight into this:
http://edocs.bea.com/wls/docs61/webapp/basics.html#136976
http://edocs.bea.com/wls/docs61/adminguide/web_server.html#113228
Regards,
Mike Wooten
"Dustin N. Jenkins" <[email protected]> wrote:
I have recently migrated from WebLogic 5.1 to WebLogic 6.1, on Windows
2000
running jdk 1.3.1. My Document Root settings (weblogic.httpd.documentRoot)
from WebLogic 5.1 in my weblogic.properties file did not carry over to
WebLogic 6.1, so does anybody know how to set the Document Root in WebLogic
6.1? Or is there an equivalent to it now?
Thanks in advance,
Dustin N. Jenkins

Similar Messages

  • Set document root for Tomcat

    Hello
    I want Tomcat to use another document root (where index.html typically resides in). I set
    <Host name="localhost" debug="0" appBase="" docBase="d:\WWW" unpackWARs="true">
    but I got error
    MAPPING configuration error for request URI
    Unfortunately, I can't track down the problem, even some articles in this newsgroup explain something like this.
    I took care of capitalizing letters.
    Thank you for your aid.

    Hi,
    use:
    <Host name="localhost" debug="0" appBase="d:\www" unpackWARs="true">
    or:
    <Context path="" docBase="d:\www" debug="0"/>
    I think the first edit the default directory for all webapps. The second edit the root-doc only for the uri-path "", thats means for "http://localhost:8080" e.g.
    Good Luck
    Kuno

  • Document Root

    I am not able to set the document root for weblogic 6.0 to a custom
    directory. How is it possible? I need to run the jsps there. And I dont
    want to create a war out of the existing stuff.

    This is a feature that we want to add in the future. At the current time,
    you could put the JSP pages directly in the default webapp directory:
    C:\bea\wlserver6.0\config\examples\applications\DefaultWebApp_examplesServer
    Or, you can create a stub Web.XML file and directory structure and create
    and exploded war file.
    Michael Girdley, BEA Systems Inc
    Learning WebLogic? Buy the book.
    http://www.learnweblogic.com/
    "S. Rochan" <[email protected]> wrote in message
    news:[email protected]..
    I am not able to set the document root for weblogic 6.0 to a custom
    directory. How is it possible? I need to run the jsps there. And I dont
    want to create a war out of the existing stuff.

  • Apache new Document Root

    While the new version of Apache sets document root at /srv/http. I am aware of at least one package (phpmyadmin) that install in /srv/www.  Is there something wrong ?

    Pierre wrote:arch-independent packages like phpmyadmin should install to /usr/share. Maybe you should file a bug report about this issue. (imho /srv/http or anything else in /srv shouldn't be "filled" by any package.)
    According to this, where do you think Apache should be installed ?

  • GetResource is called when document root is not set

    hi,
    During redeploy of a small application i get the following error
    [runjava] <Oct 17, 2005 12:40:26 AM PDT> <Alert> <HTTP> <BEA-101043> <[ServletContext(id=616697,name=rsbservice,context-pat
    h=/rsbservice)] getResource is called when document root is not set.>
    [runjava] <Oct 17, 2005 12:40:26 AM PDT> <Alert> <HTTP> <BEA-101043> <[ServletContext(id=616697,name=rsbservice,context-pat
    h=/rsbservice)] getResource is called when document root is not set.>
    Can someone help me find what would have gone wrong in my application?
    NOTE: this error does not occur when i try to start my application for the first time.

    You must always give the browser an either an absolute URL from the top of
              the web server (not the
              web application) or a relative path from the current page.
              Sam
              "Vijay Kumar" <[email protected]> wrote in message
              news:[email protected]..
              > Hi
              >
              > I get the 'getResource is called when document root is not set.' error
              > when I access any files in the webapp with their absolute path.
              >
              > Environment: WIN/NT SP3, WL5.1 SP5 as the webserver and app server.
              >
              > My webapp located in d:\temp is deployed as foo
              > weblogic.httpd.webApp.foo=d:/temp
              >
              > For example:
              > I can access a file in d:\temp\secured\home.html using
              > test
              >
              > However if with in an html I try to access the file using the abs path
              > from doc root
              > test I get an error
              >
              > and I guess the default servlet looks for the servlet-context named
              > 'secured'
              >
              > Can someone tell me if I can set the documentRoot in the web.xml or
              > weblogic.xml
              > file OR if there is any other way to access to the file using the abs path
              > of /secured/test/test.html
              >
              >
              > Thanks in advance
              >
              > Vijay
              >
              >
              >
              >
              

  • Multiple document roots on one instance of weblogic server..

    Hi,
    Is it possible to configure multiple document roots for one weblogic server?
    Here is my situation...
    We have a sun box which is having 4 IP addresses. We would like to have a
    document root for each IP address, but we want to run a SINGLE weblogic
    server instance..
    Any help is appriciated..
    thx

    check this out for more info:
    http://www.weblogic.com/docs51/admindocs/properties.html#multihoming
    "Mauricio Del Moral" <[email protected]> wrote in message
    news:3977759c$[email protected]..
    Hi,!
    I'm afraid not, but that would be great.

  • Changing the document root in WLS 6.0 SP1

    Hello,
              I want to change the deployment folder of
              config/<domainName>/applications
              to another folder in our source tree. Is this possible? The reason we
              want to do this is because our root tree contains the java source code
              and web-related content in our configuration management system. It
              would seem very odd to map our web-related stuff to
              /WLS6.0sp1/config/<mydomain>/applications and everything else to the
              standard structure.
              In 5.1, setting the weblogic.httpd.documentRoot property does this.
              However, I understand that WLS 6.0 uses a classloader for the
              /applications directory. Can I use a system to property to notify WLS
              6.0 to look at a different directory instead?
              There seems to be error in docs related to this.
              http://e-docs.bea.com/wls/docs60///////config_xml/properties.html
              Says DocumentRoot entry can be set in config.xml.
              But the entry is not found in DTD (config.dtd)
              http://e-docs.bea.com/wls/docs60///////config_xml/config.html
              Thanks.
              --Bahar
              

    Bahar,
              The docs you pointed out is absolutely right. There is no error in the
              document.
              If you want to change the document root make the following
              modifications in your config.xml as per the example here:
              <Application Deployed="true" Name="DefaultWebApp_myserver"
              Path="d:\docmain">
              <WebAppComponent Name="DefaultWebApp_myserver"
              Targets="myserver" URI="www"/>
              </Application>
              Where Your document root is : d:\docmain\www
              Make sure that you have web.xml under
              d:\docmain\www\WEB-INF
              Kumar.
              Bahar Limaye wrote:
              > Hello,
              >
              > I want to change the deployment folder of
              > config/<domainName>/applications
              > to another folder in our source tree. Is this possible? The reason we
              > want to do this is because our root tree contains the java source code
              > and web-related content in our configuration management system. It
              > would seem very odd to map our web-related stuff to
              > /WLS6.0sp1/config/<mydomain>/applications and everything else to the
              > standard structure.
              >
              > In 5.1, setting the weblogic.httpd.documentRoot property does this.
              > However, I understand that WLS 6.0 uses a classloader for the
              > /applications directory. Can I use a system to property to notify WLS
              > 6.0 to look at a different directory instead?
              >
              > There seems to be error in docs related to this.
              > http://e-docs.bea.com/wls/docs60///////config_xml/properties.html
              > Says DocumentRoot entry can be set in config.xml.
              > But the entry is not found in DTD (config.dtd)
              > http://e-docs.bea.com/wls/docs60///////config_xml/config.html
              >
              > Thanks.
              >
              > --Bahar
              

  • How do I change the document root and servlets root in WL 6.0

    Please reply fast.
    Suresh Wilson

    In 5.1, you specify the "name" via the property:
    weblogic.httpd.webApp.NAME=<path_to_war>
    ... where NAME is the path in the URL where you want your webapp to be
    access from
    Say:
    weblogic.httpd.webApp.sampleapp=/home/weblogic/product/wls/5.1/sample.war
    ... the application's root is http://hostname/sampleapp
    In 6.0, it seems to be the name of the war file itself. I deployed the
    war twice, one using sampleapp.war and the other using sampleapp2.war,
    and the webapps' root are http://hostname/sampleapp and
    http://hostname/sampleapp2, respectively.
    Is this rigth? Well, that is at least what I observed. The admin docs
    regarding deploying was not clear on what is defined as "name" or where
    it gets it from ... until I tried the above.
    For a while, I thought that the application's root are defined by the
    servlet spec.
    John
    Gene Chuang wrote:
    >
    Servlets in 6.0 must be deployed in .war; "document root" setting is irrelevant in 6.0.
    Gene
    "suresh wilson" <[email protected]> wrote in message news:[email protected]..
    Please reply fast.
    Suresh Wilson
    Homepage: http://homepages.tig.com.au/~jmsalvo/

  • Urgent. Unable to set up JSP in Weblogic server

              Hi,
              I wish to enable JSPs in the weblogic server. i went thru the bea documentation and
              added the following lines in hte weblogic.properties file :
              weblogic.httpd.documentRoot=XXX (The root directory for the jsps.
              weblogic.httpd.register.*.jsp=\ weblogic.servlet.JSPServlet
              weblogic.httpd.initArgs.*.jsp=\ pageCheckSeconds=1,\
              compileCommand=/opt/java1.2/bin/javac,\
              workingDir=XXX,\
              verbose =true
              After this, i started the weblogic. But apparently, it says that all the above properties are undeclared.
              I am not able to go further on this. Could anyone help me out on this.
              I am working on a HP machine.
              thanks in advance. prashant
              

    Hi,
              It is really hard to tell exactly what is going on without more information. If all you are using are JSPs, try
              removing the servlet classpath altogether. Put any helper classes into the weblogic classpath.
              Can you get one of the example JSPs working in your environment? This would be a good place to start just to verify
              that your environment is set up correctly.
              Can you post your JSP file that is not working?
              Hope this helps,
              Robert
              prashant wrote:
              > Good Morning.
              >
              > I just changed the path as you had said. now it stands as :
              >
              > weblogic.httpd.documentRoot=/sclNewArch/weblogic/pgupta/jsp
              >
              > workingDir=/sclNewArch/weblogic/pgupta/jspworkingdir
              >
              > weblogic.httpd.servlet.classpath=/sclNewArch/weblogic/pgupta/jspclass
              >
              > But still it gives the same error : javax.servlet.ServletException: Servlet class: could not be loaded - the reques
              > ted class wasn't found in the classpath
              >
              > Pleae help.
              >
              > Prashant
              >
              > Robert Patrick <[email protected]> wrote:
              > >1.) Do not make the working directory the same as the document root (or a subdirectory of the document root
              > >hierarchy).
              > >2.) Do not put the working directory in the servlet classpath.
              > >
              > >prashant wrote:
              > >
              > >> Hi,
              > >> Sorry, that was an error on my part while writing to this forum. i had actually done it correctly.
              > >> To tell you in more details, among other things, i have set the following parameters :
              > >>
              > >> weblogic.httpd.documentRoot=/sclNewArch/weblogic/pgupta/jsp
              > >>
              > >> workingDir=/sclNewArch/weblogic/pgupta/jsp
              > >>
              > >> weblogic.httpd.servlet.classpath=/sclNewArch/weblogic/pgupta/jsp
              > >>
              > >> Now, a small jsp that i made is in the same directory. When i try to run the directory with the following :
              > >> http://localhost:8013/a.jsp, it gives the error as given below. I am not able to understand what is the
              > >> problem, since my jsp is in the same directory where the class file is to be made.
              > >>
              > >> Please help.
              > >>
              > >> Thanks,prashant
              > >>
              > >> Fri Jan 05 17:31:45 CST 2001:<E> <ServletContext-General> Servlet failed with Ex
              > >> ception
              > >> javax.servlet.ServletException: Servlet class: could not be loaded - the reques
              > >> ted class wasn't found in the classpath
              > >> /sclNewArch/weblogic/pgupta/jsp
              > >> at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              > >> mpl.java:299)
              > >> at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              > >> java:164)
              > >> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > >> pl.java:99)
              > >> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > >> textImpl.java:742)
              > >> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > >> textImpl.java:686)
              > >> at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              > >> ContextManager.java:247)
              > >> at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              > >> a:361)
              > >> at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              > >>
              > >>
              > >> "Tamilselvan Ramasamy" <[email protected]> wrote:
              > >> >"\" means that property continue in the next line.
              > >> >
              > >> >so your changes as follows
              > >> >
              > >> >weblogic.httpd.documentRoot = /opt/app1/jspdir
              > >> >
              > >> >weblogic.httpd.register.*.jsp=\
              > >> > weblogic.servlet.JSPServlet
              > >> >weblogic.httpd.initArgs.*.jsp=pageCheckSeconds=1,\
              > >> >compileCommand=/opt/java1.2/bin/javac,\
              > >> > workingDir=XXX,\
              > >> > verbose =true
              > >> >
              > >> >/selvan
              > >> >Captura Software Inc
              > >> >
              > >> >"prashant" <[email protected]> wrote in message
              > >> >news:[email protected]...
              > >> >>
              > >> >> Hi,
              > >> >>
              > >> >> I wish to enable JSPs in the weblogic server. i went thru the bea
              > >> >documentation and
              > >> >> added the following lines in hte weblogic.properties file :
              > >> >>
              > >> >> weblogic.httpd.documentRoot=XXX (The root directory for the jsps.
              > >> >>
              > >> >> weblogic.httpd.register.*.jsp=\ weblogic.servlet.JSPServlet
              > >> >> weblogic.httpd.initArgs.*.jsp=\ pageCheckSeconds=1,\
              > >> >> compileCommand=/opt/java1.2/bin/javac,\
              > >> >> workingDir=XXX,\
              > >> >> verbose =true
              > >> >> After this, i started the weblogic. But apparently, it says that all the
              > >> >above properties are undeclared.
              > >> >>
              > >> >> I am not able to go further on this. Could anyone help me out on this.
              > >> >>
              > >> >> I am working on a HP machine.
              > >> >>
              > >> >> thanks in advance. prashant
              > >> >
              > >> >
              > >
              

  • Org.xml.sax.SAXParseException: Document root element is missing.

    Hi,
    I am trying to get the portal login id from a weblogic server based application from iplaet portal server.
    I get this follwoing error
    org.xml.sax.SAXParseException: Document root element is missing.
    at com.sun.xml.parser.Parser.fatal(Parser.java:2817)
    at com.sun.xml.parser.Parser.fatal(Parser.java:2805)
    at com.sun.xml.parser.Parser.parseInternal(Parser.java:493)
    at com.sun.xml.parser.Parser.parse(Parser.java:284)
    at com.sun.xml.tree.XmlDocument.createXmlDocument(XmlDocument.java:226)
    at com.iplanet.portalserver.util.XMLParser.<init>(XMLParser.java:70)
    at com.iplanet.portalserver.naming.share.NamingResponseParser.<init>(NamingResponseParser.java:33)
    at com.iplanet.portalserver.naming.share.NamingResponse.parseXML(NamingResponse.java:74)
    at com.iplanet.portalserver.naming.WebtopNaming.updateNamingTable(WebtopNaming.java:174)
    at com.iplanet.portalserver.naming.WebtopNaming.getNamingProfile(WebtopNaming.java:155)
    at com.iplanet.portalserver.naming.WebtopNaming.getServiceURL(WebtopNaming.java:57)
    at com.iplanet.portalserver.session.Session.getSessionServiceURL(Session.java:534)
    at com.iplanet.portalserver.session.Session.getSessionServiceURL(Session.java:520)
    at com.iplanet.portalserver.session.Session.getSession(Session.java:414)
    at jsp_servlet.__eatonPortalLogin._jspService(__eatonPortalLogin.java:155)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:462)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    <May 19, 2004 9:01:12 AM EDT> <Error> <HTTP> <101017> <[ServletContext(id=4873279,name=ematrix,context-path=/ematrix)] Root cause of ServletException
    com.iplanet.portalserver.session.SessionException
    at com.iplanet.portalserver.session.Session.getSessionServiceURL(Session.java:539)
    at com.iplanet.portalserver.session.Session.getSessionServiceURL(Session.java:520)
    at com.iplanet.portalserver.session.Session.getSession(Session.java:414)
    at jsp_servlet.__eatonPortalLogin._jspService(__eatonPortalLogin.java:155)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:462)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    Any help/pointers will be appreciated.
    Ashish

    Just for anyone else who hits this problem: I encountered the same issue with an XML document that XMLSpy claims is quite well formed. I opened the document in a hex editor, and there at the from was a three-byte byte order marker - the marker that I believe the UTF-8 standard says is optional. I removed these three bytes, and the file was parsed correctly.
    In this case, the XML file was created using a Microsft DOM (save).
    My solution is to make the java parser - as I use it - a tad more robust: Open the file and create an input stream - a pushback input stream. Read the first three bytes; if they are NOT a BOM, then push those bytes back. Now - in any case - give the stream to the parser to read.
    try {
    // Open file for reading.
    f = new File(path);
    FileInputStream fis = new FileInputStream(f);
    PushbackInputStream pis = new PushbackInputStream(fis);
    byte[] buf = new byte[3];
    pis.read(buf, 0, 3);
    if (! (buf[0] == 0x00EF) && (buf[1] == 0x00BB) && (buf[2] == 0x00BF) ) {
         pis.unread(buf, 0, 3);
    builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
    doc = builder.parse(pis);
    catch (Exception x) {
         x.printStackTrace();
    }

  • How to map directory not under "document root" directory?

    In Weblogic (5.1.0), how do you map one URL "directory" to a filesystem
    directory that is not a subdirectory of the regular document root
    directory?
    This is, I want some URL "http://xxx.com/some/subset" to map to local
    directory "/x/y" instead of mapping to a subdirectory "some/subset"
    under the document root directory (the directory to which
    "http://xxx.com/" maps).
    How do you do this in Weblogic (using Weblogic as the HTTP server,
    not using it plugged in to some other HTTP server)?
    (In Apache, this would be the "Alias" directive.)
    Thanks,
    Daniel
    Daniel Barclay
    Digital Focus
    [email protected]

    [REPLY TO NEWSGROUP ------- This followup was posted to
    weblogic.support.install and a copy was sent to the cited author.]
    Default registration for the file servlet is:
    weblogic.httpd.register.file=weblogic.servlet.FileServlet
    weblogic.httpd.initArgs.file=defaultFilename=index.html
    So do this:
    weblogic.httpd.register.some/subset=weblogic.servlet.FileServlet
    weblogic.httpd.initArgs.some/subset=defaultFilename=index.html,docHome=d:
    /foo/bar/baz
    mbg
    In article <[email protected]>,
    [email protected] says...
    >
    In Weblogic (5.1.0), how do you map one URL "directory" to a filesystem
    directory that is not a subdirectory of the regular document root
    directory?
    This is, I want some URL "http://xxx.com/some/subset" to map to local
    directory "/x/y" instead of mapping to a subdirectory "some/subset"
    under the document root directory (the directory to which
    "http://xxx.com/" maps).
    How do you do this in Weblogic (using Weblogic as the HTTP server,
    not using it plugged in to some other HTTP server)?
    (In Apache, this would be the "Alias" directive.)
    Thanks,
    Daniel
    ==================================================
    NewsGroup Rant
    ==================================================
    Rant 1.
    The less info you provide about your problem means
    the less we can help you. Try to look at the
    problem from an external perspective and provide
    all the data necessary to put your problem in
    perspective.

  • Can I have more document roots?

    Hello,
    I am new to Web Logic. I have been using JRun for a while. Now I have to
    port these applications to Web Logic server. In Allaire JRun document roots
    can be specified in local.properties file (see the following example). How
    to modify weblogic.properties file to run both the applications
    simultaneously. See the attachment for more info about local.properties.
    JRUN local.properties
    Store1.rootdir=H:\\Webroot\\Store1
    Store1.class={webapp.service-class}
    webapp.mapping./store1=store1
    Store2.rootdir=H:\\Webroot\\Store2
    Store2.class={webapp.service-class}
    webapp.mapping./store1=store2
    H:\Webroot
    - \Store1
    - HTML folder
    - Images folder
    - WEB-INF
    - classes
    - \Store2
    - HTML folder
    - Images folder
    - WEB-INF
    -classes
    Thanks
    Meher
    [local.properties]

    See doc about deploying a webapp in .war format.
    Basically, each .war web application has its own document root,
    specified by the
    weblogic.httpd.webApp.<webapp-docroot>=<fullpathtowarfile> in the
    weblogic.properties file.
    John Salvo
    SrinivasMeher Kandukuri wrote:
    >
    Hello,
    I am new to Web Logic. I have been using JRun for a while. Now I have to
    port these applications to Web Logic server. In Allaire JRun document roots
    can be specified in local.properties file (see the following example). How
    to modify weblogic.properties file to run both the applications
    simultaneously. See the attachment for more info about local.properties.
    JRUN local.properties
    Store1.rootdir=H:\\Webroot\\Store1
    Store1.class={webapp.service-class}
    webapp.mapping./store1=store1
    Store2.rootdir=H:\\Webroot\\Store2
    Store2.class={webapp.service-class}
    webapp.mapping./store1=store2
    H:\Webroot
    - \Store1
    - HTML folder
    - Images folder
    - WEB-INF
    - classes
    - \Store2
    - HTML folder
    - Images folder
    - WEB-INF
    -classes
    Thanks
    Meher
    Name: local.properties
    local.properties Type: unspecified type (application/octet-stream)
    Encoding: x-uuencode

  • Problems while accessing images outside the web document-root folder

    Our application runs on Oracle application server on Linux. Facing problems while accessing images outside the web document-root folder. This works with changes in global-web-application.xml by including the <virtual-directory> tag. The same change does not work when done on Linux machine. It is unable to find the image. Please help in resolving this issue.
    </locale-encoding-mapping>
    </locale-encoding-mapping-list>
    </web-app>
    <virtual-directory virtual-path="/img" real-path="/home/eposuat/" />
    </orion-web-app>
    Code in the jsp:
    <img width=700 height=700 src="/img/3.tif"></img>
    <img width=700 height=700 src="/img/WB.gif"></img>

    This is one of the least satisfactory aspects of site management in Dreamweaver, and several developers, including myself, have been pressuring the Dreamweaver team for some years to improve this. Who knows? They might eventually take notice.
    The only way to do this at the moment is to create two site definitions, one nested inside the other. Set up the site definition normally based on htdocs as your site root. Then create a new site definition based on site. Dreamweaver will nag you that it can cause problems, but it won't actually stop you from doing it. The only potential problem is with site synchronization.
    The problem with using site as the only basis for your site definition is that Dreamweaver automatically puts things like the Connections, Scripts, and other folders in the site root. So, everything ends up at the wrong level of the site hierarchy. Quite frankly, the whole thing is a bit of a pain. Dynamic site development was added to Dreamweaver only in version 6 (Dreamweaver MX), and no one had really thought through the need to store files outside the site root.

  • WL 8.1: Configuring a document root for multiple web applcations in a domain

    Subject: Application - document root
    I am using the Apache web server with the BEA proxy plug-in. All requests to the
    apache server are proxied to WebLogic.
    http://localhost/wip-gl/xxx.jsp?param1...
    http://localhost/wip-am/xxx.jsp?param1...
    http://localhost/stg-gl/xxx.jsp?param1...
    etc
    For weblogic I have a domain where I have deployed 6 web applications. Each application
    represents a web site.
    .../wip-gl
    .../wip-am
    .../stg-gl
    etc
    But when processing jsp's it appears that the document root (web root) is not
    defined correctly.
    For each application how do I define the document root?
    Thanks for the help.

    Distributed sessions has nothing to do with different web applications. The concept is about distributing load for the same application between several appserver instances running on the same box(different jvm) or on some other box in the network.
    What you used with iAS 6.5 is not available in 8.1 because sharing sessions between web apps is forbidden by the servlet spec. You should consider repackaging your apps. into a single web app. or using other way of signing/verifying user identity(check Sun Access Manager for example).
    Have a look at this thread as well: http://swforum.sun.com/jive/thread.jspa?threadID=100931

  • Setup document root property i n WL6.0

    Hi
    Can anyone tell me how to setup the documentRoot property in weblogic 6.0.
    This property was present in weblogic.properties file in wl 5.1.
    Ritesh

    In 6.0, you specify a default web application for the server. The default
    application is typically a *.war file. The document root is then the root of
    this default application.
    Giri
    "Ritesh" <[email protected]> wrote in message
    news:[email protected]..
    Hi
    Can anyone tell me how to setup the documentRoot property in weblogic6.0.
    This property was present in weblogic.properties file in wl 5.1.
    Ritesh

Maybe you are looking for