Recreate server.xml file

When I copy class files for a seeded application from the server to my JDev project, there are some instances where there is no server.xml file. How do I recreate this?

Thanks both of you.
I tried this for $JAVA_TOP/oracle/apps/okc/schema/repository/authoring/server on the Apps server. There is no server.xml file there. So, I
1. copied all the files in the server directory to %JDEV_USER_HOME%\myclasses\oracle\apps\okc\schema\repository\authoring\server
2. created the package oracle.apps.okc.schema.repository.authoring.server.
3. highlighted the package in the JDev Navigator
4. Selected all the files in %JDEV_USER_HOME%\myclasses\oracle\apps\okc\schema\repository\authoring\server and did File->Open
The generated server.xml file is essentially empty -- it does not contain any reference to the files in the directory. Does this matter? Here is the generated server.xml:
<?xml version="1.0" encoding='windows-1252'?>
<!DOCTYPE JboPackage SYSTEM "jbo_03_01.dtd">
<JboPackage
Name="server"
SeparateXMLFiles="true"
PackageName="oracle.apps.okc.schema.repository.authoring.server" >
<DesignTime>
<Attr Name="_version" Value="9.0.3.14.00" />
<Attr Name="_ejbPackage" Value="false" />
</DesignTime>
</JboPackage>
Edited by: user522137 on Apr 2, 2009 11:23 AM
Edited by: user522137 on Apr 2, 2009 11:36 AM

