About WebLogic Server domain failover

Hi Gurus,
I have ran into problem when we have primary site failover to secondary site. If we want to have this failover automated, how should we configure? If this is a site to site failover which means IP will be changed, how can we do it without interrupt the original encryption.
I suppose we need to copy
1. config.xml
2. filerealm.properties
3. boot.properties
4. SerializedSystemIni.dat
5. anything inside /security folder.. etc
The WebLogic Server version is 10.3.0
FYI.
<AdminServer> <main> <<WLS Kernel>> <> <> <1287220805185> <BEA
-000386> <Server subsystem failed. Reason: java.lang.AssertionError: java.lang.reflect.InvocationTargetException
java.lang.AssertionError: java.lang.reflect.InvocationTargetException

Hi Kal,
Thanks for your reply.
Could you or anyone else comment on whether to replicate the primary site's configuration to the DR side or keep using the DR side's own configuration? What is the proper approach. p.s. There will be difference anyway, e.g. IP, hostname, etc.
I have read some posts talking about a workaround to start the wls installation with development mode and then change encrypted text to clear text and then change to production mode.
Regards,
Fisher

Similar Messages

  • Enabling Trust Between WebLogic Server Domains

    Hi everyone,
    We have two sites, each one running one WL 8.1 instance. The problem is that we have different users in each one, and they need to access both sites (using a RMI call).
    When the user is created in both sites, there is no problem. But we do not want to replicate all users in all sites.
    So this is what we are trying to do:
    Create the user in one site and enable trust between Weblogic Server domains (giving both sites the same password), so once one user is authenticated, the other site will not try to authenticate this user again. But since this user does not exist in the other site, he has no permission to do anything at all. Because of that we receive the following error message: "User a7ax does not have permission on br to perform lookup operation."
    Does anyone have any idea about how we can handle this, and enable the users to use other sites, without creating the user in both sites?
    Thanks in advance.
    Cesar

    In order to debug this issue you need to determine which kind of security has been applied on the web service deployed on remote weblogic server.
    Whether it requires username/password from the calling web service ?
    or it requires any kind of digital certificate from the calling web service etc......
    the most usual secnario where cross-domain security is required is as:
    If a user- Test calls a service- ServiceA on Weblogic Domain-domainA and provides its credentials and is authenticated properly.
    Then if this service requires to call another service -ServiceB on another Weblogic Domain - DomainB which is also secured then there should be a cross-domain trust should be enabled between the domains DomainA and DomainB so that the subject populated in the domainA can be transferred to DomainB.
    Now you should determine whether this is the secnario you are trying to achieve or it is something else.
    Also try to use the following debug flag in the DomainB where the provider service is deployed to get the exact reason why it is failing to verify the security check.
    -Dweblogic.DebugSecurityAtn=true
    This debug flag is enabled as JAVA_OPTIONS.
    Thanks,
    Sandeep

  • Failed to start Admin Server for Weblogic Server Domain

    I Created a domain named mydomain in weblogic server 10.3 in server 2003.But when i start Admin Server for Weblogic Server Domain from startmenu, it failed.
    I examined the log under domains\mydomain\servers\AdminServer\logs\AdminServer.log and got the following information:
    java.lang.NoClassDefFoundError:weblogic/ldap/EmbeddedLDAPChange
    at weblogic.ldap.EntryChangeListenerImpl.receiveEntryChanges(EntryChangeListenerImpl.java:28)
    Caused by :java.lang.ClassNotFoundException: weblogic.ldap.EmbeddedLDAPChange
    at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    Caused by :java.util.zip.ZipException: error reading zip file
    at java.util.zip.ZipFile.read(Native Method)
    at java.util.zip.ZipFile.access$1200(ZipFile.java:29)
    weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: weblogic.security.spi.ProviderInitializationException: A failure occurred attemping to load LDIF for provider RoleMapper from file ...\domains\mydomain\security\XACMLRoleMapperInit.ldift.
    at ...(CommonSecurityServiceManagerDelegateImpl.java:465)
    Caused by: com.bea.common.engine.ServiceInitializationException: weblogic.security.spi.ProviderInitializationException: A failure occurred attemping to load LDIF for provider RoleMapper from file ...\domains\mydomain\security\XACMLRoleMapperInit.ldift.
    at .. (ServiceEngineImpl.java:365)
    Caused by: com.bea.common.engine.ServiceInitializationException: weblogic.security.spi.ProviderInitializationException: A failure occurred attemping to load LDIF for provider RoleMapper from file ...\domains\mydomain\security\XACMLRoleMapperInit.ldift.
    at .. (BootStrapServiceImpl.java:910)
    Caused by: <openjpa-1.1.1-SNAPSHOT-r422266:891341 nofatal user error>kodo.jdo.UserException: This operation cannot be perfomed while a Transaction is active.
    at org.apache.openjpa.kernel.BrokerImpl.close(BrokerImpl.java:4087)
    ####<Critical><WebLogicServer><SOA><Adminserver><main><<WLS Kernel>><><><1282012271468><BEA-000362><Server failed. Reason:
    There are 1 nested errors:
    weblogic.security.service.SecurityServiceRuntimeException: [Security:090399] Security Services Unavailable
    at weblogic.security.service.CommonSecurityserviceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:916)
    I ignored some detailed error message.The runtime environment is server 2003 Enterprise Edition sp2.
    Thx in advance for any reply.

    Hello Djam,
    Please review the following:
    The FMW WebLogic Server (WLS) installation has been configured to use a non-default Java temporary files directory,
    i.e. the following has been set in the WebLogic startup or setDomainEnv.sh script:
    EXTRA_JAVA_PROPERTIES="-Djava.io.tmpdir=/appl/oracle/temp_java_files ${EXTRA_JAVA_PROPERTIES}"
    Reference: How to Change the WebLogic Server Location for Temporary Files (Doc ID 1336002.1)
    When the Middleware home was restored the directory specified by java.io.tmpdir parameter was missing,
    Therefore an IOException occurred when opening the wallet and WLS was unable to initialize the OPSS successfully.
    To resolve the issue re-create the directory specified by the java.io.tmp dir parameter, and make sure the owner and group access are the same as for the FMW installation.
    Unable Start AdminServer: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException (Doc ID 1923395.1)
    Bogdan

  • Error in creating an Oracle WebLogic Server domain

    Hi Everyone,
                        Am getting this following error when I tried to create a Weblogic Server Domain,Kindly help.I displayed the screen shot below,

    Hi
    It seems that the user installing the software does not have administrative rights.Login as user with Administrative right to configure WCC 11g

  • Failure while extending weblogic server domain.

    Hello
    We are facing failure for registering/extending OID, OVD and OHS instances with the WebLogic Server Domain(10.3.5.0) on Windows. Weblogic domain server and URL(http://hostname:7001/console) is up and running; however we are not able to Telnet 7001 port or access Weblogic domain URL from OID/OVD/OHS server.
    Please note OID, OVD/OHS/Admin server are hosted on three different m/c.
    Web Logic Server Domain: 10.3.5.0
    OID, OVD, OHS: 11.1.1.5
    OS: windows server 2008 32 bit
    While extending we are getting error:
    INST-07242: Unable to Connect to Oracle Weblogic Middleware Admin Server
    While registering using below opmnctl command getting error:
    Command Used:
    C:\Oracle\admin\oid_inst1\bin>opmnctl registerinstance -adminHost hostname -adminPort 7001 -adminUsername weblogic
    Command requires login to weblogic admin server (hostname):
    Username: weblogic
    Password:
    Command failed: Unable to connect to the admin server. Verify it has been start
    ed and is accessible.
    Details are logged in C:\Oracle\admin\oid_inst1\diagnostics\logs\OPMN\opmn\provi
    sion.log
    opmnctl registerinstance: failed.
    Error: Refer attached log file for more details.
    Caused by: javax.naming.NamingException: Couldn't connect to the specified host [Root exception is org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 203  completed: No]
    at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:656)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:594)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:85)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:31)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:46)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:178)
    ... 9 more
    Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(ORBUtilSystemException.java:2259)
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(ORBUtilSystemException.java:2281)
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.writeLock(SocketOrChannelConnectionImpl.java:957)
    at com.sun.corba.se.impl.encoding.BufferManagerWriteGrow.sendMessage(BufferManagerWriteGrow.java:53)
    at com.sun.corba.se.impl.encoding.CDROutputObject.finishSendingMessage(CDROutputObject.java:144)
    at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.finishSendingRequest(CorbaMessageMediatorImpl.java:247)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete1(CorbaClientRequestDispatcherImpl.java:355)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:336)
    at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
    at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.non_existent(CorbaClientDelegateImpl.java:232)
    at org.omg.CORBA.portable.ObjectImpl._non_existent(ObjectImpl.java:137)
    at weblogic.corba.j2ee.naming.ORBHel
    Trouble shooting steps tried:
    •     Firewall Off on both the server
    Edited by: 993281 on Mar 12, 2013 2:52 AM

    Did you get an answer to this problem? The opmnctl registerinstance failed with exactly the same error. In my case I know I misspelled the domain name during the install dialog and now need to correct the name, but I can't find where the name is located to correct it or which tool to use or which file I should edit? I looked through the Weblogic admin console and EM admin console but with no luck. Do you or anyone else know how I can edit the name of the host so I can move forward with my installation? It seems like it would be simple to find and change. Thanks.

  • Need information about WebLogic Server API

    Hi All,
    Can anyone please tell me what API does Oracle Weblogic Server call. I want to ask by calling which API I can get information about the state of a weblogic server and which jar contains those APIs.
    Thanks in Advance!!

    Hi Roshni,
    For List of MBean's You can follow the below Oracle link
    http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13951/core/index.html
    can you pls tell me how can I retrieve of a weblogic server through a java code,
    You can follow the below link,it will be helpful
    http://middlewaremagic.com/weblogic/?p=7505
    Regards
    Fabian

  • Problem about weblogic server

    When I first started Weblogic, at that time, the database server wasn’t available, so there was a lot of error about the database connection pool, and definitely the application didn’t work properly, so I realized that because of the database server ka. But after the database server was available, I worked on the application again but it seem like weblogic server didn’t update and still kept the state that it couldn’t find the connection pool although it had already there. Is it possible to make weblogic server automatically update when the database server is available. Any solution to resolve this problem?

    In wich version of weblogic ? I 5.1 may be .... from 7.0 to up I don't think so ....
    I supose that you don't enable the refresh/testing parameters of jdbc pool.
    Please check the e-docs to see more information
    Jin

  • Adding WebLogic Server Domain fails with UnsupportedClassVersionError

    Hi all,
    I am trying to add a WebLogic Server 10.3 domain to the Grid Control, but receive the following error:
    java.lang.UnsupportedClassVersionError: weblogic/jndi/Environment (Unsupported major.minor version 49.0)
    The discovery wizards asks for 'Administration Server Home Directory'
    The help document states:
    If you are adding BEA WebLogic Manager Server Release 9.x or higher, then specify the absolute path to the directory
    where wljmxclient.jar and wlclient.jar files are located. For example, <WL-HOME>/server/lib.
    The JDK version of BEA WebLogic is 1.6.x
    The JDK version of the Grid Agent is 1.4.2
    Clearly their is a mismatch here!
    Is there any solution to this?
    Thanks,
    Knut
    Edited by: user585799 on Feb 17, 2009 2:13 AM

    This is not a supported configuration .10.2.0.4 GC is not certified with WLS 10.3
    Edited by: mnazim on Feb 17, 2009 2:56 AM

  • Queries about weblogic server

    hi,
    can someone please provide answers for following queries
    Does Weblogic has something called ?Administration Mode? and if answer is yes does it also report web logic service as ?not running?.
    can we take Weblogic backup and if answer is yes what do we backup?
    When can we say that web logic is unstable?
    thanks
    ajay

    ajay prabhu <> wrote:
    hi,
    can someone please provide answers for following queries
    Does Weblogic has something called ?Administration Mode? and if answer is
    yes does it also report web logic service as ?not running?. Euh... via the administration server you can see if an
    application/server/etc is running or not.
    can we take
    Weblogic backup and if answer is yes what do we backup? The config directory + the application itself are important
    When can we say
    that web logic is unstable?If it crashes :)
    Schelstraete Bart
    http://www.schelstraete.org
    Linkedin: http://www.linkedin.com/in/bschelst

  • Enabled WebLogic Server domain administration port, now can't connect

    I am having troubles in an OID 11g cluster using new custom identity and Java standard trust, so setup a basic lab server with WLS 10.3.3 admin server and one managed server. All was well.
    I enabled the domain-wide admin port (9002) and can access the admin server console via https://localhost:9002/em.
    I am unable to start the managed server with ADMIN_URL of t3s://localhost:9002 or https://localhost:9002 or using the fully-qualified host name. It says "There is no server running at t3s://localhost:9002" for example.
    I enabled SSL debugging, and it just "gives up" quietly, deciding there is no SSL trust:
    <Mar 30, 2011 7:38:51 PM EDT> <Debug> <SecuritySSL> <BEA-000000> <HANDSHAKEMESSAGE: Certificate>
    <Mar 30, 2011 7:38:51 PM EDT> <Debug> <SecuritySSL> <BEA-000000> <Validating certificate 0 in the chain: Serial number: -
    33322804764672255361779797406005394240
    Issuer:C=US, ST=MyState, L=MyTown, O=MyOrganization, OU=FOR TESTING ONLY, CN=CertGenCAB
    Subject:C=US, ST=MyState, L=MyTown, O=MyOrganization, OU=FOR TESTING ONLY, CN=myhostname.acme.com
    Not Valid Before:Sun Mar 27 17:37:38 EDT 2011
    Not Valid After:Sat Mar 28 17:37:38 EDT 2026
    Signature Algorithm:MD5withRSA
    >
    <Mar 30, 2011 7:38:51 PM EDT> <Debug> <SecuritySSL> <BEA-000000> <Validating certificate 1 in the chain: Serial number:
    46914133237969612308202465797198785159
    Issuer:C=US, ST=MyState, L=MyTown, O=MyOrganization, OU=FOR TESTING ONLY, CN=CertGenCAB
    Subject:C=US, ST=MyState, L=MyTown, O=MyOrganization, OU=FOR TESTING ONLY, CN=CertGenCAB
    Not Valid Before:Thu Oct 24 11:54:45 EDT 2002
    Not Valid After:Tue Oct 25 11:54:45 EDT 2022
    Signature Algorithm:MD5withRSA
    >
    <Mar 30, 2011 7:38:51 PM EDT> <Debug> <SecuritySSL> <BEA-000000> <validationCallback: validateErr = 0>
    <Mar 30, 2011 7:38:51 PM EDT> <Debug> <SecuritySSL> <BEA-000000> < cert[0] = Serial number: -
    33322804764672255361779797406005394240
    Issuer:C=US, ST=MyState, L=MyTown, O=MyOrganization, OU=FOR TESTING ONLY, CN=CertGenCAB
    Subject:C=US, ST=MyState, L=MyTown, O=MyOrganization, OU=FOR TESTING ONLY, CN=myhostname.acme.com
    Not Valid Before:Sun Mar 27 17:37:38 EDT 2011
    Not Valid After:Sat Mar 28 17:37:38 EDT 2026
    Signature Algorithm:MD5withRSA
    >
    <Mar 30, 2011 7:38:51 PM EDT> <Debug> <SecuritySSL> <BEA-000000> < cert[1] = Serial number:
    46914133237969612308202465797198785159
    Issuer:C=US, ST=MyState, L=MyTown, O=MyOrganization, OU=FOR TESTING ONLY, CN=CertGenCAB
    Subject:C=US, ST=MyState, L=MyTown, O=MyOrganization, OU=FOR TESTING ONLY, CN=CertGenCAB
    Not Valid Before:Thu Oct 24 11:54:45 EDT 2002
    Not Valid After:Tue Oct 25 11:54:45 EDT 2022
    Signature Algorithm:MD5withRSA
    >
    <Mar 30, 2011 7:38:51 PM EDT> <Debug> <SecuritySSL> <BEA-000000> <SSLTrustValidator returns: 0>
    <Mar 30, 2011 7:38:51 PM EDT> <Debug> <SecuritySSL> <BEA-000000> <Trust status (0): NONE>
    <Mar 30, 2011 7:38:51 PM EDT> <Debug> <SecuritySSL> <BEA-000000> <Performing hostname validation checks: localhost>
    <Mar 30, 2011 7:38:51 PM EDT> <Debug> <SecuritySSL> <BEA-000000> <isMuxerActivated: false>
    <Mar 30, 2011 7:38:51 PM EDT> <Debug> <SecuritySSL> <BEA-000000> <873462440 SSL3/TLS MAC>
    <Mar 30, 2011 7:38:51 PM EDT> <Debug> <SecuritySSL> <BEA-000000> <873462440 received HANDSHAKE>
    <Mar 30, 2011 7:38:51 PM EDT> <Debug> <SecuritySSL> <BEA-000000> <HANDSHAKEMESSAGE: ServerHelloDone>
    I set flags like this: -Dweblogic.security.TrustKeyStore=DemoTrust -Dweblogic.security.SSL.ignoreHostnameVerification=true , no success.
    Any assistance you could provide would be much appreciated! Thank you.

    More info: I'm using the default DemoTrust setup.
    Correction: I can connect to the console at https://localhost:9002/console (not /em).

  • Weblogic Server Domain Metrics

    Hi, using the solaris 10.2 agent, i added two weblogic domains running in a windows box (there are no 10.2 agents for windows yet) i'm missing some metrics,
    maybe because the agent is not running on the same machine, but there are two targets that are in "Target is temporarily in status pending state.", and in the dashboard they are in "Unknow Avaliability" but going inside the target i see they're up. the targets are both the BEA Weblogic Domains, the Cluster and Managed Servers targets are ok.
    The error i get when i click on the metric error link is this:
    An error has occurred! Availability metric not found for target "target.nameofdomain"
    Is there

    Message Cannot open /var/log/sa/sa12: No such file or directory em_error=failed to execute sar at /opt/oracle/product/em/agent10g/sysman/admin/scripts/hostpagingactivity.pl line 166.
    => check whether sar is installed?
    => check whether sysstat is started at boot time?
    chkconfig sysstat
    ... if off, then
    chkconfig sysstat on
    Regards,
    martin

  • Forms 11g - Weblogic Server - Command prompts stay open?

    is it right, that i have to logon to the windows server, start the Admin Server for Weblogic Server domain manually,
    if i want to go to the Admin Console on port 7001?
    is it right, that i have to logon to the windows server, start the Weblogic Server WLS_FORMS manually,
    if i want to start any forms?
    Today i just want to set up an Oracle application server 11g like we would need for our customers.
    So i have installed Oracle Fusion Middleware 11g on a Windows 2003 Datacenter Server in US Version named "center".
    I took the US Version just for testing, cause on my machines the Oracle installer runs in german and
    may this make the problems i had until now.
    i installed the following components:
    Server Components
    Oracle Forms
    Oracle Rerports
    Developer Tools
    None
    Management Components
    Enterprise Manager
    System Components
    Oracle HTTP Server OHS
    Clustered: No
    Summary after the normal 70 minutes installaltion-prozess:
    Type: Oracle Portal, Forms, Reports and Discoverer Installation
         Configuration Options
              Middleware Home Location: C:\Oracle\Middleware
              Oracle Home Location: C:\Oracle\Middleware\as_1
              Oracle Instance Location: C:\Oracle\Middleware\asinst_1
              Oracle Instance: asinst_1
              Domain Option: Create Domain
              Domain Name: ClassicDomain
              Domain Home: C:\Oracle\Middleware/user_projects/domains/ClassicDomain
              Domain Host Name: center
              Domain Port No: 7001
              User Name: weblogic
              Automatic Port Detection: true
              Administrator Console: http://center:7001/console
              EM Console: http://center:7001/em
              EMAgent URL: http://center:5155/emd/main
              Forms URL: http://center:8888/forms/frmservlet
              Reports URL: http://center:8888/reports/rwservlet
    h5. First of six installations whithout failures! Yep!
    I pressed finish to close the installer and wait about 6 minutes til it was gone ...
    ^(at the end of this message there is a screenshot from my "half-dead-windows-server" ...)^
    when rebooting there must four cmd.exe and one javaw.exe beeing "hard-killed" before shutting down...
    After windows reboot:
    - http://center:7001/console - not reachable
    - http://center:7001/em - not reachable
    - EMAgent URL: http://center:5155/emd/main - reachable (with Congratulations :) )
    - http://center:8888 - reachable - 11g welcome page
    - http://center:8888/forms/frmservlet - not reachable - Failure of server APACHE bridge
    - http://center:8888/reports/rwservlet - not reachable - Failure of server APACHE bridge
    The Windows Service Oracle Prozess Manager (asinst_1) is up an running.
    opmnctl status:
    emagent_asinst_1 - alive
    ReportsServer_center_asinst_1 - alive
    ohs1 - alive
    where is a forms_asinst_1-process or something like this ??
    after starting the Admin Server for Weblogic Server domain manually,
    inclusiv entering weblogic username and password, waiting about 4 Minutes,
    http://center:7001/console is reachable.
    Under environment / servers / Control in the Weblogic Console, i try to start wls_forms.
    Message
    For server WLS_FORMS, the Node Manager associated with machine center is not reachable.
    All of the servers selected are currently in a state which is incompatible with this operation or are not associated with a running Node Manager or you are not authorized to perform the action requested. No action will be performed.
    - may i can set a password somewhere? i did not found ...
    So i start manually the Weblogic Server WLS_FORMS
    inclusiv entering weblogic username and password and waiting about 2 Minutes.
    Then the WLS_FORMS Server in the Weblogic Admin Console is running.
    h5. I log off from the windows console and all manually started servers and services are down. *(?!)*
    h5. Is there another way to start the forms server without having dos-boxes open ?
    h6. Windows tasks after installation Oracle Middleware 11g
    !http://www.maugo.de/image/11gsummary.jpg!
    Edited by: Magoo on Jul 24, 2009 11:38 AM

    For the benefit of any other users discovering this thread we have a new Oracle Fusion Middleware 11g 'Failure of server Apache Bridge' Troubleshooting support document - available via My Oracle Support (formerly known as Metalink)
    Check out
    Oracle Middleware 11g - Troubleshooting the Error "Failure of server APACHE bridge" [ID 1304095.1]
    https://support.oracle.com/CSP/main/article?cmd=show&id=1304095.1&type=NOT

  • Issue in packing Weblogic portal domain

    Hi Guys,
    I am trying to pack my domain from HOST A using command :
    pack -managed=true -domain=C:\Oracle\Middleware\user_projects\domains\Edlink -template=C:\Oracle\edlink.jar -log=c:\oracle\edlink.log -template_name="template_name"
    and wants to unpack it on HOST B
    But I am able to see below errors in my pack log file:
    2014-09-04 05:08:46,067 INFO  [runScript] com.bea.plateng.domain.script.ScriptExecutor - read domain from "C:\Oracle\Middleware\user_projects\domains\EDLINK"
    2014-09-04 05:08:48,739 ERROR [runScript] com.bea.plateng.domain.jdbc.TemplateDatabaseInfoHelper - FATAL ERROR: database.xml validation error!
    2014-09-04 05:08:48,739 ERROR [runScript] com.bea.plateng.domain.jdbc.TemplateDatabaseInfoHelper - database XML parsing failed: error: cvc-complex-type.2.4a: Expected element 'sql-statement@http://xmlns.oracle.com/weblogic/template-database' instead of 'datasource-mapping@http://xmlns.oracle.com/weblogic/template-database' here in element test@http://xmlns.oracle.com/weblogic/template-database
    2014-09-04 05:08:48,739 ERROR [runScript] com.bea.plateng.domain.jdbc.TemplateDatabaseInfoHelper - fail to parse database.xml
    java.lang.Exception: Database.xml validation failed.
      at com.bea.plateng.domain.jdbc.TemplateDatabaseInfoHelper.parseTemplateDatabaseInfo(TemplateDatabaseInfoHelper.java:582)
      at com.bea.plateng.domain.TemplateBuilder.parseDomainDirectory(TemplateBuilder.java:835)
      at com.bea.plateng.domain.TemplateBuilder.buildDomainTemplate(TemplateBuilder.java:1342)
      at com.bea.plateng.domain.TemplateBuilder.buildNewDomainTemplate(TemplateBuilder.java:1287)
      at com.bea.plateng.domain.TemplateBuilder.buildNewDomainTemplate(TemplateBuilder.java:1279)
      at com.bea.plateng.domain.script.ScriptExecutor.readTemplate(ScriptExecutor.java:416)
      at com.bea.plateng.domain.script.ScriptParserClassic$StateMachine.processRead(ScriptParserClassic.java:522)
      at com.bea.plateng.domain.script.ScriptParserClassic$StateMachine.execute(ScriptParserClassic.java:428)
      at com.bea.plateng.domain.script.ScriptParserClassic.parseAndRun(ScriptParserClassic.java:150)
      at com.bea.plateng.domain.script.ScriptParserClassic.doExecute(ScriptParserClassic.java:112)
      at com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:73)
      at com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:36)
      at com.bea.plateng.wizard.domain.helpers.Executor.runSilentScript(Executor.java:65)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.bea.plateng.wizard.domain.silent.tasks.RunScriptTask.runScriptWithExecutor(RunScriptTask.java:552)
      at com.bea.plateng.wizard.domain.silent.tasks.RunScriptTask.execute(RunScriptTask.java:336)
      at com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
      at java.lang.Thread.run(Thread.java:619)
    2014-09-04 05:08:50,129 WARN  [runScript] com.bea.plateng.domain.aspect.XBeanConfigAspect - Unable to locate property:Target on type:class com.bea.plateng.domain.xml.configxb.impl.MachineTypeImpl
    2014-09-04 05:08:50,145 WARN  [runScript] com.bea.plateng.domain.aspect.XBeanConfigAspect - Unable to locate property:Target on type:class com.bea.plateng.domain.xml.configxb.impl.ClusterTypeImpl
    2014-09-04 05:08:50,145 WARN  [runScript] com.bea.plateng.domain.aspect.XBeanConfigAspect - Unable to locate property:Target on type:class com.bea.plateng.domain.xml.configxb.impl.ServerTypeImpl
    2014-09-04 05:08:50,145 WARN  [runScript] com.bea.plateng.domain.aspect.XBeanConfigAspect - Unable to locate property:Target on type:class com.bea.plateng.domain.xml.configxb.impl.ServerTypeImpl
    2014-09-04 05:08:50,223 INFO  [runScript] com.bea.plateng.domain.script.ScriptExecutor - succeed: read domain from "C:\Oracle\Middleware\user_projects\domains\EDLINK"
    2014-09-04 05:08:50,223 INFO  [runScript] com.bea.plateng.domain.script.ScriptExecutor - set config option Managed to "true"
    2014-09-04 05:08:50,285 INFO  [runScript] com.bea.plateng.domain.script.ScriptExecutor - succeed: set config option Managed to "true"
    2014-09-04 05:08:50,285 INFO  [runScript] com.bea.plateng.domain.script.ScriptExecutor - write template to "C:\Oracle\EDLINK.jar"
    2014-09-04 05:08:54,145 INFO  [Thread-1] com.bea.plateng.domain.TemplateGenerator - Template Generation Successfull!
    2014-09-04 05:08:54,176 INFO  [runScript] com.bea.plateng.domain.script.ScriptExecutor - succeed: write template to "C:\Oracle\EDLINK.jar"
    2014-09-04 05:08:54,176 INFO  [runScript] com.bea.plateng.domain.script.ScriptExecutor - close template
    2014-09-04 05:08:54,192 INFO  [runScript] com.bea.plateng.domain.script.ScriptExecutor - succeed: close template
    FYI: I am using webLogic Portal 10.3.2 generic
                  with     MS SQL Server 2008 R2 64-bit
                    on      MS windows 2008 R2 server         
    solution to this post would be really appreciable.
    Thanks
    Punit

    Are you trying to upgrade your portal domain from 10.3.2 to 10.3.6 ?
    If yes then you need to use the Weblogic upgrade wizard.
    Perform the following steps to upgrade your portal domain:
    Verify that the WebLogic domain is not running.
    Upgrade the portal domain using the WebLogic Upgrade Wizard before you upgrade your portal application. To start the WebLogic Upgrade Wizard in graphical mode and upgrade a WebLogic domain on a Windows platform, run upgrade.cmd from the<WLPORTAL_HOME>\common\bin directory
    Note:Do not use the menu option Start > All Programs > Oracle Products > WebLogic Server 10.x > Tools > Domain Upgrade Wizard. This launches the WebLogic Server domain upgrade wizard.

  • Configuring weblogic server to start automatically

    Hi, I have installed oracle weblogic server 11g, jdk/jre 7 and forms & reports 11g. i have successfully installed all softwares. I configured forms and reports domain and weblogic domain. I would like to have weblogic start automatically when i login in to comp/server. Right now i have to click on the start admin server for weblogic server domain button in domain folder and the stop admin server button. I also have to type in the username and password into the cmd promt when i click the start and stop admin server buttons.
    How can i have the forms and reporst weblogic server start automatically?
    how can i get past not having to enter in username and password each time it starts up and stops? (this is entering the username and password before you get to the weblogic console login screen)

    i configured it as a windows service. i followed the instructions from the link you provided and when i finished i named the file "startweblogic.cmd." I put the file in the "WL_HOME\server\bin" directory which also has the installsvc.cmd file in and ran it as administrator.
    tHIS IS A COPY OF WHAT WAS DISPLAYED:
    C:\Windows\system32>echo off
    C:\Windows\system32>set CLASSPATH=C:\Oracle\MIDDLE~1\patch_wls1036\profiles\defa
    ult\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_ocp371\pr
    ofiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\PROGRA~1\Java\JDK17~
    1.0\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Or
    acle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\feat
    ures\weblogic.server.modules_10.3.6.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\l
    ib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Orac
    le\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;
    * To start WebLogic Server, use the password *
    * assigned to the system user. The system *
    * username and password must also be used to *
    * access the WebLogic Server console from a web *
    * browser. *
    C:\Windows\system32>rem *** Set Command Line for service to execute within creat
    ed JVM
    C:\Windows\system32>set CMDLINE="-client -Xms32m -Xmx200m -XX:MaxPermSize=128m -
    XX:+UseSpinning -Dweblogic.management.server=http://hidden:hidden -Dweblo
    gic.Stdout="D:\TEMP\Svr_Logs\stdout.log" -Dweblogic.Stderr="D:\TEMP\Svr_Logs\std
    err.log" -Xverify:none -classpath \"C:\Oracle\MIDDLE~1\patch_wls1036\profiles\de
    fault\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_ocp371\
    profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\PROGRA~1\Java\JDK1
    7~1.0\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\
    Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\fe
    atures\weblogic.server.modules_10.3.6.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server
    \lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Or
    acle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;\" -Dweblogic.Name=hidden -Dweblogic.management.username=hidden -Dweblogic.management.server
    =\"http://hidden:hidden\" -Dweblogic.ProductionModeEnabled= -Djava.securi
    ty.policy=\"C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy\" weblogic.
    Server"
    C:\Windows\system32>goto finish
    C:\Windows\system32>rem *** Set up extrapath for win32 and win64 platform separa
    tely
    C:\Windows\system32>if "false" == "true" set EXTRAPATH=C:\Oracle\MIDDLE~1\WLSERV
    ~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\PROGRA~1\J
    ava\JDK17~1.0\jre\bin;C:\PROGRA~1\Java\JDK17~1.0\bin;C:\Oracle\MIDDLE~1\WLSERV~1
    .3\server\native\win\32\oci920_8
    C:\Windows\system32>if "false" == "true" set EXTRAPATH=C:\Oracle\MIDDLE~1\WLSERV
    ~1.3\server\native\win\64\;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\PROGRA~1\
    Java\JDK17~1.0\jre\bin;C:\PROGRA~1\Java\JDK17~1.0\bin;C:\Oracle\MIDDLE~1\WLSERV~
    1.3\server\native\win\64\oci920_8
    C:\Windows\system32>if "true" == "true" set EXTRAPATH=C:\Oracle\MIDDLE~1\WLSERV~
    1.3\server\native\win\x64\;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\PROGRA~1\
    Java\JDK17~1.0\jre\bin;C:\PROGRA~1\Java\JDK17~1.0\bin;C:\Oracle\MIDDLE~1\WLSERV~
    1.3\server\native\win\x64\oci920_8
    C:\Windows\system32>rem *** Install the service
    C:\Windows\system32>"C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin\beasvc" -install -
    svcname:"beasvc Hidden_hidden" -javahome:"C:\PROGRA~1\Java\JDK17~1.
    0" -execdir:"C:\Oracle\Middleware\user_projects\domains\hidden\config"
    -maxconnectretries:"3" -host:"hidden" -port:"hidden" -extrapath:"C:\Oracle\M
    IDDLE~1\WLSERV~1.3\server\native\win\x64\;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\b
    in;C:\PROGRA~1\Java\JDK17~1.0\jre\bin;C:\PROGRA~1\Java\JDK17~1.0\bin;C:\Oracle\M
    IDDLE~1\WLSERV~1.3\server\native\win\x64\oci920_8" -password:"hidden" -cmdl
    ine:"-client -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:+UseSpinning -Dweblogic.m
    anagement.server=http://HIDDEN:HIDDEN -Dweblogic.Stdout="D:\TEMP\Svr_Logs
    \stdout.log" -Dweblogic.Stderr="D:\TEMP\Svr_Logs\stderr.log" -Xverify:none -clas
    spath \"C:\Oracle\MIDDLE~1\patch_wls1036\profiles\default\sys_manifest_classpath
    \weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\default\sys_manifes
    t_classpath\weblogic_patch.jar;C:\PROGRA~1\Java\JDK17~1.0\lib\tools.jar;C:\Oracl
    e\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\s
    erver\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modul
    es_10.3.6.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Orac
    le\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA
    ~1.0_1/lib/ant-contrib.jar;\" -Dweblogic.Name=HIDDEN -Dweblogic.managem
    ent.username=HIDDEN-Dweblogic.management.server=\"http://HIDDEN:HIDDEN\" -Dweblogic.ProductionModeEnabled= -Djava.security.policy=\"C:\Oracle\MIDDLE
    ~1\WLSERV~1.3\server\lib\weblogic.policy\" weblogic.Server"
    CreateService failed - The specified service already exists. (0x431)
    C:\Windows\system32>ENDLOCAL
    C:\Windows\system32>pause
    Press any key to continue . . .
    Edited by: 975620 on Apr 3, 2013 11:31 AM
    Edited by: 975620 on Apr 3, 2013 11:32 AM

  • Connect OEPE to a Weblogic Server running in Production SSL mode

    I am trying to connect an ECLIPSE IDE to a production Weblogic Server domain. However when I add the AdminServer to the IDE I get the message that it is Stopped but Synchronized. Therefore I cannot deploy any code directly from the IDE. How do you get Eclipse to connect to a production domain running with SSL enabled?

    According to the Oracle docs you can connect via ssl to a domain in development mode using the demo certificates. See
    http://download.oracle.com/docs/cd/E11035_01/wls100/secmanage/identity_trust.html - Configuring Demo Certificates for Clients
    I was wondering if it was possible using proper certificates and a production domain.

Maybe you are looking for