Defining a web application name

          Hi
          The syntax for accessing a given resource is given as below.
          http://hoststring/ContextPath/servletPath/pathInfo
          Context path is the name of the web application.
          My question is where do I define the name of the web application. Is it in web.xml
          or weblogic.xml.
          Also could you give me an example of the syntax.
          Next I wish to access a JSP page on the server, so do I omit the 'servletpath' and
          the 'pathInfo' part of the above string.
          I am using Weblogic 7.0.
          Thanks in advance for your help
          Best
          Naveen
          

http://e-docs.bea.com/wls/docs70/webapp/index.html
          The context path is defined in application.xml in your ear file
          eg
          <display-name>myapp</display-name>
          <module>
          <web>
          <web-uri>myapp-web.war</web-uri>
          <context-root>myapp</context-root>
          </web>
          </module>
          So to access the "root" of your webapp you would use www.myserver.com/myapp
          The servlet path is defined in web.xml
          <servlet>
          <servlet-name>myservlet</servlet-name>
          <servlet-class>com.mycompany.MyServlet</servlet-class>
          </servlet>
          <servlet-mapping>
          <servlet-name>myservlet</servlet-name>
          <url-pattern>/myservlet</url-pattern>
          </servlet-mapping>
          To call the servlet you would use www.myserver.com/myapp/myservlet
          "Naveen" <[email protected]> wrote in message
          news:[email protected]...
          >
          > Hi
          >
          > The syntax for accessing a given resource is given as below.
          >
          > ---------------------------------------------------
          > http://hoststring/ContextPath/servletPath/pathInfo
          > -------------------------------------------------
          > Context path is the name of the web application.
          >
          > My question is where do I define the name of the web application. Is it in
          web.xml
          > or weblogic.xml.
          > Also could you give me an example of the syntax.
          >
          > Next I wish to access a JSP page on the server, so do I omit the
          'servletpath' and
          > the 'pathInfo' part of the above string.
          >
          > I am using Weblogic 7.0.
          >
          > Thanks in advance for your help
          > Best
          > Naveen
          >
          