Similar Messages

  • Auto Update of Server.xml file

    Hi
    i'm running JDev 9i (9.0.2) with oc4j server (also 9.0.2).
    I have one project containg Stateless Session bean (WizDecodeCodes)
    I have also another project that calls this Bean. (From Servlet)
    This works fine when you manually update the Parent attribute in the Server.XML file on OC4J after Every deployment.
    Is there a way to configure Jdev to do dependancy updates like this when deploying?
    Tks
    andre

    HI Curt
    At this stage I have only got 1 JSP calling about 10 Servlets with only 2 of the Servlets calling the Single EJB that I have. Only started of with this.
    Found that without the parent entry in the Server.XML file, the Servlet runs fine with the EJB from JDev but the moment you deploy to the same App Server it fails without the Parent entry.
    I'm now starting on more advanced EJB's and it doesn't look that rosy if I look at this problem.
    The other thing is that JDev always adds the last project deployed to the end of the Server.xml file, even if it was deployed before.
    Thus making the sequence of deployement, update of Server.xml file in the correct sequence, etc a real nightmare when the applications grow.
    Any suggestions on how to keep this up to date is welcome. We haven't got a Deployment guy so we have to do all this ourselves!
    Cheers
    Andre

  • Purpose of server.xml file

    Hi,
    What is the purpose of server.xml in R12 file in single middle tier architecture and multi-tier architecture.
    I noticed that server.xml file getting updated continuously.
    Is its normal behavior ?
    Thanks

    Hi;
    Please see:
    http://oracle.anilpassi.com/extend-oa-framework-in-r12-2.html
    http://learnwithme11g.wordpress.com/tag/server-xml/
    http://www.orabyte.com/whitePapers/Surender_Sara_R12_New_Features_AppsDBA.ppt
    Also see:
    How To Generate Server.Xml Required To Make Modifications To Seeded VO/EO/AM [ID 968014.1]
    Need Server.Xml File For All HR Modules [ID 790169.1]
    Knowledge Base "Server.Xml" Files For OA Customization [ID 461173.1]
    Regard
    Helios

  • Does anyone have a good server.xml file for tomcat?

    I am trying to link apache and tomcat on a RedHat 9 computer. I previously posted a message stating that I could not get tomcat to "automagically" make the configuration files (mod_jk.conf-auto) that all the manuals promised it would. However, I found that my problem was the lack of an ApacheConfig tag in the server.xml file. After looking at my server.xml file, I found that it was much more simplistic than I would hoped = it did not have enough comments or commented out options. It had none of the directives that the manuals said it included by default.
    In short, does anyone who has apache and tomcat linked have a server.xml file that I can look at so that I can figure out what I must add to mine to get tomcat working with apache? I would greatly appreciate it if you could copy and paste the whole thing here.
    Thank you very much in advance.
    Edward S. Rice

    Hi!
    I am having the Apache-Tomcat4.0 version installed on a Win2000 machine. I am pasting here my server.xml. Hope it will be useful to you. I even didnot do much modifications to my server.xml except for adding a context.
    Please come back if problem persists.
    <!-- 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">
    <!-- 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 HTTP/1.1 Connector on port 8080 -->
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
    port="8080" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" connectionTimeout="60000"/>
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to -1 -->
    <!-- Define an SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
    port="8443" minProcessors="5" maxProcessors="75"
    enableLookups="true"
         acceptCount="10" debug="0" scheme="https" secure="true">
    <Factory className="org.apache.catalina.net.SSLServerSocketFactory"
    clientAuth="false" protocol="TLS"/>
    </Connector>
    -->
    <!-- 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 8081 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
    port="8081" minProcessors="5" maxProcessors="75"
    enableLookups="true"
    acceptCount="10" debug="0" connectionTimeout="60000"
    proxyPort="80"/>
    -->
    <!-- Define a non-SSL HTTP/1.0 Test Connector on port 8082 -->
    <!--
    <Connector className="org.apache.catalina.connector.http10.HttpConnector"
    port="8082" 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). -->
    <!-- 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 -->
    <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?user=test;password=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?user=scott;password=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">
    <!-- 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"/>
    <!-- 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. -->
    <!-- Tomcat Root Context -->
    <!--
    <Context path="" docBase="ROOT" debug="0"/>
    -->
              <Context path="/vijay" docBase="D:\Java\servlets" debug="0"/>
    <!-- Tomcat Manager Context -->
    <Context path="/manager" docBase="manager"
    debug="0" privileged="true"/>
    <!-- Tomcat Examples Context -->
    <Context path="/examples" docBase="examples" debug="0"
    reloadable="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"/>
    <!-- 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 means unlimited sessions are allowed.
    0 means sessions will almost always be swapped out after
    use - this will be noticeably slow for your users.
    minIdleSwap: Sessions must be idle for at least this long
    (in seconds) before they will be swapped out due to
    maxActiveSessions. This avoids thrashing when the site is
    highly active. -1 or 0 means there is no minimum - sessions
    can be swapped out at any time.
    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>user</name><value>sa</value></parameter>
    <parameter><name>password</name><value></value></parameter>
    <parameter><name>driverClassName</name>
    <value>org.hsql.jdbcDriver</value></parameter>
    <parameter><name>driverName</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>
    </Context>
    </Host>
    </Engine>
    </Service>
    <!-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0
    as its servlet container. Please read the README.txt file coming with
    the WebApp Module distribution on how to build it.
    (Or check out the "jakarta-tomcat-connectors/webapp" CVS repository)
    To configure the Apache side, you must ensure that you have the
    "ServerName" and "Port" directives defined in "httpd.conf". Then,
    lines like these to the bottom of your "httpd.conf" file:
    LoadModule webapp_module libexec/mod_webapp.so
    WebAppConnection warpConnection warp localhost:8008
    WebAppDeploy examples warpConnection /examples/
    The next time you restart Apache (after restarting Tomcat, if needed)
    the connection will be established, and all applications you make
    visible via "WebAppDeploy" directives can be accessed through Apache.
    -->
    <!-- Define an Apache-Connector Service -->
    <Service name="Tomcat-Apache">
    <Connector className="org.apache.catalina.connector.warp.WarpConnector"
    port="8008" minProcessors="5" maxProcessors="75"
    enableLookups="true"
    acceptCount="10" debug="0"/>
    <!-- Replace "localhost" with what your Apache "ServerName" is set to -->
    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
    name="Apache" debug="0" appBase="webapps">
    <!-- Global logger unless overridden at lower levels -->
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="apache_log." suffix=".txt"
    timestamp="true"/>
    <!-- Because this Realm is here, an instance will be shared globally -->
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    </Engine>
    </Service>
    </Server>

  • Server.xml file

    Hey Guys
    Can anyone send me the server.xml file in the SOA_HOME/j2ee/home/config/ folder.
    Actually I messed up my server.xml file...
    Please HELP...Thanks

    Hi,
    so you want the server.xml for the integration container... This is in my installation not the home container:
    <?xml version="1.0"?>
    <application-server xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/application-server-10_1.xsd" localhostIsAdmin="true"
    application-directory="../applications"
    check-for-updates="adminClientOnly"
    deployment-directory="../application-deployments"
    connector-directory="../connectors"
    schema-major-version="10" schema-minor-version="0" >
    <shared-library name="global.libraries" version="1.0" library-compatible="true">
    <code-source path="../applib"/>
    </shared-library>
    <shared-library name="global.tag.libraries" version="1.0" library-compatible="true">
    <code-source path="../../home/jsp/lib/taglib/"/>
    <code-source path="../../../j2ee/home/jsp/lib/taglib/"/>
    <code-source path="../../../lib/dsv2.jar"/>
    <import-shared-library name="oracle.xml"/>
    <import-shared-library name="oracle.jdbc"/>
    <import-shared-library name="oracle.cache"/>
    <import-shared-library name="soap"/>
    </shared-library>
    <shared-library name="oracle.persistence" version="1.0" library-compatible="true">
    <code-source path="../../../toplink/jlib/toplink-essentials.jar"/>
    <import-shared-library name="oracle.jdbc"/>
    </shared-library>
    <shared-library name="oracle.expression-evaluator" version="10.1.3.1" library-compatible="true">
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/commons-el.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/oracle-el.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/jsp-el-api.jar"/>
    </shared-library>
    <shared-library name="adf.oracle.domain" version="10.1.3.1" library-compatible="true">
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/BC4J/lib"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/commons-cli-1.0.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/mds/lib/concurrent.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/mds/lib/mdsrt.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/share.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/regexp.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/xmlef.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/BC4J/jlib/adfmtl.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/BC4J/jlib/adfui.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/BC4J/jlib/adf-connections.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/BC4J/jlib/dc-adapters.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/ord/jlib/ordim.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/ord/jlib/ordhttp.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/ojmisc.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/jdev-cm.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/lib/xsqlserializers.jar"/>
    <import-shared-library name="oracle.xml"/>
    <import-shared-library name="oracle.jdbc"/>
    <import-shared-library name="oracle.gdk"/>
    <import-shared-library name="oracle.cache"/>
    <import-shared-library name="oracle.dms"/>
    <import-shared-library name="oracle.sqlj"/>
    <import-shared-library name="oracle.toplink"/>
    <import-shared-library name="oracle.ws.core"/>
    <import-shared-library name="oracle.ws.client"/>
    <import-shared-library name="oracle.xml.security"/>
    <import-shared-library name="oracle.ws.security"/>
    <import-shared-library name="oracle.ws.reliability"/>
    <import-shared-library name="oracle.jwsdl"/>
    <import-shared-library name="oracle.http.client"/>
    <import-shared-library name="oracle.expression-evaluator"/>
    </shared-library>
    <shared-library name="adf.generic.domain" version="10.1.3.1" library-compatible="true">
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/BC4J/jlib/bc4jdomgnrc.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/BC4J/lib"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/commons-cli-1.0.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/mds/lib/concurrent.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/mds/lib/mdsrt.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/share.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/regexp.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/xmlef.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/BC4J/jlib/adfmtl.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/BC4J/jlib/adfui.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/BC4J/jlib/adf-connections.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/BC4J/jlib/dc-adapters.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/ord/jlib/ordim.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/ord/jlib/ordhttp.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/ojmisc.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/jdev-cm.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/lib/xsqlserializers.jar"/>
    <import-shared-library name="oracle.xml"/>
    <import-shared-library name="oracle.jdbc"/>
    <import-shared-library name="oracle.gdk"/>
    <import-shared-library name="oracle.cache"/>
    <import-shared-library name="oracle.dms"/>
    <import-shared-library name="oracle.sqlj"/>
    <import-shared-library name="oracle.toplink"/>
    <import-shared-library name="oracle.ws.core"/>
    <import-shared-library name="oracle.ws.client"/>
    <import-shared-library name="oracle.xml.security"/>
    <import-shared-library name="oracle.ws.security"/>
    <import-shared-library name="oracle.ws.reliability"/>
    <import-shared-library name="oracle.jwsdl"/>
    <import-shared-library name="oracle.http.client"/>
    <import-shared-library name="oracle.expression-evaluator"/>
    </shared-library>
    <shared-library name="apache.junit" version="10.1.3">
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/test/lib/junit.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/test/lib/xmlunit1.0.jar"/>
    </shared-library>
    <shared-library name="oracle.db.lite" version="10.1.3">
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/olite40.jar"/>
    </shared-library>
    <shared-library name="apache.commons" version="10.1.3">
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/commons-fileupload-1.1.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/commons-codec-1.3.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/commons-transaction-1.0.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/commons-collections-2.1.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/commons-io-1.1.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/commons-dbcp-20031203.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/commons-pool-1.1.jar"/>
    </shared-library>
    <shared-library name="apache.jdom" version="10.1.3">
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/jdom-1.0.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/jaxen-1.1-beta-4.jar"/>
    <import-shared-library name="apache.commons"/>
    </shared-library>
    <shared-library name="apache.slide" version="10.1.3">
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/slide-kernel-2.1.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/slide-webdavservlet-2.1.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/slide-stores-2.1.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/poi-2.5-final-20040428.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/xml-im-exporter1.1.jar"/>
    <import-shared-library name="apache.commons"/>
    <import-shared-library name="apache.jdom"/>
    <import-shared-library name="oracle.jdbc"/>
    </shared-library>
    <shared-library name="oracle.bpel.common" version="10.1.3">
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/system/classes"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-common.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-thirdparty.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bpm-infra.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/system/services/lib/wdk.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/connector15.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-exts.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-ant.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/ant_1.6.5.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bipres.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bicmn.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/uix2.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/jewt4.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/regexp.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/share.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jdk/lib/tools.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/ldapjclnt10.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/system/services/schema"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/system/services/config"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/system/services/lib/bpm-services.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/system/services/lib/wfapi.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/system/services/lib/fndctx.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/system/services/lib/phaos.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/system/services/lib/pushapi.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/oracle_http_client.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/registry/lib/uddiclient_api_v3.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/registry/lib/wasp.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/registry/lib/uddiclient_core.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/registry/lib/saaj.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/registry/lib/jaxm.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/registry/lib/builtin_serialization.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/registry/lib/core_services_client.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/registry/lib/jaxrpc.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/rules/lib/rl.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/rules/lib/rulesdk.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/rules/lib/webdavrc.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/rules/lib/jr_dav.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/webservices/lib/wsif.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/oraesb.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/bpm-ide-common.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/rdbms/jlib/xdb.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/ide.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/javatools.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/xmleditor.jar"/>
    <import-shared-library name="oracle.dms"/>
    <import-shared-library name="oracle.jdbc"/>
    <import-shared-library name="oracle.xml"/>
    <import-shared-library name="oracle.jwsdl"/>
    <import-shared-library name="soap"/>
    <import-shared-library name="oracle.ws.client"/>
    <import-shared-library name="oracle.toplink"/>
    <import-shared-library name="apache.junit"/>
    <import-shared-library name="oracle.db.lite"/>
    <import-shared-library name="apache.commons.logging"/>
    <import-shared-library name="oracle.cache"/>
    <import-shared-library name="apache.commons"/>
    <import-shared-library name="apache.slide"/>
    <import-shared-library name="apache.jdom"/>
    </shared-library>
    <shared-library name="oracle.esb" version="10.1.3">
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/config/"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/system/classes"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/integration/esb/lib/oraesb-test.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/xmlef.jar"/>
    <import-shared-library name="apache.commons"/>
    <import-shared-library name="oracle.bpel.common"/>
    <import-shared-library name="apache.junit"/>
    <import-shared-library name="apache.jdom"/>
    <import-shared-library name="apache.slide"/>
    <import-shared-library name="oracle.jdbc"/>
    <import-shared-library name="oracle.xml"/>
    <import-shared-library name="oracle.jwsdl"/>
    <import-shared-library name="oracle.ws.client"/>
    </shared-library>
    <shared-library name="oracle.wsm.ccore" version="1.0" library-compatible="true">
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/cfluent-log4j.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/coresv-4.0.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/CordaEmbedder-6.0.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/CordaServer-6.0.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/FreeLib-6.0.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/axis.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/bcprov-jdk14-119.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/castor-0.9.3.19-xml.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/commons-collections-3.1.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/commons-dbcp-1.2.1.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/commons-discovery.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/commons-fileupload-1.0.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/commons-pool-1.2.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/concurrent-1.3.2.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/ctRedirector-6.0.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/engine.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/hsqldb.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/httpunit.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jakarta-oro-2.0.6.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jaxen-full.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jaxrpc.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jdom.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jep-2.24.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jobaccess.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jug-1.0.1.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/junit.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/junitee.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/log4j-1.2.8.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/opensaml.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/oracle-wsil.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/pager-taglib.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/saaj.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/saxpath.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/snmp4_10.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/tsik.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/uddiclient.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/ws-security.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/xml_pilot_key.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/xml_prod_key.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/xmlsec-1.0.5.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/xmlunit0.6.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/default-web-app/WEB-INF/lib/standard.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/activation.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/mail.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jdbc/lib/ojdbc14.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jdbc/lib/orai18n.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/ojmisc.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/oraclepki.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/regexp.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/sqlj/lib/translator.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/webservices/lib/relaxngDatatype.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/webservices/lib/saaj-api.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/webservices/lib/soap.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/webservices/lib/wsm-handler.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/custom"/>
    <import-shared-library name="apache.commons.logging"/>
    <import-shared-library name="oracle.xml.security"/>
    <import-shared-library name="oracle.xml"/>
    <import-shared-library name="oracle.http.client"/>
    <import-shared-library name="oracle.ws.testpage"/>
    <import-shared-library name="oracle.ws.client"/>
    <import-shared-library name="oracle.jwsdl"/>
    <import-shared-library name="oracle.ws.reliability"/>
    </shared-library>
    <shared-library name="oracle.wsm.coreman" version="1.0" library-compatible="true">
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/cfluent-log4j.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/coresv-4.0.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/axis.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/commons-collections-3.1.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/commons-dbcp-1.2.1.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/commons-discovery.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/commons-pool-1.2.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/concurrent-1.3.2.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/hsqldb.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jaxrpc.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jdom.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jep-2.24.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/junit.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/junitee.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/log4j-1.2.8.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/saaj.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/snmp4_10.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/activation.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/mail.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jdbc/lib/ojdbc14.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jdbc/lib/orai18n.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/ojmisc.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/regexp.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/webservices/lib/soap.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/custom"/>
    <import-shared-library name="apache.commons.logging"/>
    <import-shared-library name="oracle.xml.security"/>
    <import-shared-library name="oracle.xml"/>
    <import-shared-library name="oracle.http.client"/>
    </shared-library>
    <shared-library name="oracle.wsm.gateway" version="1.0" library-compatible="true">
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/cfluent-log4j.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/coresv-4.0.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/CordaEmbedder-6.0.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/CordaServer-6.0.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/FreeLib-6.0.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/axis.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/bcprov-jdk14-119.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/castor-0.9.3.19-xml.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/commons-collections-3.1.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/commons-dbcp-1.2.1.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/commons-discovery.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/commons-pool-1.2.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/concurrent-1.3.2.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/ctRedirector-6.0.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/engine.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/hsqldb.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/httpunit.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jakarta-oro-2.0.6.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jaxen-full.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jaxrpc.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jdom.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jep-2.24.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jobaccess.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jug-1.0.1.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/junit.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/junitee.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/log4j-1.2.8.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/opensaml.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/oracle-wsil.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/pager-taglib.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/saaj.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/saxpath.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/snmp4_10.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/tsik.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/uddiclient.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/ws-security.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/xml_pilot_key.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/xml_prod_key.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/xmlsec-1.0.5.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/xmlunit0.6.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/default-web-app/WEB-INF/lib/standard.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/activation.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/crimson_1_1_3.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/mail.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jdbc/lib/ojdbc14.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jdbc/lib/orai18n.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/ojmisc.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/oraclepki.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/regexp.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/sqlj/lib/translator.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/webservices/lib/relaxngDatatype.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/webservices/lib/soap.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/webservices/lib/xsdlib.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/custom"/>
    <import-shared-library name="apache.commons.logging"/>
    <import-shared-library name="oracle.xml.security"/>
    <import-shared-library name="oracle.xml"/>
    <import-shared-library name="oracle.http.client"/>
    </shared-library>
    <shared-library name="oracle.wsm.policymanager" version="1.0" library-compatible="true">
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/cfluent-log4j.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/coresv-4.0.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/axis.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/commons-collections-3.1.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/commons-dbcp-1.2.1.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/commons-discovery.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/commons-pool-1.2.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jaxen-full.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jaxrpc.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/jdom.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/junit.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/junitee.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/log4j-1.2.8.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/oracle-wsil.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/saaj.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/extlib/saxpath.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jdbc/lib/ojdbc14.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jdbc/lib/orai18n.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/ojmisc.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/jlib/regexp.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/webservices/lib/relaxngDatatype.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/webservices/lib/soap.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/webservices/lib/xsdlib.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/owsm/lib/custom"/>
    <import-shared-library name="apache.commons.logging"/>
    <import-shared-library name="oracle.xml.security"/>
    <import-shared-library name="oracle.xml"/>
    <import-shared-library name="oracle.http.client"/>
    </shared-library>
    <rmi-config path="./rmi.xml" />
    <jms-config path="./jms.xml" />
    <javacache-config path="../../../javacache/admin/javacache.xml" />
    <j2ee-logging-config path="./j2ee-logging.xml" />
    <log>
    <file path="../log/server.log" />
    </log>
    <java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" extdirs="/opt/oracle/product/10.1.3.1/OracleAS_1/jdk/jre/lib/ext" />
    <global-application name="default" path="application.xml" parent="system" start="true" />
    <application name="javasso" path="../../home/applications/javasso.ear" parent="default" start="true" />
    <application name="ascontrol" path="../../home/applications/ascontrol.ear" parent="system" start="false" />
    <application name="datatags" path="../../home/applications/datatags.ear" parent="default" start="true" />
    <application name="esb-dt" path="../applications/esb-dt.ear" parent="default" start="true" />
    <application name="esb-rt" path="../applications/esb-rt.ear" parent="esb-dt" start="true" />
    <application name="orabpel" path="../applications/orabpel.ear" parent="default" start="true" />
    <application name="hw_services" path="../applications/hw_services.ear" parent="orabpel" start="true" />
    <application name="orainfra" path="../applications/orainfra.ear" parent="default" start="true" />
    <application name="ruleauthor" path="../applications/ruleauthor.ear" parent="default" start="true" />
    <application name="rulehelp" path="../applications/rulehelp.ear" parent="default" start="true" />
    <application name="gateway" path="../applications/gateway.ear" parent="default" start="true" />
    <application name="policymanager" path="../applications/policymanager.ear" parent="default" start="true" />
    <application name="ccore" path="../applications/ccore.ear" parent="default" start="true" />
    <application name="coreman" path="../applications/coreman.ear" parent="default" start="true" />
    <global-web-app-config path="global-web-application.xml" />
    <transaction-manager-config path="transaction-manager.xml" />
    <web-site default="true" path="./default-web-site.xml" />
    <cluster id="1243223194" />
    </application-server>

  • How to import BC4J package into JDEV project without server.xml file?

    Dear,
    I need to bring the seeded BC4J package into my JDEV OAF project. Usually to do that, once I am sure that all I need is accessible, I open the server.xml file for the BC4J that I need and I am all set - all the items from under that BC4J are brought in.
    How about if there is no server.xml file for that BC4J, for example, under oracle.apps.icx.por.req.webui, and I need to have a controller from under there in my project? Do I create this package (oracle.apps.icx.por.req.webui) manually? If I do that and then open the controller the controller is being brought into JDEV outside the package.
    Thank you.
    Anatoliy

    Sumit,
    Thank for quick response.
    Yes, I agree for the controller.
    But let's say I want to bring over some other xml staff, like some shared regions for example from under that webui. They are also brought outside the package. You have an idea?
    Regards,
    Anatoliy

  • Create the missing server.xml files yourself

    Paula and I created the missing server.xml files ourselves. The script is at the bottom of the post.
    We badly needed the missing server.xml files to work on the customizations and Oracle was unable to solve this problem.
    "I checked on our Automated Release Updates System found that we dont have server.xml that includes PosDelivSchedVO. This confirms that there is no patch available at present to provide you with this file.
    As this is not related to coding issue,Support will not be able to log a bug with Development. You may log an Enhancement Request via Metalink, so that Development would review your requirement and if feasible would include this file at the time of future releases"
    #!/bin/sh
    # This script is used to generate the missing server.xml files for $JAVA_TOP/oracle/apps/pos
    # Usage: server.sh
    # Note: This script has many hardcoded codes and it may generate the wrong server.xml.
    # The manual fixes to the generated server.xml may be need.
    # Check the codes before you use it.
    # It's possible to write a generic version of this script to deal with more issues, like
    # 1. dealing with the Oracle apps patches applied
    # 2. only generates the missing server.xml files automatically
    # 3. can specify the module, like pos or po ..., to generate server.xml.
    # 4. including only the OA Framework objects used.
    # 5. correctly generate the right "encoding"
    # Luke Chi
    APP=pos
    PKG_HEAD=oracle.apps.$APP
    PKG_TAIL=server
    SERVER_FILENAME=server_1.xml
    cd $JAVA_TOP/oracle/apps/$APP
    # for SUB_DIR in asn isp lov product rcv sbd ship administration changeorder jar planning profile registration schema servic
    es suppreg
    for SUB_DIR in asn lov product rcv ship administration planning profile schema services suppreg
    do
    echo $SUB_DIR
    cd $SUB_DIR/server
    PKG=$PKG_HEAD.$SUB_DIR.$PKG_TAIL
    cat << EOF > $SERVER_FILENAME
    <?xml version="1.0" encoding='WINDOWS-1252'?>
    <!DOCTYPE JboPackage SYSTEM "jbo_03_01.dtd">
    <!-- \$Header: server.xml 115.11 2003/03/25 22:31:14 luke ship $ -->
    <JboPackage
    Name="server"
    SeparateXMLFiles="true"
    EOF
    echo " PackageName=\"$PKG\" >" >> $SERVER_FILENAME
    ls *.xml | grep -v server*.xml | while read FILE
    do
    BASENAME=`basename $FILE .xml`
    cat << EOF >> $SERVER_FILENAME
    <Containee
    Name="$BASENAME"
    FullName="$PKG.$BASENAME"
    EOF
    for TYPE in AM EO VL VO AO
    do
    BASENAME_2=`basename $BASENAME $TYPE`
    if [ $BASENAME_2 != $BASENAME ]; then
    case $TYPE in
    AM) echo " ObjectType=\"AppModule\" >" >> $SERVER_FILENAME ;;
    EO) echo " ObjectType=\"Entity\" >" >> $SERVER_FILENAME ;;
    VL) echo " ObjectType=\"ViewLink\" >" >> $SERVER_FILENAME ;;
    VO) echo " ObjectType=\"ViewObject\" >" >> $SERVER_FILENAME ;;
    AO) echo " ObjectType=\"Association\" >" >> $SERVER_FILENAME ;;
    CO) echo " ObjectType=\"Luke_CO\" >" >> $SERVER_FILENAME ;;
    *) echo " ObjectType=\"Luke_UNKNOWN\" >" >> $SERVER_FILENAME ;;
    esac
    break
    fi
    done
    echo " </Containee>" >> $SERVER_FILENAME
    done
    echo "</JboPackage>" >> $SERVER_FILENAME
    grep Luke $SERVER_FILENAME
    if [ $? -eq 0 ]; then
    mv $SERVER_FILENAME server_error.xml
    fi
    pwd
    cd ../..
    done

    We loaded the Oracle seeded BC4J components from mid-tier file system to jdev OA Framework using the server.xml files generated by our Unix script attached in the privious posting above. We ,then did the customizations and successfully deployed them to our test Oracle apps.

  • Parse exisitng xml file and recreate another xml file with different struct

    Is it possible in java using dom parser to parse an exisiting xml file and recreate a new xml file from data obtained by parsing old xml file.
    I checked on old forum threads and everywhere either parsing xml file has been explained or creating new xml file from scratch has been shown.
    Any examples/guidance will be appreciated....

    The general process is:
    Document dom1 = ... // the parsed document
    Document dom2 = ... // new document constructed on the fly
    Node nD1 = ... // some random node found in dom1
    // copy the node from dom1 and associate with dom2
    Node nD2 = dom2.importNode(nD1, true);
    // ... treat nD2 as a node which can now be inserted into dom2 ...
    Node otherD2 =  ... // some other node already in dom2
    otherD2.appendChild(nD2);Note, in this example the nD1 node is copied (including any sub-nodes) into a new node, nD2. You can alternately move the node from one Document to another using Document.adoptNode(), however this may fail (see the javadoc).

  • Server.xml file is missing

    java.io.FileNotFoundException: C:\jdeveloper\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config\server.xml (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:714)
         at oracle.ide.net.URLFileSystemHelperDecorator.openInputStream(URLFileSystemHelperDecorator.java:286)
         at oracle.ide.net.URLFileSystemHelperDecorator.openInputStream(URLFileSystemHelperDecorator.java:286)
         at oracle.ide.net.URLFileSystemHelperDecorator.openInputStream(URLFileSystemHelperDecorator.java:286)
         at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
         at oracle.jdeveloper.xml.URLDomIO.load(URLDomIO.java:21)
         at oracle.jdeveloper.xml.BindingIO.load(BindingIO.java:43)
         at oracle.jdeveloper.xml.BindingIO.load(BindingIO.java:37)
         at oracle.jdeveloper.xml.oc4j.Oc4jConfigAdmin.getServerConf(Oc4jConfigAdmin.java:225)
         at oracle.jdevimpl.runner.oc4j.Oc4jWorkspaceConfig.ensureTransactionLogIsSet(Oc4jWorkspaceConfig.java:988)
         at oracle.jdevimpl.runner.oc4j.Oc4jWorkspaceConfig.configureAll(Oc4jWorkspaceConfig.java:154)
         at oracle.jdevimpl.runner.oc4j.EmbeddedServerAdminCommand.doit(EmbeddedServerAdminCommand.java:50)
         at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:259)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:541)
         at oracle.ide.controller.IdeAction$1.run(IdeAction.java:772)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:789)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:498)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    This is what is happens when I try to edit the embedded OC4J server Preferences.
    I dont have Oracle application server. But I use apache and I have the new version of jdeveloper 10.1.3.0.4
    any help?

    The above mentioned error happens both when I tried to run the application or when I try to open the "embedded OC4J Server Preferences"
    system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config\server.xml -> this file is not there and i dont know how to include this
    please help me to resolve this issue.
    I am using the latest version of jdeveloper and dowloaded it from the web
    thanks
    san

  • [ADF, JDev 10.1.3.1] recreate package xml file

    Hi!
    How do I recreate a package xml file aside from adding a Business Component (Entity or View or Service)?
    I purposely deleted a package xml file as we were having problems in synchronization of our files. But now it seems that I need it back because i will generate a jar file through "the Business Components Deployment." The instruction says I need the package xml file to successfully import business components to other projects.
    regards,
    Anton

    What mechanism are you using to refresh the page upon selection of employee in the master table . Are you using autosubmit?
    [email protected] wrote:
    The VO is a simple VO that has a bind parameter for Dept No in it.
    Select * from emp where deptno=:dept
    Now in the Page Def-> bindings folder , I've created an action binding of type ExecuteWithParams that gives param value as say 10.
    and I've created an Executable that binds to this Action there by invoking it when page renders.
    WHen page is rendered I get to see only employees in dept 10 which is fine and according to requirement.
    Employee No | Ename | Deptno
    123 Roger 10
    235 Badge 10
    The problem is:
    In case the page is a master detail page where employee list is a Master Table and say employee's enrolled courses are the detail table
    then when we select a different employee, the page is refreshed again and first employee got selected again.
    For solving this i changed the Refresh Property in Executable to "prepareModel" or "prepareModelIfNeeded".
    On doing that I could select employees fine without the page getting refreshed , but corresponding Detail tab does not get changed thereafter.
    Hope this clears the question a bit...
    Thanks
    Chris

  • Hash coming after each character in application server xml file

    Hi All,
    I am stuck up in one issue wherein we need to transfer xml files to al11 and then dump these files from application server to a remote location.
    Since the SAP system is ECC6.0 I can safely use Simple transformations for conversion to XML format and then for transfer i have done OPEN DATASET IN BINARY MODE. I have checked for text mode in case of xml files is not working.
    Now the files coming in al11 have hash after each character. Please note hash is coming after each character and not each record. Though files when downloaded to presentations server or FTPed to remote location are coming fine but in al11 these seems to be weird.
    Here is an example of what i am getting in al11.
    ###<#?#x#m#l# #v#e#r#s#i#o#n#=#"#1#.#0#"# #e#n#c#o#d#i#n#g#=#"#u#t#f#-#1#6#"#?#>#
    #<#i#n#t#_#d#a#t#a#>#<#i#t#e#m#>#<#I#C#O#>#1#2#3#4#5#6#7#8#9#4#5#<#/#I#C#O#>#<#D#I#C#/#>#<#N#A#M#E#O#F#F#I#C#I#A#L#>#a#b#c#d#e#f#g#h#0#-#<#/#
    Could you please help in this regard to remove these unwanted characters.
    Thanks in advance for your inputs.
    ¬
    Shreya

    I think this is something special regarding UniCode(CodePage) and the defaultview in AL11.
    I made some tests - uploading data with CG3Z or OPEN Dataset.
    There are some differences between CG3Z and OPEN Dataset regarding unicode transformation.
    but this is still unknown for me, too.

  • Server.xml file is mising

    Hi ,
    I need to extend a VO ,
    Oracle/apps/amw/opinions/server/RiskVO.xml
    But there is no server.xml available on the respective top.
    So how to extend the VO?
    Version:11.5.10.2
    Thanx In Advance,
    Ajit

    Abdul,
    If its a seeded Oracle pkg, definately Oracle has to provide server.xml, if not then the source code of custom development should have it. If custom code does not have this definately there no choice then to create server.xml by yourself, but in that case I would say its the case of not properly maintaing the code whom so ever has written custom code.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • 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)

  • Import XML files from different server

    Hi All,
    We have successfully used JavaScript to import local XML files and generated the PDF files on InDesign Server CS4.
    Now, we need to import the XML files which are dynamically generated on the other Server. (Data Managemnt Server).
    Wondering what's the best way to do this?
    Can we pass the whole XML file content as a JavaScript Parameter? What about images?
    or Can Javascript Import an external XML file via HTTP, other protocol?
    The worst case I guess is to have a script to upload XML files onto InDesign Server........
    Also, is it possible to return the generated PDF back to Data Management Server (XML file Server)?
    Thanks,
    xin

    Hi ,
    Check the FM : /SAPDMC/LSM_F4_SERVER_FILE.
    Inside this FM , subroutine below exists.The main program for routine is /SAPDMC/LLSMW_AUX_020F02.
    Call this routine from your program. You will get the length in bytes from the field len of table pt_file.
    data:
      begin of gs_file,
        directory(75) type c,              " name of directory.
                                           " (possibly truncated.)
        name(75)    type c,                " name of entry.
                                           " (possibly truncated.)
        type(10)    type c,                " type of entry: directory, file
        *len(8)      type p,                " length in bytes*
        owner(8)    type c,                " owner of the entry
        mtime(6)    type p,                " last modification date,
                                           " seconds since 1970
        mode(9)     type c,                " like "rwx-r-x--x":
                                           " protection mode
        errno(3)    type c,
        errmsg(40)  type c,
        mod_date    type d,
        mod_time(8) type c,                " hh:mm:ss
        subrc like sy-subrc,
    end of gs_file.
    DATA : pt_file LIKE TABLE OF gs_file.
    DATa : p_ok.
      PERFORM /sapdmc/llsmw_aux_020f02(directory_contents_get)
      TABLES   pt_file
                                USING    '/TMP' ""!!! Here is your filepath
                                CHANGING p_ok

  • How can i write also to xml file the settings of the Tag property to identify if it's "file" or "directory" ?

    The first thing i'm doing is to get from my ftp server all the ftp content information and i tag it so i can identify later if it's a file or a directory:
    private int total_dirs;
    private int searched_until_now_dirs;
    private int max_percentage;
    private TreeNode directories_real_time;
    private string SummaryText;
    private TreeNode CreateDirectoryNode(string path, string name , int recursive_levl )
    var directoryNode = new TreeNode(name);
    var directoryListing = GetDirectoryListing(path);
    var directories = directoryListing.Where(d => d.IsDirectory);
    var files = directoryListing.Where(d => !d.IsDirectory);
    total_dirs += directories.Count<FTPListDetail>();
    searched_until_now_dirs++;
    int percentage = 0;
    foreach (var dir in directories)
    directoryNode.Nodes.Add(CreateDirectoryNode(dir.FullPath, dir.Name, recursive_levl+1));
    if (recursive_levl == 1)
    TreeNode temp_tn = (TreeNode)directoryNode.Clone();
    this.BeginInvoke(new MethodInvoker( delegate
    UpdateList(temp_tn);
    percentage = (searched_until_now_dirs * 100) / total_dirs;
    if (percentage > max_percentage)
    SummaryText = String.Format("Searched dirs {0} / Total dirs {1}", searched_until_now_dirs, total_dirs);
    max_percentage = percentage;
    backgroundWorker1.ReportProgress(percentage, SummaryText);
    percentage = (searched_until_now_dirs * 100) / total_dirs;
    if (percentage > max_percentage)
    SummaryText = String.Format("Searched dirs {0} / Total dirs {1}", searched_until_now_dirs, total_dirs);
    max_percentage = percentage;
    backgroundWorker1.ReportProgress(percentage, SummaryText);
    foreach (var file in files)
    TreeNode file_tree_node = new TreeNode(file.Name);
    file_tree_node.Tag = "file";
    directoryNode.Nodes.Add(file_tree_node);
    numberOfFiles.Add(file.FullPath);
    return directoryNode;
    The line i'm using to Tag is:
    file_tree_node.Tag = "file";
    So i know what is "file" then i make a simple check if the Tag is not null then i know it's a "file" if it's null then it's directory.
    For example this is how i'm checking if it's file or directory after getting all the content from my ftp server:
    if (treeViewMS1.SelectedNode.Tag != null)
    string s = (string)treeViewMS1.SelectedNode.Tag;
    if (s == "file")
    file = false;
    DeleteFile(treeViewMS1.SelectedNode.FullPath, file);
    else
    RemoveDirectoriesRecursive(treeViewMS1.SelectedNode, treeViewMS1.SelectedNode.FullPath);
    I also update in real time when getting the content of the ftp server xml file on my hard disk with the treeView structure information so when i'm running the program each time it will load the treeView structure with all directories and files.
    This is the class of the xml file:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Xml;
    using System.Windows.Forms;
    namespace FTP_ProgressBar
    class TreeViewXmlPopulation
    // Xml tag for node, e.g. 'node' in case of <node></node>
    private const string XmlNodeTag = "node";
    // Xml attributes for node e.g. <node text="Asia" tag=""
    // imageindex="1"></node>
    private const string XmlNodeTextAtt = "text";
    private const string XmlNodeTagAtt = "tag";
    private const string XmlNodeImageIndexAtt = "imageindex";
    public static void DeserializeTreeView(TreeView treeView, string fileName)
    XmlTextReader reader = null;
    try
    // disabling re-drawing of treeview till all nodes are added
    treeView.BeginUpdate();
    reader = new XmlTextReader(fileName);
    TreeNode parentNode = null;
    while (reader.Read())
    if (reader.NodeType == XmlNodeType.Element)
    if (reader.Name == XmlNodeTag)
    TreeNode newNode = new TreeNode();
    bool isEmptyElement = reader.IsEmptyElement;
    // loading node attributes
    int attributeCount = reader.AttributeCount;
    if (attributeCount > 0)
    for (int i = 0; i < attributeCount; i++)
    reader.MoveToAttribute(i);
    SetAttributeValue(newNode,
    reader.Name, reader.Value);
    // add new node to Parent Node or TreeView
    if (parentNode != null)
    parentNode.Nodes.Add(newNode);
    else
    treeView.Nodes.Add(newNode);
    // making current node 'ParentNode' if its not empty
    if (!isEmptyElement)
    parentNode = newNode;
    // moving up to in TreeView if end tag is encountered
    else if (reader.NodeType == XmlNodeType.EndElement)
    if (reader.Name == XmlNodeTag)
    parentNode = parentNode.Parent;
    else if (reader.NodeType == XmlNodeType.XmlDeclaration)
    //Ignore Xml Declaration
    else if (reader.NodeType == XmlNodeType.None)
    return;
    else if (reader.NodeType == XmlNodeType.Text)
    parentNode.Nodes.Add(reader.Value);
    finally
    // enabling redrawing of treeview after all nodes are added
    treeView.EndUpdate();
    reader.Close();
    /// <span class="code-SummaryComment"><summary>
    /// Used by Deserialize method for setting properties of
    /// TreeNode from xml node attributes
    /// <span class="code-SummaryComment"></summary>
    private static void SetAttributeValue(TreeNode node,
    string propertyName, string value)
    if (propertyName == XmlNodeTextAtt)
    node.Text = value;
    else if (propertyName == XmlNodeImageIndexAtt)
    node.ImageIndex = int.Parse(value);
    else if (propertyName == XmlNodeTagAtt)
    node.Tag = value;
    public static void SerializeTreeView(TreeView treeView, string fileName)
    XmlTextWriter textWriter = new XmlTextWriter(fileName,
    System.Text.Encoding.ASCII);
    // writing the xml declaration tag
    textWriter.WriteStartDocument();
    //textWriter.WriteRaw("\r\n");
    // writing the main tag that encloses all node tags
    textWriter.WriteStartElement("TreeView");
    // save the nodes, recursive method
    SaveNodes(treeView.Nodes, textWriter);
    textWriter.WriteEndElement();
    textWriter.Close();
    private static void SaveNodes(TreeNodeCollection nodesCollection,
    XmlTextWriter textWriter)
    for (int i = 0; i < nodesCollection.Count; i++)
    TreeNode node = nodesCollection[i];
    textWriter.WriteStartElement(XmlNodeTag);
    textWriter.WriteAttributeString(XmlNodeTextAtt,
    node.Text);
    textWriter.WriteAttributeString(
    XmlNodeImageIndexAtt, node.ImageIndex.ToString());
    if (node.Tag != null)
    textWriter.WriteAttributeString(XmlNodeTagAtt,
    node.Tag.ToString());
    // add other node properties to serialize here
    if (node.Nodes.Count > 0)
    SaveNodes(node.Nodes, textWriter);
    textWriter.WriteEndElement();
    And this is how i'm using the class this method i'm calling it inside the CreateDirectoryNode and i'm updating the treeView in real time when getting the ftp content from the server i build the treeView structure in real time.
    DateTime last_update;
    private void UpdateList(TreeNode tn_rt)
    TimeSpan ts = DateTime.Now - last_update;
    if (ts.TotalMilliseconds > 200)
    last_update = DateTime.Now;
    treeViewMS1.BeginUpdate();
    treeViewMS1.Nodes.Clear();
    treeViewMS1.Nodes.Add(tn_rt);
    TreeViewXmlPopulation.SerializeTreeView(treeViewMS1, @"c:\XmlFile\Original.xml");
    ExpandToLevel(treeViewMS1.Nodes, 1);
    treeViewMS1.EndUpdate();
    And when i'm running the program again in the constructor i'm doing:
    if (File.Exists(@"c:\XmlFile\Original.xml"))
    TreeViewXmlPopulation.DeserializeTreeView(treeViewMS1, @"c:\XmlFile\Original.xml");
    My question is how can i update the xml file in real time like i'm doing now but also with the Tag property so next time i will run the program and will not get the content from the ftp i will know in the treeView what is file and what is directory.
    The problem is that now if i will run the program the Tag property is null. I must get the ftp content from the server each time.
    But i want that withoutout getting the ftp content from server to Tag each file as file in the treeView structure.
    So what i need is somehow where i;m Tagging "file" or maybe when updating the treeView also to add something to the xml file so when i will run the progrma again and read back the xml file it will also Tag the files in the treeView.

    Hi
    Chocolade1972,
    Your case related to Winform Data Controls, So i will move your thread to Windows Forms> Windows
    Forms Data Controls and Databinding  forum for better support.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for