Equivalent to Sun AS authpassthroughenabled in domain.xml in Oracle AS 1.0.

Is there a equivalent to Sun AS authpassthroughenabled in domain.xml in Oracle AS 1.0.2.2.2
oracle.jsp.provider.JspUniversalHttpRequest.getScheme() returns http while it should return https
Similar issue is observed with Sun AS
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6406005
but if authPassthroughEnabled is set to false, it works fine
I am wondering if we can use the same workaround.
Thanks for you input,
Catherine

Lets back up and clarify terms.
A 3 node RAC cluster has one (1) and only one (1) database. Three (3) instances but only one (1) database.
If you are talking about something else you need to be very clear in your description.
Assuming one database and three instances the listener and tnsnames files should be identical. And, as Oracle creates all of this during dbca installation, why is it a concern?

Similar Messages

  • Domain.xml gets screwed up

    Multiple times now, the Server is unable to start up. The last time it sat there, apparently in a loop greating over a 1 GB log file. Previously, I reinstalled Creator to solve the problem. The last time, I traced it to domain.xml.
    Fortunately there was a backup file that worked.
    However, I do not modify this file myself, and thus have no clue as to how to fix it. Creator manages this file, so when it gets screwed up, this is surely a bug.
    It is very frustrating, and usually occurs when my project has some error that does not allow it to deploy properly.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE domain PUBLIC "-//Sun Microsystems Inc.//DTD Application Server 8.0 Domain//EN" "http://www.sun.com/software/appserver/dtds/sun-domain_1_0.dtd">
    <!--
       Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
       SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
    -->
    <!-- Generated from default-domain.xml.template -->
    <domain application-root="${com.sun.aas.instanceRoot}/applications" log-root="${com.sun.aas.instanceRoot}/logs">
      <applications>
        <j2ee-application enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-apps/MEjbApp" name="MEjbApp" object-type="system-all"/>
        <j2ee-application enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-apps/__ejb_container_timer_app" name="__ejb_container_timer_app" object-type="system-all"/>
        <j2ee-application enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-apps/ConverterApp" name="ConverterApp" object-type="user"/>
        <j2ee-application enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-apps/HelloWorldApp" name="HelloWorldApp" object-type="user"/>
        <j2ee-application enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-apps/travelApp" name="travelApp" object-type="user"/>
        <web-module context-root="/web1" enabled="true" location="${com.sun.aas.installRoot}/lib/install/applications/adminapp/adminapp_war" name="adminapp" object-type="system-admin">
          <!-- System Web Module - DO NOT DELETE! -->
        </web-module>
        <web-module context-root="/asadmin" enabled="true" location="${com.sun.aas.installRoot}/lib/install/applications/admingui/adminGUI_war" name="admingui" object-type="system-admin">
          <!-- System Web Module - DO NOT DELETE! -->
        </web-module>
        <web-module context-root="/com_sun_web_ui" enabled="true" location="${com.sun.aas.installRoot}/lib/install/applications/com_sun_web_ui" name="com_sun_web_ui" object-type="system-admin">
          <!-- System Web Module - DO NOT DELETE! -->
        </web-module>
        <web-module context-root="hello-jaxrpc" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/hello-jaxrpc" name="hello-jaxrpc" object-type="user"/>
        <web-module context-root="jTravellerService" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/jTravellerService" name="jTravellerService" object-type="user"/>
        <web-module enabled="true" location="c:/Documents and Settings/jar/My Documents/Creator/Projects/FunctionListManager/build" name="_functionlistmanager" object-type="user"/>
      </applications>
      <resources>
        <jdbc-resource enabled="true" jndi-name="jdbc/__TimerPool" object-type="system-all" pool-name="__TimerPool"/>
        <jdbc-resource enabled="true" jndi-name="jdbc/PointBase" object-type="user" pool-name="PointBasePool"/>
        <jdbc-resource enabled="true" jndi-name="jdbc/Travel" object-type="user" pool-name="TravelDBPool"/>
        <jdbc-resource enabled="true" jndi-name="jdbc/my.server" object-type="user" pool-name="RaveGenerated_1106935210_my.serverPool"/>
        <jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="com.pointbase.xa.xaDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" max-pool-size="32" max-wait-time-in-millis="60000" name="__TimerPool" pool-resize-quantity="2" res-type="javax.sql.XADataSource" steady-pool-size="8">
          <property name="DatabaseName" value="jdbc:pointbase:embedded:ejbtimer,database.home=${com.sun.aas.instanceRoot}/lib/databases"/>
          <property name="User" value="pbPublic"/>
          <property name="Password" value="pbPublic"/>
        </jdbc-connection-pool>
        <jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="com.pointbase.xa.xaDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" max-pool-size="32" max-wait-time-in-millis="60000" name="PointBasePool" pool-resize-quantity="2" res-type="javax.sql.XADataSource" steady-pool-size="8">
          <property name="DatabaseName" value="jdbc:pointbase:server://localhost:9092/sun-appserv-samples"/>
          <property name="Password" value="pbPublic"/>
          <property name="User" value="pbPublic"/>
        </jdbc-connection-pool>
        <jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="com.pointbase.xa.xaDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" max-pool-size="8" max-wait-time-in-millis="60000" name="TravelDBPool" pool-resize-quantity="1" res-type="javax.sql.XADataSource" steady-pool-size="1">
          <property name="DatabaseName" value="jdbc:pointbase:server://localhost:19092/sample"/>
          <property name="Password" value="travel"/>
          <property name="User" value="travel"/>
        </jdbc-connection-pool>
        <jdbc-connection-pool connection-validation-method="table" datasource-classname="com.sun.sql.datasource.DriverAdapter" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="true" is-isolation-level-guaranteed="true" max-pool-size="16" max-wait-time-in-millis="60000" name="RaveGenerated_1106935210_my.serverPool" pool-resize-quantity="1" steady-pool-size="1" validation-table-name="entityrole">
          <property name="url" value="jdbc:mysql://my.server:3306/policy"/>
          <property name="Password" value="password"/>
          <property name="driverClassName" value="org.gjt.mm.mysql.Driver"/>
          <property name="User" value="ejbca"/>
        </jdbc-connection-pool>
      </resources>
      <configs>
        <config name="server-config">
          <http-service>
            <http-listener acceptor-threads="100" address="0.0.0.0" default-virtual-server="server" enabled="true" id="http-listener-1" port="18080" security-enabled="false" server-name="" xpowered-by="true">
        </http-listener>
            <http-listener acceptor-threads="100" address="0.0.0.0" default-virtual-server="server" enabled="true" id="http-listener-2" port="11043" security-enabled="true" server-name="" xpowered-by="true">
        </http-listener>
            <http-listener acceptor-threads="100" address="0.0.0.0" default-virtual-server="__asadmin" enabled="true" id="admin-listener" port="14848" security-enabled="false" server-name="" xpowered-by="true">
        </http-listener>
            <virtual-server hosts="JAROPT" http-listeners="http-listener-1,http-listener-2" id="server" state="on">
              <property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
              <property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
            </virtual-server>
            <virtual-server default-web-module="admingui" hosts="JAROPT" http-listeners="admin-listener" id="__asadmin" state="on">
              <property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
            </virtual-server>
          </http-service>
          <iiop-service client-authentication-required="false">
            <orb max-connections="1024" message-fragment-size="1024" use-thread-pool-ids="thread-pool-1"/>
            <iiop-listener address="0.0.0.0" enabled="true" id="orb-listener-1" port="13700" security-enabled="false"/>
            <iiop-listener address="0.0.0.0" enabled="true" id="SSL" port="11060" security-enabled="true">
              <ssl cert-nickname="s1as" client-auth-enabled="false" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
            </iiop-listener>
            <iiop-listener address="0.0.0.0" enabled="true" id="SSL_MUTUALAUTH" port="11061" security-enabled="true">
              <ssl cert-nickname="s1as" client-auth-enabled="true" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
            </iiop-listener>
          </iiop-service>
          <admin-service type="das-and-server">
            <das-config admin-session-timeout-in-minutes="60" autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy" autodeploy-enabled="true" autodeploy-jsp-precompilation-enabled="false" autodeploy-polling-interval-in-seconds="2" autodeploy-verifier-enabled="false" deploy-xml-validation="full" dynamic-reload-enabled="true" dynamic-reload-poll-interval-in-seconds="2"/>
          </admin-service>
          <web-container/>
          <ejb-container cache-idle-timeout-in-seconds="600" cache-resize-quantity="32" commit-option="B" max-cache-size="512" max-pool-size="32" pool-idle-timeout-in-seconds="600" pool-resize-quantity="8" removal-timeout-in-seconds="5400" session-store="${com.sun.aas.instanceRoot}/session-store" steady-pool-size="0" victim-selection-policy="nru"/>
          <mdb-container idle-timeout-in-seconds="600" max-pool-size="32" pool-resize-quantity="8" steady-pool-size="0"/>
          <jms-service init-timeout-in-seconds="60" type="LOCAL">
            <jms-host admin-password="admin" admin-user-name="admin" host="JAROPT" name="default_JMS_host" port="17676"/>
          </jms-service>
          <log-service alarms="false" file="${com.sun.aas.instanceRoot}/logs/server.log" log-rotation-limit-in-bytes="2000000000" log-to-console="false" use-system-logging="false">
            <module-log-levels admin="INFO" classloader="INFO" cmp="INFO" cmp-container="INFO" configuration="INFO" connector="INFO" corba="INFO" deployment="INFO" ejb-container="INFO" javamail="INFO" jaxr="INFO" jaxrpc="INFO" jdo="INFO" jms="INFO" jta="INFO" jts="INFO" mdb-container="INFO" naming="INFO" resource-adapter="INFO" root="INFO" saaj="INFO" security="INFO" server="INFO" verifier="INFO" web-container="INFO"/>
          </log-service>
          <security-service anonymous-role="ANYONE" audit-enabled="false" audit-modules="default" default-realm="file" jacc="default">
            <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="file">
              <property name="file" value="${com.sun.aas.instanceRoot}/config/keyfile"/>
              <property name="jaas-context" value="fileRealm"/>
            </auth-realm>
            <auth-realm classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm" name="certificate">
        </auth-realm>
            <jacc-provider name="default" policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl" policy-provider="com.sun.enterprise.security.provider.PolicyWrapper">
              <property name="repository" value="${com.sun.aas.instanceRoot}/generated/policy"/>
            </jacc-provider>
            <audit-module classname="com.sun.enterprise.security.Audit" name="default">
              <property name="auditOn" value="false"/>
            </audit-module>
          </security-service>
          <transaction-service automatic-recovery="false" heuristic-decision="rollback" keypoint-interval="2048" retry-timeout-in-seconds="600" timeout-in-seconds="0" tx-log-dir="${com.sun.aas.instanceRoot}/logs"/>
          <monitoring-service>
            <module-monitoring-levels connector-connection-pool="OFF" ejb-container="OFF" http-service="OFF" jdbc-connection-pool="OFF" orb="OFF" thread-pool="OFF" transaction-service="OFF" web-container="OFF"/>
          </monitoring-service>
          <java-config classpath-suffix="${com.sun.aas.installRoot}/pointbase/lib/pbclient.jar${path.separator}${com.sun.aas.installRoot}/pointbase/lib/pbembedded.jar${path.separator}" debug-enabled="false" debug-options="-Xdebug -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=creator-14848" env-classpath-ignored="true" java-home="${com.sun.aas.javaRoot}" javac-options="-g" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g" server-classpath="${com.sun.aas.javaRoot}/lib/tools.jar${path.separator}${com.sun.aas.installRoot}/lib/install/applications/jmsra/imqjmsra.jar${path.separator}${com.sun.aas.imqLib}/jaxm-api.jar${path.separator}${com.sun.aas.imqLib}/fscontext.jar${path.separator}${com.sun.aas.antLib}/ant.jar">
            <!-- various required jvm-options -->
            <jvm-options>-client</jvm-options>
            <jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
            <jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
            <jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
            <jvm-options>-Dsun.rmi.dgc.server.gcInterval=3600000</jvm-options>
            <jvm-options>-Dsun.rmi.dgc.client.gcInterval=3600000</jvm-options>
            <jvm-options>-Xmx512m</jvm-options>
            <jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
            <jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
            <jvm-options>-Djava.ext.dirs=${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext</jvm-options>
            <jvm-options> -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver</jvm-options>
            <jvm-options>-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar</jvm-options>
            <jvm-options>-XX:NewRatio=2</jvm-options>
          </java-config>
          <thread-pools>
            <thread-pool idle-thread-timeout-in-seconds="120" max-thread-pool-size="200" min-thread-pool-size="0" num-work-queues="1" thread-pool-id="thread-pool-1"/>
          </thread-pools>
        </config>
        <!-- config model with name "server-config" ends -->
      </configs>
      <servers>
        <server config-ref="server-config" name="server">
          <application-ref enabled="true" ref="adminapp" virtual-servers="__asadmin"/>
          <application-ref enabled="true" ref="admingui" virtual-servers="__asadmin"/>
          <application-ref enabled="true" ref="com_sun_web_ui" virtual-servers="__asadmin"/>
          <application-ref enabled="true" ref="MEjbApp" virtual-servers="server"/>
          <application-ref enabled="true" ref="__ejb_container_timer_app" virtual-servers="server"/>
          <application-ref enabled="true" ref="hello-jaxrpc" virtual-servers="server"/>
          <application-ref enabled="true" ref="jTravellerService" virtual-servers="server"/>
          <application-ref enabled="true" ref="ConverterApp"/>
          <application-ref enabled="true" ref="HelloWorldApp"/>
          <application-ref enabled="true" ref="travelApp"/>
          <application-ref enabled="true" ref="_functionlistmanager" virtual-servers="server"/>
          <resource-ref enabled="true" ref="jdbc/__TimerPool"/>
          <resource-ref enabled="true" ref="jdbc/PointBase"/>
          <resource-ref enabled="true" ref="jdbc/Travel"/>
          <resource-ref enabled="true" ref="jdbc/my.server"/>
        </server>
      </servers>
    </domain>

    This is today's log (with the fixed domain.xml
    Starting Sun Java System Application Server Platform Edition 8.0.0_01 (build b08-fcs) ...
    [#|2005-01-31T09:16:30.230-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.4.2_06] from [Sun Microsystems Inc.]|#]
    [#|2005-01-31T09:16:31.027-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0020:Following is the information about the JMX MBeanServer used:|#]
    [#|2005-01-31T09:16:31.199-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]
    [#|2005-01-31T09:16:33.012-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=10;|Creating virtual server server|#]
    [#|2005-01-31T09:16:33.027-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|S1AS AVK Instrumentation disabled|#]
    [#|2005-01-31T09:16:33.027-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
    [#|2005-01-31T09:16:34.699-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core.transaction|_ThreadID=10;|JTS5014: Recoverable JTS instance, serverId = [100]|#]
    [#|2005-01-31T09:16:35.652-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|Satisfying Optional Packages dependencies...|#]
    [#|2005-01-31T09:16:35.824-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.resource.resourceadapter|_ThreadID=10;|RAR7008 : Initialized monitoring registry and listeners|#]
    [#|2005-01-31T09:16:36.355-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|CORE5100:Loading system apps|#]
    [#|2005-01-31T09:16:36.933-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [MEjbApp] loaded successfully!|#]
    [#|2005-01-31T09:16:37.355-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.ejb|_ThreadID=10;|EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]|#]
    [#|2005-01-31T09:16:37.355-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!|#]
    [#|2005-01-31T09:16:37.387-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0302: Starting Tomcat.|#]
    [#|2005-01-31T09:16:37.558-0500|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.system.tools.deployment|_ThreadID=10;|in web-app/security-constraint/web-resource-collection Node, handling of role-name = Administrator failed|#]
    [#|2005-01-31T09:16:37.637-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [adminapp] in virtual server [server] at [/web1]|#]
    [#|2005-01-31T09:16:37.746-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [admingui] in virtual server [server] at [/asadmin]|#]
    [#|2005-01-31T09:16:37.746-0500|WARNING|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]
    [#|2005-01-31T09:16:37.762-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [com_sun_web_ui] in virtual server [server] at [/com_sun_web_ui]|#]
    [#|2005-01-31T09:16:37.777-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [_functionlistmanager] in virtual server [server] at [/functionlistmanager]|#]
    [#|2005-01-31T09:16:38.215-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [_policyengine] in virtual server [server] at [/policyengine]|#]
    [#|2005-01-31T09:16:38.215-0500|INFO|sun-appserver-pe8.0.0_01|org.apache.catalina.startup.Embedded|_ThreadID=10;|Starting tomcat server|#]
    [#|2005-01-31T09:16:38.215-0500|INFO|sun-appserver-pe8.0.0_01|org.apache.catalina.startup.Embedded|_ThreadID=10;|Catalina naming disabled|#]
    [#|2005-01-31T09:16:38.293-0500|INFO|sun-appserver-pe8.0.0_01|org.apache.catalina.core.StandardEngine|_ThreadID=10;|Starting Servlet Engine: Sun-Java-System/Application-Server-PE-8.0|#]
    [#|2005-01-31T09:16:40.371-0500|WARNING|sun-appserver-pe8.0.0_01|org.apache.commons.beanutils.MethodUtils|_ThreadID=10;|Cannot use JVM pre-1.4 access bug workaround die to restrictive security manager.|#]
    [#|2005-01-31T09:16:40.496-0500|WARNING|sun-appserver-pe8.0.0_01|org.apache.commons.digester.Digester|_ThreadID=10;|[ConverterRule]{faces-config/converter} Merge(null,java.math.BigDecimal)|#]
    [#|2005-01-31T09:16:40.496-0500|WARNING|sun-appserver-pe8.0.0_01|org.apache.commons.digester.Digester|_ThreadID=10;|[ConverterRule]{faces-config/converter} Merge(null,java.math.BigInteger)|#]
    [#|2005-01-31T09:16:41.558-0500|INFO|sun-appserver-pe8.0.0_01|com.sun.faces.config.ConfigureListener|_ThreadID=10;|Application object verification completed successfully|#]
    [#|2005-01-31T09:16:44.777-0500|WARNING|sun-appserver-pe8.0.0_01|org.apache.commons.beanutils.MethodUtils|_ThreadID=10;|Cannot use JVM pre-1.4 access bug workaround die to restrictive security manager.|#]
    [#|2005-01-31T09:16:44.871-0500|WARNING|sun-appserver-pe8.0.0_01|org.apache.commons.digester.Digester|_ThreadID=10;|[ConverterRule]{faces-config/converter} Merge(null,java.math.BigDecimal)|#]
    [#|2005-01-31T09:16:44.887-0500|WARNING|sun-appserver-pe8.0.0_01|org.apache.commons.digester.Digester|_ThreadID=10;|[ConverterRule]{faces-config/converter} Merge(null,java.math.BigInteger)|#]
    [#|2005-01-31T09:16:45.949-0500|INFO|sun-appserver-pe8.0.0_01|com.sun.faces.config.ConfigureListener|_ThreadID=10;|Application object verification completed successfully|#]
    [#|2005-01-31T09:16:45.996-0500|INFO|sun-appserver-pe8.0.0_01|org.apache.catalina.startup.ContextConfig|_ThreadID=10;|Missing application web.xml, using defaults only StandardEngine[server].StandardHost[server].StandardContext[]|#]
    [#|2005-01-31T09:16:47.246-0500|INFO|sun-appserver-pe8.0.0_01|org.apache.coyote.http11.Http11Protocol|_ThreadID=10;|Initializing Coyote HTTP/1.1 on port 18080|#]
    [#|2005-01-31T09:16:47.293-0500|INFO|sun-appserver-pe8.0.0_01|org.apache.coyote.http11.Http11Protocol|_ThreadID=10;|Starting Coyote HTTP/1.1 on port 18080|#]
    [#|2005-01-31T09:16:47.371-0500|INFO|sun-appserver-pe8.0.0_01|org.apache.coyote.http11.Http11Protocol|_ThreadID=10;|Initializing Coyote HTTP/1.1 on port 11043|#]
    [#|2005-01-31T09:16:47.371-0500|INFO|sun-appserver-pe8.0.0_01|org.apache.coyote.http11.Http11Protocol|_ThreadID=10;|Starting Coyote HTTP/1.1 on port 11043|#]
    [#|2005-01-31T09:16:47.418-0500|INFO|sun-appserver-pe8.0.0_01|org.apache.coyote.http11.Http11Protocol|_ThreadID=10;|Initializing Coyote HTTP/1.1 on port 14848|#]
    [#|2005-01-31T09:16:47.418-0500|INFO|sun-appserver-pe8.0.0_01|org.apache.coyote.http11.Http11Protocol|_ThreadID=10;|Starting Coyote HTTP/1.1 on port 14848|#]
    [#|2005-01-31T09:16:47.574-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.resource.jms|_ThreadID=10;|JMS5023: JMS service successfully started. Instance Name = imqbroker, Home = [C:\Sun\Creator\SunAppServer8\imq\bin].|#]
    [#|2005-01-31T09:16:47.574-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.tools.admin|_ThreadID=10;|[AutoDeploy] Enabling AutoDeployment service at :1107181007574|#]
    [#|2005-01-31T09:16:47.574-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|CORE5053: Application onReady complete.|#]
    [#|2005-01-31T09:16:47.590-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|Application server startup complete.|#]

  • Adding Agent parameters to domain.xml failed.

    Hi,
    I am trying to install Policy Agent 2.2 on Sun App Server 9.1 on Windows XP Pro.
    On starting the installation, one of the steps "Adding Agent parameters to domain.xml" FAILS.
    If anyone is aware of the cause & solution, pls let me know.
    Thanks in advance.
    Rahul A Honrao

    Hi,
    I am trying to install Policy Agent 2.2 on Sun App Server 9.1 on Windows XP Pro.
    On starting the installation, one of the steps "Adding Agent parameters to domain.xml" FAILS.
    If anyone is aware of the cause & solution, pls let me know.
    Thanks in advance.
    Rahul A Honrao

  • I need a copy of domain.xml

    I've wrongly changed some configurations in Admin Console -> HTTP Server -> HTTP Listeners->
    Then the server can't be started because of that. After I modified domain.xml, the sever starts, but deployment tool is still not working right.
    I don't quite understand these problems for security yet. I just want server and deployment tool to be working so that I can continue learning.
    I need a default copy of the following secton of domain.xml file.
    Pls help me! Thanks!
    \Sun\AppServer\domains\domain1\config\domain.xml
    <http-service>
    <http-listener acceptor-threads="100" address="0.0.0.0" default-virtual-server="server" enabled="true" id="http-listener-1" port="8080" security-enabled="false" server-name="" xpowered-by="true">
    </http-listener>
    <http-listener acceptor-threads="100" address="0.0.0.0" default-virtual-server="server" enabled="true" id="http-listener-2" port="1043" security-enabled="false" server-name="" xpowered-by="true">
    </http-listener>
    <http-listener acceptor-threads="100" address="0.0.0.0" default-virtual-server="__asadmin" enabled="true" id="admin-listener" port="4848" security-enabled="false" server-name="" xpowered-by="true">
    </http-listener>
    <virtual-server hosts="lxp-dell" http-listeners="http-listener-1,http-listener-2" id="server" state="on">
    <property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
    <property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
    </virtual-server>
    <virtual-server default-web-module="admingui" hosts="lxp-dell" http-listeners="admin-listener" id="__asadmin" state="on">
    <property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
    </virtual-server>
    </http-service>

    I am pasting mine. See if it helps!
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE domain PUBLIC "-//Sun Microsystems Inc.//DTD Application Server 8.0 Domain//EN" "http://www.sun.com/software/appserver/dtds/sun-domain_1_0.dtd">
    <!--
       Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
       SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
    -->
    <!-- Generated from default-domain.xml.template -->
    <domain application-root="${com.sun.aas.instanceRoot}/applications" log-root="${com.sun.aas.instanceRoot}/logs">
      <applications>
        <j2ee-application enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-apps/MEjbApp" name="MEjbApp" object-type="system-all"/>
        <j2ee-application enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-apps/__ejb_container_timer_app" name="__ejb_container_timer_app" object-type="system-all"/>
        <web-module context-root="/web1" enabled="true" location="${com.sun.aas.installRoot}/lib/install/applications/adminapp/adminapp_war" name="adminapp" object-type="system-admin">
          <!-- System Web Module - DO NOT DELETE! -->
        </web-module>
        <web-module context-root="/asadmin" enabled="true" location="${com.sun.aas.installRoot}/lib/install/applications/admingui/adminGUI_war" name="admingui" object-type="system-admin">
          <!-- System Web Module - DO NOT DELETE! -->
        </web-module>
        <web-module context-root="/com_sun_web_ui" enabled="true" location="${com.sun.aas.installRoot}/lib/install/applications/com_sun_web_ui" name="com_sun_web_ui" object-type="system-admin">
          <!-- System Web Module - DO NOT DELETE! -->
        </web-module>
      </applications>
      <resources>
        <jdbc-resource enabled="true" jndi-name="jdbc/__TimerPool" object-type="system-all" pool-name="__TimerPool"/>
        <jdbc-resource enabled="true" jndi-name="jdbc/PointBase" object-type="user" pool-name="PointBasePool"/>
        <jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="com.pointbase.xa.xaDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" max-pool-size="32" max-wait-time-in-millis="60000" name="__TimerPool" pool-resize-quantity="2" res-type="javax.sql.XADataSource" steady-pool-size="8">
          <property name="DatabaseName" value="jdbc:pointbase:embedded:ejbtimer,database.home=${com.sun.aas.instanceRoot}/lib/databases"/>
          <property name="User" value="pbPublic"/>
          <property name="Password" value="pbPublic"/>
        </jdbc-connection-pool>
        <jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="com.pointbase.xa.xaDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" max-pool-size="32" max-wait-time-in-millis="60000" name="PointBasePool" pool-resize-quantity="2" res-type="javax.sql.XADataSource" steady-pool-size="8">
          <property name="DatabaseName" value="jdbc:pointbase:server://localhost:9092/sun-appserv-samples"/>
          <property name="Password" value="pbPublic"/>
          <property name="User" value="pbPublic"/>
        </jdbc-connection-pool>
      </resources>
      <configs>
        <config name="server-config">
          <http-service>
            <http-listener acceptor-threads="100" address="0.0.0.0" default-virtual-server="server" enabled="true" id="http-listener-1" port="8080" security-enabled="false" server-name="" xpowered-by="true">
        </http-listener>
            <http-listener acceptor-threads="100" address="0.0.0.0" default-virtual-server="server" enabled="true" id="http-listener-2" port="1043" security-enabled="true" server-name="" xpowered-by="true">
        </http-listener>
            <http-listener acceptor-threads="100" address="0.0.0.0" default-virtual-server="__asadmin" enabled="true" id="admin-listener" port="4848" security-enabled="false" server-name="" xpowered-by="true">
        </http-listener>
            <virtual-server hosts="TCS032328" http-listeners="http-listener-1,http-listener-2" id="server" state="on">
              <property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
              <property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
            </virtual-server>
            <virtual-server default-web-module="admingui" hosts="TCS032328" http-listeners="admin-listener" id="__asadmin" state="on">
              <property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
            </virtual-server>
          </http-service>
          <iiop-service client-authentication-required="false">
            <orb max-connections="1024" message-fragment-size="1024" use-thread-pool-ids="thread-pool-1"/>
            <iiop-listener address="0.0.0.0" enabled="true" id="orb-listener-1" port="3700" security-enabled="false"/>
            <iiop-listener address="0.0.0.0" enabled="true" id="SSL" port="2829" security-enabled="true">
              <ssl cert-nickname="s1as" client-auth-enabled="false" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
            </iiop-listener>
            <iiop-listener address="0.0.0.0" enabled="true" id="SSL_MUTUALAUTH" port="1061" security-enabled="true">
              <ssl cert-nickname="s1as" client-auth-enabled="true" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
            </iiop-listener>
          </iiop-service>
          <admin-service type="das-and-server">
            <das-config admin-session-timeout-in-minutes="60" autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy" autodeploy-enabled="true" autodeploy-jsp-precompilation-enabled="false" autodeploy-polling-interval-in-seconds="2" autodeploy-verifier-enabled="false" deploy-xml-validation="full" dynamic-reload-enabled="true" dynamic-reload-poll-interval-in-seconds="2"/>
          </admin-service>
          <web-container/>
          <ejb-container cache-idle-timeout-in-seconds="600" cache-resize-quantity="32" commit-option="B" max-cache-size="512" max-pool-size="32" pool-idle-timeout-in-seconds="600" pool-resize-quantity="8" removal-timeout-in-seconds="5400" session-store="${com.sun.aas.instanceRoot}/session-store" steady-pool-size="0" victim-selection-policy="nru"/>
          <mdb-container idle-timeout-in-seconds="600" max-pool-size="32" pool-resize-quantity="8" steady-pool-size="0"/>
          <jms-service init-timeout-in-seconds="60" type="LOCAL">
            <jms-host admin-password="admin" admin-user-name="admin" host="TCS032328" name="default_JMS_host" port="7676"/>
          </jms-service>
          <log-service alarms="false" file="${com.sun.aas.instanceRoot}/logs/server.log" log-rotation-limit-in-bytes="2000000000" log-to-console="false" use-system-logging="false">
            <module-log-levels admin="INFO" classloader="INFO" cmp="INFO" cmp-container="INFO" configuration="INFO" connector="INFO" corba="INFO" deployment="INFO" ejb-container="INFO" javamail="INFO" jaxr="INFO" jaxrpc="INFO" jdo="INFO" jms="INFO" jta="INFO" jts="INFO" mdb-container="INFO" naming="INFO" resource-adapter="INFO" root="INFO" saaj="INFO" security="INFO" server="INFO" verifier="INFO" web-container="INFO"/>
          </log-service>
          <security-service anonymous-role="ANYONE" audit-enabled="false" audit-modules="default" default-realm="file" jacc="default">
            <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="file">
              <property name="file" value="${com.sun.aas.instanceRoot}/config/keyfile"/>
              <property name="jaas-context" value="fileRealm"/>
            </auth-realm>
            <auth-realm classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm" name="certificate">
        </auth-realm>
            <jacc-provider name="default" policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl" policy-provider="com.sun.enterprise.security.provider.PolicyWrapper">
              <property name="repository" value="${com.sun.aas.instanceRoot}/generated/policy"/>
            </jacc-provider>
            <audit-module classname="com.sun.enterprise.security.Audit" name="default">
              <property name="auditOn" value="false"/>
            </audit-module>
          </security-service>
          <transaction-service automatic-recovery="false" heuristic-decision="rollback" keypoint-interval="2048" retry-timeout-in-seconds="600" timeout-in-seconds="0" tx-log-dir="${com.sun.aas.instanceRoot}/logs"/>
          <monitoring-service>
            <module-monitoring-levels connector-connection-pool="OFF" ejb-container="OFF" http-service="OFF" jdbc-connection-pool="OFF" orb="OFF" thread-pool="OFF" transaction-service="OFF" web-container="OFF"/>
          </monitoring-service>
          <java-config classpath-suffix="D:\Sun/lib/jaxb-api.jar;D:\Sun/lib/jaxb-impl.jar;D:\Sun/lib/jaxb-libs.jar;D:\Sun/lib/jaxb-xjc.jar;D:\Sun/lib/jwsdp-tools-lib/jax-qname.jar;D:\Sun/lib/jwsdp-tools-lib/namespace.jar;D:\Sun/lib/relaxngDatatype.jar;D:\Sun/lib/xsdlib.jar;${com.sun.aas.installRoot}/pointbase/lib/pbclient.jar${path.separator}${com.sun.aas.installRoot}/pointbase/lib/pbembedded.jar" debug-enabled="false" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044" env-classpath-ignored="true" java-home="${com.sun.aas.javaRoot}" javac-options="-g" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g" server-classpath="D:\Sun/lib/activation.jar;D:\Sun/lib/endorsed/xercesImpl.jar;D:\Sun/lib/endorsed/dom.jar;D:\Sun/lib/endorsed/xalan.jar;D:\Sun/lib/saaj-api.jar;D:\Sun/lib/saaj-impl.jar;D:\Sun/lib/jaxrpc-spi.jar;D:\Sun/lib/jwsdp-tools-lib/jax-qname.jar;D:\Sun/lib/relaxngDatatype.jar;D:\Sun/lib/xsdlib.jar;${com.sun.aas.javaRoot}/lib/tools.jar${path.separator}${com.sun.aas.installRoot}/lib/install/applications/jmsra/imqjmsra.jar${path.separator}${com.sun.aas.imqLib}/jaxm-api.jar${path.separator}${com.sun.aas.imqLib}/fscontext.jar${path.separator}${com.sun.aas.antLib}/ant.jar">
            <!-- various required jvm-options -->
            <jvm-options>-client</jvm-options>
            <jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
            <jvm-options>-Dhttp.proxyHost=</jvm-options> <jvm-options>-Dhttp.proxyPort=</jvm-options> <jvm-options>-Djwsdp.container.type=appserver</jvm-options> <jvm-options>-Dorg.apache.xindice.root-collection=${com.sun.aas.instanceRoot}/applications/j2ee-modules/RegistryServer/Xindice</jvm-options> <jvm-options>-Dxindice.db.home=${com.sun.aas.instanceRoot}/applications/j2ee-modules/RegistryServer/Xindice</jvm-options> <jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
            <jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
            <jvm-options>-Dsun.rmi.dgc.server.gcInterval=3600000</jvm-options>
            <jvm-options>-Dsun.rmi.dgc.client.gcInterval=3600000</jvm-options>
            <jvm-options>-Dcom.sun.web.console.appbase=/${com.sun.aas.installRoot}/lib/install/applications/com_sun_web_ui</jvm-options>
            <jvm-options>-Xmx512m</jvm-options>
            <jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
            <jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
            <jvm-options>-Djava.ext.dirs=${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext</jvm-options>
            <jvm-options> -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver</jvm-options>
            <jvm-options>-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar</jvm-options>
            <jvm-options>-XX:NewRatio=2</jvm-options>
          </java-config>
          <thread-pools>
            <thread-pool idle-thread-timeout-in-seconds="120" max-thread-pool-size="200" min-thread-pool-size="0" num-work-queues="1" thread-pool-id="thread-pool-1"/>
          </thread-pools>
        </config>
        <!-- config model with name "server-config" ends -->
      </configs>
      <servers>
        <server config-ref="server-config" name="server">
          <application-ref enabled="true" ref="adminapp" virtual-servers="__asadmin"/>
          <application-ref enabled="true" ref="admingui" virtual-servers="__asadmin"/>
          <application-ref enabled="true" ref="com_sun_web_ui" virtual-servers="__asadmin"/>
          <application-ref enabled="true" ref="MEjbApp" virtual-servers="server"/>
          <application-ref enabled="true" ref="__ejb_container_timer_app" virtual-servers="server"/>
          <resource-ref enabled="true" ref="jdbc/__TimerPool"/>
          <resource-ref enabled="true" ref="jdbc/PointBase"/>
        </server>
      </servers>
    </domain>Cheers.
    Rich

  • Manually configuring domain.xml using ${name} and -Dname

    I need to be able to use this syntax:
          <jms-service addresslist-behavior="random" addresslist-iterations="3" init-timeout-in-seconds="60" reconnect-attempts="3" reconnect-enabled="true" reconnect-interval-in-seconds="60" type="LOCAL">
            <jms-host admin-password="admin" admin-user-name="admin" host="${com.memento.localhost}" name="default_JMS_host" port="7676"/>
          </jms-service>When I add -Dcom.memento.localhost="%COMPUTERNAME%" to the script that runs CLIMain, the property is not replaced when the above jms-service element is processed. I know because the server.log shows:
    #|2005-03-16T17:00:39.809-0500|INFO|sun-appserver-pe8.1|javax.enterprise.system.stream.out|_ThreadID=10;|
    URL is :mq://${com.memento.localhost}:7676/,Where do I set my property so it is picked up for replacement in domain.xml? Apparently the Java command that runs CLIMain is not the right place. Or soemthing else is wrong?

    If I understand this correctly, you need to do a token replacement so that the runtime accepts the configured value.
    <P>
    What you need is a "system-property".
    Here is how I would go about doing it:
    <ul>
    <li> No need to modify the asadmin script at all. </li>
    <li> ./asadmin set user admin passwordfile /tmp/pass "server.jms-service.host=${${com.memento.localhost}"</li>
    <li> This will add this value as expected in domain.xml. </li>
    <li> But this is not what you want. </li>
    <li> You need something called as a "system property" that is specific to SJS application server. <li>
    <li> This is a convenient way of creating a token and replace it at runtime. </li>
    <li> Either in the admin GUI or admin CLI, you need to define a system property. For example, the system property in the above case could be defined on CLI as: ./asadmin create-system.properties user admin passwordfile /tmp/pass "com.memento.localhost=the-actual-machine-name"
    </li>
    Hope this helps.
    </ul>

  • Domain.xml corruptions

    This happens too often.
    The issue was described in multiple threads. The workaround is also described here:
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=45576
    What I just want to ask Sun is to catch all the exceptions during updating this domain.xml so it can be written GRACEFULLY (or not written at all) instead of being left in the corrupted state...
    In my case the exception that caused the corruption seemed to be OutOfMemory error (although I increased the xmx for Sun appserver)

    Well, I have another workaround. :)
    Since you start JSC with a 'runide.bat' or 'runide.sh', you just add a line, copying a previously made backup version of the xml over the original one. It looks to me like no "valuable" information is in the xml anyways. :)
    Just remember to put the runide back into its original state once you start updating JSC.

  • Fatal Error: domain.xml

    Can anybody help me about this error. I checked the domain.xml and it the file got corrupted.
    I am in the middle of testing and i would appreciate your ideas.
    asadmin> start-domain --user admin
    [Fatal Error] domain.xml:248:80: XML document structures must start and end with in the same entity.
    Starting Domain domain1, please wait.
    Log redirected to /var/opt/SUNWappserver/domains/domain1/logs/server.log.
    Please enter password>
    Error refreshing ConfigContext:/var/opt/SUNWappserver/domains/domain1/config/domain.xml
    cause: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
    XML document structures must start and end within the same entity.
    CLI156 Could not start the domain domain1.
    THankyou.
    G

    You must have manually edited domain.xml file. What you can do is to create a new server instance(cluster) with similar options you used for your instance that wouldn't start and replace the corrupted domain.xml with the one from created instance.
    You can even do some appserver temp install for that, but make sure you edit the unique parameters to match the instance/domain that wouldn't start.

  • How and when to load cross-domain.xml for web services.

    I'm accessing some 3rd party web services and so I need them to have a cross-domain.xml file, which they have done.
    In order to access their web services, am I correct that I need to load the cross-domain.xml file they put on their web server, and if so, is my code to do so below correct, which I put in my creationComplete handler function?
    Note, of course the IP address in my code is not 0.0.0.0.
    Do I need all these lines, and am I doing this correctly?
    Currently I am getting a SecurityErrorEvent.
    Security.allowDomain("0.0.0.0");
    Security.loadPolicyFile("http://0.0.0.0/crossdomain.xml");
    var request:URLRequest = new URLRequest("http://0.0.0.0/crossdomain.xml");
    var loader:URLLoader = new URLLoader();
    loader.addEventListener(Event.COMPLETE, policyLoaded);
    loader.addEventListener(IOErrorEvent.IO_ERROR, policyIOError);
    loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, policySecurityError);
    loader.load(request);

    Okay, I found that when I put the crossdomain.xml file at the root of my web site file area my hosting company provides, I do not specifically need to load the crossdomain.xml file.
    But if I want finer control over who has access to what, and I put the crossdomain.xml file in the same directory as my Flex app SWF file, what lines of the following code (or additional lines I don't know about) should I put in my app creationComplete handler function to load the crossdomain.xml file?
    Note, of course the IP address in my code is not 0.0.0.0.
    Do I need all these lines, and am I doing this correctly?
    Security.allowDomain("0.0.0.0");
    Security.loadPolicyFile("http://0.0.0.0/myAppFolder/crossdomain.xml");
    var request:URLRequest = new URLRequest("http://0.0.0.0/myAppFolder/crossdomain.xml");
    var loader:URLLoader = new URLLoader();
    loader.addEventListener(Event.COMPLETE, policyLoaded);
    loader.addEventListener(IOErrorEvent.IO_ERROR, policyIOError);
    loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, policySecurityError);
    loader.load(request);

  • Can I install Sun Cluster on LDOM guest domain. Is Oracle RAC a supported c

    Hello,
    Can I install Sun Cluster on LDOM guest domains. Is Oracle RAC on LDOM guest domains of 2 physical servers a supported configuration from oracle?
    Many thanks in advance
    Ushas Symon

    Hello,
    The motive behind using LDOm Guest domains as RAC node is to have a better control of the resource allocation, since i will be having more than one guest domains which should perform different functions. The customer wants to have ORACLE RAC alone (without sun cluster).
    I will have two T5120's and one 2540 shared storage.
    My plan of configuration is to have
    Control&IO Domain with 8VCPU, 6GB mem
    one LDOM guest domain on each physical machine with 8 VCPU's, 8GB of memory, shared n/w and disks participating as RAC node's. (Don't know yet if i will use solaris cluster or not)
    one guest domain on each physical machine with 12 VCPU's, 14GB of memory, shared n/w and disks participating as BEA weblogic cluster nodes (not on solaris cluster)
    One guest domain on each physical machine with 4 VCPU's, 4GB of memory,shared n/w and disks participating as apache web cluster (on solaris cluster)
    Now, My question is, is it a supported configuration to have guest domains as Oracle RAC participants for 11gR2 (either with or without solaris cluster).
    If I need to configure RAC nodes on solaris cluster, is it possible to have two independent clusters on LDOM , one 2 node cluster for RAC and another 2 node cluster for apache web?
    Kindly advise
    Many thanks in advance
    Ushas Symon

  • So what's the deal with missing context-root element in domain.xml?

    I see that this issue has come up in the past:
    If one hand modifies an application's web.xml file and tries to deploy using JSC, the application's corresponding web-module element's context-root gets nuked in the app server's domain.xml file. The only way I can get the server AND app to successfully run is to manually add context-root back in and manually restart the server (whether from JSC Deployment Server tree node or from the Start Menu (I'm running on XP Pro.) Trying to start either/both from the Run Project button on JSC recreates the problem. Is this a bug? Am I doing something wrong? If bug, will this be addressed soon?

    Here's what I did:
    1. I created a simple HelloWorld JSF project & tested that it compiled, deployed & ran fine using built-in AppServer.
    2. Switched Project View to FileSystem view & opened src/web/WEB-INF/web.xml for editing
    3. Inserted security-constraint
        <!-- Security -->
        <security-constraint>
              <display-name>SecurityConstraint</display-name>
              <web-resource-collection>
                 <web-resource-name>WRCollection</web-resource-name>
                 <url-pattern>/*</url-pattern>
              </web-resource-collection>
              <auth-constraint>
                 <role-name>admin</role-name>
              </auth-constraint>
              <user-data-constraint>
                 <transport-guarantee>NONE</transport-guarantee>
              </user-data-constraint>
        </security-constraint>  4. Tried to deploy & get deplyment failure messages.
    5. Looking in to the %APPSERVERROOT%/domains/creator/config/domain.xml file shows that the HelloWorld webmodule line looks as follows:
    <web-module enabled="true" location="c:/Documents and Settings/Jake Ochs/My Documents/Creator/Projects/HelloWorld/build" name="_helloworld" object-type="user"/>(notice how "context-root" is missing & now needs to be added manually to getthe app to run again.

  • JSF logging -- where is domains.xml file?

    Hi
    I'm running under WebLogic 9.2.2. I wanted to enable JSF logging and found this article on this forum:
    http://wiki.glassfish.java.net/Wiki.jsp?page=JavaServerFacesRI#section-JavaServerFacesRI-HowCanITurnOnLogging
    but this led me to a question. The article mentions the "domain.xml" file. There is no spec for such a file appearing in my WAR so I assume this is a file in the container? Grateful for any clarity you can provide, - Dave

    Looking at the article, I get the impression that domain.xml is a GlassFish-specific configuration file. I would pursue the tact of configuring JDK logging for your application server.

  • Unable Extending a Domain to Enable Oracle BPM Process Spaces?

    Hi All,
    I am trying to extending a Domain to enable Oracle BPM Process Spaces.here I am following http://docs.oracle.com/cd/E23943_01/install.1111/e12001/config.htm#INSWC1280
    link. as per document i made modification in process-portal-install.properties an run the instal.xml as a ant script.Build was success with some Errors.after restart of WC_Spaces manged server I am not able to see new functions(process Space) iin webcenter spaces.
    for this I am adding log file which is created when i am running ant(install.xml) and process-portal-install.properties. Note:I am not using Content server and Discussion server.Is its required to have CS and Discussion server.
    https://dl.dropbox.com/u/78609236/log.txt
    https://dl.dropbox.com/u/78609236/process-portal-install.properties
    Can any one take a look into the issue and give me some resolution.
    Thank you!
    Siva

    Thank You Daniel
    I am unable to find the hot fix patch. Can you / anyone please help in this regard by providing the details like Link to download this hot fix patch.
    Bharath.

  • New to XML and Oracle

    Just trying to clarify some issues as I try and learn about XML, and specifically how it integrates into the DB.
    1 - Is there a way with Oracle tools for me to get an XSD of an existing 9i relational schema? We are not currently using the XML DB, but our middleware developers would like to have an up to date XSD to use for their internal mapping.
    2 - Is there any way that I can keep that XSD up-to-date automatically, so I get a new one whenever the schema gets updated?
    3 - If I wanted to investigate storing XML docs within the DB in native XML format, I need to have an XML DB, correct? Is this DB construct maintained seperatelly from my "normal" relational schema? or are they kept in sync by Oracle?
    I know these may all be real basic questions, but as I said, I'm new to XML and Oracle. I am reading as much as I can, but there are a lot of docs out there.
    Thanks,
    Mike

    Hi
    1. On my opinion such a tool doesn't exists. Some parts can be implemented elsewhere, but not as described by you... e.g. with XSU if you specify the parameter "withschema" the XSD of the executed statement is generated. Another example is to use DBMS_METADATA to dump the data dictionary in XML (but not XSD, of course you could write your own XSLT to do this transformation...).
    2. -
    3. If you use XSD-based tables the XSD and the relational model are stored separately in the data dictionary. Therefore if you change the XSD you have to drop/create the XSD-based table... no schema evolution yet.
    Chris

  • How to store data from xml in oracle database

    Hello All
    Could anyone tell me ways of storing XML in Oracle and whats the best one in terms of performance issues.
    any URL to this q/s would be great.
    thanks
    kedar

    Ben,
    The following link as some information regarding DOM API and XSQL.
    http://asktom.oracle.com/pls/ask/f?p=4950:8:2923508047773696280::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:17309127931717
    For XML DB, you may want to create an XMLSchema and build a table off the schema definition. Then use WEBDAV to load the xml into a folder (ie object table) Once the xml is in the database you could build a view for a relational look at the data.
    Example from XMLDB Techical White Paper doc.
    create or replace view PURCHASEORDER_MASTER_VIEW
    (reference, requestor, userid, costcenter,...)
    as select extractValue(Value(p),'/PurchaseOrder/Reference'),
    extractValue(value(p),'/PurchaseOrder/Requestor'),
    extractValue(value(p),'/PurchaseOrder/User'),
    extractValue(value(p),'/PurchaseOrder/CostCenter'),...
    from PURCHASEORDER p

  • XML in Oracle 9i (best method to return a xml file from a table query)

    Hello.
    What is the best method to query a table, or set of tables (that will return thousands of rows) using xml in oracle? (best performance)
    I'm currently using DBMS_XMLGen, is there a better method ?

    I think, if your talking about generating XML, that you should use XMLElement, XMLForest, etc. to create your XML.
    Lets assume that you base is relational data, then maybe the following great example will give you an idea how to do it : Re: Generate XML Schema from oracle tables
    As michaels pointed out (did you read the link/ URL given?), the general expectancy is that the packages will be less and less important. So also maintenance wise the XMLElement, etc way will be the best, also for the future, maintainable method.

Maybe you are looking for

  • My iPod touch 4th keeps returning to home screen when on the internet

    This is a real problem!  I can't have more than two internet pages up at one time and if I try to open any other pages it returns to the home screen before thepage has even loaded. I constantly use my iPod for the internet, it's not much use if I can

  • How to adjust region position in Arrange window?

    It must be simple, but I can't find how to locate the left edge (or length) of a region accurately short of zooming in and dragging it. I'm constantly zooming in for precision, then back out for view. I'm looking for an indicator like the one that sh

  • ITunes App section grayed out?

    When I connect my iPod Touch to iTunes the entire "Apps" page is grayed out for some reason. The other pages are ok. Any thoughts or help would be appreciated. Kent

  • Add frame to photo

    Hi I have a picture of my great-granddaughter and would like to place a frame around it. I was able to use the magic extractor to isolate the part I wanted, but can not seem to figure out how to access the frames and/or the backgrounds I want. Please

  • Photos uploaded onto Facebook are small

    Hey, I have a macbook and iLife '08 and it appears that every time I upload photos onto Facebook and/or Myspace, the photos are very small compared to other Windows users. Is there anything that can be done about this? Wheelybin92