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.

Similar Messages

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

  • 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.|#]

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

  • 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

  • Same AppSet Name, 2 Different Server (Prod and Dev) causing XML corruption

    Thx
    Edited by: Joan Perrella on Oct 2, 2010 12:33 AM

    Also, another scenario:  User tried to connect durring or after an Optimization is perpformed?
    Will this cause an AppInfo.XML corruption?  
    And what happens if the user changes between 2 different AppSets within the same server (Prod)?
    Will this cause the AppInfo.XML corruption?
      I have seen many different responses as to why this occurs, and until we upgrade to BPC 7.5 MS occurs, we need to better understand what is causing this, so that we can help our users better understand the current situation here. 
    We have deleted the duplicate AppSet within 2 different servers and renamed the duplicate AppSet within DEV to a unique name.  Also, had the users delete the corrupted AppInfo.XML file and so forthe, but still this Randomly Occurs to this date.
    Answers please....

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

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

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

  • Cross Domain XML not working

    Greetings,
    I recently obtained two different domains that point to a subdirectory of another domain server. The swf file I created does not show up when I use the domains that are pointing to the subdirectory of the original domain.
    I placed an xml file into the root directory that contains the following code:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
        <allow-access-from domain="*.newdomainname1.com"/>
        <allow-access-from domain="*.newdomainame2.com"/>
    </cross-domain-policy>
    Nothing shows up. Is there something else I need to do make this work? I created the swf file using CS3 - Action Script 2. I tried searching everywhere to see if I'm missing a step, but cannot find anything. Any help would be greatly appreciated.

    I'm still not entirely clear what the problem is.
    Those links to the other domain show 404 errors, which is related to how things are set up on your hosting server for those domains, and nothing to do with flash.
    Are you trying to get the swf at http://www.searecovery.com/ to load data from the other domains? (I can't see it trying to do that, so perhaps not)
    If so you need to add *.searecovery.com to the crossdomain files at the other domains.
    Crossdomain files give flash content (swfs) hosted at one domain access to load data (or grant access to the data of loaded assets) from another domain.
    So you need crossdomain permission if you want a swf hosted at www.danfoss-searecovery.com to load xml data from www.danfosssearecovery.com for example, or to get at the bitmapdata of jpgs loaded from www.danfosssearecovery.com.
    If you just want to host the swf at the other domain, and if it's not loading data from external domains, then you pretty much just need to move copies of the html and swf there along with any external assets it loads (so long as you have used relative urls for loaded assets from within the swf) . If that's what you're trying to do then the issue here is likely to be simply how your hosting environment is set up for the other domains.

  • Xml schema not working in excel 2010 - xml corrupt

    I originally posted this thread in Microsoft Answers but was suggested to post here...
    I upgraded from xl2003 to xl2010. I'm trying to map xml schemas to xl2010 (using the source pane just as I did for xl2003) and the mapping works fine until I save the file and reopen it. Once I reopen the file and try accessing the map through the XML source
    pane, I get an error identifying the xml map is corrupt as follows:
    "The operation cannot be completed because the XML map is corrupt
    To fix this problem, remove the associated xml map from the workbook and then add the XML map back to the workbook.
    /schecma/element[1][@name = 'returnData']/complextype[1]/complexContent[1]/extension[1]Undefined <complexType>, '{http://www.....' is used as a base type."
    I've tried this in xl2007 and it works fine. I also read some blogs about xl2010 xml features and in some I found that this new version has enhanced security xml features.
    Any help would be appreciated.
    "innovation is the key to success"

    Interesting to note this is still a problem, but even more interesting is as to why Excel works fine the first time you bring in the xsd, but not after you save it.  I found information that says it's related to resolving externally referenced xsds,
    which is fine, but again, why does it work the first ime and not the second?   If it were a problem with external xsds then it should never work at all so I think that answer is bogus.
    Something has to be getting corrupted on the save and it's not important enough to MS to spend the time to fix it.

  • System-jazn-data.xml corruption after few ADF Application Deployments in Weblogic 11g

    We have been facing issues of system-jazn-data.xml getting corrupted after deploying some ADF Applications causing impact on other deployed applications accessibility. As a work around, we need un-deploy the application and restore the template jazn file and bounce Admin and Managed Servers and then re-deploy the application. Anyone faced this issue? Is the root cause identified and a solution to this issue.
    Thanks,
    Kumar

    Hello Kumar,
    We faced similar issues after deploying new applications and bouncing the manager servers, but not with "system-jazn-data.xm" though. Suggest to check with oracle(SR), they would come up with a more appropriate solution/work around.
    Good luck!
    Thanks,
    Rajiv.

  • SOAP XML corruption with SSL

    When we start Flex from an SSL url (and send messages to a
    web server with SSL on), one of our SOAP messages gets corrupted.
    It only happens with one particular call, and there is another call
    which produces almost-identical XML that doesn't encounter the
    problem.
    Using ethereal, we see that the SOAP message looks as follows
    (I've removed some parts inside the XML that are well-formed, I've
    also modified the IP address). Note that the last n characters from
    the XML string have been pasted over the start of the SOAP XML!
    If we turn SSL off in the web server (and access the Flex app
    using http), it works with no problem.
    Have you seen anything like this or know what might be
    causing this corruption?
    Thanks.
    POST /PDisp HTTP/1.1
    Host: 1.2.3.4:11080
    Accept: */*
    Referer: https://1.2.3.4/foo.swf
    x-flash-version: 9,0,16,0
    Content-Type: text/xml; charset=utf-8
    SOAPAction: ""
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
    5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)
    Cache-Control: no-cache
    Cookie: LoginSessionID=bc65dbdda75f854ab58c242982d393f6
    Max-Forwards: 10
    X-Forwarded-For: 1.2.3.4
    X-Forwarded-Host: 1.2.3.4
    X-Forwarded-Server: test1.bar.com
    Content-Length: 8294
    lanEntries>
    </facTemplate>
    </TemplateTO>
    </validateTemplate></SOAP-ENV:Body></SOAP-ENV:Envelope>
    xmlns:SOAP-ENV="
    http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Body><validateTemplate>
    <TemplateTO>
    <id>68</id>
    <facTemplate>
    <dialPlanEntries>
    <dialPlanEntry>
    <dialedString>0</dialedString>
    <totalLength>3</totalLength>
    <callType />
    </dialPlanEntry>
    </dialPlanEntries>
    </facTemplate>
    </TemplateTO>
    </validateTemplate></SOAP-ENV:Body></SOAP-ENV:Envelope>

    There appears to be a bug where the XML is corrupted if the
    file size is too big and SSL is turned on. This happened for XML
    somewhere in the range of 8K-9K. To fix the problem, I tried
    removing single tags (tried several different ones), and that was
    enough to get it to work where there was no corruption. In the end,
    I re-named my tags with shorter names and was able to make this
    work.
    Definitely a work-around and we need to find a "real" way to
    solve this.
    Has anyone run into this?

Maybe you are looking for