Web.xml setup for web application problem

WLS v5.1 on Windows 2000---standard installation.
I am setting up a web app call Kermit with its own web.xml with the
following:
<context-param>
<param-name>weblogic.httpd.servlet.classpath</param-name>
<param-value>c:/weblogic/Kermit/WEB-INF/classes</param-value>
</context-param>
<context-param>
<param-name>weblogic.httpd.servlet.reloadCheckSecs</param-name>
<param-value>1</param-value>
</context-param>
<context-param>
<param-name>weblogic.httpd.indexDirectories</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>weblogic.httpd.register.*.jsp</param-name>
<param-value>weblogic.servlet.JSPServlet</param-value>
</context-param>
<context-param>
<param-name>weblogic.httpd.initArgs.*.jsp</param-name>
<param-value>compileCommand=c:/jdk1.2.2/bin/javac.exe;workingDir=C:/weblogic
/Kermit/Compiled</param-value>
</context-param>
<context-param>
<param-name>weblogic.httpd.documentRoot</param-name>
<param-value>web/</param-value>
</context-param>
<welcome-file-list>
<welcome-file>index.htm</welcome-file>
</welcome-file-list>
First off, the servlets do not redeployed properly after compilation. Any
changes I made to a servlet, I had to down the weblogic server and bring it
back up. What am I doing wrong with this??
Second, weblogic.httpd.indexDirectories should not allow directory browse ..
but it still does for this app. Am I missing something else?
Third, JSP configuration that specifies where a directory is supposed to be
compiled is useless cuz' it's always compiled in tmpwar dir, which is
dynamically created if not already there. Should I add something else to
this???
Fourth, weblogic.httpd.documentRoot should allow me to just type in a URL,
such as http://relyon1:7001/Kermit, and it should redirect to a
file(specified by welcome-file-list tag) under the directory
web(/weblogic/Kermit/web). However, it's not doing it.
From the documentation that I've read, this should have been very siimple
but it's not working the way the docs have it made it out be.... am I
missing anything else??
Please help.

Currently we only officially support ADF 11g deployment to WebLogic.
There is at least one report of someone running this on Tomcat here:
JDev 11.1.1.1.0 + ADF+ BC4J application on Tomcat6
Note that this will require you to have an ADF runtime license though.

