Workaround for Fold in Webi XIR2

Hi,
Recently we migrated deski reports from BO 5.1.8 to BOXIR2 in webi. While conversion, there are reports in deski having Fold option in break. Since Webi does not support FOLD, could anyone tell some workaround for this property. YOur help will be much appreciated.
Thanks and Regards,
Nisha

The fold is not supported in Webi version. As a workaround we can see various other options like setting contexts, using breaks etc.

Similar Messages

  • Workarounds for lack of sub-folder support

    I'm trying to find a workaround for the lack of sub-folder support for photos. For example, are there any apps that synchronise my photos with the original folder structure from my PC? I've spent quite a lot of time searching, but can't find the right solution.

    Hi all. Hope this helps...
    There is NO sub-folder (two or more folder levels) support in OS3x and OS4x until today. Hope this will change in near future, however that also means foregoing smoothness operation of the iDevice due to how the internal memory works inside (so far, thousands of photos can be viewed without a lag because how fast the iDevice can find the memory location of each file inside its big memory, and creating sub-folders will take great amount of time for the processor to find, put-together, and present the many photos to screen).
    There are other applications that support photos with sub-folders (folders inside folders inside folders inside folders inside folders and so on), however these are not specialized photo viewing app and will not show picture thumbnails but file listing instead:
    - GoodReader
    - OPlayer
    Two good photo and video viewing apps with privacy security; Photo Safe and Video Safe, are also available, which supports high-definition without reducing photo quality as in original iDevice, BUT does not support sub-folders (only one level folders/albums).
    I was hoping iOS4 had the Sub-folders feature for its iPhoto... doesn't have to be three-folder levels, but just additional one level sub-folders would be great.
    Cheers!

  • How to add a barcode font for use in Web Intelligence (WebI) XIR2 and 3x?

    Anyone have the steps to add a barcode font to WebI XIR2 and 3x?  Not finding a good KBase on it and was also wondering if there any "gotchas" in terms of printing and exporting to .pdf.
    Thanks.

    Hi Kevin,
    Also, if the solution provided in the previous post doesn't helps you then try the following solution.
    Following are the steps to apply barcode font (IDAutomationHC39M):
    1) In Windows Explorer, browse to the following folder:
    -- C:\Windows\Fonts
    2) On the File menu click Install New Font then browse to the font you want to install.
    3) Edit the properties on the fonts you have just added:
    In the "Embedding" tab, you should get a property like "Preview & Print embedding allowed".
    But, nothing related to a license limitation regarding the embedding, else, you will not be allowed to use the added fonts in PDF or XLS generation.
    4) Once the above points have been done:
    -- Copy the .ttf fonts you want to use in the following XIR2 folder:
    <BO_INSTALL_DIR>\Business Objects\j2sdk1.4.2_08\jre\lib\fonts
    5) Add the following entries into the fontalias.xml file, which is in the following folder:
    <BO_INSTALL_DIR>\Business Objects\BusinessObjects Enterprise 11.5\win32_x86\fonts
    The template looks like the following one:
    <FONT NAME="IDAutomationHC39M">
    <FONTFAMILY PLATFORM="ttf" NAME="IDAutomationHC39M (IDAutomationHC39M)">
    <FONTATTRIBUTE BOLD="false" ITALIC="false" LOGICAL="IDAutomationHC39M" PHYSICAL="IDAutomationHC39M.ttf"/>
    </FONTFAMILY>
    <FONTFAMILY PLATFORM="win" NAME="IDAutomationHC39M"/>
    <FONTFAMILY PLATFORM="java" NAME="IDAutomationHC39M"/>
    <FONTFAMILY PLATFORM="html" NAME="IDAutomationHC39M"/>
    </FONT>
    6) Add the following entries into the u2018i18n.xmlu2019 file, which is in the following folder:
    <BO_INSTALL_DIR>\Business Objects\BusinessObjects Enterprise 11.5\win32_x86\scripts
    You have different sections in this i81n.xml file.
    -- Under the first section
    <I18N>
    <FontFinder>
    <font key=u201DIDAutomationHC39Mu201D value=u201DIDAutomationHC39Mu201D/>
    u2026u2026u2026u2026u2026u2026u2026u2026u2026..
    </ FontFinder>
    < FontFinder2>
    <font key=u201DIDAutomationHC39Mu201D value=u201DIDAutomationHC39Mu201D/>
    u2026u2026u2026u2026u2026u2026u2026u2026u2026..
    </ FontFinder2>
    -- Under the u2018font_aliasingu2019 section
    <font_aliasing>
    <T1>
    u2026u2026u2026u2026.
    </T1>
    <TTF>
    u2026..
    <font name=u201DIDAutomationHC39Mu201D>
    <os type=u201Dallu201D>
    <Attributs style=u201D0u201D filename=u201DIDAutomationHC39M.ttfu201D encoding=u201Du201D aliaspsname =u201CIDAutomationHC39Mu201D/>
    u2026
    </os>
    </TTF>
    7) Save the both files.
    8) Restart the Businessobjects servers or local computer.
    9) Login in to infoview and create a new web intelligence report by using the Java Report Panel or Html Report Panel;
    10) In the left pane, select the "Cell Format Properties": you will notice that an entry "IDAutomationHC39M" has been added into the font dropdown list.
    Just test the above u2018IDAutomationHC39Mu2019 barcode font, at your end and update me with the results.
    Regards,
    Sarbhjeet Kaur

  • Aha!  Workaround for site corruption in iWeb '06 '08 updates

    I think I have found a workaround for a problem that's been plaguing me and no doubt other people who've bought iWeb '08 and used it to update an older site from iWeb '06 (skip to bottom for solution). This is relevant even after the 2.0.1 update that Apple shipped today.
    My iWeb project contains multiple sites, which I use to group photo albums. I found repeatedly that after I updated the site, made a change, and saved the project, a lot of the bitmap image files needed for pages with photo albums or other graphical embellishments were just gone from the project. Looking into the Domain.sites package (Finder: Show Package Contents) confirmed this - all the .jpg, .png files etc. just got trashed the first time I did a save (although the pages all looked ok after the upgrade but before the save!)
    At first I thought that the last site added to my multi-site project was spared at the expense of other 'sites' visible in the sidebar. Then I realized that only pages that had been viewed in iWeb after the update were spared! Generally I would view the pages in the bottom/last site as these were the ones I was currently working on - and these were spared.
    So I did an experiment - I opened (yet another) copy of my iWeb '06 backup in iWeb '08, and after the update but before saving I clicked on every page (thereby viewing it) in the whole site - and I have around 50 pages in about ten sites. Then I made a change to a single page, and saved the project. The fact that I had viewed all the pages seemed to make the problem go away! There were no missing photos or embedded bitmaps!
    *So the short version of the problem is:* any pages that have not been viewed within iWeb after updating a Domain.sites file (what I call the project) from '06 to '08 will have all associated bitmap image files deleted.
    *The solution:* immediately after updating the site, and before making any edits or saving, you must click on the sidebar entry for every page in the whole project (to view it in the editing window). In my case this meant also clicking on every entry of a blog, to display it.
    Conclusion: there must be some book-keeping of the database that supports iWeb that is not synchronized with the persistent store on disk unless a page is actually viewed.
    Hope this works for others, and that Apple gets a proper fix out ASAP. The 2.0.1 update issued today did not fix the problem for me - only the above workaround did.
    Rick

    Hi Rick,
    Sounds like my story, too. I have had some time to experiment on two different Macs (one G4 and one MacBook Pro). After losing the formatting and photos on one Mac after upgrading, I decided that I was going to test some theories on the other Mac prior to upgrading to iWeb '08. This is what I found - and what worked:
    Test 1:
    MacBookPro on iLife '06. I upgraded to iLife '08. I opened iWeb and noted that it did not recognize my original domain: iWeb '08 asked me to locate it or create a new one. I selected "choose" and selected the domain that I had created in iWeb '06 (user/library/application support/iweb). The site opened, performed the required update and opened up. I noticed immediately that some of the photos did not appear on some of the pages. Each time iWeb '08 was closed and reopened, more photos, sometimes different photos, would disappear. All that would remain was a grey placecard with a question mark in the middle (and the warning that the links were now missing). I even went as far as putting the photos back into position, saving and closing iWeb '08. But when I opened iWeb '08 again, the photos were missing...again.
    I rebuilt the entire site.
    Test 2:
    Powerbook G4 on iLife '06. BEFORE updating to iLife '08, I used the original iWeb '06 to publish the entire site to a local folder on my HD (as a security measure). Next, I created a copy of my domain (another security measure) and moved the original domain from 'user/library/application support/iweb' to my desk top. I then proceeded to upgrade to iLife '08. After upgrading, I opened iWeb '08 and received the notification that iWeb '08 needed to either create a domain or I needed to choose a domain. Since I moved my domain out of 'library/application support/iweb', I elected to create a new domain and saved it to the same location (library/application support/iweb).
    The new domain was created, iWeb '08 opened, I selected a template, then saved it and closed the program.
    Using Finder, I examined the new domain just created by iWeb '08. Using the 'get info' command, I noticed that the new domain has the extension ".sites2." The original domain created in iWeb '06 has the extension ".sites."
    I took my original iWeb '06 domain and used the finder "get info" command to manually change the extension from ".sites" to ".sites2." I got the warning asking me if I was sure I wanted to use ".sites2," and I selected yes, use ".sites2."
    Using the (original) domain just modified in the last step, now with the extension ".sites2", I inserted it into the 'user/library/application support/iweb' folder, replacing the domain file created during the start up of iWeb '08.
    I then opened iWeb '08.
    After a brief moment, iWeb '08 opened my domain revealing all four of my original web sites, complete and intact. After iWeb '08 updated the domain, I saved it, closed iWeb '08 and reopened it a few times before I was satisfied that EVERYTHING was working fine.
    In conclusion, I found that by changing the domain (created in iWeb '06) file extension to ".sites2", I was able to use iWeb '08 to successfully open it, complete and intact.
    I hope you may still have the opportunity to try this on your Mac. I also hope that you have good results.
    Cheers, Bryan

  • Workaround for IE active content problem?

    Adobe
    posted
    a workaround for existing web pages to respond to the change in
    IE that requires users to manually activate Flash content. I tried
    doing the same document.write in an external file for the HTML
    files FlashHelp generates wherever I found the <object> and
    <embed> tags, but I get a script error ("Object expected") in
    the lines where I call the function. (The solution worked for me in
    simple HTML pages with Captivate movies, so I know it can work.)
    The only reason I can think of that it won't work is that the
    scripts are concatenating strings, not just showing a movie where
    the <object> and <embed> tags are. Has anyone found a
    workaround for FlashHelp so users don't have to manually activate
    the top and left panes? I put in a "wish" for Adobe to provide a
    solution on the site and later in an update or new version of
    RoboHelp (which is another issue in and of itself), but who knows
    when the developers will be able to come up with it. Thanks!

    Thanks for asking, Mimi. Here are more specific steps:
    1. Open Notepad or another program for creating text files.
    2. Create two functions. For example:
    function insertMaster1() {
    function insertMaster2() {
    You can call your functions anything you want, but the names
    must be different. Note that for the moment, they're empty, but
    we'll change that in a minute.
    3. Save the Notepad file with a JS file extension (for
    example, runactive.js). In Notepad, specify “All Files”
    for “Save as type” so that it doesn’t save as a
    TXT.
    4. When you generate your FlashHelp system, it creates a
    bunch of HTM files containing JavaScript in the destination folder
    you specified when generating your output. Locate wf_master.htm and
    wf_navpane.htm in the output folder. (If you leave RoboHelp to use
    its defaults, it puts your help system in an !SSL!/FlashHelp
    directory within your project folder.)
    5. Open wf_master.htm.
    6. In the <head> tags, insert a line that references
    your JS file:
    <script language=“JavaScript”
    src=“runactive.js”></script>
    7. Find the lines in the code that look like this:
    // Insert the “Master” SWF
    8. Highlight everything AFTER this commented-out block until
    the </script> tag. The last thing you highlight should be
    "document.write(strObject);".
    9. Cut the highlighted code and paste it into the first
    function in your JS file so it looks like this:
    function insertMaster1() {
    // Build up the variable string we will be sending
    strFlashVars = "uniqueHelpID=" + parent.UniqueID();
    ……(more code)
    document.write(strObject);
    10. In the place where you just cut all that code out of
    wf_master.htm, insert a call to the function:
    insertMaster1();
    That’s all you need because all that code you just
    moved was already in <script> tags in the HTM file. The
    </script> tag should come immediately after this function
    call.
    11. Open wf_navpane.htm.
    12. Repeat steps 6 – 10 for wf_navpane.htm. The code
    we’re concerned with in this file looks almost exactly like
    that in wf_master.htm, but there are a few lines less this time.
    Put the code you take out of wf_navpane.htm into the second
    function in your JS file. Where you cut out the code from
    wf_navpane.htm, put a call to the second function (it should come
    right before the end of the <script> tags):
    insertMaster2();
    13. Save your JS file and the two HTM files.
    14. Whenever you re-generate your output, RoboHelp is going
    to erase your new versions of these HTM files and create its own
    again. Copy your new versions of wf_master.htm and wf_navpane.htm
    to another location (can be a folder within your output folder).
    Now you have them so you can paste them back over RoboHelp’s
    versions each time you finish generating your output. For example,
    I would stow my wf_master.htm and wf_navpane.htm in a folder called
    "drop files." Then, after I get done generating my output, I copy
    those files and paste them in the output folder, letting them save
    over the ones that RoboHelp created.
    15. To test it once you've finished the swap, find the HTM
    file in your output folder that is named after your project. For
    example, if my project is called flying_monkey, I would find
    flying_monkey.htm. Open this HTM file in Internet Explorer, and you
    shouldn’t have any messages telling you that you have to
    press Enter or Spacebar or click on the panes to activate them.
    This runs from the same basic idea as Adobe’s
    workarounds for Flash—we’re going to a file external to
    the HTM files for the active content tags. Hope you find this
    useful! Let me know if you run into any problems.
    --Ben

  • Workaround for missing ADF Faces Cache taglib

    I've downloaded Steve's migrated version of SRdemo (http://otn.oracle.com/products/jdev/tips/muench/1013srdemo/SRDemoSampleADFBC_migrated_to_11g_otn3.zip) and am trying to run it on JDev 11g TP3. However it couldn't find the ADF Faces Cache taglib in the afc.jar file that is deployed within the UserInterface project as it looks for a D:\temp... path.
    A workaround for this is to:
    * go to UserInterface "Project Properties...", choose JSP Tag Libraries: "ADF Faces Cache 1.0" will be shown in red as it references jar:file:/D:/temp/SRDemoSampleADFBC/UserInterface/public_html/WEB-INF/lib/afc.jar!/META-INF/afc.tld
    * delete the red "ADF Faces Cache 1.0"
    * click "Add", "User" folder at top, then click "New" button.
    * navigate to the directory where your SRDemo project is stored and then UserInterface/public_html/WEB-INF/lib/afc.jar - then click OK.
    * it calls this "ADF Faces Cache [1] 1.1" - select this and click OK, then save the project properties.
    You should now see ADF Faces Cache [1] 1.1 in the list - I'm assuming this is a new version of afc.jar not yet bundled with JDev 11g.
    HTH. Any comments or alternative suggestions welcome!

    2. Answer its question Itself. Yes, change the filling items in SelectOneChoice through ForEach on preparing the reference book in BackBean and bind it with attribute "value" of f:selectItems speedup rendering about 6 times!

  • Drill Issue on Webi XIR2

    Hi all,
    I am creating a report on WEBI XIR2 which contains drill option. The report has multiple data providers and merged dimension.
    Because of merged dimensions, I am getting the drill values from all the data providers from which I have merged the dimension. I want the drill to return only those values for which the report has data, and not all.
    Please let me know, if you have any suggestion/workaround in this regard. Appreciating your help in advance
    Thanks and Regards,
    Nisha

    d

  • Extensions like Ghostery, WOT or AdBlock stop working after two or three times. Restarting the webpage in a new tab the extensions will work again for several times and then stop again. Has anybody an explanation or a workaround for this bug in Safari 5?

    Extensions like Ghostery, WOT or AdBlock stop working after two or three times. Restarting the webpage in a new tab the extensions will work again for several times and then stop again. Has anybody an explanation or a workaround for this bug in Safari 5?

    Remove the extensions, redownload Safari, reload the extensions.
    http://www.apple.com/safari/download/
    And if you really want a better experience, use Firefox, tons more choices and possibilities there.
    Firefox's "NoScript" will block the Trojan going around on websites. Best web security you can get.
    https://addons.mozilla.org/en-US/firefox/addon/noscript/
    Ghostery, Ad Block Plus and thousands of add-ons more have originated on Firefox.

  • Problem with Configuring Tomcat for running jsp web applications..Plz HELP

    I am using Tomcat 5.5 and Jdk 1.5.0_12 and Oracle 10g. I am using jdbc-odbc bridge connection
    to connect to the database. I have placed my project folder called
    tdm under the webapps folder in Tomcat. This 'tdm' folder consists of
    a collection of html pages,jsp pages and images of my project. Also I created a
    WEB-INF folderand in that I have lib folder which contains catalina-root.jar
    , classes12.jar and nls_charset.jar files. And also in the WEB-INF folder I have the web.xml
    file which looks like this
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--
    Copyright 2004 The Apache Software Foundation
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    -->
    <web-app>
    <resource-ref>
    <description>Oracle Datasource example</description>
    <res-ref-name>jdbc/gdn</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    My Server.xml file in Tomcat\conf folder is as follows
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN">
    <!-- Comment these entries out to disable JMX MBeans support used for the
    administration web application -->
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <!-- Editable user database that can also be used by
    UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved"
    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
    pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/gdn" auth="Container"
    type="javax.sql.DataSource" driverClassName="sun.jdbc.odbc.JdbcOdbcDriver"
    url="jdbc:odbc:gdn"
    username="system" password="tiger" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    </GlobalNamingResources>
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 5 documentation bundle for more detailed
    instructions):
    * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
    later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="5050" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to 0 -->
         <!-- Note : To use gzip compression you could set the following properties :
                   compression="on"
                   compressionMinSize="2048"
                   noCompressionUserAgents="gozilla, traviata"
                   compressableMimeType="text/html,text/xml"
         -->
    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector port="8443"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" disableUploadTimeout="true"
    acceptCount="100" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS" />
    -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector port="8082"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" acceptCount="100" connectionTimeout="20000"
    proxyPort="80" disableUploadTimeout="true" />
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
    -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.4
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Because this Realm is here, an instance will be shared globally -->
    <!-- This Realm uses the UserDatabase configured in the global JNDI
    resources under the key "UserDatabase". Any edits
    that are performed against this UserDatabase are immediately
    available for use by the Realm. -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>
    <!-- Comment out the old realm but leave here for now in case we
    need to go back quickly -->
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority"
    connectionName="test" connectionPassword="test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
    connectionName="scott" connectionPassword="tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    <!-- Defines a cluster for this node,
    By defining this element, means that every manager will be changed.
    So when running a cluster, only make sure that you have webapps in there
    that need to be clustered and remove the other ones.
    A cluster has the following parameters:
    className = the fully qualified name of the cluster class
    name = a descriptive name for your cluster, can be anything
    mcastAddr = the multicast address, has to be the same for all the nodes
    mcastPort = the multicast port, has to be the same for all the nodes
    mcastBindAddr = bind the multicast socket to a specific address
    mcastTTL = the multicast TTL if you want to limit your broadcast
    mcastSoTimeout = the multicast readtimeout
    mcastFrequency = the number of milliseconds in between sending a "I'm alive" heartbeat
    mcastDropTime = the number a milliseconds before a node is considered "dead" if no heartbeat is received
    tcpThreadCount = the number of threads to handle incoming replication requests, optimal would be the same amount of threads as nodes
    tcpListenAddress = the listen address (bind address) for TCP cluster request on this host,
    in case of multiple ethernet cards.
    auto means that address becomes
    InetAddress.getLocalHost().getHostAddress()
    tcpListenPort = the tcp listen port
    tcpSelectorTimeout = the timeout (ms) for the Selector.select() method in case the OS
    has a wakup bug in java.nio. Set to 0 for no timeout
    printToScreen = true means that managers will also print to std.out
    expireSessionsOnShutdown = true means that
    useDirtyFlag = true means that we only replicate a session after setAttribute,removeAttribute has been called.
    false means to replicate the session after each request.
    false means that replication would work for the following piece of code: (only for SimpleTcpReplicationManager)
    <%
    HashMap map = (HashMap)session.getAttribute("map");
    map.put("key","value");
    %>
    replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
    * Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
    * Synchronous means that the thread that executes the request, is also the
    thread the replicates the data to the other nodes, and will not return until all
    nodes have received the information.
    * Asynchronous means that there is a specific 'sender' thread for each cluster node,
    so the request thread will queue the replication request into a "smart" queue,
    and then return to the client.
    The "smart" queue is a queue where when a session is added to the queue, and the same session
    already exists in the queue from a previous request, that session will be replaced
    in the queue instead of replicating two requests. This almost never happens, unless there is a
    large network delay.
    -->
    <!--
    When configuring for clustering, you also add in a valve to catch all the requests
    coming in, at the end of the request, the session may or may not be replicated.
    A session is replicated if and only if all the conditions are met:
    1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND
    2. a session exists (has been created)
    3. the request is not trapped by the "filter" attribute
    The filter attribute is to filter out requests that could not modify the session,
    hence we don't replicate the session after the end of this request.
    The filter is negative, ie, anything you put in the filter, you mean to filter out,
    ie, no replication will be done on requests that match one of the filters.
    The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to.
    filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
    ending with .gif and .js are intercepted.
    The deployer element can be used to deploy apps cluster wide.
    Currently the deployment only deploys/undeploys to working members in the cluster
    so no WARs are copied upons startup of a broken node.
    The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
    When a new war file is added the war gets deployed to the local instance,
    and then deployed to the other instances in the cluster.
    When a war file is deleted from the watchDir the war is undeployed locally
    and cluster wide
    -->
    <!--
    <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
    managerClassName="org.apache.catalina.cluster.session.DeltaManager"
    expireSessionsOnShutdown="false"
    useDirtyFlag="true"
    notifyListenersOnReplication="true">
    <Membership
    className="org.apache.catalina.cluster.mcast.McastService"
    mcastAddr="228.0.0.4"
    mcastPort="45564"
    mcastFrequency="500"
    mcastDropTime="3000"/>
    <Receiver
    className="org.apache.catalina.cluster.tcp.ReplicationListener"
    tcpListenAddress="auto"
    tcpListenPort="4001"
    tcpSelectorTimeout="100"
    tcpThreadCount="6"/>
    <Sender
    className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
    replicationMode="pooled"
    ackTimeout="15000"/>
    <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
    filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
    <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
    tempDir="/tmp/war-temp/"
    deployDir="/tmp/war-deploy/"
    watchDir="/tmp/war-listen/"
    watchEnabled="false"/>
    </Cluster>
    -->
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    This access log implementation is optimized for maximum performance,
    but is hardcoded to support only the "common" and "combined" patterns.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <Context path="/tdm" docBase="tdm" debug="0" reloadable="true" />
    </Host>
    </Engine>
    </Service>
    </Server>
    I have set the context path to /tdm in the server.xml file. Should this be placed in context.xml?
    My first page in the project is called Homepage.html. To start my project I give http://localhost:5050/tdm/homepage.html
    in a browser. Here I accept a username and password from the user and then do the validation in
    a valid.jsp file, where I connect to the database and check and use jsp:forward to go to next pages
    accordingly. However when I enter the username and password and click Go in the homepage, nothing is
    displayed on the next page. The URL in the browser says valid.jsp but a blank screen appears.
    WHY DOES IT HAPPEN SO? DOES IT MEAN THAT TOMCAT IS NOT RECOGNIZING JAVA IN MY SYSTEM OR IS IT A PROBLEM
    WITH THE DATABASE CONNECTION OR SOMETHING ELSE? I FEEL THAT TOMCAT IS NOT EXECUTING JSP COMMANDS?
    IS IT POSSIBLE?WHY WILL THIS HAPPEN?
    I set the JAVA_HOME and CATALINA_HOME environment to the jdk and tomcat folders resp.
    Is there any other thing that I need to set in classpath? Should I have my project as a
    WAR file in the webapps of TOMCAT or just a folder i.e. directory structure will fine?

    I am using Tomcat 5.5 and Jdk 1.5.0_12 and Oracle 10g. I am using jdbc-odbc bridge connection
    to connect to the database. I have placed my project folder called
    tdm under the webapps folder in Tomcat. This 'tdm' folder consists of
    a collection of html pages,jsp pages and images of my project. Also I created a
    WEB-INF folderand in that I have lib folder which contains catalina-root.jar
    , classes12.jar and nls_charset.jar files. And also in the WEB-INF folder I have the web.xml
    file which looks like this
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--
    Copyright 2004 The Apache Software Foundation
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    -->
    <web-app>
    <resource-ref>
    <description>Oracle Datasource example</description>
    <res-ref-name>jdbc/gdn</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    My Server.xml file in Tomcat\conf folder is as follows
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN">
    <!-- Comment these entries out to disable JMX MBeans support used for the
    administration web application -->
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <!-- Editable user database that can also be used by
    UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved"
    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
    pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/gdn" auth="Container"
    type="javax.sql.DataSource" driverClassName="sun.jdbc.odbc.JdbcOdbcDriver"
    url="jdbc:odbc:gdn"
    username="system" password="tiger" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    </GlobalNamingResources>
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 5 documentation bundle for more detailed
    instructions):
    * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
    later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="5050" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to 0 -->
         <!-- Note : To use gzip compression you could set the following properties :
                   compression="on"
                   compressionMinSize="2048"
                   noCompressionUserAgents="gozilla, traviata"
                   compressableMimeType="text/html,text/xml"
         -->
    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector port="8443"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" disableUploadTimeout="true"
    acceptCount="100" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS" />
    -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector port="8082"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" acceptCount="100" connectionTimeout="20000"
    proxyPort="80" disableUploadTimeout="true" />
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
    -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.4
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Because this Realm is here, an instance will be shared globally -->
    <!-- This Realm uses the UserDatabase configured in the global JNDI
    resources under the key "UserDatabase". Any edits
    that are performed against this UserDatabase are immediately
    available for use by the Realm. -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>
    <!-- Comment out the old realm but leave here for now in case we
    need to go back quickly -->
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority"
    connectionName="test" connectionPassword="test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
    connectionName="scott" connectionPassword="tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    <!-- Defines a cluster for this node,
    By defining this element, means that every manager will be changed.
    So when running a cluster, only make sure that you have webapps in there
    that need to be clustered and remove the other ones.
    A cluster has the following parameters:
    className = the fully qualified name of the cluster class
    name = a descriptive name for your cluster, can be anything
    mcastAddr = the multicast address, has to be the same for all the nodes
    mcastPort = the multicast port, has to be the same for all the nodes
    mcastBindAddr = bind the multicast socket to a specific address
    mcastTTL = the multicast TTL if you want to limit your broadcast
    mcastSoTimeout = the multicast readtimeout
    mcastFrequency = the number of milliseconds in between sending a "I'm alive" heartbeat
    mcastDropTime = the number a milliseconds before a node is considered "dead" if no heartbeat is received
    tcpThreadCount = the number of threads to handle incoming replication requests, optimal would be the same amount of threads as nodes
    tcpListenAddress = the listen address (bind address) for TCP cluster request on this host,
    in case of multiple ethernet cards.
    auto means that address becomes
    InetAddress.getLocalHost().getHostAddress()
    tcpListenPort = the tcp listen port
    tcpSelectorTimeout = the timeout (ms) for the Selector.select() method in case the OS
    has a wakup bug in java.nio. Set to 0 for no timeout
    printToScreen = true means that managers will also print to std.out
    expireSessionsOnShutdown = true means that
    useDirtyFlag = true means that we only replicate a session after setAttribute,removeAttribute has been called.
    false means to replicate the session after each request.
    false means that replication would work for the following piece of code: (only for SimpleTcpReplicationManager)
    <%
    HashMap map = (HashMap)session.getAttribute("map");
    map.put("key","value");
    %>
    replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
    * Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
    * Synchronous means that the thread that executes the request, is also the
    thread the replicates the data to the other nodes, and will not return until all
    nodes have received the information.
    * Asynchronous means that there is a specific 'sender' thread for each cluster node,
    so the request thread will queue the replication request into a "smart" queue,
    and then return to the client.
    The "smart" queue is a queue where when a session is added to the queue, and the same session
    already exists in the queue from a previous request, that session will be replaced
    in the queue instead of replicating two requests. This almost never happens, unless there is a
    large network delay.
    -->
    <!--
    When configuring for clustering, you also add in a valve to catch all the requests
    coming in, at the end of the request, the session may or may not be replicated.
    A session is replicated if and only if all the conditions are met:
    1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND
    2. a session exists (has been created)
    3. the request is not trapped by the "filter" attribute
    The filter attribute is to filter out requests that could not modify the session,
    hence we don't replicate the session after the end of this request.
    The filter is negative, ie, anything you put in the filter, you mean to filter out,
    ie, no replication will be done on requests that match one of the filters.
    The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to.
    filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
    ending with .gif and .js are intercepted.
    The deployer element can be used to deploy apps cluster wide.
    Currently the deployment only deploys/undeploys to working members in the cluster
    so no WARs are copied upons startup of a broken node.
    The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
    When a new war file is added the war gets deployed to the local instance,
    and then deployed to the other instances in the cluster.
    When a war file is deleted from the watchDir the war is undeployed locally
    and cluster wide
    -->
    <!--
    <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
    managerClassName="org.apache.catalina.cluster.session.DeltaManager"
    expireSessionsOnShutdown="false"
    useDirtyFlag="true"
    notifyListenersOnReplication="true">
    <Membership
    className="org.apache.catalina.cluster.mcast.McastService"
    mcastAddr="228.0.0.4"
    mcastPort="45564"
    mcastFrequency="500"
    mcastDropTime="3000"/>
    <Receiver
    className="org.apache.catalina.cluster.tcp.ReplicationListener"
    tcpListenAddress="auto"
    tcpListenPort="4001"
    tcpSelectorTimeout="100"
    tcpThreadCount="6"/>
    <Sender
    className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
    replicationMode="pooled"
    ackTimeout="15000"/>
    <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
    filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
    <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
    tempDir="/tmp/war-temp/"
    deployDir="/tmp/war-deploy/"
    watchDir="/tmp/war-listen/"
    watchEnabled="false"/>
    </Cluster>
    -->
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    This access log implementation is optimized for maximum performance,
    but is hardcoded to support only the "common" and "combined" patterns.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <Context path="/tdm" docBase="tdm" debug="0" reloadable="true" />
    </Host>
    </Engine>
    </Service>
    </Server>
    I have set the context path to /tdm in the server.xml file. Should this be placed in context.xml?
    My first page in the project is called Homepage.html. To start my project I give http://localhost:5050/tdm/homepage.html
    in a browser. Here I accept a username and password from the user and then do the validation in
    a valid.jsp file, where I connect to the database and check and use jsp:forward to go to next pages
    accordingly. However when I enter the username and password and click Go in the homepage, nothing is
    displayed on the next page. The URL in the browser says valid.jsp but a blank screen appears.
    WHY DOES IT HAPPEN SO? DOES IT MEAN THAT TOMCAT IS NOT RECOGNIZING JAVA IN MY SYSTEM OR IS IT A PROBLEM
    WITH THE DATABASE CONNECTION OR SOMETHING ELSE? I FEEL THAT TOMCAT IS NOT EXECUTING JSP COMMANDS?
    IS IT POSSIBLE?WHY WILL THIS HAPPEN?
    I set the JAVA_HOME and CATALINA_HOME environment to the jdk and tomcat folders resp.
    Is there any other thing that I need to set in classpath? Should I have my project as a
    WAR file in the webapps of TOMCAT or just a folder i.e. directory structure will fine?

  • Error 1324: the folder path 'webi/' contains an invalid character

    Hi pros,
    I am getting this error when trying to install bobj xi 3.1 client version. the service pack is zero.
    however, i previously had bobj xi 3.1 server / client components installed and bobj 4.0 client tools.
    i uninstalled bobj 4 and bobj xi 3.1 server components from control panel. also, deleted them from registry.
    still i am getting the above error.
    kindly advise.

    Hi,
    Can you please check the following thread which is for the exact same question :
    error 1324: the folder path 'webi/' contains an invalid character
    Regards
    Steph

  • Problem generating stubs for Java EJB web service deployed in OAS

    I created an EJB web service and I've successfully deployed it in my Oracle App Server. Some of the methods work fine but others produce the ff error:
    org.apache.soap.SOAPException - java.lang.IllegalArgumentException: No Serializer found to serialize [classname] using encoding style [encoding]It seems that the objects specified as parameters in the web service methods exposed are the only ones that had stubs generated for them. Other objects I use, which are usually wrapped inside a Vector, did not have generated stubs.
    Example:
         public String loginUser(UserDTO userDTO) throws RemoteException, NamingException, SQLException;
    public String addItems (Vector vecItems) throws RemoteException, NamingException, SQLException; // where vecItems is a collection of ItemDTO objects     In this scenario, stubs were generated for the UserDTO class, but not for the ItemDTO class. In effect, calling the addItems method resulted to the exception I mentioned above.
    I did a workaround wherein I declared a dummy method which accepted all the types of objects I needed as parameters so all the necessary stubs can be generated, but this fix doesn't feel like it's the proper solution to my problem.
    If anyone can help me, it would be greatly appreciated. Thanks!

    Crossposted:
    Problem generating stubs for Java EJB web service deployed in OAS

  • Workaround for non-SAP mitigating control reminders

    Dear all,
    Our business users would like to document mitigating controls in RAR 5.3 regardless of whether they are connected with an SAP report. They would also like to receive email reminders for those controls.
    Unfortunately, the frequency of the control can only be defined per connected SAP report and reminders will only be sent for controls if the SAP report has not been executed.
    Have you been exposed with a similar requirement? It seems like a natural thing to ask from a business perspective. RAR 5.3, however, is not designed in that way.
    Have you come up with any feasible workarounds for this?
    My current approach would be to create a dummy Z-report per SAP system (such as Z_MANUAL_MITCTRL) that control monitors have to call once to confirm the execution of their control.
    Cheers and best regards
    Patrick

    Hello,
    Regarding your question, in fact this is dependant on how your UME (User Management Engine) is configured on your WAS (Web Application Server). If the UME is connected to your R/3 back-end then the user need to have a R/3 account to connect to CC, otherwise if your UME is "independant" then you just need to create an account in the UME.
    Regards,
    Jérôme.

  • Default entry for Folder property - Changed behavior in SP14???

    Hello,
    Has anyone run into changed behavior for this page property in SP14. It seems to be valid for pages in both folders and worksets.
    Ex. We have a workset that sits at 2nd level nav just below a 1st level entry point. So the workset is a 2nd level nav choice. The top page in that workset is the landing page for that nav and previously in SP9 the nav worked fine. We are finding now that in SP14 we have to set the Default Entry for Folder property to "yes" to make the 2nd level nav work. This could be another config issue in our environments but is following SP14 so far. Has anyone else sen this?
    Thanks,
    Doug Steckel
    Air Products & Chemicals

    Hi Daniel,
    NavStructure:
    ... -  Folder A
           - Page A <inv & defPage>
           - Page P1
           - Page P2
    If you click on folder A, you get the content of page A which for the end-user is not explicitely visible in navigation. So page A "is" the content of folder A.
    This is how web-like nav works, that you can click on a nav entry and that this entry has it's own content and not only the preset content of some sub entry.
    Hope it helps to understand what I meant
    Detlev

  • Workaround for scanner for HP 3055 running OSX Lion 10.7?

    Do you have a workaround for the HP Laserjet 3055/3050 all-in-one scanning ability for Mac OSX Lion 10.7?
    I am hitting the wall trying to find out how to enable the scanner to work?
    This question was solved.
    View Solution.

    You may try the following workaround, although i cannot guarantee it will work and may not be stable as expected:
    Enter System Preferences > Print & Scan, select the 3050 printer ant then click the Minus sign to remove it.
    Download the Mac OS 10.5 installation below by clicking the download button:
    http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=18...
    Make sure to skip the Setup Assistant and follow the steps till the installation completes.
    Perform the following steps in order to provide the Setup Assistant the right permissions to complete on Lion:
    1. From the Utilities folder, open the Terminal
    2. Type “sudo “ (with space) in the Terminal.
    3. Locate the HP Setup Assistant in folder Applications/HP LaserJet Software
    4. Right-click (Or CTRL + Letf click from the Apple keyoard) the HP Setup Assistant and choose “Show Package Contents”.
    5. Open the “Contents” folder and then the “MacOS” folder. It should contain the Unix Executable File of HP Setup Assistant.
    6. Drag the HP Setup Assistant (Unix Executable File) into the Terminal and press enter. Terminal will ask for the password of the user.
    7. After writing the password press Enter Button.
    Now follow the Setup Assistant Steps to complete.
    Good luck,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • File folder in web link

    As you know, we can define URL in web link assignment block . So  user touch the web link can direct to the URL. But now the user has a new requirement. User want to put the path of share file folder in web link, but should not  work.How to map the path of share file folder into URL? or how to put the path into web link? Thanks.

    Hi Ben,
    Yes, there are definitely security implications. It works ok with IE and FF if you are opening local folders. It won't work if you're trying to access files/folders from remote servers - we tried to open folders from other servers on our domains and it wouldn't do it.
    You can, as you say, edit settings to get around this (and, yes please, I'd like to see what settings you're changing). You can also "log in" to the remote system using login/password parameters in the url - but, as you quickly realise, this is even less secure!
    In some instances, you can get around it by changing the url slightly:
    file://localhost\c:/etc
    This sometimes tricks the browser into thinking you're accessing files from the local machine. Another alternative, which we couldn't use, was to map a drive on your machine - again, this only worked sometimes.
    I could not find a solution that worked in all situations. Fortunately, for us, we got our users to login to our networks remotely using F5 and this allowed access to files.
    Regards
    Andy

Maybe you are looking for