Similar Messages

  • How do I define my web application path in Tomcat6

    Hi friends,
    Can anybody tell me how to define and where to define my web-application path in tomcat 6 server?
    I absolutely don't want to change any files inside tomcat6\conf\ folder (like its server.xml or context.xml)
    My problem comes in the following scenario:
    i) My Webapplication path is c:\tomcat6\webapps\test-servletii) I have one html form file registration.html in c:\tomcat6\webapps\test-servlet\registration.htmliii) I have a form processing servlet in path c:\tomcat6\webapps\test-servlet\WEB-INF\classes\pkg_register\Process_Registration.classiv) web.xml file inside WEB-INF\ has contents
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app 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"
       version="2.5">    
    <servlet>
         <servlet-name>Process_Registration</servlet-name>
         <servlet-class>pkg_register.Process_Registration</servlet-class>     
    </servlet>
    <servlet-mapping>
         <servlet-name>Process_Registration</servlet-name>
         <url-pattern>/Process_Registration</url-pattern>
    </servlet-mapping>
    </web-app>PROBLEM : In html <form action="/test-servlet/Process_Registration"> works fine.
    But every time I don't want to give my web application folder name in URLs( not in web.xml or in form action, it should be default relative path).
    I want to give just, <form action="/Process_Registration"> in registration.html file's form action.
    Any help is appreciated.
    Thanks.
    ---Sujoy

    Thanks...
    It solved the problem by putting <form action="Process_Registration"> instead of <form action="/Process_Registration">When I was using <form action="/Process_Registration"> it was directly taking me to
    http://localhost:8888/Process_Registration .
    But, now when i use <form action="Process_Registration"> it takes me to
    http://localhost:8888/test-servlet/Process_Registration which IS CORRECT.
    But, still i don't know why the <form action="/Process_Registration"> was taking me out of my current webapplication path. It should have given me ERROR.
    --Sujoy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Web Application name does not accept less than 3 characters

    Hi,
              I recently migrated from WLS6.0 to WLS6.1 in NT 4.0 and found that, if the Web Application name is less than 3 characters, server does not report any errors, but could not access the web application. This was not a problem in WLS 6.0.
              If anyone faced this problem or it is documented in WL6.1 please let me know.
              Thanks,
              Cabir
              

    It's been reported and I believe that support can provide you with a patch.
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              Clustering Weblogic? You're either using Coherence, or you should be!
              Download a Tangosol Coherence eval today at http://www.tangosol.com/
              "Cabir" <[email protected]> wrote in message
              news:3c802f4f$[email protected]..
              > Hi,
              >
              > I recently migrated from WLS6.0 to WLS6.1 in NT 4.0 and found that, if the
              Web Application name is less than 3 characters, server does not report any
              errors, but could not access the web application. This was not a problem in
              WLS 6.0.
              >
              > If anyone faced this problem or it is documented in WL6.1 please let me
              know.
              >
              > Thanks,
              > Cabir
              

  • How can I know the web application name of a report?

    Hi forum,
    I have a query that is used by web. I need to know the name and how to access to application web of report
    any idea
    thanks in advance

    Hi,
    If you know the Query name,you can get name of the webtemplate from metadata repository.
    go to RSA1>MetadataRepository>click 'Query'>it will display all the Queries>search for your Query (cntrl+F)-->cliclk on it. You can see the Workbooks,webtemplate,chars,kfs...etc which are related to this Query.
    thanks

  • Getting the web application name at runtime

    Hello everyone!
    We got a pretty annoying problem here, which has to be solved. We have an online application running that is our major website. As development continued lots of stuff (completely different functionality) plugged into this application.
    Now we want to devide this huge mixture into "real" J2EE webapps and put them into a new server environment (weblogic 7).
    OK the following prob: The servlets are used by different applications. So they need to forward requests to different paths cause of the different applications.
    We need to determine the name of the application that the servlet is currently running in. Any idea how we could do that?
    Perhaps it is possible to get the documentRoot from web.xml?!
    <context-param>
    <param-name>weblogic.httpd.documentRoot</param-name>
    <param-value>azonline</param-value>
    </context-param>
    But how do we do that either??
    Thx for your help.

    Another sad self-reply :( ->
    Best practice is to use:
    getServletContext().getServletContextName()
    It returns the name determined in the web.xml in tag
    <display-name></display-name>
    Thx to me and all the dukes to me :p!

  • How can I rename the "name" on "Web Application List " page

     I have a quesiton need your kindly help . I'm novice in this field
    on "Central Administration" website
    "Administration management"--->"Sharepoint Web Application Management"--->"Web application list"
    here will show all of web application mapping information
    Name                                             URL
    SharePoint - 24824                          http://home:8081/
    SharePoint - 80                               http://home/
    SharePoint Central Administration v3   http://home:8080/
    I want to change "SharePoint - 24824" as "SharedServicePortal", how can do it

    Unfortunately by central admin UI you cannot change a web application name.
    So there are two ways to do this
    First as suggested above you have to delete web app and recreate again.
    2nd one you can use powershell script to modify webapp name as below
    $a=Get-SPWebApplication | where {$_.Name -match "Old web app name"}
    $a.Name
    $a.Name="New web app name"
    $a.Update()
    Get-SPWebApplication | where {$_.Name -match "New web app name"}
    Hope that's helps you.
    Regards
    Soni K

  • Default Web Application is not visible in Weblogic Console

    We are using Weblogic 5.1.0 SP7
              We moved our Application from the Implicitly Defined Default Web
              Application which is configurated by the
              weblogic properties to a Web Application. Because we don't want to
              change any URL in our Application, we
              decided to deploy it as Explicitly Defined Default Web Application.
              By this we recordniced that the weblogic.httpd.defaultWebApp property
              worked not that way descibed in the
              Weblogic Documentation. You have to write the path to the WebApp not the
              name!
              So we have the following Entry in the weblogic.properties:
              weblogic.httpd.defaultWebApp=i:/if_home2/web
              This works fine. The Server starts and serves the WebApp the way we
              expected. But wenn we start the Weblogic
              Console the WebApp ist not visible in the "myserver/HTTP/Servlet web
              applications" folder. This one is empty
              now! Previously the "General" Entry for the Implicitly Defined Default
              Web Application was shown here, which
              showed our Servlets and JSP's and their hit count and parameters.
              So there is no chance to monitor the Servlets and JSP's of the default
              Web Application.
              I tried to deploy our WebApp a secound time with
              weblogic.httpd.webApp.OurApp=i:/if_home2/web
              but this create a second independent WebApp. OurApp is shown in the
              Weblogic Console but it does not monitor
              the hits to the default WebApp. So this is not a solution!
              Any idea to make the default Web Application visible in the Weblogic
              Console?
              

    in my development environment i checked in site collection feature, it isn't available in site collection feature but still i am getting those web parts in web part gallery while adding it on page.
    Also, in Production environment, feature is available in /templates/features folder after deployment, but not available in web part gallery while adding it on page.
    I tried with uploading .webpart file which is available in /templates/features production environment as i mentioned, is running for one web part. Not for second web part and giving me security error.
    As, uploading .webpart file is not feasible solution, please tell me how could i do that with .wsp file?
    please tell me what could be another workaround. 
     

  • Webflow Web Application Configuration Problem

    I am trying to use BEA&#8217;s webflow tool to handle navigation within a series
    of JSP pages, input processors, and pipeline components. The JSP pages will capture
    user profile information beyond the normal User ID and Password (user interests,
    etc). This information will be stored in the database, and be used to customize
    the user experience.
    I am using the validated form tag, and the webflow tag libraries in the JSP in
    order to take advantage of some pre-built validation tools.
    My web application is named conahec, and my namespace is called test.wf.
    The JSP page comes up perfectly, but when I enter data on the page to test it,
    and hit the save button, I get the following error:
    <Mar 8, 2002 8:48:54 AM MST> <Error> <Webflow> <Error while parsing uri
    /conahec/application, path null, query string null - Webflow XML does not exist,
    is not loaded properly,or you do not have a configuration-error-page defined.
    Exception[com.bea.p13n.appflow.exception.ConfigurationException: The
    configuration-error-page node was not found in the webflow xml file. for webapp
    [null], namespace [portal]. While trying to display
    CONFIGURATION ERROR:
    [Exception[com.bea.p13n.appflow.exception.ConfigurationException: Bad
    Namespace - namespace [test] is not available for webflow execution. Make sure
    the[test.wf] file is deployed in webapp [null].]],]
    As you can see, it appears that the webapp is not defined. The only way the web
    app wouldn&#8217;t be defined (that I know of from reading previous posts to this
    group) is if the data synchronization was not successful.
    However, the DataSync page appears to show that the synchronization was successful.
    Here are the results I see on the DataSync page:
    - /webapps/conahec/test.wf
    Schema URI http://www.bea.com/servers/p13n/xsd/webflow/2.0
    Creation Date 2002-03-08 10:13:25.039
    Modification Date 2002-03-08 10:13:25.039
    Name test.wf
    Description E:\bea\ebcc4.0\applications\portal\application-sync\webapps\conahec\test.wf
    Author (omitted)
    Data
    <?xml version="1.0"?>
    <webflow-configuration xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    is-complete="true" xsi:schemaLocation="http://www.bea.com/servers/p13n/xsd/webflow/2.0
    webflow.xsd" xmlns:data="http://www.bea.com/servers/p13n/xsd/datalink/1.0" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">
    <namespace xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">test</namespace>
    <begin-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0" node-type="jsp"
    namespace="test" node-name="customer_profile"></destination>
    </begin-origin>
    <configuration-error-page xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="portal_error"></configuration-error-page>
    <presentation-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="customer_profile">
    <node-processor-info xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="customer_profile.jsp" page-relative-path="/portlets/testIntl"></node-processor-info>
    <event-list xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0" event-name="button.save">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="inputprocessor" namespace="test" node-name="CustomerRegIP"></destination>
    </event>
    </event-list>
    </presentation-origin>
    <presentation-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="customer_success">
    <node-processor-info xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="customer_success.jsp" page-relative-path="/portlets/testIntl"></node-processor-info>
    </presentation-origin>
    <presentation-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="error">
    <node-processor-info xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="error.jsp" page-relative-path="/framework/error"></node-processor-info>
    </presentation-origin>
    <processor-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="inputprocessor" node-name="CustomerRegIP">
    <node-processor-info xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    class-name="com.bea.conahec.customer.CustomerRegIP"></node-processor-info>
    <event-list xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0" event-name="success">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="pipeline" namespace="test" node-name="customerRegPC"></destination>
    </event>
    </event-list>
    <exception-list xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <exception xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    exception-name="com.bea.p13n.appflow.webflow.forms.InvalidFormDataException">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test" node-name="customer_profile"></destination>
    </exception>
    </exception-list>
    </processor-origin>
    <processor-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="pipeline" node-name="customerRegPC">
    <node-processor-info xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    pipeline-name="customerRegPC" pipeline-namespace="customerreg"></node-processor-info>
    <event-list xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0" event-name="success">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test" node-name="customer_success"></destination>
    </event>
    </event-list>
    <exception-list xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <exception xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    exception-name="com.bea.p13n.appflow.exception.PipelineException">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test" node-name="error"></destination>
    </exception>
    </exception-list>
    </processor-origin>
    </webflow-configuration>
    I have tried to remove the data repository, and re-synchronize the data.
    Can you please help by pointing me in a direction to continue to research this
    problem?
    Thanks.

    Thank you, Daniel.
    Support got back to me 24 hours later, and gave me the patch I needed. Early
    testing shows that this patch has fixed this problem.
    Scott Peterson
    "Daniel Selman" <[email protected]> wrote:
    Scott,
    Please contact support. We have seen (and fixed) a CR related to the
    web
    application name not being retrieved correctly (null) in all cases:
    The
    configuration-error-page node was not found in the webflow xml file.for
    webapp
    [null], namespace [portal]Sincerely,
    Daniel Selman
    "Scott Peterson" <[email protected]> wrote in message
    news:[email protected]...
    I am trying to use BEA&#8217;s webflow tool to handle navigation withina
    series
    of JSP pages, input processors, and pipeline components. The JSP pageswill capture
    user profile information beyond the normal User ID and Password (userinterests,
    etc). This information will be stored in the database, and be usedto
    customize
    the user experience.
    I am using the validated form tag, and the webflow tag libraries inthe
    JSP in
    order to take advantage of some pre-built validation tools.
    My web application is named conahec, and my namespace is called test.wf.
    The JSP page comes up perfectly, but when I enter data on the pageto test
    it,
    and hit the save button, I get the following error:
    <Mar 8, 2002 8:48:54 AM MST> <Error> <Webflow> <Error while parsinguri
    /conahec/application, path null, query string null - Webflow XML doesnot
    exist,
    is not loaded properly,or you do not have a configuration-error-pagedefined.
    Exception[com.bea.p13n.appflow.exception.ConfigurationException: The
    configuration-error-page node was not found in the webflow xml file.
    for>webapp>> [null, namespace [portal]. While trying to display
    CONFIGURATION ERROR:
    [Exception[com.bea.p13n.appflow.exception.ConfigurationException: Bad
    Namespace - namespace [test] is not available for webflow execution.Make
    sure
    the[test.wf] file is deployed in webapp [null].]],]
    As you can see, it appears that the webapp is not defined. The onlyway
    the web
    app wouldn&#8217;t be defined (that I know of from reading previousposts
    to this
    group) is if the data synchronization was not successful.
    However, the DataSync page appears to show that the synchronizationwas
    successful.
    Here are the results I see on the DataSync page:
    - /webapps/conahec/test.wf
    Schema URI http://www.bea.com/servers/p13n/xsd/webflow/2.0
    Creation Date 2002-03-08 10:13:25.039
    Modification Date 2002-03-08 10:13:25.039
    Name test.wf
    DescriptionE:\bea\ebcc4.0\applications\portal\application-sync\webapps\conahec\test.wf
    Author (omitted)
    Data
    <?xml version="1.0"?>
    <webflow-configuration
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    is-complete="true"
    xsi:schemaLocation="http://www.bea.com/servers/p13n/xsd/webflow/2.0
    webflow.xsd" xmlns:data="http://www.bea.com/servers/p13n/xsd/datalink/1.0"
    xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">
    <namespace
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">test</namespace>
    <begin-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0" node-type="jsp"
    namespace="test" node-name="customer_profile"></destination>
    </begin-origin>
    <configuration-error-page
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="portal_error"></configuration-error-page>
    <presentation-origin
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="customer_profile">
    <node-processor-info
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="customer_profile.jsp"page-relative-path="/portlets/testIntl"></node-processor-info>
    <event-list
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    event-name="button.save">
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="inputprocessor" namespace="test"node-name="CustomerRegIP"></destination>
    </event>
    </event-list>
    </presentation-origin>
    <presentation-origin
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="customer_success">
    <node-processor-info
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="customer_success.jsp"page-relative-path="/portlets/testIntl"></node-processor-info>
    </presentation-origin>
    <presentation-origin
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="error">
    <node-processor-info
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="error.jsp"page-relative-path="/framework/error"></node-processor-info>
    </presentation-origin>
    <processor-origin
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="inputprocessor" node-name="CustomerRegIP">
    <node-processor-info
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    class-name="com.bea.conahec.customer.CustomerRegIP"></node-processor-info>
    <event-list
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    event-name="success">
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="pipeline" namespace="test"node-name="customerRegPC"></destination>
    </event>
    </event-list>
    <exception-list
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <exception
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    >
    exception-name="com.bea.p13n.appflow.webflow.forms.InvalidFormDataException"
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test"node-name="customer_profile"></destination>
    </exception>
    </exception-list>
    </processor-origin>
    <processor-origin
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="pipeline" node-name="customerRegPC">
    <node-processor-info
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    pipeline-name="customerRegPC"pipeline-namespace="customerreg"></node-processor-info>
    <event-list
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    event-name="success">
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test"node-name="customer_success"></destination>
    </event>
    </event-list>
    <exception-list
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <exception
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    exception-name="com.bea.p13n.appflow.exception.PipelineException">
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test" node-name="error"></destination>
    </exception>
    </exception-list>
    </processor-origin>
    </webflow-configuration>
    I have tried to remove the data repository, and re-synchronize thedata.
    Can you please help by pointing me in a direction to continue to researchthis
    problem?
    Thanks.

  • Default Web Application ist not visible in WebLogic Console

    We are using Weblogic 5.1.0 SP7
              We moved our Application from the Implicitly Defined Default Web
              Application which is configurated by the weblogic properties to a Web
              Application. Because we don't want to change any URL in our Application,
              we decided to deploy it as Explicitly Defined Default Web Application.
              By this we recordniced that the weblogic.httpd.defaultWebApp property
              worked not that way descibed in the Weblogic Documentation. You have to
              write the path to the WebApp not the name!
              So we have the following Entry in the weblogic.properties:
              weblogic.httpd.defaultWebApp=i:/if_home2/web
              This works fine. The Server starts and serves the WebApp the way we
              expected. But wenn we start the Weblogic Console the WebApp ist not
              visible in the "myserver/HTTP/Servlet web applications" folder. This one
              is empty now! Previously the "General" Entry for the Implicitly Defined
              Default Web Application was shown here, which showed our Servlets and
              JSP's and their hit count and parameters.
              So there is no chance to monitor the Servlets and JSP's of the default
              Web Application.
              I tried to deploy our WebApp a secound time with
              weblogic.httpd.webApp.OurApp=i:/if_home2/web
              but this create a second independent WebApp. OurApp is shown in the
              Weblogic Console but it does not monitor the hits to the default WebApp.
              So this is not a solution!
              Any idea to make the default Web Application visible in the Weblogic
              Console?
              

    Hello Nadar,
    Tell me how are you starting server in the cluster, through nodemanager or commnadline.
    Kuldeep

  • Mapping root of URL path to web applications

              Does the name of the web application have to equal the first element in the URL
              path? The WebLogic 5.1
              documentation suggests that you can create such a mapping with a property:
              weblogic.httpd.webApp.<context>=<WebAppLocation>
              where <context> is the servlet context path (I presume that is the root of the
              URL path) and
              <WebAppLocation> is the application root directory (or WAR-file location). Is
              there any equivalent to
              this mapping in WebLogic 6.1, or must the URL path begin with the web application
              name?
              

              "Daniel Steinberg" <[email protected]> wrote:
              >
              >Does the name of the web application have to equal the first element
              >in the URL
              >path? The WebLogic 5.1
              >documentation suggests that you can create such a mapping with a property:
              >weblogic.httpd.webApp.<context>=<WebAppLocation>
              >where <context> is the servlet context path (I presume that is the root
              >of the
              >URL path) and
              ><WebAppLocation> is the application root directory (or WAR-file location).
              > Is
              >there any equivalent to
              >this mapping in WebLogic 6.1, or must the URL path begin with the web
              >application
              >name?
              I have looked further into the documentation, and the answer seems
              to be NO. However, I can solve my particular problem (supporting
              old URLs) by defining a default web application.
              

  • How does Azure Compute Emulator (or the Azure one) determine if a role is web project or something else ("The Web Role in question doesn't seem to be a web application type project")?

    I'm not sure if this is F# specific or something else, but what could cause the following error message when trying to debug locally an Azure cloud service:
    The Web Role in question doesn't seem to be a web application type project.
    I added an empty F# web api Project to a solution (which adds Global.asax etc., I added an OWIN startup class Startup etc.) and then from an existing
    cloud service project I picked Roles and
    chose Add
    -> Web Role Project in solution, which finds the F# web project (its project type guids are 349C5851-65DF-11DA-9384-00065B846F21 and F2A71F9B-5D33-465A-A702-920D77279786),
    of which the first one seem to be exactly the GUID that defines a web application type.
    However, when I try to start the cloud project locally, I get the aforementioned error message. I have a C# Web Role project that will start when I remove the F# project. I also have F# worker
    role projects that start with the C# web role project if I remove this F# web role project. If I set the F# web project as a startup project,
    it starts and runs as one would expect, normally.
    Now, it makes me wonder if this is something with F# or could this error message appears in C# too, but I didn't find anything on Google. What kind of checks are there when starting the emulator and which one needs
    failing to prompt the aforementioned message? Can anyone shed light into this?
    Sudet ulvovat -- karavaani kulkee

    Sudet,
    Yeah you are right, the GUID mentioned seems to be correct and the first one i.e. {349C5851-65DF-11DA-9384-00065B846F21} means the web application project which compute emulator uses to determine while spawning up role instances.
    You might want to compare the csproj of your C# and F# web projects which might give some pointers.
    Are you able to run your F# web project locally in IIS? If yes then you will definitely be able to run it on azure so I will recommend to test it in IIS Express first.
    Here are some other tips which you can refer or see If you are yet to do those settings
    1. Turn on the IIS Express - You can do it by navigating to project properties
    2. Install Dependent ASP.NET NuGets / Web Api dependencies (If there are any missing), Reference System.Web assembly
    Also I will suggest to refer this nice article about how to create a F# web Api project
    http://blog.ploeh.dk/2013/08/23/how-to-create-a-pure-f-aspnet-web-api-project/
    Hope this helps you.
    Bhushan | http://www.passionatetechie.blogspot.com | http://twitter.com/BhushanGawale

  • Create Refinement topics for web application in SharePoint 2013 Search

    
    Is there a way we can add available web application name in refinement panel in SharePoint 2013 search. there is a search called Enterprise search which is named as Everything, that search from all the web applications available. is there a way we can have
    a search refinement panel which is the list of web applications so that it allows us to filter the results by web application.
    can we add a refinement panel like below  in SharePoint Search 2013
    here is an image for 
    kukdai

    Hi kukdai,
    To use result source or query rule to distinguish search results, besides adding custom search vertical, you could also consider using result block:
    http://blogs.technet.com/b/mspfe/archive/2013/02/01/how-query-rules-and-result-sources-can-be-used-to-customize-search-results.aspx
    http://www.sharepoint2013.me/Blog/Post/261/SharePoint-2013---Create-and-display-results-blocks
    Quote:
    In SharePoint, result block will display the search results as a group. We can promote result block depending on the query condition as specific result. While configuring query conditions for results block, we can use query variables. We can specify query
    variables as place holders for unknown values in SharePoint query.
    Then we can use Path in query rule to divide search results into several web applications.
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • [HTTP:101216]Servlet: "jersey" failed to preload on startup in Web application:"

    Hi,
    i'm trying to deplay a restful webservice on a WL 10.3  with jdeveloper.  As soon as i try to deploy my webservice i'm getting the follwing error :
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "jersey" failed to preload on startup in Web application: "name.war".
    com.sun.jersey.spi.inject.Errors$ErrorMessagesException
        at com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170)
        at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:137)
        at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:203)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:702)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:691)
        at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:438)
        at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:288)
        at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:587)
        at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:213)
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:343)
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:542)
        at javax.servlet.GenericServlet.init(GenericServlet.java:242)
        at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
        at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
        at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
        at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
        at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
        at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
        at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
        at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
        at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:54)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
        at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:54)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
        at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:54)
        at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
        at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
        at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
        at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    :com.sun.jersey.spi.inject.Errors.ErrorMessagesException:null
    What do i have to do to make it work?
    Best regards.

    Did you deploy and target the jersey libraries to your server (these can (usually) be found in the ${WL_HOME}/common/deployable-libraries). Deploy these as shared libraries and then reference it by using the following in the weblogic.xml file:
    <library-ref> 
        <library-name>jersey-bundle</library-name> 
        <specification-version>1.1.1</specification-version> 
        <implementation-version>1.1.5.1</implementation-version> 
      </library-ref>     
      <library-ref> 
        <library-name>jsr311-api</library-name> 
        <specification-version>1.1.1</specification-version> 
        <implementation-version>1.1.1</implementation-version> 
      </library-ref>
    Version can differ in your case (you have to check this when the libraries are deployed).

  • Cannot delete SharePoint web application again

    While deleting web application
    Central admin gives error: 
    Sorry, something went wrong
    An object in the SharePoint administrative framework, "SPWebApplication Name=ShareAppsUAT", could not be deleted because other objects depend on it.  Update all of these dependants to point
    to null or different objects and retry this operation.  The dependant objects are as follows: correlation id
    ULS log shows following error
    Unknown SQL Exception 547 occurred. Additional error information from SQL Server is included below.  The
    DELETE statement conflicted with the REFERENCE constraint "FK_SiteMap_Application". The conflict occurred in database "SharePoint2013UATEnterprise_Config", table "dbo.SiteMap", column 'ApplicationId'.  Table 'LastUpdate'.
    Scan count 0, logical reads 2, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.  The statement has been terminated.
    I had similar thread https://social.technet.microsoft.com/Forums/sharepoint/en-US/74e06180-f066-47e0-8895-3e909206b9e9/cannot-delete-sharepoint-web-application?forum=sharepointgeneral
    The only difference is error in central admin. Before for another web application i got
    Object not set to a reference of an object. now i am getting An object in the SharePoint administrative framework, "SPWebApplication Name=ShareAppsUAT", could not be deleted because other objects depend on it.  Update all of these
    dependants to point to null or different objects and retry this operation.  The dependant objects are as follows: in both powershell and central admin. 
    Solution in above thread gives following error for this case
    Exception calling "Delete" with "0" argument(s): "An object in the SharePoint administrative framework, could not be deleted because other objects depend on it. Update all of these dependa nts to point to null or different objects
    and retry this operation. The depend ant objects are as follows: Web Application name.
    How to solve it? It is like a loop. If i go to delte web appliction it says content database is dependent object and if i do for content database it says web application is dependent object
    Adit

    Hi Adit,
    From your description, the issue might be caused by orphan items in sitemap.
    Please execute command below to check IDs and site map status for all site collections and subsites in the issue content database:
    stsadm -o enumallwebs -databasename <database name>
    Then use the command below to delete orphan sites:
    stsadm -o deletesite -force -siteid <siteid> -databaseserver <database server name> -databasename <database name>
    Now run IISReset and try delete web application via:
    Remove-SPWebApplication - identity http://sitename
    For related information:
    http://technet.microsoft.com/en-us/library/dd789634(v=office.12).aspx
    http://technet.microsoft.com/en-in/library/cc288016(v=office.12).aspx
    http://technet.microsoft.com/en-us/library/ff607891(v=office.15).aspx
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Dashcode Web Application list items

    In the code generated by Dashcode, it says "Sample data for the content of the list. Your application may also fetch this data remotely via XMLHttpRequest." I'd like to keep my lists in external files so the user doesn't have to load data they may not be interested in. I've put the XHR in the listControler function, but obviously I'm missing something. Has anyone seen an example of how this can be accomplished?

    Unfortunately by central admin UI you cannot change a web application name.
    So there are two ways to do this
    First as suggested above you have to delete web app and recreate again.
    2nd one you can use powershell script to modify webapp name as below
    $a=Get-SPWebApplication | where {$_.Name -match "Old web app name"}
    $a.Name
    $a.Name="New web app name"
    $a.Update()
    Get-SPWebApplication | where {$_.Name -match "New web app name"}
    Hope that's helps you.
    Regards
    Soni K

Maybe you are looking for