Forum Stats

  • 3,853,849 Users
  • 2,264,287 Discussions
  • 7,905,480 Comments

Discussions

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 '[email protected]http://xmlns.oracle.com/weblogic/template-database' instead of '[email protected]http://xmlns.oracle.com/weblogic/template-database' here in element [email protected]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

This discussion has been closed.