Extend domain using Templates
Hi All,
I am trying to extend a domain by deploying FMW applications and libraries using Templates.
addTemplates works only on offline mode and by default the applications are deployed on a AdminServer.However I am searching for a way to deploy on a managed servers.
Please suggest a way yo deploy the applcations on a managed serve target using Templates.
-Rajesh
Yes.The default FMW (atgpf) domain extension templates are pre-configured with Adminserver as a target.
Edited by: user787553 on Nov 15, 2009 8:05 AM
Similar Messages
-
Creation of domain using template
Hi All,
I have been trying to create a domain in weblogic 10.3 using the template . The domain gets created as well the server starts but when I try to deploy my application , I get following error
<May 10, 2010 4:58:16 PM IST> <Warning> <HTTP> <BEA-101162> <User defined listen
er weblogic.wsee.deploy.ServletDeployListener failed: weblogic.wsee.deploy.WSEES
ervletEndpointException: Failed to prepare wsse module: admin-tools.war.
weblogic.wsee.deploy.WSEEServletEndpointException: Failed to prepare wsse module
: admin-tools.war
at weblogic.wsee.deploy.ServletDeployListener.contextPrepared(ServletDep
loyListener.java:32)
at weblogic.servlet.internal.EventsManager$FireContextPreparedAction.run
(EventsManager.java:487)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.EventsManager.notifyContextPreparedEvent(Ev
entsManager.java:156)
Truncated. see log file for complete stacktrace
weblogic.wsee.ws.WsException: weblogic.wsee.security.configuration.WssConfigurat
ionException: Certificate Alias not supplied
at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:130)
at weblogic.wsee.deploy.ServletDeployListener.contextPrepared(ServletDep
loyListener.java:29)
at weblogic.servlet.internal.EventsManager$FireContextPreparedAction.run
(EventsManager.java:487)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
Truncated. see log file for complete stacktrace
weblogic.wsee.security.configuration.WssConfigurationException: Certificate Alia
s not supplied
at weblogic.wsee.security.policy.SecurityPolicyCustomizer.init(SecurityP
olicyCustomizer.java:69)
at weblogic.wsee.security.policy.SecurityPolicyCustomizer.process(Securi
tyPolicyCustomizer.java:75)
at weblogic.wsee.policy.runtime.PolicyServer.processAssertions(PolicySer
ver.java:199)
at weblogic.wsee.policy.runtime.PolicyFinder.readPolicyFromStream(Policy
Finder.java:99)
at weblogic.wsee.policy.runtime.PolicyFinder.loadPolicies(PolicyFinder.j
ava:179)
Truncated. see log file for complete stacktrace
weblogic.wsee.security.configuration.WssConfigurationException: Certificate Alia
s not supplied
at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initSSLCredent
ial(ServerBSTCredentialProvider.java:224)
at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initCredential
s(ServerBSTCredentialProvider.java:97)
at weblogic.wsee.security.configuration.WssConfiguration.initDefaultConf
iguration(WssConfiguration.java:367)
at weblogic.wsee.security.configuration.WssConfiguration.init(WssConfigu
ration.java:128)
at weblogic.wsee.security.configuration.WssConfiguration.getSupprotedTok
ens(WssConfiguration.java:182)
Truncated. see log file for complete stacktrace
>
<May 10, 2010 4:58:17 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred
in the execution of deployment request with ID '1273490845596' for task 'weblogi
c.deploy.configChangeTask.0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
oduleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
leListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
oymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:37)
Truncated. see log file for complete stacktrace
weblogic.wsee.security.configuration.WssConfigurationException: Certificate Alia
s not supplied
at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initSSLCredent
ial(ServerBSTCredentialProvider.java:224)
at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initCredential
s(ServerBSTCredentialProvider.java:97)
at weblogic.wsee.security.configuration.WssConfiguration.initDefaultConf
iguration(WssConfiguration.java:367)
at weblogic.wsee.security.configuration.WssConfiguration.init(WssConfigu
ration.java:128)
at weblogic.wsee.security.configuration.WssConfiguration.getSupprotedTok
ens(WssConfiguration.java:182)
Truncated. see log file for complete stacktrace
>
<May 10, 2010 4:58:18 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for
message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
oduleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
leListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
oymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:37)
Truncated. see log file for complete stacktrace
weblogic.wsee.security.configuration.WssConfigurationException: Certificate Alia
s not supplied
at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initSSLCredent
ial(ServerBSTCredentialProvider.java:224)
at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initCredential
s(ServerBSTCredentialProvider.java:97)
at weblogic.wsee.security.configuration.WssConfiguration.initDefaultConf
iguration(WssConfiguration.java:367)
at weblogic.wsee.security.configuration.WssConfiguration.init(WssConfigu
ration.java:128)
at weblogic.wsee.security.configuration.WssConfiguration.getSupprotedTok
ens(WssConfiguration.java:182)
Truncated. see log file for complete stacktrace
>
<May 10, 2010 4:58:18 PM IST> <Warning> <Deployer> <BEA-149004> <Failures were d
etected while initiating deploy task for application 'TestEAR'.>
<May 10, 2010 4:58:18 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for
message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
oduleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
leListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
oymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:37)
Truncated. see log file for complete stacktrace
weblogic.wsee.security.configuration.WssConfigurationException: Certificate Alia
s not supplied
at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initSSLCredent
ial(ServerBSTCredentialProvider.java:224)
at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initCredential
s(ServerBSTCredentialProvider.java:97)
at weblogic.wsee.security.configuration.WssConfiguration.initDefaultConf
iguration(WssConfiguration.java:367)
at weblogic.wsee.security.configuration.WssConfiguration.init(WssConfigu
ration.java:128)
at weblogic.wsee.security.configuration.WssConfiguration.getSupprotedTok
ens(WssConfiguration.java:182)
Truncated. see log file for complete stacktrace
>
<May 10, 2010 4:58:18 PM IST> <Error> <Console> <BEA-240003> <Console encountere
d the following error weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
oduleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
leListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
oymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep
loymentCallbackFlow.java:58)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep
loymentCallbackFlow.java:42)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.ja
va:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:37)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.j
ava:191)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.jav
a:16)
at weblogic.application.internal.DeploymentStateChecker.prepare(Deployme
ntStateChecker.java:155)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(App
ContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.cr
eateAndPrepareContainer(ActivateOperation.java:197)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.do
Prepare(ActivateOperation.java:89)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.pr
epare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploym
entPrepare(DeploymentManager.java:723)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploy
mentList(DeploymentManager.java:1190)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare
(DeploymentManager.java:248)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.pre
pare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb
ackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb
ackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb
ackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
gWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: weblogic.wsee.security.configuration.WssConfigurationException: Certi
ficate Alias not supplied
at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initSSLCredent
ial(ServerBSTCredentialProvider.java:224)
at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initCredential
s(ServerBSTCredentialProvider.java:97)
at weblogic.wsee.security.configuration.WssConfiguration.initDefaultConf
iguration(WssConfiguration.java:367)
at weblogic.wsee.security.configuration.WssConfiguration.init(WssConfigu
ration.java:128)
at weblogic.wsee.security.configuration.WssConfiguration.getSupprotedTok
ens(WssConfiguration.java:182)
at weblogic.wsee.security.policy.SecurityPolicyCustomizer.init(SecurityP
olicyCustomizer.java:56)
at weblogic.wsee.security.policy.SecurityPolicyCustomizer.process(Securi
tyPolicyCustomizer.java:75)
at weblogic.wsee.policy.runtime.PolicyServer.processAssertions(PolicySer
ver.java:199)
at weblogic.wsee.policy.runtime.PolicyFinder.readPolicyFromStream(Policy
Finder.java:99)
at weblogic.wsee.policy.runtime.PolicyFinder.loadPolicies(PolicyFinder.j
ava:179)
at weblogic.wsee.policy.runtime.PolicyFinder.loadPolicesFromZip(PolicyFi
nder.java:200)
at weblogic.wsee.policy.runtime.PolicyFinder.loadPolicies(PolicyFinder.j
ava:154)
at weblogic.wsee.deploy.WSEEModule.loadPolicies(WSEEModule.java:364)
at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:124)
at weblogic.wsee.deploy.ServletDeployListener.contextPrepared(ServletDep
loyListener.java:29)
at weblogic.servlet.internal.EventsManager$FireContextPreparedAction.run
(EventsManager.java:487)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.EventsManager.notifyContextPreparedEvent(Ev
entsManager.java:156)
at weblogic.servlet.internal.WebAppServletContext.initContextListeners(W
ebAppServletContext.java:1766)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletC
ontext.java:1126)
at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.jav
a:449)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.ja
va:910)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:364)
>
My application is not using any type of webservice . I am not sure what configuration I am missing.
Please let know if you need any further information from my side.
Thanks
AbhijeetHi Sandeep,
Thanks for your reply , there was no Web Service Security mentioned .
But I guess I found out the Reason , In my base domain under Admin Server , the Private Key Alias is set to DemoIdentitykey and Private Key phrase is too set with some encrypted value. When I exported the template these values were not passed to the new domain from template .
So In my new domain Private Key Alias (AdminServer --> SSL) and Private Key Phrase are empty.
Can somebody help me how to generate Private Key Alias and Private Key phrase please or how can i add them in the template.
When I directly copied these two value from my old domain's config.xml to new domain's config.xml I got the below error.
<May 11, 2010 4:20:11 PM IST> <Critical> <WebLogicServer> <BEA-000386> <Server s
ubsystem failed. Reason: java.lang.AssertionError: java.lang.reflect.InvocationT
argetException
java.lang.AssertionError: java.lang.reflect.InvocationTargetException
at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityPro
xy._invokeServiceMethod(DescriptorManager.java:175)
at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityPro
xy.decrypt(DescriptorManager.java:192)
at weblogic.descriptor.DescriptorManager$SecurityServiceImpl.decrypt(Des
criptorManager.java:114)
at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(Abstract
DescriptorBean.java:990)
at weblogic.management.configuration.SSLMBeanImpl.getServerPrivateKeyPas
sPhrase(SSLMBeanImpl.java:1152)
Truncated. see log file for complete stacktrace
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityPro
xy._invokeServiceMethod(DescriptorManager.java:173)
at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityPro
xy.decrypt(DescriptorManager.java:192)
Truncated. see log file for complete stacktrace
weblogic.security.internal.encryption.EncryptionServiceException: com.rsa.jsafe.
JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decr
yptBytes(JSafeEncryptionServiceImpl.java:78)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decr
yptString(JSafeEncryptionServiceImpl.java:94)
at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt
(ClearOrEncryptedService.java:87)
at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
Truncated. see log file for complete stacktrace
com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad b
yte.
at com.rsa.jsafe.JA_PKCS5Padding.a(Unknown Source)
at com.rsa.jsafe.JG_BlockCipher.decryptFinal(Unknown Source)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decr
yptBytes(JSafeEncryptionServiceImpl.java:68)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decr
yptString(JSafeEncryptionServiceImpl.java:94)
at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt
(ClearOrEncryptedService.java:87)
Truncated. see log file for complete stacktrace
>
<May 11, 2010 4:20:11 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
te changed to FAILED>
<May 11, 2010 4:20:11 PM IST> <Error> <WebLogicServer> <BEA-000383> <A critical
service failed. The server will shut itself down>
<May 11, 2010 4:20:11 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
te changed to FORCE_SHUTTING_DOWN>
Stopping PointBase server...
PointBase server stopped.
Autonomy server stopped.
Please let me know if you need any further information from my side.
Thanks
Abhijeet -
Setting up a domain using Oracle DB.
I creating a domain manually applying portal template using our own WLST script. We successfully applied workshop extension but whenever we try to apply the personalization extension we go the following exception:
WARNING] com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: java.lang.NullPointerException
[WARNING] at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
[WARNING] at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1464)
[WARNING] at com.bea.plateng.domain.script.jython.WLScriptContext.updateDomain(WLScriptContext.java:453)
[WARNING] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[WARNING] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[WARNING] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[WARNING] at java.lang.reflect.Method.invoke(Method.java:597)
[WARNING] at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
[WARNING] at org.python.core.PyMethod.__call__(PyMethod.java:96)
[WARNING] at org.python.core.PyObject.__call__(PyObject.java:258)
[WARNING] at org.python.core.PyInstance.invoke(PyInstance.java:244)
[WARNING] at org.python.pycode._pyx3.updateDomain$19(/tmp/WLSTOfflineIni7284856197490404440.py:89)
[WARNING] at org.python.pycode._pyx3.call_function(/tmp/WLSTOfflineIni7284856197490404440.py)
[WARNING] at org.python.core.PyTableCode.call(PyTableCode.java:208)
[WARNING] at org.python.core.PyTableCode.call(PyTableCode.java:256)
[WARNING] at org.python.core.PyFunction.__call__(PyFunction.java:169)
[WARNING] at org.python.pycode._pyx16.f$0(/tmp/wlst_8685525951102029317.py:65)
[WARNING] at org.python.pycode._pyx16.call_function(/tmp/wlst_8685525951102029317.py)
[WARNING] at org.python.core.PyTableCode.call(PyTableCode.java:208)
[WARNING] at org.python.core.PyCode.call(PyCode.java:14)
[WARNING] at org.python.core.Py.runCode(Py.java:1135)
[WARNING] at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
[WARNING] at weblogic.management.scripting.WLST.main(WLST.java:129)
[WARNING] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[WARNING] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[WARNING] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[WARNING] at java.lang.reflect.Method.invoke(Method.java:597)
[WARNING] at weblogic.WLST.main(WLST.java:29)
[WARNING] Caused by: com.bea.plateng.domain.script.ScriptException: java.lang.NullPointerException
[WARNING] at com.bea.plateng.domain.script.ScriptExecutor.runGenerator(ScriptExecutor.java:2817)
[WARNING] at com.bea.plateng.domain.script.ScriptExecutor.updateDomain(ScriptExecutor.java:834)
[WARNING] at com.bea.plateng.domain.script.jython.WLScriptContext.updateDomain(WLScriptContext.java:449)
[WARNING] ... 25 more
[WARNING] Caused by: java.lang.NullPointerException
[WARNING] at com.bea.plateng.domain.jdbc.JDBCDataLoader.load(JDBCDataLoader.java:159)
[WARNING] at com.bea.plateng.domain.security.SQLAuthenticatorHandler.loadSQLAuthenticatorFile(SQLAuthenticatorHandler.java:265)
[WARNING] at com.bea.plateng.domain.TemplateImporter.generate(TemplateImporter.java:427)
[WARNING] at com.bea.plateng.domain.script.ScriptExecutor$2.run(ScriptExecutor.java:2785)
[WARNING]
[WARNING] com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: java.lang.NullPointerException
The oracle DB has all scripts already applied even the the user has been created using the SQLAuthenticator.sql
This is blocking our development environment and we cannot proceed usign oracle.
Here is also the WLST script that we are using to create the domain.
from java.lang import String
from java.io import File
#=======================================================================================
# This script creates a weblogic domain from a domain template
# It will also extend the domain if any extension templates are defined
#=======================================================================================
print 'Start domain creation...'
print ''
#=======================================================================================
# Create domain from a domain template only if there's no existing domain already created
#=======================================================================================
domainDir=File('.../wls_domains/repairsDomain')
if domainDir.exists():
print 'Found existing domain at .../repairsDomain'
print 'Remove the directory if you want to create a brand-new domain'
print ''
else:
# create a brand new domain from domain template, currently we just use wls.jar
# which comes with weblogic installation
print 'Creating domain using template .../bea/wlserver_10.3/common/templates/domains/wls.jar'
readTemplate('.../bea/wlserver_10.3/common/templates/domains/wls.jar')
# update server properties: name, listen address, listen port
cd('/Server/AdminServer')
cmo.setName('AdminServer')
cmo.setListenAddress('0.0.0.0')
cmo.setListenPort(int('10004'))
# Reset the login id and password
cd('/Security/base_domain/User')
delete('weblogic','User')
create('system','User')
cd('/Security/base_domain/User/system')
cmo.setPassword('weblogic')
# - CreateStartMenu: Disable creation of Start Menu shortcut.
setOption('CreateStartMenu', 'false')
# - ServerStartMode: Set mode to development.
setOption('ServerStartMode', 'dev')
# - OverwriteDomain: Enable overwrite domain, when saving, if one exists.
setOption('OverwriteDomain', 'true')
# Write the base domain and close the base domain template.
writeDomain('.../repairsDomain')
closeTemplate()
print 'Server AdminServer will be listening at address 0.0.0.0 on port 10004'
print 'Domain repairsDomain successfully created in .../repairsDomain'
print ''
#=======================================================================================
# Apply extension templates if there's any
#=======================================================================================
extensionDomainTemplates=String('.../.m2/repository/com/vzb/domains/weblogic-workshop/1.2-SNAPSHOT/weblogic-workshop-1.2-SNAPSHOT.jar:.../.m2/repository/com/vzb/domains/weblogic-p13n/1.2-SNAPSHOT/weblogic-p13n-1.2-SNAPSHOT.jar:.../.m2/repository/com/vzb/domains/weblogic-portal-content/1.2-SNAPSHOT/weblogic-portal-content-1.2-SNAPSHOT.jar:.../.m2/repository/com/vzb/domains/weblogic-portal/1.2-SNAPSHOT/weblogic-portal-1.2-SNAPSHOT.jar')
if extensionDomainTemplates.length() != 0:
templates=extensionDomainTemplates.split(File.pathSeparator)
for template in templates:
print 'Extending domain using template ' + template
readDomain('.../repairsDomain')
addTemplate(template)
updateDomain()
closeDomain()
We migrate templates to maven so we can replace DB settings.Marcus,
I can't answer your specific question but I suggest you browse some of the OAS and WebDB documentation. Click the documentation link on the left of this page. You could also take a look at some of the technical white papers available at www.oracle.com.
Blaise -
Error during weblogic domain creation using template.
Hi,
I have 2 machines(lets say Old and New). I have installed weblogic 10.3.5 in my Old machine where in I have used RCU 11.1.1.50. I have created a template of this domain. Now I have Weblogic 10.3.6 in my New machine and have used RCU 11.1.1.6.0. I am creating domain using the template created from Old machine where I am getting this error:
Component Schema=SOA Infrastructure
Driver=oracle.jdbc.xa.client.OracleXADataSource
URL=jdbc:oracle:thin:@localhost:1521/fcubs
User=DEV_SOAINFRA
Password=******
SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='SOAINFRA' and version='11.1.1.5.0'
CFGFWK-60850: Test Failed!
CFGFWK-60853: A connection was established to the database but no rows were returned from the test SQL statement.
Component Schema=User Messaging Service
Driver=oracle.jdbc.OracleDriver
URL=jdbc:oracle:thin:@localhost:1521/fcubs
User=DEV_ORASDPM
Password=******
SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='ORASDPM' and version='11.1.1.2.0'
CFGFWK-60850: Test Failed!
CFGFWK-60853: A connection was established to the database but no rows were returned from the test SQL statement.
Component Schema=OWSM MDS Schema
Driver=oracle.jdbc.OracleDriver
URL=jdbc:oracle:thin:@localhost:1521/fcubs
User=DEV_MDS
Password=******
SQL Test=select 1 from schema_version_registry where
+ owner=(select user from dual) and mr_type='MDS' and+
+ version='11.1.1.5.0'+
CFGFWK-60850: Test Failed!
CFGFWK-60853: A connection was established to the database but no rows were returned from the test SQL statement.
Component Schema=SOA MDS Schema
Driver=oracle.jdbc.OracleDriver
URL=jdbc:oracle:thin:@localhost:1521/fcubs
User=DEV_MDS
Password=******
SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='MDS' and version='11.1.1.5.0'
CFGFWK-60850: Test Failed!
CFGFWK-60853: A connection was established to the database but no rows were returned from the test SQL statement.
Please help.
AbhayYou may simply ignore these errors. They are harmless.
As you created the template using older version, it is trying to find older version entry in new schema created by higher version of RCU and hence it is expected to fail.
Regards,
Anuj -
Error in creating the Domain from template in WLS 10.3.2
Hi All,
I am using WLS 10.3.2 and I need to create a domain from the template of my existing domain.
I followed these steps while creating my existing domain:
I chose these 2 while creating my existing domain
** WebLogic Portal - 10.3.2.0*
** Weblogic Portal Collaboration Repository - 10.3.2.0 [wlportal_10.3]*
after Test JDBC Data Sources step where all my tests fail and in the next step
Run Database Scripts: here I am running the Scripts by clicking on Run Scripts button and I get the message Database Load Successful!
everything goes fine and my domain works fine.
Now I am trying to create the domain template based on this domain which I created.
After this step I am trying to create a new domain from the newly created template. I follow the steps given and at the end
Creating Domain: Here it shows the progress and once it reaches 100% it displays the info in a popup window saying CFGFWK-60600: Before booting this domain, it is necessary to run the SQL file located at C:\bea\user_projects\domains\base_domain\security\SQLAuthenticator.sql in order to initialize a domain security admin user in the database.
I assume this message is because while creating the domain from template I did not get the step Run Database Scripts and that is why I get that msg at the end.
So I executed the create_db.cmd file wich is in domain home now I get the msg
+[java] Files=+
+[java] file:/C:/bea/user_projects/domains/local_domain_frm_tmpl/security/SQLAuthenticator.sql+
+[java] Load was succesful+
+[echo] ***** output written to logfile=create_db.log+
so that says DB load was successful now when I tried to start the domain wich is created from the template.....it doesn't start and throws this error:
+<Jun 18, 2010 5:24:07 PM PDT> <Error> <Management> <BEA-141244> <Schema validation errors while parsing C:\bea\user_projects\domains\local_domain_frm_tmpl\config\config.xml - Inval+
id xsi:type qname: 'wsrp:wsrp-identity-asserterType' in element realm@http://xmlns.oracle.com/weblogic/domain>
+<Jun 18, 2010 5:24:07 PM PDT> <Error> <Management> <BEA-141244> <Schema validation errors while parsing C:\bea\user_projects\domains\local_domain_frm_tmpl\config\config.xml - C:\be+
a\user_projects\domains\local_domain_frm_tmpl\<unknown>:11:9: error: failed to load java type corresponding to t=wsrp-identity-asserterType@http://www.bea.com/ns/wlp/90/security/ws
rp>
+<Jun 18, 2010 5:24:07 PM PDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: [Management:141245]Schema Validation Error in C:\bea\user_projects\domains\local_doma+
in_frm_tmpl\config\config.xml see log for details. Schema validation can be disabled by starting the server with the command line option: -Dweblogic.configuration.schemaValidationE
nabled=false>
+<Jun 18, 2010 5:24:07 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>+
+<Jun 18, 2010 5:24:07 PM PDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>+
+<Jun 18, 2010 5:24:07 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>+
Stopping PointBase server...
PointBase server stopped.
seems that this error now has something to do with config.xml........
Any suggestions.......???
Thanks,
WinHi Win35,
Your Error Indicates that ...may be u are trying to Manually Edit the "config.xml" Security Realm Part.. There something is wrong...
<Jun 18, 2010 5:24:07 PM PDT> <Error> <Management> <BEA-141244> <Schema validation errors while parsing C:\bea\user_projects\domains\local_domain_frm_tmpl\config\config.xml - Invalid xsi:type qname: 'wsrp:wsrp-identity-asserterType' in element realm@http://xmlns.oracle.com/weblogic/domain>
<Jun 18, 2010 5:24:07 PM PDT> <Error> <Management> <BEA-141244> <Schema validation errors while parsing C:\bea\user_projects\domains\local_domain_frm_tmpl\config\config.xml - C:\bea\user_projects\domains\local_domain_frm_tmpl\<unknown>:11:9: error: failed to load java type corresponding to t=<font color=maroon>wsrp-identity-asserterType@http://www.bea.com/ns/wlp90/security/wsrp</font>>
*This specially happens when working in Nopepad/TextPad ...in the Schema declaration (At the top 2-3 Lines) of "config.xml" file some Spaces or Special Characters OR a Line Break occurs gets included...*
Thanks
Jay SenSharma
http://weblogic-wonders.com/weblogic (WebLogic Wonders Are here) -
A question and out CA 'domain controller' templates, and kerbros/KDC in general
Hello All
Can someone please help me with the following question. This may be two questions (so if you think I have to post separately please let me know).
I was reading an MS article called "Active Directory Domain Controllers and Certificate auto-enrolment" which was very helpful but through up some questions too.
for example the article talks about a 'template' called 'Directory E-mail Replication' what is this? in other words we have all heard of MS Exchange for corporate email, but the name of this template seems to suggest 'Domain Controllers' send e-mails to
reach other? (over and above their normal AD replication) or is this template used for sending AD replication data via SMTP rather than RPC (which is something I have never heard of). Can someone please explain the purpose of this template, thanks very much.
Also I want to understand the relationship (if any) between these Domain Controller PKI templates and Kerberos in general (can someone point me to a white paper of good blog article)
For example my understanding at the moment if Kerberos is basically a 'symmetric' key encryption system where by the KDC (Key Distribution Center) take care of administering all these symmetric key pairs, is this basic premise
correct?
I understand (at a very basic level) to concept of Kerberos TGT and TST (ticket granting ticket and ticket service ticket) and the fact the client cannot read the contents of either of these (rather the KDC is the trust anchor and deals with all the encryption
and description of the keys to provide/proof identity authentication, and the client simply presents these tickets)
Hopefully the above is correct (or on the right lines), what I do not understand is how this (Kerberos/KDC) relates to DC's and their 'Domain Controller' templates or how these Domain Controllers use the certificates generated from these templates for encryption
(I presume to encrypt the AD sync traffic, but isn't this done via Kerberos).
Also AD CA is optional component therefore my logic suggests there should be no relation to these Domain Controller templates and Kerberos
As you can see I have some fundermental gaps in my knowleague and would really appreciate someone helping me out here
Thanks very much
AAnotherUser__
AAnotherUser__Re the template Directory E-mail Replication.
Yes, you are right - these are only used for (optional) AD replication via SMTP, and yes this is rather uncommon. I have only encountered this type of replication in a few environments with very specific - and historically grown - firewall and trust requirements.
Re Kerberos and certificates:
My favorite white paper is this:
Windows Vista Smart Card Infrastructure. See especially the details of how Kerberos is used with smart cards as depicted in Figure 16 and the text below.
When users use smartcards to logon to their computers they authenticate to DCs and DCs authenticate to them. So DCs also need certificates.
See
RFC 4556 for details of how public key cryptography is used to protect the Kerberos protocol.
So in summary certificates are used for authentication and encryption.
You are right that otherwise - if you don't use smart card logon for users - DC certificates are optional and not needed to do default Kerberos authentication.
Another reason DC certificates are often deployed is for allowing LDAP browsers and other management tools to connect to AD via LDAPs.
Elke -
Hi
Can anybody tell me how to create a SOA domain using WLST?
--Thanks in AdvanceHi
I am getting the below exception any idea?
Error: readTemplate() failed. Do dumpStack() to see details.
Problem invoking WLST – Traceback (innermost last):
File “c:\oracle\silentdomain.py”, line 3, in ?
File “C:\Users\test\AppData\Local\Temp\WLSTOfflineIni1709266438475496258.py
“, line 17, in readTemplate
The template to read must be a jar file containing a valid domain configuration
at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleExc
eption(CommandExceptionHandler.java:51)
at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(W
LScriptContext.java:1538)
at com.oracle.cie.domain.script.jython.WLScriptContext.readTemplate(WLSc
riptContext.java:340)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.
jython.WLSTException: com.oracle.cie.domain.script.ScriptException: unable to pa
rse “template-info.xml” from template jar “C:\oracle\wlserver_10.3\common\templates\domains\wls.jar
The template to read must be a jar file containing a valid domain configuration -
Broken link- Creating WebLogic Domains Using the CW
Hello!
Create domains The Configuration Wizard guides you through the process of creating or
extending a domain for your target environment. See Creating WebLogic
Domains Using the Configuration Wizard.
That link doesn't works... any idea where I could find the info?Check this one --- > http://download.oracle.com/docs/cd/E13179_01/common/docs102/confgwiz/index.html
http://download.oracle.com/docs/cd/E13179_01/common/docs102/confgwiz/newdom.html#wp1080587
Edited by: Renjan Thomas on Oct 15, 2009 1:36 AM -
Error while packing domain using pack.cmd
Hi,
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-01 16:52:57,825 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - read domain from "C:\Oracle\Middleware\user_projects\domains\Edlink"
2014-09-01 16:52:59,672 ERROR [runScript] com.bea.plateng.domain.jdbc.TemplateDatabaseInfoHelper - FATAL ERROR: database.xml validation error!
2014-09-01 16:52:59,673 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-01 16:52:59,673 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:524)
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:113)
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:66)
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:662)
2014-09-01 16:53:00,446 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-01 16:53:00,451 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-01 16:53:00,451 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-01 16:53:00,451 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-01 16:53:00,482 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - succeed: read domain from "C:\Oracle\Middleware\user_projects\domains\Edlink"
2014-09-01 16:53:00,484 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - set config option Managed to "true"
2014-09-01 16:53:00,532 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - succeed: set config option Managed to "true"
2014-09-01 16:53:00,534 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - write template to "C:\Oracle\edlink.jar"
2014-09-01 16:53:03,449 INFO [Thread-1] com.bea.plateng.domain.TemplateGenerator - Template Generation Successfull!
2014-09-01 16:53:03,480 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - succeed: write template to "C:\Oracle\edlink.jar"
2014-09-01 16:53:03,481 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - close template
2014-09-01 16:53:03,481 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - succeed: close template
I have faced this problem earlier also but that time I used tar.sh and untar.sh scripts provided by our engineering team, but this time I don't have.
also it seems there is some ongoing bug with pack.sh/cmd & unpack.sh/cmd
thus it fails to compress the domain into a jar everytime
FYI: I am using
WebLogic server with portal 10.3.2
with DB as MSSQL Server
on windows platform
Solution to this post would be appreciable.
Thanks
PunitThe issue seems to be similar to this bug:
Bug 13624207 - ISSUE WHEN USING PACK/UNPACK COMMAND WHILE CREATING DOMAIN USING WLST.
Please try posting here:
WebLogic Portal
Best Regards
Luz -
Create a ALSB 3.0 domain using WLST
Hi,
I have created a ALSB domain using config.sh and then I used the following script to create the template
# create doman template
readDomain('/usr/local/bea/user_projects/domains/z2esbadmin')
writeTemplate('/home/was/work/wlst/z2esbadminTemplate.jar')
exit()
The template jar file is created successfully without any warning/error
When I tried to create the domain using the template with the following comand:
createDomain('z2esbadminTemplate.jar','/home/was/work/user_projects/domains/z2esb', 'weblogic', 'weblogic')
exit()
I got the following error message:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Error: create() failed. Do dumpStack() to see details.
Problem invoking WLST - Traceback (innermost last):
File "/home/mcas/weblogic/wlst/createEsbDomain.py", line 1, in ?
File "/tmp/WLSTOfflineIni25221.py", line 96, in createDomain
com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.ValidateException: Property "User name" of User with original name "" is invalid. The property value is duplicated.
at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1468)
at com.bea.plateng.domain.script.jython.WLScriptContext.create(WLScriptContext.java:672)
at com.bea.plateng.domain.script.jython.WLScriptContext.createDomain(WLScriptContext.java:507)
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:585)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
at org.python.core.PyMethod.__call__(PyMethod.java:96)
at org.python.core.PyObject.__call__(PyObject.java:248)
at org.python.core.PyObject.invoke(PyObject.java:2016)
at org.python.pycode._pyx5.createDomain$21(/tmp/WLSTOfflineIni25221.py:96)
at org.python.pycode._pyx5.call_function(/tmp/WLSTOfflineIni25221.py)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyTableCode.call(PyTableCode.java:404)
at org.python.core.PyFunction.__call__(PyFunction.java:184)
at org.python.core.PyObject.__call__(PyObject.java:314)
at org.python.pycode._pyx18.f$0(/home/mcas/weblogic/wlst/createEsbDomain.py:1)
at org.python.pycode._pyx18.call_function(/home/mcas/weblogic/wlst/createEsbDomain.py)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyCode.call(PyCode.java:14)
at org.python.core.Py.runCode(Py.java:1135)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
at weblogic.management.scripting.WLST.main(WLST.java:106)
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:585)
at weblogic.WLST.main(WLST.java:29)
Caused by: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.ValidateException: Property "User name" of User with original name "" is invalid. The property value is duplicated.
at com.bea.plateng.domain.script.ScriptExecutor.create(ScriptExecutor.java:897)
at com.bea.plateng.domain.script.jython.ScriptProxyFactory.deepCreateProxy4SecurityType(ScriptProxyFactory.java:135)
at com.bea.plateng.domain.script.jython.WLScriptContext.create(WLScriptContext.java:646)
... 27 more
Caused by: com.bea.plateng.domain.ValidateException: Property "User name" of User with original name "" is invalid. The property value is duplicated.
at com.bea.plateng.domain.aspect.XBeanConfigAspect.selfValidate(XBeanConfigAspect.java:630)
at com.bea.plateng.domain.aspect.AbstractConfigAspect.validate(AbstractConfigAspect.java:1130)
at com.bea.plateng.domain.aspect.AbstractConfigAspect.selfSetValue(AbstractConfigAspect.java:1615)
at com.bea.plateng.domain.aspect.AbstractConfigAspect.setValueInternal(AbstractConfigAspect.java:1574)
at com.bea.plateng.domain.aspect.AbstractConfigAspect.setValue(AbstractConfigAspect.java:748)
at com.bea.plateng.domain.aspect.AbstractConfigAspect.setValue(AbstractConfigAspect.java:757)
at com.bea.plateng.domain.aspect.FilteredConfigAspect.setValue(FilteredConfigAspect.java:431)
at com.bea.plateng.domain.operation.HTableEditOperation.createSimpleConfigAspects(HTableEditOperation.java:265)
at com.bea.plateng.domain.operation.HTableEditOperation.createSimpleConfigAspects(HTableEditOperation.java:221)
at com.bea.plateng.domain.script.ScriptExecutor.create(ScriptExecutor.java:873)
... 29 more
Caused by: java.beans.PropertyVetoException: The property value is duplicated.
at com.bea.plateng.domain.event.aspect.UniqueValueValidateListener.valueChanged(UniqueValueValidateListener.java:127)
at com.bea.plateng.domain.event.aspect.ConfigAspectValueListener.vetoableChange(ConfigAspectValueListener.java:138)
at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:189)
at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:156)
at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:139)
at com.bea.plateng.domain.aspect.XBeanConfigAspect.selfValidate(XBeanConfigAspect.java:620)
... 38 more
com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.ValidateException: Property "User name" of User with original name "" is invalid. The property value is duplicated.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I did exactly the same thing for a normal weblogic domain (not alsb) and it works fine. Do I have to do something different for creating ALSB 3.0 domain?
Thanks,
NathanWell, we've had exactly the same issues.
From our experience even the most trivial tasks involving ALSB/OSB, WLST and Templates fail. Not just a single error, but every time we've tried something different to work around an issue we came across the script blew up with yet another error. After a couple of painful days we came to the conclusion that at least with WL10/ALSB3 templates and scripting are just too premature and too buggy to be of any use.
And at least from the ALSB Release Notes and Metalink it doesn't look like these issues have been addressed with subsequent releases.
We've resorted to creating the domain from scratch instead of using templates of our own domains created with the config wizard.
Cheers,
Jan -
OVD Adapter Question using template "OAM/ADAM Adapter with Mapper"
I am creating adapter to ADAM using template "OAM/ADAM Adapter with Mapper" in OVD 11.1.1.7.0 using ODSM.
obpasswordhistory, obpasswordexpirydate, obLoginTrycount and obLockouttime fields are not displayed in OVD. They are present in ADAM instance.
Any thoughts on how to add these missing fields in OVD?You would need to extend OVD schema as well. You can refer to production documentation
http://docs.oracle.com/cd/E27559_01/admin.1112/e27239/shared.htm#CFFEJEEE -
Questions on using templates [CS3]
Greetings,
I'm trying to figure out the best way to approach an InDesign task, and my rank-novice-level experience isn't cutting it. Normally I'd read through a gazillion help pages and do a bunch of tutorials to try and teach myself enough to answer the questions on my own - but I'm a new parent (~2 months), so don't really have the time to take my usual approach; indeed, it took me several days just to write up this question and post it. So any help is *much* appreciated!
What I'm trying to do: create ~80 cards for a board game. Each will have similar layout, so creating a template file seems like the way to go. I've never worked with templates before, but doing so seems straightforward enough for things like text, or for an illustration which would be different on every card. However:
Difficulty #1: Some cards are of one type - call it type A - while others are of type B. Several graphical elements are always the same for a given type, but are different for A vs. B. I'm sure there must be a simple way to say "this file uses all items for type A, and not B", but I'm not sure if this would be best done using different templates, different master pages, setting which layers are visible on an imported photoshop file, or some other technique. (Did I mention I'm a total novice with InDesign?)
Difficulty #2: There are half a dozen graphical elements (icons), each of which may or may not appear on a given card. Using templates or master pages for all permutations of their visibility seems like a bad idea. But if I simply delete the not-shown objects from each file (assuming one can do such a thing when using templates), that makes later changes (which might involve re-adding them) difficult. In Photoshop or Illustrator - both of which I'm more familiar with than InDesign - I'd simply make the layer/object non-visible; is there an equivalently simple way to "get rid of this object, but let it be easy to bring back" in InDesign? (I've found the "nonprinting" attribute, but that doesn't seem to hide it from view while editing, which makes verifying the layout as correct rather onerous.)
Trying to look ahead #1: Eventually, I'd like to create an InDesign document which imports all of the single card files into an easily printable layout (9 cards to a page); I'm told this is possible. Is there anything I should know to avoid shooting myself in the foot / making this task unreasonably difficult? (eg: if InDesign throws tantrums when you try to import multiple documents based off the same template, I'd sure like to know that before making 80 cards based off the same template.)
Many thanks to anyone who can help!
--EricI'd make the card file at the trim size, and add a bleed allowance if you need one. Export this to PDF withthe bleed, but NO MARKS.
Ah, here's where I display my novice status:
1. So you'd suggest just one card file, rather than one file per card all using the same template?
(If relevant: it would also be useful to be able to distribute 9-up PDFs of, eg, the only the 16 cards which changed in a particular revision.)
2. I'm familiar with bleed allowance, but am guessing at what you mean by "trim size", and don't know at all what you're referring to by Marks? My experience with actual pre-press production is pretty much nil.
I should probably mention, since I didn't earlier, that there is a downside to overriding master objects. If you apply a new master, or reapply the old one for some reason, the overridden objects remain and new master objects will be replaced where missing. Also, if you make any chages to an overridden object, that attribute, such as size or position, for example, loses it's link to the master and will no longer update if the master object is edited.
Mm, that is a difficulty; if I'm understanding this correctly, if I (eg) replaced or moved one of the icons on the master page, it would change on every card for which it was visible (printable), but not on those cards where it had been overridden to be non-printing - only a problem if I have to change which icons show on which cards, but that will certainly happen from time to time.
Is there a way to tell an object "stop overriding and re-load all your information from the appropriate master object"? -
How to get 2nd line in smartforms using template
how to get 2nd line in smartforms main window using template. i have also defined loop .
if possible can you try with the TABLES..
Put one TABLE in your MAIN window
create table lines as per your requirment...consider all lines like 6 for header, 1 for main, 1 for total
Now, you will find three section under the tables: header, main, footer...
in header section, create a table line, assign one of the proper lines from the line types.. repeat for your all lines.
in main section, you can access your data form the loop.
the footer secion will be called, just after the main will be finished.
Regards,
Naimesh Patel -
How to restrict height of table in smartform without using template
Hi Gurus,
I am facing a problem with table in smartform.I have 5 records in my table.If i print all 5 then table is fine.But if i get only one record in table then size of the table reduces to one row.Is there any way that i can keep my table height same as for 5 records,though i pass 1 record.I cannot use template here,because page-breaks are used in the form .
Your solutions are highly appreciated.
Thanks and regards,
MeenakshiHi,
As far my knowledge goes, If there is one record then table lines will take the height of only one row. You cannot Restrict it to take height of 5 rows.
A temporary solution could be to add empty records in your internal table so that the table uses all the 5 rows in the table while printing in the smartform. Since they are empty records your smartform will not display any data but will only use the height.
If you have 1 record add 4 empty records, Similarly if you have 2 records add 3 empty records...
This way all time the table will take the height of 5 rows.
As i said earlier this could be a temporary solution.
Thanks,
Hari Prasad. -
Passing Changed extended fields using ALE-IDOC to receiving system
Hi all,
Please tell me how passing changed extended fields using ALE-IDOC to receiving system can be achieved. Is it possible by Chnage pointer concept.Do i need to do some coading after data enters into receiving system as it is required while creating the entries in database table.
For ex. in matmas05 extended for classification and inspection view and then created using 'CREATION'
related bapi.Do i also need to incorporate the changes by change related bapi or ir can be handled by change pointer concept.
Thanks.Hi Sanu
1) Please tell me how passing changed extended fields using ALE-IDOC to receiving system can be achieved. Is it possible by Chnage pointer concept.
=> Looks like you have extended standard IDOC here. so you need to find User Exit or BADI for the Push program to populate the additional fields. Yes, it is possible thru change pointers as well.
1) Do i need to do some coading after data enters into receiving system as it is required while creating the entries in database table.
=> Yes, as suggested in 1 try finding User Exits/BADIs.
Regards
Shital
Maybe you are looking for
-
Hi, Does anybody know if I can generate the unique primary key using an Oracle Sequence for a Database table to which I am inserting records in SQL Loader? I checked the SQL Loader manual and there is no information as to how to make use of a Oracle
-
CUCIMOC Compatible Headset?
We have just completed a large UC deployment where CUCIMOC is the primary telephony device for about 3/4 of the users base. However, none of the wireless Plantronics headsets we are using work with CUCIMOC the way they should (bluetooth and USB). The
-
Two questions, hierarchical pages and vimeo videos
just upgraded to 09 from 06 (i think, the iMovie version was 06). one of the limitations i had with the old iWeb was that a site was essentially flat with all the webpages showing at the top of the page and navigation was accomplished by clicking on
-
I am so disappointed, I'm beside myself. Dual monitor support I can wait, thought I'm not happy. I have two monitors, I'd like to make use of that real estate to expand the panels a bit so I can see everything. Scrolling the panels is a huge waste of
-
Hi, Can you please help on the usage of the table() function in oracle 10g I have created a nested table as below create or replace type testtype is table of varchar2(40); created and object as below to accomodate the nested table in the object creat