Similar Messages

  • Multiple log4j.xml files for single application.

    Hi All,
    How to use multiple log4j.xml files for single application?
    I do have a pluggable application modules. ie, If I add a jar I will get some functionalities. Like that i do have many jars.
    Log4j.xml also will be present in that jar only. So if I add multiple jar files like this, I will get multiple log4j.xml files. What should I do?

    Each logger can have its own file I think. Check the log4j documentation.

  • Web Application problem

    Hello everyone. I have been debuging this for the past three days with no positive result. My problem is that I have a web application with the following "web.xml" configuration
    <?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>
         <!-- Define the controller servlet -->
         <servlet>
              <servlet-name>ControllerServlet</servlet-name>
              <servlet-class>com.org.ControllerServlet</servlet-class>
         <!-- Define initial parameter that will load into the servletContext object
         in the controller servlet -->
         <init-param>
              <param-name>base</param-name>
              <param-value>http:/domainName/shopping/ControllerServlet</param-value>
         </init-param>
         <init-param>
              <param-name>imageUrl</param-name>
              <param-value>http://domainName/shopping/images/</param-value>
         </init-param>
         <init-param>
              <param-name>jdbcDriver</param-name>
              <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value>
         </init-param>
         <init-param>
              <param-name>dbUrl</param-name>
              <param-value>jdbc:odbc:shopping</param-value>
         </init-param>
         <init-param>
              <param-name>dbUsername</param-name>
              <param-value></param-value>
         </init-param>
         <init-param>
              <param-name>dbPassword</param-name>
              <param-value></param-value>
         </init-param>
         </servlet>
         <welcome-file-list>
         <welcome-file>Default.jsp</welcome-file>
         </welcome-file-list>
    </web-app>
    My servlet loads the initial parameters into the ServletContext configuration i.e.
    package com.org;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    import com.org.DbBean;
    public class ControllerServlet extends HttpServlet{
    /**Initialize global variables*/
    public void init(ServletConfig config) throws ServletException {
    super.init( config );
    System.out.println("initializing controller servlet.");
    ServletContext context = config.getServletContext();
    context.setAttribute("base", config.getInitParameter("base"));
    context.setAttribute("imageUrl", config.getInitParameter("imageUrl"));
    // instantiating the DbBean
    DbBean dbBean = new DbBean();
    // initialize the DbBean's fields
    dbBean.setDbUrl(config.getInitParameter("dbUrl"));
    dbBean.setDbUserName(config.getInitParameter("dbUserName"));
    dbBean.setDbPassword(config.getInitParameter("dbPassword"));
    // put the bean in the servlet context
    // the bean will be accessed from JSP pages
    context.setAttribute("dbBean", dbBean);
    try {
    // loading the database JDBC driver
    Class.forName(config.getInitParameter("jdbcDriver"));
    }catch (ClassNotFoundException e) {
    System.out.println(e.toString());
    /**Process the HTTP Get request*/
    public void doGet(HttpServletRequest request, HttpServletResponse
    response) throws ServletException, IOException {
    doPost(request, response);
    /**Process the HTTP Post request*/
    public void doPost(HttpServletRequest request, HttpServletResponse
    response) throws ServletException, IOException {
    String base = "/jsp/";
    String url = base + "Default.jsp";
    String action = request.getParameter("action");
    if (action != null) {
    if (action.equals("search"))
    url = base + "SearchResults.jsp";
    else if (action.equals("browseCatalog"))
    url = base + "BrowseCatalog.jsp";
    else if (action.equals("productDetails"))
    url = base + "ProductDetails.jsp";
    else if (action.equals("productDetails"))
    url = base + "ProductDetails.jsp";
    else if (action.equals("addShoppingItem") ||
    action.equals("updateShoppingItem") ||
    action.equals("deleteShoppingItem") ||
    action.equals("displayShoppingCart"))
    url = base + "ShoppingCart.jsp";
    else if (action.equals("checkOut"))
    url = base + "CheckOut.jsp";
    else if (action.equals("order"))
    url = base + "Order.jsp";
    RequestDispatcher requestDispatcher =
    getServletContext().getRequestDispatcher(url);
    requestDispatcher.forward(request, response);
    I have a simple jsp page here i.e.
    <%@ page import="java.util.*" %>
    <jsp:useBean id="dbBean" scope="application"
    class="com.org.DbBean"/>
    <%
    String base = (String) application.getAttribute("base");
    %>
    <TABLE CELLSPACING="0" CELLPADDING="5" WIDTH="150" BORDER="0">
    <TR>
    <TD BGCOLOR="F6F6F6">
    <FONT FACE="Verdana">Search</FONT>
    <FORM>
    <INPUT TYPE="HIDDEN" NAME="action" VALUE="search">
    <INPUT TYPE="TEXT" NAME="keyword" SIZE="10">
    <INPUT type="SUBMIT" VALUE="Go">
    </FORM>
    </TD>
    </TR>
    <TR>
    <TD BGCOLOR="F6F6F6"><FONT FACE="Verdana">Categories:</FONT></TD>
    </TR>
    <TR VALIGN="TOP">
    <TD BGCOLOR="F6F6F6">
    <%
         Hashtable categories = dbBean.getCategories();
         Enumeration categoryIds = categories.keys();
              while (categoryIds.hasMoreElements()) {
                   Object categoryId = categoryIds.nextElement();
                   out.println("<A HREF=" + base +
                   "?action=browseCatalog&categoryId=" + categoryId.toString() + ">" +
                   categories.get(categoryId) +
                   "</A><BR>");
    %>
    </TD>
    </TR>
    </TABLE>
    The page will not load, I have tried to debug it, what I found out is that the line String base = (String) application.getAttribute( "base" );
    base is null. and so do the rest of the global variables i.e.
    base
    imageUrl
    jdbcDriver
    dbUrl
    Here is my url to see what I mean http://www.yexon.co.uk/shopping

    That's because you don't have a servlet-mapping, I suggest you read the J2EE tutorial, but here's an example for your servlet.
    <servlet-mapping>
      <servlet-name>ControllerServlet</servlet-name>
      <url-pattern>/ControllerServlet</url-pattern>
    </servlet-mapping>

  • Launch webhelp Topic from a web application; problem calling another topic

    My client has a web application for which I have created a WebHelp Help Guide.
    I have RH8 v8.0.2.208 running on Windows XP SP3.
    When the user clicks a Help icon on the web app screen, it launches a corresponding Help topic. The developer has managed to launch the full Help Guide, at the required topic, by using something like "help/imrd_help.htm#edit_subject_details.htm". So far, so good: this works fine for the first topic.
    But if the user leaves the Help Guide open, switches back to the web app, works through to another page in the web app, and clicks for a new Help Topic (say, "help/imrd_help.htm#add_new_user.htm"), the old topic stays on screen: the Help Guide does not update to the required Help topic.
    Any ideas how to fix this please, so that it calls the new topic?
    Thanks.

    See Calling WebHelp on my site. This problem is described there.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Adobe Reader 10 Web Application Problem

    Hello,
    I am currently troubleshooting issues with Adobe Reader 10, while opening PDF files in a web application using IE, Acro32.exe opens in the background and does not open the page. Any attempt to end the process fails, if the user closes IE and attempts to reopen IE or Adobe Reader 10 application they will either freeze or start in the background and not open a window. The computer must be restarted in order to open these applications again.
    Troubleshooting steps:
    Attempted to disable all of Adobe Reader 10's protected mode setting - no change
    Attempted to disable "Display PDF in browser" - no change
    Updated Reader to 10.1.2 - no change
    Forced the frozen Acro32.exe to restart using Sysinternals Procexp and receive the following error "Faulting application acrord32.exe, version 10.1.2.45, faulting module acrord32.exe, version 10.1.2.45, fault address 0x0005640a." The application fails to stop and this error is generated by the new process spawned.
    Once the client is rolled back to version 9 the issue is resolved.
    The web application does not open inline windows in IE; it will open a new Reader window (in normal functionality).
    Any suggestions?

    If you are in Windows, you can try using this tool to remove all traces of Reader:
    http://labs.adobe.com/downloads/acrobatcleaner.html

  • XML Gateway for Oracle Applications to 3rd Party Application System

    Hi,
    I am having one unique requirement for sending/receving an xml file from Oracle Applications to 3rd Party Application system (which supports XML). Has anyone worked on the XML Gateway for sending/receiving the PO/ASN or Pick Release/Ship Confirm XML information from Oracle Applications (11.5.9 or above) to 3rd Party Application System.
    Looking forward your valuable inputs/suggestions on this.
    Note: Please note that, Trading Partner setup has to be done for a 3rd Party Application System.
    Thanks in advance,
    Regards,
    Muru

    Hi
    Were you able to acheive this , Please share the steps you followed by dropping a mail to [email protected]
    Thanks
    Prasad C P

  • How to create setup for Java Application?

    Hello,
    I have created one Java Application. Now I want to create setup for that. I want to know if there is any tool is available for Java Application. If yes, then please help me to get that.
    My emal id is "[email protected]"
    Thanks in advance.
    Sam

    Go to www.zerog.com
    Download InstallAnyWhere4now (free)
    it is Awsome youll love it
    M
    bakbjo

  • Digital Signature Setup for Fusion Applications Saas Customers

    Hi,
    I have been reading in the Fusion Middleware book and I see that we can define the Digital Signature, but it looks like it can be done only in SOA.
    We have a customer that requires this information on how they can set it up in fusion applications and if it is supported for the SaaS customers ?
    Regards,
    Nag

    Can you elaborate on what the requirement is ? Are you trying to integrate with services using message protection or ? if so you may find the following documentation useful:
    Use Cases for Implementing Applications for Oracle Sales Cloud
    Software as a Service (SaaS) Documentation (Doc ID 870963.5)
    Jani Rautiainen
    Fusion Applications Developer Relations                              
    https://blogs.oracle.com/fadevrel/

  • OID Realm Setup for Partner Application in another application server

    This message was also posted under the Identity Management thread.
    We currently have 10.1.2 SSO running and configured to accept a partner application from another app server (10.1.3). A sample application attempts to authenticate a user and then use JAZN to confirm whether the user is in the correct OID group. The user can authenticate successfully, which shows up in the SSO audit table, but the group check fails. I believe this is due to the realm not being visible to the other app server? How do I go about setting up the app server or application on the 10.1.3 platform to be able to check the 10.1.2 SSO server for the right OID group when the user authenticates? I have tried to set up the file-based permissions through the EM console, but seems to be only valid for the local setup. My thought was that the system-jazn-data.xml file would need to identify and point to the SSO server? When I troubleshoot that file, I see the correct realm entry and also the correct JAZN group and the OID GUID for the group. Any suggestions?
    Thanks,
    Leif

    Hi Amit,
    I am also facing the same issue. Could you please share the work around you around to get rid of this issue?
    Mahendra.

  • b OID Realm setup for partner application server /b

    We currently have 10.1.2 SSO running and configured to accept a partner application from another app server (10.1.3). A sample application attempts to authenticate a user and then use JAZN to confirm whether the user is in the correct OID group. The user can authenticate successfully, which shows up in the SSO audit table, but the group check fails. I believe this is due to the realm not being visible to the other app server? How do I go about setting up the app server or application on the 10.1.3 platform to be able to check the 10.1.2 SSO server for the right OID group when the user authenticates? I have tried to set up the file-based permissions through the EM console, but seems to be only valid for the local setup. My thought was that the system-jazn-data.xml file would need to identify and point to the SSO server? When I troubleshoot that file, I see the correct realm entry and also the correct JAZN group and the OID GUID for the group. Any suggestions?
    Thanks,
    Leif

    Hi Amit,
    I am also facing the same issue. Could you please share the work around you around to get rid of this issue?
    Mahendra.

  • MySQL download and setup for java application develop

    I would like to setup my computer to be both database and Tomcat web server. Can anybody tell me what to download for MySQL? What are the neccessary steps to setup? Do I need to create DSN ? Thanks,J

    Go to http://www.mysql.com/downloads/mysql-4.0.html and download the appropriate file for your platform.
    MySQL has VERY thorough documentation. In addition to being online, it will also be packaged with your download. Go to http://www.mysql.com/doc/en/Installing.html for detailed instructions on how to install MySQL on your platform.
    You'll also want the latest JDBC Driver. Go to http://www.mysql.com/downloads/api-jdbc-stable.html and download the appropriate file for your platform.

  • [METASOLV XML AP]devolop JAVA client using XML API for metasolv application

    Hi All,
    I am new in this group, and I need to help me to develop a java client to communicate with metasolv application using XML API.
    I read "XML API Developer’s Reference" document, but I still not understand how can I setup the cllient.
    I still need:
    1- What API needed(jar files) I must use to build the client
    2- A sample of source code using java.
    3- detailed guide to communicate with metasolv application using XML API.
    Thanks&Best Regards
    RADOUANE Mohamed

    any help please!!!!

  • Multiple XML files for one application

    I have an application I wrote for my company and they all use the same application, but depending on there department they need to access a different XML file on the server. How do i code it so that the user has to input a code the first time they open the application in there phone and then it will know what XML file to pull from. Any help in how to structure this would be great. I am using the HTTP service call.

    Each logger can have its own file I think. Check the log4j documentation.

  • Is there any way to have unique setup for each Application in a single CSF

    Hello all,
    I am finding that i need more control with CSF files than just syncronising a generic setting that was made in one application...
    For example, for the same workflow, I need to have different policies in different applications such as:
         "Preserve CMYK" in Photoshop to correctly honor profiles in the images etc,
         "CMYK off" in indesign to properly preserve the Separation for my output style.
    Is there any way that i can make one CSF file that works differently on each application?
    Thanks!

    I'm not a ID power useful. I do own and use it ocassionally but I'm linking all the documents. That said, if I want say ProPhoto RGB to be the preferred RGB working space and I open a doc in sRGB, is that a problem in ID? Converting to ProPhoto in this case is senseless. Just leave the document in sRGB. Upon output, multiple images in differing color spaces should (should) be OK upon conversion to an output color space. Does ID have to have all images in the same color space to print?
    This is probably more evident when looking at a CMYK workflow. Although indesign will let you export PDF's with multiple different embedded profiles, I try to avoid this as it tends to result in issues like illustrator graphics that contain black objects which separate into 4 colour and cause potential registration issues on press etc...
    I am trying to remove all CMYK profiles and then asign an output intent by creating a PDFX file but so far the only way to consistently & reliabaly do it appears to be to set the CMYK policy to off in indesign...
    IMO a print ready PDF should only have one profile which describes the printing propcess that will be used to for the file.
    Andrew Rodney wrote:
    Matt Finlay wrote:
    For example having "ask when opening" for profile mismatch is the only way to control your document policies in indesign, which is essential if you are being supplied documents from outside designers. In photoshop this same function equates to an annoying dialog box that does not tell you anything you can't find out or fix without this option enabled.
    I don't see the differences in the two app's in terms of this setting.
    The function inside photoshop equates to "ask me what to do if i open an image whoes assigned profile is different to my workingspace profile". Inside indesign this option represents a conflict in a documents embedded policies with regard to "CMYK/RGB Policy, Document CMYK/RGB profile and also offers you the oportunity to manage the color of placed content".
    While profiles can be assigned elsewhere, and placed content can be managed elsewhere, from what i understand, the only other way to affect your document's CMYK/RGB Policy is through scripting... Changing this in your colour settings only changes this for newly created documents as these options are inherited by the document from the applications colour settings at the time of the document's creation...

  • XML parser for C++ - encoding problem

    when I trying parse xml data
    XMLParser xP;
    xP.xmlinit((oratext*)"ISO-8859-5");
    err = xP.xmlparseBuffer((oratext*)buff, len, (oratext*)"ISO-8859-5", (ub4)0);
    I got the error 217 defined as
    #define XMLERR_END_QUOTE 217 /* No ending quote was seen */
    ORACLE_HOME and ORA_NLS variables set correctly.
    What the problem?

    Please specify the XDK version and send the sample test case.

Maybe you are looking for

  • ITunes closes

    hi, i've a problem with iTunes, it closes few secondons after i open it. Any idea i to solve the ploblem? (the software is updated and i tried to delete cookies from the library) This is the error: Process:         iTunes [446] Path:            /Appl

  • Problem while importing the application in application express 3.0

    Hi Friends We have developed an application in a workspace say X. I imported the complete application in different workspace Y and the import was successfully. Now if I export a single page from that application in workspace X and import in workspace

  • Delaying Buttons for menu

    I have made a motion menu in AE and I bring in my play and chapter buttons. I wanted to lay down a button symbol next to the text but don't want it to come up until the play and Chapter texts have come into the menu. How do I delay a button from comi

  • When you sync your iPhone 4S with a windows computer , where are the contacts backed up to

    When you sync your iPhone 4S with a windows computer , where are the contacts backed up to

  • BUG: XML Property Inspector

    When editing an XML file in the Property Inspector, if I change a value in a sub-element, the Property Inspector closes that subelement and other subelements in that same level. Here is a test case. The file: <?xml version = '1.0' encoding = 'UTF-8'?