Inconsistent Files in XML Dynamic News Sample Application

The files are on these following sites:
http://otn.oracle.com/sample_code/tech/xml/xmlnews/Readme.html
http://otn.oracle.com/sample_code/tech/xml/xmlnews/install.html
The directory structure described in these 2 sites are not the same.
Customer is stuck on:
http://otn.oracle.com/sample_code/tech/xml/xmlnews/install.html
Extracting the application source code
The application files are stored in an archive named "xmlnews.jar". Download the archive, create a directory for the files
(for example, XMLNEWSDIR), then do the following steps.
Copy the "xmlsample.jar" from your downloaded directory to the XMLNEWSDIR directory
Set the current working directory to XMLNEWSDIR
Execute the following command to extract the files:
jar xvf xmlsample.jar
when extracting the jar drive the directory structure is not the same as in the documentation
Documentation states to extract the xmlsample.jar file which is not included on Oracle website. Can not locate xmlsample.jar - can not run sample application.
Need solving:
1. Which file runs the dynamic new application?
2. Where is the file located?

Hi,
apologies for not responding sooner, however this issue is unrelated to the Documentation directory that this forum was created to support.
Please use the Sample Code specific forum at: Sample Code
Regards,
Les

Similar Messages

  • Jar package for XML Dynamic News

    Where I will find *.jar package for XML Dynamic News?

    Hi,
    You have downloaded the old sample application. The latest XML Dynamic News application is certified for Oracle 9.2.0.2 database which uses Oracle XML DB and J2EE features. For the latest application sample jar to be uploaded, we are waiting for the patch release of database on OTN.
    We are sorry for the inconvenience caused and will keep you updated about the sample application release.
    Thank you.
    Savitha.

  • A question about Dynamic News Sample.

    I have encountered a error when I installed Dynamic News Sample and build it in JDeveloper3.1.
    The main environments are: Oracle8.1.6, Java1.2 , Oracle XML Parser2 for Java , Oracle XSU12.
    The error is:
    "method endElement(java.lang.object) not found in class
    oracle.xml.sql.docgen.OracleXMLDocGenDom."
    If you can help me, I will always remember you.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by wang wanding ([email protected]):
    I have encountered a error when I installed Dynamic News Sample and build it in JDeveloper3.1.
    The main environments are: Oracle8.1.6, Java1.2 , Oracle XML Parser2 for Java , Oracle XSU12.
    The error is:
    "method endElement(java.lang.object) not found in class
    oracle.xml.sql.docgen.OracleXMLDocGenDom."
    If you can help me, I will always remember you.
    <HR></BLOCKQUOTE>
    null

  • Two new sample applications based on SAP MII available on SDN

    I am glad to inform everyone that the following new SAP MII based sample applications have been release on SDN:
    1. Plant Data Collection(PDC) of Production Confirmation for shop floor operators:
    This application is designed to provide shop-floor operators a simple, intuitive and effective web-based user interface on a touch screen to enter the production performance easily and effectively. It comes with the capabilities to perform time-event production confirmation for both Production and Process Orders and the administrator can choose between two user-management modes for operators.
    To download this application and its documentation goto:
    https://www.sdn.sap.com/irj/scn/manufacturing-tools > Touch Screen Plant Data Collection (PDC) Project and Configuration Files
    2. Quality Control with SAP MII (Using SOA) :
    This represents an excellent show case for the ES bundle "Integration of QM Systems" which we have already delivered.You can use the content to support quality inspection and quality control along the supply chain. This application provides a lean user interface (UI) to retrieve, enter, and display the inspection results on the shop floor using the SAP enterprise services.
    To download this application and its documentation goto:
    https://www.sdn.sap.com/irj/scn/manufacturing-tools > Quality Control with SAP xMII (Using SOA)
    For any query, feedback or clarifications please feel free to contact me through my business card.

    Hello Srinivasa
    The Webservices configuration doc was not part of this project. But we are developing a kind of document for the field to know more about ES . It will be available by April 1 st week ( approx ) . Will update you later.
    If any queries :  contact directly at  karthikeyan.l at sap.com

  • Cannot upload csv file of customer data on sample application...

    Hi I am learning about APEX through the Oracle hosted site and I've been trying the data upload on the customers table.
    I downloaded the sample data from the customer table into a csv file using the apex download feature. I then just left the first row which
    contains the column names,deleted the other rows in the csv,except for one where I changed the data.
    When i try to upload the csv file back,using the sample app with comma as separator,and first row as column data, I get the error "Do not Load"
    in the column names although the row1 of the data displays correctly under each column.
    Here's the Copy and Paste text:
    "CUSTOMER_ID","CUST_FIRST_NAME","CUST_LAST_NAME","CUST_STREET_ADDRESS1","CUST_STREET_ADDRESS2","CUST_CITY","CUST_STATE",
    "CUST_POSTAL_CODE","PHONE_NUMBER1","PHONE_NUMBER2","CREDIT_LIMIT","CUST_EMAIL"
    "9","Rahul","Surname","46 Somewhere","Some Town","MyTown","MA","230","(230) 434-2443","(230) 733-4344","200","[email protected]"
    Can anyone help please?

    Hi again
    I did use a comma. I did it again just to be sure.
    Using the Data Workshop->Text Data and a csv file I was able to load the data without any problem.
    Using the same csv, but from the sample application,same problem. Pasting in the Data Field,same problem.
    Also I was trying to load about 20 records to another table from an Excel file,by copying the range and pasting in the Date Field of the Data Workshop.
    The rows displayed correctly in the Data Field but on loading,got "No Data Found".
    Saving the Excel data to a csv and again using the Data Workshop>Text Data >csv file etc,no problem at all,data was loaded instantly.
    The safest bet is to use the Data Workshop and a csv file,but thats only for developers.
    Probably a simple error somewhere ,but if (thats a big if) anyone could paste the data I posted earlier in the demo_customers and see if they have the same error,
    I would be grateful. Having endusers upload their Excel-based data is a central part of my planned site.Here it is again:
    "CUSTOMER_ID","CUST_FIRST_NAME","CUST_LAST_NAME","CUST_STREET_ADDRESS1","CUST_STREET_ADDRESS2","CUST_CITY","CUST_STATE",
    "CUST_POSTAL_CODE","PHONE_NUMBER1","PHONE_NUMBER2","CREDIT_LIMIT","CUST_EMAIL"
    "9","Rahul","Surname","46 Somewhere","Some Town","MyTown","MA","230","(230) 434-2443","(230) 733-4344","200","[email protected]".
    Regards

  • XML Dynamic news

    I am trying to extract the xmlsample jar. I get a exception raised, can anybody help?
    created: xmlnews/admin/
    extracted: xmlnews/admin/AdminServletHTML.java
    extracted: xmlnews/admin/MultipartHandler.java
    extracted: xmlnews/admin/NewsAdmin.jpr
    extracted: xmlnews/admin/RSSHandler.java
    extracted: xmlnews/admin/AdminServlet.java
    created: xmlnews/common/
    extracted: xmlnews/common/Common.jpr
    extracted: xmlnews/common/ConnectionParams.java
    extracted: xmlnews/common/DynNewsEnv.java
    extracted: xmlnews/common/GenUtility.java
    extracted: xmlnews/common/RequestHandler.java
    extracted: xmlnews/common/RequestParams.java
    extracted: xmlnews/common/UserPreference.java
    extracted: xmlnews/common/UserValidation.java
    java.io.EOFException: Unexpected end of ZLIB input stream
    at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:210)
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:133)
    at java.util.zip.ZipInputStream.read(ZipInputStream.java:142)
    at sun.tools.jar.Main.extractFile(Main.java:715)
    at sun.tools.jar.Main.extract(Main.java:678)
    at sun.tools.jar.Main.run(Main.java:191)
    at sun.tools.jar.Main.main(Main.java:904)

    I tried to extract with the following command
    jar -xvf xmlsample.jar
    My path settings are:
    C:\downloads\xml_dynamic_news>path
    PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\j2sdk1.4.0_01\bin
    I have tried to extract on three seperate machines and still get the
    same exception.
    Can anybody help with my problem?

  • Problem with packageing and deploying a sample application

    HI,
    I have tried to download and install the server in my system. I am able to deploy a sample application using autodeploy utility.
    But when i tried to package a new sample application and deploy i am getting 404 error. For application server i have used 7070 port and not the default 8080 port will this a problem to package & deploy sample application provided with this software.
    The error is as below:
    HTTP Status 404 - /hello1
    type Status report
    message /hello1
    description The requested resource (/hello1) is not available.
    Sun-Java-System/Application-Server

    Btw, verify that the url you are trying to access is correct. For instance, assuming you deploy app. without --contextroot option. By default,  the url is http://<host>:<port>/<web module name>/<value of url-pattern in web.xml> if your app contains servlet. If your app has jsp then it's http://<host>:<port>/<web module name>/<value of url-pattern in web.xml>/<name of jsp>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Dynamic News Error

    Hi guys,
    I am getting the following error when I try to search through the news articles in the Dynamic News Example that Oracle provides. I have no problem seeing categories, so I am connected to the database, but I don't understand why it would try to issue a rollback.
    java.sql.SQLException: calling rollback() is not allowed on a container-managed transactions Connection
         at com.evermind.sql.OrionCMTConnection.rollback(OrionCMTConnection.java:422)
         at com.evermind.sql.FilterConnection.rollback(FilterConnection.java:196)
         at com.evermind.server.ejb.DataSourceConnection.close(DataSourceConnection.java:155)
         at UsersLocal_CategoriesLocal_ORCollection27.getObjects(UsersLocal_CategoriesLocal_ORCollection27.java:126)
         at com.evermind.server.ejb.ORCollection.iterator(ORCollection.java:74)
         at oracle.otnsamples.xmlnews.business.UsersBean.getCategoryList(Unknown Source)
         at UsersLocal_EntityBeanWrapper16.getCategoryList(UsersLocal_EntityBeanWrapper16.java:2148)
         at oracle.otnsamples.xmlnews.services.UserServiceBean.getUserProfile(Unknown Source)
         at UserService_StatelessSessionBeanWrapper4.getUserProfile(UserService_StatelessSessionBeanWrapper4.java:1157)
         at oracle.otnsamples.xmlnews.controllers.UserController.authUserMainPage(U[i]Long postings are being truncated to ~1 kB at this time.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by wang wanding ([email protected]):
    I have encountered a error when I installed Dynamic News Sample and build it in JDeveloper3.1.
    The main environments are: Oracle8.1.6, Java1.2 , Oracle XML Parser2 for Java , Oracle XSU12.
    The error is:
    "method endElement(java.lang.object) not found in class
    oracle.xml.sql.docgen.OracleXMLDocGenDom."
    If you can help me, I will always remember you.
    <HR></BLOCKQUOTE>
    null

  • XML Flight Finder Sample - Again

    Oracle XSQL Servlet Page Processor 1.0.0.0 (Production)
    XSQL-007: Cannot acquire a database connection to process page.
    Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    i still get the above error
    i have downloaded OracleXSU12 & the pkgs are
    loaded in the fly schema. also copied over
    also copied over xmlparserv2.jar & xsu12.jar
    to the c:\xsql\lib dir.....
    now what else do i need to do to get this to run ??
    if anyone can outline the exact steps i'd appreciate it
    thanx
    pete
    btw in response to roberts posting ...theres
    no firewall or proxy the oracle box is sitting below my desk

    Hi,
    I have just downloaded the project and I have tried to install on my notebook.
    I have modified the .bat correctly but when I have started it, the WTG respond me with this message:
    WTG-10109: Web-to-go could not locate requested URL
    Web-to-go could not locate requested URL /xsql/index.html
    Please contact the application vendor
    is there anything that I have forgotten?
    thanks!
    Pier Paolo.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Robert Hall ([email protected]):
    The XML Flight Finder sample application uses Oracle8i's XML capabilities to generate flight information for PCs, PDAs and cell phones. See how it's built using Oracle's XSQL Servlet.
    To read more and download the source code, visit: http://technet.oracle.com/software/index.htm
    Feel free to post questions, comments, etc., in this thread.
    Thanks,
    -rh<HR></BLOCKQUOTE>
    null

  • XML Flight Finder sample app

    The XML Flight Finder sample application uses Oracle8i's XML capabilities to generate flight information for PCs, PDAs and cell phones. See how it's built using Oracle's XSQL Servlet. To read more and download the source code, visit: http://technet.oracle.com/software/index.htm
    Please post questions, comments, etc., in the OTN Sample Code forum.
    Thanks,
    -rh

    Hi,
    I have just downloaded the project and I have tried to install on my notebook.
    I have modified the .bat correctly but when I have started it, the WTG respond me with this message:
    WTG-10109: Web-to-go could not locate requested URL
    Web-to-go could not locate requested URL /xsql/index.html
    Please contact the application vendor
    is there anything that I have forgotten?
    thanks!
    Pier Paolo.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Robert Hall ([email protected]):
    The XML Flight Finder sample application uses Oracle8i's XML capabilities to generate flight information for PCs, PDAs and cell phones. See how it's built using Oracle's XSQL Servlet.
    To read more and download the source code, visit: http://technet.oracle.com/software/index.htm
    Feel free to post questions, comments, etc., in this thread.
    Thanks,
    -rh<HR></BLOCKQUOTE>
    null

  • Create a new web application, how shall I update the file server.xml

    Hi,
    I will create a new web application, i.e named newApp. Then I create a file structure as follows:
    - <server-root>/newApp
    - <server-root>/newApp/WEB-INF
    - <server-root>/newApp/WEB-INF/classes
    Then I must tell the server that I have created a new web application. Then I must update my file server.xml, How shall I do this and where in the file shall I type in the new information?
    I use windows XP Pro, and Tomcat 4.1.27.
    My server.xml file looks like below:
    <!-- 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" debug="0">
    <!-- Comment these entries out to disable JMX MBeans support -->
    <!-- You may also configure custom components (e.g. Valves/Realms) by
    including your own mbean-descriptor file(s), and setting the
    "descriptors" attribute to point to a ';' seperated list of paths
    (in the ClassLoader sense) of files to add to the default list.
    e.g. descriptors="/com/myfirm/mypackage/mbean-descriptor.xml"
    -->
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
    debug="0"/>
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
    debug="0"/>
    <!-- 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">
    </Resource>
    <ResourceParams name="UserDatabase">
    <parameter>
    <name>factory</name>
    <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
    </parameter>
    <parameter>
    <name>pathname</name>
    <value>conf/tomcat-users.xml</value>
    </parameter>
    </ResourceParams>
    </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="Tomcat-Standalone">
    <!-- 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 4.0 documentation bundle for more detailed
    instructions):
    * 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 Coyote HTTP/1.1 Connector on port 8080 -->
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8080" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="100" debug="0" connectionTimeout="20000"
    useURIValidationHack="false" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to -1 -->
    <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8443" minProcessors="5" maxProcessors="75"
    enableLookups="true"
    acceptCount="100" debug="0" scheme="https" secure="true"
    useURIValidationHack="false" disableUploadTimeout="true">
    <Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
    clientAuth="false" protocol="TLS" />
    </Connector>
    -->
    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8009" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" connectionTimeout="0"
    useURIValidationHack="false"
    protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <!--
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
    port="8009" minProcessors="5" maxProcessors="75"
    acceptCount="10" debug="0"/>
    -->
    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8082" minProcessors="5" maxProcessors="75"
    enableLookups="true"
    acceptCount="100" debug="0" connectionTimeout="20000"
    proxyPort="80" useURIValidationHack="false"
    disableUploadTimeout="true" />
    -->
    <!-- Define a non-SSL legacy HTTP/1.1 Test Connector on port 8083 -->
    <!--
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
    port="8083" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" />
    -->
    <!-- Define a non-SSL HTTP/1.0 Test Connector on port 8084 -->
    <!--
    <Connector className="org.apache.catalina.connector.http10.HttpConnector"
    port="8084" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" />
    -->
    <!-- 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 JK/JK2 ie :
    <Engine name="Standalone" defaultHost="localhost" debug="0" jmvRoute="jvm1">
    -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Standalone" defaultHost="localhost" debug="0">
    <!-- 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.3
    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"/>
    -->
    <!-- Global logger unless overridden at lower levels -->
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="catalina_log." suffix=".txt"
    timestamp="true"/>
    <!-- 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"
    debug="0" 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" debug="99"
    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" debug="99"
    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" debug="99"
    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 -->
    <Host name="localhost" debug="0" appBase="webapps"
    unpackWARs="true" autoDeploy="true">
    <!-- 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"
    debug="0"/>
    -->
    <!-- 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"/>
    -->
    <!-- Logger shared by all Contexts related to this virtual host. By
    default (when using FileLogger), 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.-->
    <Logger className="org.apache.catalina.logger.FileLogger"
    directory="logs" prefix="localhost_log." suffix=".txt"
    timestamp="true"/>
    <!-- Define properties for each web application. This is only needed
    if you want to set non-default properties, or have web application
    document roots in places other than the virtual host's appBase
    directory. -->
         <DefaultContext reloadable="true"/>
    <!-- Tomcat Root Context -->
    <Context path="" docBase="ROOT" debug="0"/>
    <!-- Tomcat Examples Context -->
    <Context path="/examples" docBase="examples" debug="0"
    reloadable="true" crossContext="true">
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="localhost_examples_log." suffix=".txt"
    timestamp="true"/>
    <Ejb name="ejb/EmplRecord" type="Entity"
    home="com.wombat.empl.EmployeeRecordHome"
    remote="com.wombat.empl.EmployeeRecord"/>
    <!-- If you wanted the examples app to be able to edit the
    user database, you would uncomment the following entry.
    Of course, you would want to enable security on the
    application as well, so this is not done by default!
    The database object could be accessed like this:
    Context initCtx = new InitialContext();
    Context envCtx = (Context) initCtx.lookup("java:comp/env");
    UserDatabase database =
    (UserDatabase) envCtx.lookup("userDatabase");
    -->
    <!--
    <ResourceLink name="userDatabase" global="UserDatabase"
    type="org.apache.catalina.UserDatabase"/>
    -->
    <!-- PersistentManager: Uncomment the section below to test Persistent
    Sessions.
    saveOnRestart: If true, all active sessions will be saved
    to the Store when Catalina is shutdown, regardless of
    other settings. All Sessions found in the Store will be
    loaded on startup. Sessions past their expiration are
    ignored in both cases.
    maxActiveSessions: If 0 or greater, having too many active
    sessions will result in some being swapped out. minIdleSwap
    limits this. -1 or 0 means unlimited sessions are allowed.
    If it is not possible to swap sessions new sessions will
    be rejected.
    This avoids thrashing when the site is highly active.
    minIdleSwap: Sessions must be idle for at least this long
    (in seconds) before they will be swapped out due to
    activity.
    0 means sessions will almost always be swapped out after
    use - this will be noticeably slow for your users.
    maxIdleSwap: Sessions will be swapped out if idle for this
    long (in seconds). If minIdleSwap is higher, then it will
    override this. This isn't exact: it is checked periodically.
    -1 means sessions won't be swapped out for this reason,
    although they may be swapped out for maxActiveSessions.
    If set to >= 0, guarantees that all sessions found in the
    Store will be loaded on startup.
    maxIdleBackup: Sessions will be backed up (saved to the Store,
    but left in active memory) if idle for this long (in seconds),
    and all sessions found in the Store will be loaded on startup.
    If set to -1 sessions will not be backed up, 0 means they
    should be backed up shortly after being used.
    To clear sessions from the Store, set maxActiveSessions, maxIdleSwap,
    and minIdleBackup all to -1, saveOnRestart to false, then restart
    Catalina.
    -->
    <!--
    <Manager className="org.apache.catalina.session.PersistentManager"
    debug="0"
    saveOnRestart="true"
    maxActiveSessions="-1"
    minIdleSwap="-1"
    maxIdleSwap="-1"
    maxIdleBackup="-1">
    <Store className="org.apache.catalina.session.FileStore"/>
    </Manager>
    -->
    <Environment name="maxExemptions" type="java.lang.Integer"
    value="15"/>
    <Parameter name="context.param.name" value="context.param.value"
    override="false"/>
    <Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
    type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/EmployeeAppDb">
    <parameter><name>username</name><value>sa</value></parameter>
    <parameter><name>password</name><value></value></parameter>
    <parameter><name>driverClassName</name>
    <value>org.hsql.jdbcDriver</value></parameter>
    <parameter><name>url</name>
    <value>jdbc:HypersonicSQL:database</value></parameter>
    </ResourceParams>
    <Resource name="mail/Session" auth="Container"
    type="javax.mail.Session"/>
    <ResourceParams name="mail/Session">
    <parameter>
    <name>mail.smtp.host</name>
    <value>localhost</value>
    </parameter>
    </ResourceParams>
    <ResourceLink name="linkToGlobalResource"
    global="simpleValue"
    type="java.lang.Integer"/>
    </Context>
    </Host>
    </Engine>
    </Service>
    </Server>

    To use servlets u have indeed to update your web.xml...Well I'm not sure this is relevant to your case anyway.
    You have to add a <servlet> element to this file.
    Something like this:
    <servlet>
    <servlet-name>blabla</servlet-name>
    <servlet-class>blablapackage.Blablaclass</servlet-class>
    <init-param>...</init-param>
    </servlet>
    Now this may not solve your problem. Make sure you refer to your servlets using their full qualified names.btw, just to be sure, what is your definition of "servlet"? (i mean: any java class or only javax.servlet.Servlet)

  • How to read an xml file in OSB using file protocol where reading file path is dynamic.

    HI,
    We have to read a xml file from a location and write into Db.
    Here reading file location is dynamic .
    Please suggest

    Hi
    With open dataset you can open any file on the application server. So it should be working, but maybe you are looking for:
    CALL TRANSFORMATION my_transformation
           SOURCE  XML xml_string
           RESULT  ROOT1 = field1
                   ROOT2 = field2.
    Best regards,
    Guido Koopmann

  • Help with delivering dynamic text through an external file, through XML?

    I'm struggling to find the best way to deliver dynamic text
    from an external file, through XML, to a Flash file.
    I use small Flash pieces to deliver multiple sets of content
    through a single .swf file. An example is here:
    http://www.esi-intl.com/public/government/federal.asp
    In the .swf file at the bottom, I'm using a three-scene .fla
    file. I'm putting the actionScript in the Actions layer atop each
    frame. Example:
    stop ();
    loadVarsText = new LoadVars();
    loadVarsText.load("fedNews.txt");
    //assign a function which fires when the data is loaded:
    loadVarsText.onLoad = function(success) {
    if (success) {
    trace("done loading");
    //Now that we know the data is loaded,
    //set the text content of the Text Field
    //with the instance name "scroller" equal to the
    //contents of the variable
    scroller.html=true;
    scroller.htmlText = this.var1;
    } else {
    trace("not loaded");
    In that .txt file, I'm putting the information like this:
    var1=<font face="tahoma,verdana,sans-serif" size="11px"
    color="#000000"><b><a href='
    http://www.esi-intl.com/public/classroomtraining/dau.asp'>DAU
    Grants ESI Course CON353
    Equivalency</a></b><br>Advanced Business Solution
    in Contracting (CON 353) is an equivalency for DAU's CON 3535
    course, Advanced Business Solutions for Mission Support. <a
    href='
    http://www.esi-intl.com/public/classroomtraining/dau.asp'><U><font
    color="#996633">Continue</font></U></a></font>
    So much of this is pick-ups from what I've researched in
    Google. I'm looking for a way I can feel more confident in my code,
    and also have that code follow CSS.
    Lastly, I recognize the problems in XML with using single
    quotes / double quotes, and the & symbol. This is one of my
    largest time sucks, and I'd like to find a better way to do this.
    Thank you

    Hi,
    Did you ever find a resolution to this? I'm having a similar
    issue that I can't seem to get multiline dynamic text working in
    CS3.
    The font is embedded but it just displays the first line, and
    then a blank. I'm sure this worked fine in Flash MX.
    Cheers, Ant

  • Connecting a CSS doc to an XML file, in a dynamic text field in Flash

    Hi all,
    I am trying to connect a CSS file such that it applies it
    self to the content of an XML file, viewed inside a dynamic text
    field. So far I have managed to gather the code that "calls" the
    contents of the XML file and also the code that calls the CSS file.
    However, when I test the flash movie I get "undefined" instead of
    the actual copy.
    Attached then is the the AS code, XML file, and CSS file. I
    hope you could help me connect everything together.
    And of course, THANKS!!
    -----AC------
    Scrolling Text XML by Digital Science |
    www.digitalscience.za.org
    /////////////Load XML Data/////////////
    function loadXML(loaded) {
    if (loaded) {
    xmlNode = this.firstChild;
    header = [];
    txt = [];
    total = xmlNode.childNodes.length;
    for (i=0; i<total; i++) {
    header
    = xmlNode.childNodes.childNodes[0].firstChild.nodeValue;
    txt
    = xmlNode.childNodes.childNodes[1].firstChild.nodeValue;
    gotoAndStop(11);
    } else {
    errorMsg.text = "Error loading XML";
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("ewmn_content.xml");
    stop();
    import TextField.StyleSheet;
    var ss:StyleSheet = new StyleSheet();
    ss.onLoad = function() {
    txt_mc.styleSheet=this; // where yourTF is your textfield
    ss.load("jokes.css"); // where yourSS.css is your css file.
    -----XML----------
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/css" href="jokes.css"?>
    <JOKES>
    <ONE>Tirza Sapir</ONE>
    <JOKE>Founder and choreographer of the RikudNetto dance
    group, teacher and lecturer, researcher, documenter and
    choreographer within the framework of Eshkol-Wachman Movement
    Notation. She was Head of the School of the Arts of Dance at the
    Seminar Hakibbutzim College of Education, 2000–2007, where
    she established the Dance Theatre and the Practicing Teachers
    courses, and specialized training in Teaching and Treatment of
    Learning Disabilities by means of Eshkol-Wachman Movement Notation.
    She has written three books containing the movement scores of dance
    suites: Birds, Landscapes, and Hanukka Notebooks. Member of the
    Movement Notation Society, 1968–2008. Student and colleague
    of the late Professor Noa Eshkol who was the co-founder and
    inventor of Eshkol-Wachman Movement Notation.</JOKE>
    <ONE>Sharon Reshef-Armony</ONE>
    <JOKE>Head of the School for the Arts of dance at the
    Kibbutzim College of Education in Tel Aviv. Teaches EWMN,
    dance-theatre and composition. Choreographer of theatre plays and
    film. Selected works: Hunger (Tmuna Theatre 2003-09), Film - Live
    (Haifa Theatre 2007-08), Yakish &amp; Pupche (Gesher Theatre
    2007-09), Children of a lesser God (Beer Sheva Theatre 2008-09).
    M.Ed (1997) from Lesley College MA in Creative Arts in Learning.
    Doctoral student at ResCen, Middlesex University/ London.
    Dancing in Rikudnetto group since 1990.</JOKE>
    <ONE>Tally Ronen</ONE>
    <JOKE>M.Ed. at Lesley University in Integrating Arts in
    Learning.
    Educational instructor at Kibbutzim College of Education and
    teaching dance in schools and at Clore Center, Upper Galilee. Dance
    choreographer for children.
    Dancing in Rikudnetto group since 1991.</JOKE>
    <ONE>Nira Al-Dor, Ph.D</ONE>
    <JOKE>20 years of Teaching EWMN at the School of the
    Dance Arts in Kibbuzim College of Education and at the School of
    Arts in Tel Aviv. Her study was focused on the impact of learning
    EWMN on the development of coordination.
    Dancing in Rikudnetto group since 1986.</JOKE>
    <ONE>Henner Drewes</ONE>
    <JOKE>Lectures at the Kibbutzim College of Education in
    Tel Aviv on dance and notation related technology. In 2008 he
    started working as a research assistant at Salzburg University in
    the project Visualizing Dance Archives.
    He was awarded the Tanzwissenschaftwpreis NRW, Germany 2006
    for his research on 3D representation of movement and notation.
    Ph.D. (2002) at the University of Leipzig. He is the author
    of the software EW Notator, a 'word-processor' for creating EWMN
    scores.</JOKE>
    <ONE>Shlomit Ofer</ONE>
    <JOKE>M.A. at Haifa University at the Faculty of
    Education with distinction, and currently doctoral student there.
    Educational instructor and teacher of EWMN at Kibbutzim
    College of Education. Staging performances of dance theatre in the
    community.
    Dancing in Rikudnetto group since 1993.</JOKE>
    <ONE>Lilach Shalit</ONE>
    <JOKE>M.A. in Expressive Therapies with specialization
    in dance-movement therapy at Lesley University.
    Educational instructor and teacher of EWMN in the course for
    Dance-Theatre at Kibbutzim College of Education. Also teaching EWMN
    in the School for Advanced Studies of the college, course for
    Learning Disabilities, and at Orot College.
    Dance-movement therapist and team coordinator at 'Tom' school
    for learning disabilities and owner of a private clinic for
    dance-movement therapy.
    Dancing in Rikudnetto group since 1998.</JOKE>
    <ONE>Michal Manor-Amir</ONE>
    <JOKE>M.A. at the University of Leeds (Bretton Hall
    College and Israel Extention) in Arts Education specialization in
    Dance. Doctoral student at the Hebrew University of Jerusalem, in
    the Faculty of Humanities, the School of Education.
    Teaching movement in the Kibbutzim College of Education
    within preparatory courses of Dance, Dance-Theatre and within the
    Preschool course.
    A corrective teacher through movement and EWMN in elementary
    and high schools, and a national teacher-instructor at the dance
    supervisor's office in the Israeli ministry of education.
    Dancing in Rikudnetto group since 1998.</JOKE>
    <ONE>Amit Chesny-Bahari</ONE>
    <JOKE>B.Ed. at Kibbutzim College of Education.
    Teaching movement and dance to preschool and high school
    children.
    Dancing in Rikudnetto group since 2004.</JOKE>
    <ONE>Orly Yaakov</ONE>
    <JOKE>B.Ed. at Kibbutzim College of Education, and
    graduating from the special education faculty.
    Teaching EWMN and creative movement at elementary schools as
    well as special education school for children ages 6-21 with medium
    to deep retardation. Also teaching creative movement and
    preparation for ballet to preschool children.
    Dancing in Rikudnetto group since 2006.</JOKE>
    </JOKES>
    ------CSS-----
    JOKE
    COLOR: #333333;
    DISPLAY: block;
    FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
    WHITE-SPACE: normal;
    font-size: 11px;
    MARGIN-BOTTOM: 15px;
    BODYBLD
    COLOR: #990000;
    DISPLAY: block;
    FONT-SIZE: 11pt;
    FONT-WEIGHT: bold;
    MARGIN-BOTTOM: 0px
    BODYBOLDUN
    COLOR: #00CCFF;
    DISPLAY: block;
    LINE-HEIGHT: normal;
    MARGIN-BOTTOM: 10px;
    TEXT-ALIGN: left;
    font-size: 11px;
    text-decoration: underline;
    font-weight: bold;
    ONE
    COLOR: #00CCFF;
    DISPLAY: block;
    LINE-HEIGHT: normal;
    TEXT-ALIGN: left;
    font-size: 14px;
    font-weight: bold;
    white-space: normal;
    QUESTION
    COLOR: red;
    DISPLAY: block;
    FONT-FAMILY: Arial;
    FONT-SIZE: larger;
    FONT-VARIANT: normal
    TITLE
    COLOR: black;
    DISPLAY: block;
    FONT-FAMILY: 'Arial Black';
    FONT-SIZE: 14pt
    CATEGORY
    FONT-FAMILY: Arial;
    FONT-SIZE: 8pt;
    FONT-VARIANT: small-caps;
    TEXT-TRANSFORM: uppercase

    In essence you can just do:
    TextField.text = XML.node1 + XML.node2;

  • ANN : New Oracle XDK 10g Sample Application

    Hello,
    Check out this new Oracle XDK 10g Sample Application at http://otn.oracle.com/sample_code/tech/xml/index.html that demonstrates the Unicode Support of XDK using the scenario of a Real Estate Portal. This sample application also discusses the XSLT Extensions and illustrates the following features:
    - Encoding XML documents in different character sets ( UTF-8, UTF-16, ISO-8859-1 )
    - Sending and receiving XML documents over HTTP along with character encoding information
    - Using single style-sheet for multilingual HTML page generation with the help of XSLT extension function facility provided by Oracle XDK 10g
    - Storing XML documents in XMLType column of Oracle database along with appropriate encoding
    - Generating XML documents on using Oracle XDK 10g DOM API's along with encoding attribute
    The sample application supports two languages; English and French.
    Regards,
    OTN Team

    I have got the following error when i run the WebServicesAssembler.jar
    D:\Oracle\Oc4j\j2ee\home>java -jar d:/oracle/oc4j/webservices/lib/WebServicesAss
    embler.jar -config etc/config.xml
    Exception in thread "main" java.util.zip.ZipException: The system cannot find th
    e path specified
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:105)
    at java.util.jar.JarFile.<init>(JarFile.java:110)
    at java.util.jar.JarFile.<init>(JarFile.java:52)
    D:\Oracle\Oc4j\j2ee\home>java -jar WebServicesAssembler.jar -config etc/config.x
    ml
    Exception in thread "main" java.lang.InstantiationException: Unknown deployment
    tag in JMS Web Service Example: <option>
    at com.evermind.xml.XMLConfig.parseDeploymentMainNode(XMLConfig.java:293
    at oracle.j2ee.ws.tools.WsAssemblerConfig.parseDeploymentMainNode(WsAsse
    mblerConfig.java:68)
    at com.evermind.xml.XMLConfig.parseRootNode(XMLConfig.java:268)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java:147)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java:88)
    at oracle.j2ee.ws.tools.WsAssemblerConfig.init(WsAssemblerConfig.java:30
    at oracle.j2ee.ws.tools.WsAssembler.main(WsAssembler.java:17)

Maybe you are looking for

  • Windows 8.1 is not connecting tih LWAPs

    Hi We are running WLCM  NME-AIR-WLC6-K9 with software version 7.0.230.0 It is working perfectly up to windows 8.0  Now problem is with windows 8.1 systems, not even a single laptop getting connection of Wifi. Please suggest if any upgrade is required

  • Odd latch: buffer busy waits results

    I'm looking at a database where OEMGC shows a bad concurrency issue and users report response times of as much as 5 minutes per query. I reviewed Note: 42152.1 which pointed me to Note: 163424.1. Running this, I'm seeing cases where the latch request

  • Is HS Generic Connectivity(db2/400 odbc) supports Distributed Transaction?

    hi, Is HS Generic Connectivity(db2/400 odbc) supports Distributed Transaction? I am getting an error as follows "ORA-02047 cannot join the distributed transaction in progress" when i am trying a transaction, which is inserting in to db2/400 and updat

  • Startup Problem in Windows 2003 Server

    Hi, I was using oracle 9.0.2 with Windows 2003 & i had to format & re-install my machine. Then I tried to install 9i Application Server & failed in between. But I noticed that the setup has already installed oracle 8i database instance. Then I quit c

  • CS3 Template help

    Hello. I'm going to use one particular template (3 column elastic) as an example in my question, but there's several similar ones that would work... So, if I go to "File"--->"New" and choose "Blank Page"--->"HTML"--->"3 column elastic", the page that