Weblogic portal 10.3.4 Domain creation issue

Hi All,
I have created the weblogic portal 10.3.4 domain with Oracle Data Base for the following connection pools (cgDataSource-jdbc.xml, cgDataSource-nonXA-jdbc.xml, p13nDataSource-jdbc.xml, p13nProfileDataSource-jdbc.xml, portalDataSourceAlwaysXA-jdbc.xml, portalDataSource-jdbc.xml, portalDataSourceNeverXA-jdbc.xml).
After creating the domain ran the create_db.cmd in windows, It created a folder weblogic_eval. I have started the service startDerby.cmd.
When i am trying to start the weblogic server its throwing me below exception.
FYI My apache Derby DB is running on port 1527
<Jun 6, 2012 1:39:27 PM PDT> <Error> <Security> <BEA-090870> <The realm "myrealm
" failed to be loaded: weblogic.security.service.SecurityServiceException: com.b
ea.common.engine.ServiceInitializationException: <openjpa-1.1.1-SNAPSHOT-r422266
:965591 fatal internal error> org.apache.openjpa.util.InternalException: There w
as an error when invoking the static getInstance method on the named factory cla
ss "kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exception for detai
ls..
weblogic.security.service.SecurityServiceException: com.bea.common.engine.Servic
eInitializationException: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal
error> org.apache.openjpa.util.InternalException: There was an error when invoki
ng the static getInstance method on the named factory class "kodo.jdbc.kernel.Ko
doJDBCBrokerFactory". See the nested exception for details.
at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(
CSSWLSDelegateImpl.java:341)
at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegat
eImpl.java:220)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.In
itializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1785)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.in
itializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.lo
adRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
Truncated. see log file for complete stacktrace
Caused By: com.bea.common.engine.ServiceInitializationException: <openjpa-1.1.1-
SNAPSHOT-r422266:965591 fatal internal error> org.apache.openjpa.util.InternalEx
ception: There was an error when invoking the static getInstance method on the n
amed factory class "kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exc
eption for details.
at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(S
erviceEngineImpl.java:365)
at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(S
erviceEngineImpl.java:315)
at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(Servic
eEngineImpl.java:257)
at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.j
ava:72)
at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(
WLSIdentityServiceImpl.java:46)
Truncated. see log file for complete stacktrace
Caused By: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal error> org.apac
he.openjpa.util.InternalException: There was an error when invoking the static g
etInstance method on the named factory class "kodo.jdbc.kernel.KodoJDBCBrokerFac
tory". See the nested exception for details.
at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:9
5)
at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreS
erivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)
at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJD
O(StoreServiceDelegate.java:145)
at com.bea.common.security.storeservice.util.StoreServiceDelegate.<init>
(StoreServiceDelegate.java:99)
at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreS
erviceImpl.java:76)
Truncated. see log file for complete stacktrace
Caused By: java.lang.RuntimeException: There were errors initializing your confi
guration: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal store error> org.apache.o
penjpa.util.StoreException: The connection was refused because the database webl
ogic_eval was not found.
at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(
DataSourceFactory.java:235)
at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFacto
ry(JDBCConfigurationImpl.java:684)
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)
at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(Configur
ationImpl.java:288)
at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJ
PAConfigurationImpl.java:1409)
at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(Abstract
BrokerFactory.java:646)
at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFa
ctory.java:131)
at kodo.jdbc.kernel.KodoJDBCBrokerFactory.getInstance(KodoJDBCBrokerFact
ory.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Any help is really appreciated.
Thanks,
Ram.

Are you intending to use Oracle DB or Derby DB? If you intend to use Oracle, then you need to modify the connection information for the RDBMS Security Store. This is another step in the Domain Configuration Wizard, per release note 13371687.
http://docs.oracle.com/cd/E26806_01/wlp.1034/e14247/relnotes.htm#CJAEGAGD
If you follow this, you don't need to configure or start Derby DB.
Brad

Similar Messages

  • Oracle Weblogic portal 10.3.5 domain upgrade error

    Hi,
    I am trying to upgrade oracle weblogic portal 10.2 to 10.3.5. When I upgrade my domain, I get the following error.
    ERROR [prepare] com.oracle.cie.wizard.WizardController - Uncaught Exception
    java.lang.NoClassDefFoundError: com/bea/plateng/domain/DomainInfoParser
         at com.bea.wlp.upgrade.PortalDomainInfoPlugIn.prepare(PortalDomainInfoPlugIn.java:59)
         at com.bea.plateng.wizard.plugin.silent.tasks.PreparePlugInTask.execute(PreparePlugInTask.java:80)
         at com.oracle.cie.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
         at java.lang.Thread.run(Thread.java:662)
    Can you please advise.
    regards
    Hari

    Hi,
    I am trying to upgrade oracle weblogic portal 10.2 to 10.3.5. When I upgrade my domain, I get the following error.
    ERROR [prepare] com.oracle.cie.wizard.WizardController - Uncaught Exception
    java.lang.NoClassDefFoundError: com/bea/plateng/domain/DomainInfoParser
         at com.bea.wlp.upgrade.PortalDomainInfoPlugIn.prepare(PortalDomainInfoPlugIn.java:59)
         at com.bea.plateng.wizard.plugin.silent.tasks.PreparePlugInTask.execute(PreparePlugInTask.java:80)
         at com.oracle.cie.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
         at java.lang.Thread.run(Thread.java:662)
    Can you please advise.
    regards
    Hari

  • Glassfish / AppServer 9.1 PE domain creation issue

    Hi,
    I'm installating glassfish appserver on a Solaris 10 box. Following the procedure, I have to run this command :
    /opt/glassfish/lib/ant/bin/ant -f setup.xml
    All running correctly except the domain creation. I got the following error :
    <snip>
    [exec] Failed to create database '/opt/glassfish/domains/domain1/lib/databases/ejbtimer', see the next exception for details.
    [exec] CLI130 Could not create domain, domain1
    BUILD FAILED
    /opt/glassfish/setup.xml:169: The following error occurred while executing this line:
    /opt/glassfish/setup.xml:551: exec returned: 1
    </snip>
    I tried to install Application Server 9.1 PE on the same box and I got the same error. I tried to create the domain manually and again got the same error...
    I did the same installation on a Mac OS X box and everything was OK !
    Someone experienced a similar issue ? I'm trying to find someone who has the same issue, but without success. Maybe the question was already posted on this forum, but I'm not able to find it !
    Thanks in advance for your help !
    Ben

    Hi there!
    We had the exact same problem, and after several days of search we found that the environment variable LC_CTYPE had to be set to "C" or set to nothing at all. After setting LC_CTYPE=C (your shell syntax may vary), we could once again install Glassfish/SAS without problems.
    Hope this helps!

  • WebLogic Portal 9.2 MP1 Autonomy BEACMRepoFetch issue

    Hi,
    I would like to ask you a favor to look into my issue and respond if you have found a way to fix it.
    BEACMRepoFetch was not indexing the BEA CM contents with the default portal domain. I went through the documentation and found out that the "Search Indexing Enabled" must be "true" in WebLogic Admin Console | Content Management | BEA Repository. I changed the property value to "true". Now I get the following error. The CM full serach is still not working.
    <Mar 14, 2007 9:34:28 PM PDT> <Error> <Search> <BEA-415611> <Unable to create th
    e Content FullTextSearch database associated with repository BEA Repository due
    FullTextSearch engine error.
    com.bea.content.repo.internal.server.logic.search.CommandFailedException: autono
    my command did not complete in 300,000 msec, waited 299,985 msec, status=0
    at com.bea.content.repo.internal.server.logic.search.AutonomyHelper46.wa
    itForServerCommand(AutonomyHelper46.java:179)
    at com.bea.content.repo.internal.server.logic.search.AutonomyClient46Man
    ager.createDatabase(AutonomyClient46Manager.java:164)
    at com.bea.content.repo.internal.server.logic.search.AutonomyClient46Man
    ager.connect(AutonomyClient46Manager.java:91)
    at com.bea.content.federated.internal.VirtualRepositoryManagerImpl.ensur
    eFullTextSearchDatabaseExists(VirtualRepositoryManagerImpl.java:223)
    at com.bea.content.manager.internal.ContentListener.postStart(ContentLis
    tener.java:59)
    Truncated. see log file for complete stacktrace
    >

    The following need to be configured for CM Full Text Search (and BEACMRepoFetch) to work properly: (note these instructions are for a development box, not a production system)
    - this Autonomy integration will work with a BEA Repository
    - verify WLP_SEARCH_OPTION is set in the shell/command window before the server is started. This can be set to 'full', 'minimal', or 'none'. Set to 'full' to start up all the Autonomy processes.
    - verify the autonomy processes start up and stay running. You should see 8 or so processes like AutonomyIDOLServer.exe, content.exe, AutonomyDiSH.exe, category.exe, community.exe, FileSystemFetch.exe, BEACMRepoFetch.exe, HTTPFetch.exe, etc. I like to use the Process Explorer tool on Windows because it shows the hierarchy of processes.
    - check the Autonomy logs in the tree at WL_HOME/portal/thirdparty/autonomy/<os> for any 'error', 'warning', 'fail', 'unable', 'cannot', 'can't' messages. On windows, I like to use a tool like Agent Ransack to scan all *.log files in the entire directory tree for these strings. One semi-common message is that Autonomy sometimes will not start up if there is less than 1 Gb of free disk space.
    - verify the following properties/settings are set on the repository config (note some of these default to true): search-enabled=TRUE, fulltext-search-is-enabled=TRUE, search-indexing-is-enabled=TRUE, cm_fireRepositoryEvents=TRUE
    - verify your type and any associated properties have indexing enabled.

  • Weblogic domain creation fails with "The domain location must have write permission."

    Hi
    I am trying to install and setup weblogic in Linux RHEL 5.4
    so I can test webservices . This is what i have done
    WLS Zip Distribution for Oracle WebLogic Server 12.1.1.0 - downloaded & installed.
    Followed the steps in README.
    - extract contents of tar, setup home, run installation-configuration script, setup wls environment
    Step 5:
    Create a new WLS domain and start WLS.  It is recommended that you create domains outside the MW_HOME.
         $ mkdir /home/myhome/mydomain
        $ cd /home/myhome/mydomain
        $ $JAVA_HOME/bin/java $JAVA_OPTIONS -Xmx1024m -XX:MaxPermSize=128m weblogic.Server
    -> returns the below error
    $JAVA_HOME/bin/java $JAVA_OPTIONS -Xmx1024m -XX:MaxPermSize=128m weblogic.Server  -Dweblogic.security.allowCryptoJDefaultJCEVerification=true
    <Jun 25, 2013 3:39:57 PM EDT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Jun 25, 2013 3:39:57 PM EDT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Jun 25, 2013 3:39:58 PM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 23.21-b01 from Oracle Corporation.>
    /apps/Informatica/tdwdomain/config not found
    No config.xml was found.
    Would you like the server to create a default configuration and boot? (y/n): y
    <Jun 25, 2013 3:40:03 PM EDT> <Info> <Management> <BEA-140013> </apps/Informatica/tdwdomain/config not found>
    <Jun 25, 2013 3:40:03 PM EDT> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
    Enter username to boot WebLogic server:admin  Enter password to boot WebLogic server:admin123
    For confirmation, please re-enter password required to boot WebLogic server:admin123
    <Jun 25, 2013 3:40:13 PM EDT> <Info> <Management> <BEA-141254> <Generating new domain directory in /apps/Informatica/tdwdomain.>
    <Jun 25, 2013 3:40:17 PM EDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    weblogic.management.ManagementException: Failure during domain creation
            at weblogic.management.internal.DomainGenerator.generateDefaultDomain(DomainGenerator.java:119)
            at weblogic.management.internal.DomainDirectoryService.start(DomainDirectoryService.java:82)
            at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
            at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
            at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:883)
            at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:570)
            at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
            at weblogic.Server.main(Server.java:74)
    Caused by: com.oracle.cie.domain.script.ScriptException: The domain location must have write permission.
            at com.oracle.cie.domain.script.ScriptExecutor.writeDomain(ScriptExecutor.java:757)
            at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.processWrite(ScriptParserClassic.java:573)
            at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.execute(ScriptParserClassic.java:429)
            at com.oracle.cie.domain.script.ScriptParserClassic.parseAndRun(ScriptParserClassic.java:148)
            at com.oracle.cie.domain.script.ScriptParserClassic.doExecute(ScriptParserClassic.java:110)
            at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:72)
            at com.oracle.cie.domain.DomainInfoHelper.executeSilentScript(DomainInfoHelper.java:854)
            at com.oracle.cie.domain.DomainInfoHelper.createDefaultDomain(DomainInfoHelper.java:1775)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at weblogic.management.internal.CIEDomainGenerator.generateDefaultDomain(CIEDomainGenerator.java:62)
            at weblogic.management.internal.DomainGenerator.generateDefaultDomain(DomainGenerator.java:114)
         <Jun 25, 2013 3:40:17 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>
    <Jun 25, 2013 3:40:17 PM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>
    <Jun 25, 2013 3:40:17 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
    - Any help appreciated.
    Thanks

    hi,
    the binaries available for download are all packaged with 32bit JVM. Please have a look at the link below
    WebLogic Server 12c (12.1.1), WebLogic Server 11g (10.3.6) and Previous Releases
    It also has binaries for linux available. I am quoting from the site verbatim for your reference:
    The following provides links to WebLogic Server 12.1.1 installers with 32-bit JVMs for Windows and
    Linux, the generic installer that can be used on any supported platform, and the zip distribution. The
    generic installer and the zip distribution do not include a JVM/JDK. For instructions on using the
    generic installer, see this document.
    In case you want to use your own latest version of JDK which can be a 32/64 bit version, you need to use the generic installer.
    The error which you are getting is due to permissions. Make sure you have a dedicated user for installing weblogic and the necessary permissions are granted to the user(linux) to the installation directories. May be the script is trying to install java at a particular location on your machine and failing. Hence the above error is displayed.
    Please have a look at the docs, you will find steps for weblogic installation on linux.
    Thanks,
    Souvik.

  • Error in domain creation in weblogic portal 10.3.4

    Hi,
    I am new to portal development. I've installed weblogic portal 10.3.4. I have created a domain and while creation, it asked for datasource selection, I changed the default data source(Derby) to Oracle. All the connection test were successful. I changed the URL in config.xml to jdbcracle:thin:@IP:PORT:SERVICE. But when I start the server, gives the following error. When I choose the default datasource(Derby), It's working fine.
    Please help...
    <Apr 25, 2012 12:22:49 PM IST> <Error> <Security> <BEA-090870> <The realm "myrealm" failed to be loaded: weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal error> org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class "kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exception for details..
    weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal error> org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class "kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exception for details.
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:341)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:220)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1785)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    Truncated. see log file for complete stacktrace
    Caused By: com.bea.common.engine.ServiceInitializationException: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal error> org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class "kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exception for details.
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:365)
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)
    at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)
    at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)
    at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(WLSIdentityServiceImpl.java:46)
    Truncated. see log file for complete stacktrace
    Caused By: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal error> org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class "kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exception for details.
    at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:95)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreSerivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:145)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.<init>(StoreServiceDelegate.java:98)
    at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.RuntimeException: There were errors initializing your configuration: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal store error> org.apache.openjpa.util.StoreException: Invalid Oracle URL specified: OracleDataSource.makeURL
    at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:235)
    at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:684)
    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 org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:288)
    at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1409)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFactory.java:131)
    at kodo.jdbc.kernel.KodoJDBCBrokerFactory.getInstance(KodoJDBCBrokerFactory.java:43)
    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 org.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:124)
    at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:90)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreSerivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:145)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.<init>(StoreServiceDelegate.java:98)
    at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:363)
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)
    at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)
    at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)
    at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(WLSIdentityServiceImpl.java:46)
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:299)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:220)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1785)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(CommonSecurityServiceManagerDelegateImpl.java:869)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1028)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL
    at oracle.jdbc.pool.OracleDataSource.makeURL(OracleDataSource.java:1277)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:185)
    at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:113)
    at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:93)
    at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:227)
    ... 38 more
    <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal store error> org.apache.openjpa.util.StoreException: Invalid Oracle URL specified: OracleDataSource.makeURL
    at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:235)
    at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:684)
    at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDataSource(JDBCConfigurationImpl.java:782)
    at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDataSource2(JDBCConfigurationImpl.java:789)
    at org.apache.openjpa.jdbc.sql.OracleDictionary.ensureDriverVendor(OracleDictionary.java:253)
    at kodo.jdbc.sql.OracleAdvancedSQL.setDriverVendorDefaults(OracleAdvancedSQL.java:50)
    at kodo.jdbc.sql.OracleAdvancedSQL.getBatchLimit(OracleAdvancedSQL.java:28)
    at kodo.jdbc.kernel.AutoOrderUpdateManager.setConfiguration(AutoOrderUpdateManager.java:56)
    at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:473)
    at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:430)
    at org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:103)
    at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)
    at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getUpdateManagerInstance(JDBCConfigurationImpl.java:577)
    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 org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:288)
    at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1409)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFactory.java:131)
    at kodo.jdbc.kernel.KodoJDBCBrokerFactory.getInstance(KodoJDBCBrokerFactory.java:43)
    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 org.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:124)
    at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:90)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreSerivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:145)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.<init>(StoreServiceDelegate.java:98)
    at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:363)
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)
    at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)
    at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)
    at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(WLSIdentityServiceImpl.java:46)
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:299)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:220)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1785)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(CommonSecurityServiceManagerDelegateImpl.java:869)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1028)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL
    at oracle.jdbc.pool.OracleDataSource.makeURL(OracleDataSource.java:1277)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:185)
    at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:113)
    at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:93)
    at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:227)
    ... 49 more
    at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:302)
    at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1409)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFactory.java:131)
    at kodo.jdbc.kernel.KodoJDBCBrokerFactory.getInstance(KodoJDBCBrokerFactory.java:43)
    Truncated. see log file for complete stacktrace

    See the release note for issue 13371575 at
    http://docs.oracle.com/cd/E26806_01/wlp.1034/e14247/relnotes.htm#i1131976
    Brad

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

  • Wlst offline - create a new domain in weblogic portal 10.2

    Hi,
    Any one have automation script to create weblogic portal domain, create portlet data base ( not point base).and Domain resources: Machines,Servers, Clusters and data sources. I tried the one which comes with installation ( wlst offlie domain creation script), but it is just configuring weblogic server but not portal.
    Thanks.
    Krishna.

    #=======================================================================================
    # WLST Common Script Library Functions (these functions support both WLS 8.1.x and 9.x)
    #=======================================================================================
    __all__ = []
    import os
    from java.io import FileInputStream
    from java.util import Properties
    from java.lang import String
    import jarray
    #=======================================================================================
    # RAVI enable library functions to see and use WLST functions
    #=======================================================================================
    def initialise(topLevelNamespace):
    for f in ("addTemplate", "closeDomain", "closeTemplate", "exit", "readDomain",
    "readTemplate", "updateDomain", "writeDomain", "cd", "assign",
    "assignAll", "create", "delete", "get", "loadDB", "set", "setOption",
    "unassign", "unassignAll", "dumpStack", "dumpVariables", "help", "ls",
    "prompt", "pwd", "startRecording", "stopRecording", ):
    globals()[f] = topLevelNamespace[f]
    __all__.append(f)
    #=======================================================================================
    # Load Properties
    #=======================================================================================
    def loadPropertiesFromFile(filename):
    props = addPropertiesFromFile(filename, {})
    return props
    #=======================================================================================
    # Load Properties
    #=======================================================================================
    def addPropertiesFromFile(filename, props):
    properties = Properties()
    input = FileInputStream(filename)
    properties.load(input)
    input.close()
    for entry in properties.entrySet(): props[entry.key.strip()] = entry.value.strip()
    return props
    #=======================================================================================
    # Get WebLogic Version (eg. returns '8.1.5.0', '9.1.0.0', '9.2.0.0')
    #=======================================================================================
    def getWebLogicVersion():
    return cd('/').getConfigurationVersion()
    #=======================================================================================
    # Get Machine Create Type (returns 'UnixMachine' or 'Machine')
    #=======================================================================================
    def getMachineCreateType():
    # On Unix, machine type is 'UnixMachine' on Windows it is 'Machine'
    if os.pathsep == ':':
    return 'UnixMachine'
    else:
    return 'Machine'
    #=======================================================================================
    # Get Machine Directory Type (returns 'UnixMachine' or 'Machine')
    #=======================================================================================
    def getMachineDirectoryType():
    # On Unix, machine type is 'UnixMachine' on Windows it is 'Machine'
    if os.pathsep == ':':
    # When moving from WLS 9.1 to WLS 9.2, WLS changed name of unix machines from
    # 'UnixMachine' to just 'Machine'
    wlsVersion = getWebLogicVersion()
    if wlsVersion.startswith('8') or wlsVersion.startswith('9.0') or wlsVersion.startswith('9.1'):
    return 'UnixMachine'
    else:
    return 'Machine'
    else:
    return 'Machine'
    #=======================================================================================
    # Set Domain Options
    #=======================================================================================
    def setDomainOptions(prodMode, javaHome):
    setOption('OverwriteDomain', 'true')
    setOption('ServerStartMode', prodMode)
    setOption('JavaHome', javaHome)
    setOption('CreateStartMenu', 'false')
    #=======================================================================================
    # Set System User
    #=======================================================================================
    def setSystemUser(domainname, username, password):
    sysUser = cd('/Security/%s/User/weblogic' % domainname)
    sysUser.setName(username)
    sysUser.setPassword(password)
    #=======================================================================================
    # Create WLS81 Oracle Database Pool
    #=======================================================================================
    def createWLS81OracleDatabasePool(dbName, dbUsername, dbPassword, dbDriver, dbUrl):
    newPool = create(dbName, 'JDBCConnectionPool')
    newPool.setDriverName(dbDriver)
    newPool.setURL(dbUrl)
    newPool.setPassword(dbPassword)
    newPool.setInitialCapacity(5)
    newPool.setTestFrequencySeconds(60)
    newPool.setTestConnectionsOnRelease(1)
    newPool.setTestConnectionsOnReserve(1)
    newPool.setConnectionReserveTimeoutSeconds(60)
    newPool.setUserName(dbUsername)
    return newPool
    #=======================================================================================
    # Create WLS81 Data Source
    #=======================================================================================
    def createWLS81DataSource(dsType, dsName, jndiName, poolName):
    ds = create(dsName, dsType)
    ds.setJNDIName(jndiName)
    ds.setPoolName(poolName)
    return ds
    #=======================================================================================
    # Configure WLS9 Oracle Database
    #=======================================================================================
    def configureWLS9OracleDatabase(dsName, jndiNames, driver, host, port, sid, username, password, targets):
    cd('/')
    dataSource = create(dsName, 'JDBCSystemResource')
    cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
    dbParam = create('dbParams','JDBCDriverParams')
    cd('JDBCDriverParams/NO_NAME_0')
    dbParam.setDriverName(driver)
    set('URL', 'jdbc:oracle:thin:@' + host + ':' + port + ':' + sid)
    dbParam.setPasswordEncrypted(password)
    dbProps = create('props','Properties')
    cd('Properties/NO_NAME_0')
    dbUser = create('user', 'Property')
    dbUser.setValue(username)
    cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
    create('jdbcDataSourceParams','JDBCDataSourceParams')
    cd('JDBCDataSourceParams/NO_NAME_0')
    set("JNDINames", jndiNames)
    cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
    create('jdbcConnectionPoolParams','JDBCConnectionPoolParams')
    cd('JDBCConnectionPoolParams/NO_NAME_0')
    set('TestTableName','SQL SELECT 1 FROM DUAL')
    set('TestConnectionsOnReserve','true')
    assign('JDBCSystemResource', dsName, 'Target', targets)
    return dataSource
    #=======================================================================================
    # Configure WLS102 DB2
    #=======================================================================================
    def configureWLS102DB2(dsName, jndiNames, driver, host, port, sid, username, password, targets, trans, url, testquery):
    print 'datasource('+dsName+','+ jndiNames+','+ driver+','+ host+','+ port+','+ sid+','+ username+','+ password+','+targets+','+ trans+','+url+',' + testquery +'):'
    cd('/')
    dataSource = create(dsName, 'JDBCSystemResource')
    cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
    dbParam = create('dbParams','JDBCDriverParams')
    cd('JDBCDriverParams/NO_NAME_0')
    dbParam.setDriverName(driver)
    #set('URL', 'jdbc:bea:db2://' + host + ':' + port)
    set('URL', url)
    dbParam.setPasswordEncrypted(password)
    #dbParam.setPassword(password)
    dbProps = create('props','Properties')
    cd('Properties/NO_NAME_0')
    dbUser = create('user', 'Property')
    dbUser.setValue(username)
    dbPortNumber = create('portNumber', 'Property')
    dbPortNumber.setValue(port)
    dbDbName = create('databaseName', 'Property')
    dbDbName.setValue(sid)
    dbHost = create('serverName', 'Property')
    dbHost.setValue(host)
    dbBatch = create('batchPerformanceWorkaround', 'Property')
    dbBatch.setValue('true')
    cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
    create('jdbcDataSourceParams','JDBCDataSourceParams')
    cd('JDBCDataSourceParams/NO_NAME_0')
    jndiNamesAray=jndiNames.split(',')
    set('JNDINames', jndiNamesAray)
    set('GlobalTransactionsProtocol', trans)
    #cd('/JDBCSystemResources/ttttt/JDBCResource/ttttt/JDBCDataSourceParams/ttttt')
    #cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
    #cd('JDBCDataSourceParams/NO_NAME_0')
    #dbDatasource = cmo
    #dbDatasource.setGlobalTransactionsProtocol(trans)
    cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
    create('jdbcConnectionPoolParams','JDBCConnectionPoolParams')
    cd('JDBCConnectionPoolParams/NO_NAME_0')
    #set('TestTableName','SQL SELECT COUNT(*) FROM SYSIBM.SYSTABLES')
    set('TestTableName',testquery)
    set('TestConnectionsOnReserve','true')
    assign('JDBCSystemResource', dsName, 'Target', targets)
    cd('/JDBCSystemResources/'+dsName)
    #targetsAray=[targets]
    #set('Targets',targetsAray)
    return dataSource
    #=======================================================================================
    # Set Common Server Settings
    #=======================================================================================
    def setCommonServerSettings(server):
    server.setNativeIOEnabled(1)
    server.setWeblogicPluginEnabled(1)
    #=======================================================================================
    # Set Server Logging
    #=======================================================================================
    def setServerLogging(server, logpath, level):
    cd('/Server/' + server.getName())
    log = create(server.getName(), 'Log')
    log.setFileName(logpath + '/' + server.getName() + '.log')
    log.setRotationType('byTime')
    log.setRotationTime('02:00')
    log.setFileTimeSpan(24)
    log.setFileCount(7)
    log.setLogFileSeverity(level)
    #=======================================================================================
    # Set Web Server
    #=======================================================================================
    def setWebServer(server, logpath, frontEndHost, frontEndPort, frontEndSSLPort):
    cd('/Server/' + server.getName())
    webServer = create(server.getName(), 'WebServer')
    webServer.setFrontendHost(frontEndHost)
    webServer.setFrontendHTTPPort(frontEndPort)
    webServer.setFrontendHTTPSPort(frontEndSSLPort)
    wlsVersion = getWebLogicVersion()
    if wlsVersion.startswith('9') or wlsVersion.startswith('10'):
    cd('/Server/' + server.getName() + '/WebServer/' + server.getName())
    webServerLog = create(server.getName(),'WebServerLog')
    webServerLog.setFileName(logpath + '/' + server.getName() + '_access.log')
    webServerLog.setRotationType('byTime')
    webServerLog.setRotationTime('02:00')
    webServerLog.setFileTimeSpan(24)
    webServerLog.setFileCount(7)
    else:
    webServer.setLogFileName(logpath + '/' + server.getName() + '_access.log')
    webServer.setLogRotationType('date')
    webServer.setLogRotationTimeBegin('01-01-2006-2:00:00')
    webServer.setLogRotationPeriodMins(1440)
    webServer.setLogFileCount(7)
    #=======================================================================================
    # Create Boot Properties File
    #=======================================================================================
    def createBootPropertiesFile(directoryPath, username, password):
    file = open (directoryPath + '/boot.properties', 'w')
    file.write('username=%s\n' % username)
    file.write('password=%s\n' % password)
    file.flush()
    file.close()
    Hopefully this will work for you

  • Error in Starting weblogic Portal Domain

    I have created weblogic portal domain using configuration wizard in Weblogic portal 9 and in weblogic portal 10.
    Weblogic portal 9 it is started fine and when started in weblogic portal 10 it throwed following exception.
    weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(Unknown Source)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
         at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Can some one help me in this exception
    Thank You

    I am not sure how you got into this state, but to clear it up you can edit the boot.properties file to enter (clear text) the username and password for the server (entered when running the Configuration Wizard).
    The boot.properties file is located in your domain at:
    <domain root>/servers/AdminServer/security
    Just enter the username and password in the file:
    username=myUserName
    password=myPassword
    WebLogic Server will boot up using these values and immediately encrypt the username and password in the file.
    An alternate approach would be to delete boot.properties in which case WLS will prompt you for the id/pw each time it is started/stopped.
    Brad

  • Issue in domain creation local deployment Error :  odi-core.jar

    Hi,
    I am trying to create a domain on my VM for local deployment of fincomm and Ess. But during domain creation it is failing with following errors.
    Error in writing to file '/scratch/software/mw_local/FMWTOOLS_11.1.1.7.0_GENERIC_130327.1838_PATCHES4FA_11.1.1.7.0_PLATFORMS/vimjain/mw_home_standalone/odi/oracledi.sdk/lib/odi-core.jar'. [invalid block type]
    Cancelling Install Session..
    Internal Error: File Copy failed. Aborting Install
    I tried the various different options for creation but all failed.
    1> I tried by resetting to old patchset.
    2> 3 days back i was able to successfully create the domain, but today i am seeing the error as discussed.
    3>Tried to delete the patchset and recreate a new one, but still no luck
    If anyone else is also seeing the same issue and able to resolve.
    Thanks
    Vimal

    You may want to use Oracle Internal forums and blogs for solution.
    Since these are public forums, you should not post content contains sensitive information here. Please remove the dir structure (which also includes your uid).

  • Weblogic Portal Application Issue | Previous Page getting rendered

    Problem:
    A (Login) --> B (Reset Password) --> A (Login)
    Submitting details on Page A takes to Page B. Clicking a link on Page B takes back to Page A. Making a selection in the header of Page A refreshes the page to change the locale of the page.
    What must happen?
    Page A should be refreshed. Since the refresh action of the page is set as begin, so begin of all the portlets on the page should be called. Page A i.e. login page with changed locale should be displayed.
    What is happening?
    Begin of Page B (which is a previous page) is getting called up. Result: Reset Password page is getting rendered and displayed.
    Possible Actions:
    I checked the render Cacheable property of the portlets to check if it is set to true. I was of the impression due to portlet caching mechanism; the previous portlet is called again.
    When I click the back link on Page B (taking me to page), I have modified the URL as follows:
    Assuming that _nfls will reset the page on which action is done.
    Yet the previous page is getting rendered. I am not getting any clue on what can be other possible issue. May be some property of portlet is required to be set. If anyone has faced such issue, please let me know.
    Note:
    The application is developed using Weblogic Portal 9.2 with AndroMDA.
    Edited by sizzlerdreamz at 02/20/2007 8:29 PM

    Did you get any solution for this we are also facing same problem. please let me know the solution if you have any

  • Need WLST for Weblogic portal domain 9.2.2.

    Hi,
    I am very much in-need of it. Can you please provide me the Need WLST for Weblogic portal domain 9.2.2.
    Actually, we are using weblogic 9.2.2 version.
    Actually, I created a portal domain configiuration using configuration wizard and the same I documented with screen shots.
    Now I need the wlst for the same configuration which i created the doc for.
    Please can you help me out doing this.
    If you are ok, then I will share you my doc, so that you can help me out easily.
    Please please please................
    Thanks in Advance..

    You have a few options to build a WLST script from the admin/config operations that you have performed in your development environment using console.
    OPTION 1: (WLST Recording)
    Check the below video. (The only drawback is that this video talks about the WLST recording feature which is available only on WLS10.0. Ofcourse, if you have a 10.0 installation you can still use this feature and then make some small modifications to the generated script to make it suitable for 9.2)
    http://www.youtube.com/watch?v=luhBaviP2uM
    OPTION 2: (Converting the configuration to a script)
    After you have configured your entire domain using the console, you run the configToScript command as per the below documentation (To run this you need to invoke WLST and then run the command with appropriate arguments such as path to the config.xml file etc)
    http://docs.oracle.com/cd/E13222_01/wls/docs92/config_scripting/reference.html#wp1154848
    Then you can use the generated script to create similar domains in your Test AND Production environments.
    Arun

  • Issue while upgrading weblogic portal 8.1 to 9.2

    Hi All,
    I am upgrading my weblogic portal 8.1 application to 9.2. While following the process give at following link.
    http://download.oracle.com/docs/cd/E13214_01/wli/docs92/upgradetutorial/chap2.html
    I am getting following error in the update tab. Any suggestion would be greatful.
    weblogic.DDConverter failed to convert the EAR, weblogic-application.xml will not be
    upgraded :
    [DDConverter] START Converting EAR BEA[DDConverter] START Converting EJB-JAR
    .workshop/<App_name>/EJB/GenericStateless[DDConverter] END Converting EJB-JAR
    .workshop/<App_name>/EJB/GenericStateless[DDConverter] START Converting EJB-JAR
    content.jar[DDConverter] END Converting EJB-JAR content.jar[DDConverter] START Converting
    EJB-JAR content_repo.jar[DDConverter] END Converting EJB-JAR content_repo.jar[DDConverter]
    START Converting EJB-JAR netuix.jar[DDConverter] END Converting EJB-JAR
    netuix.jar[DDConverter] START Converting EJB-JAR p13n_ejb.jar[DDConverter] END Converting
    EJB-JAR p13n_ejb.jar[DDConverter] START Converting EJB-JAR prefs.jar[DDConverter] END
    Converting EJB-JAR prefs.jar[DDConverter] START Converting EJB-JAR wps.jar[DDConverter] END
    Converting EJB-JAR wps.jar[DDConverter] START Converting EJB-JAR
    .workshop/<App_name>/EJB/ProjectBeans[DDConverter] END Converting EJB-JAR
    .workshop/<App_name>/EJB/ProjectBeans[DDConverter] START Converting WAR
    adminPortal.war[DDConverter] END Converting WAR adminPortal.war[DDConverter] START
    Converting WAR datasync.war<May 4, 2010 5:16:20 PM PDT> <Info> <J2EE> <BEA-160192> <While
    upgrading weblogic.xml, encountered "debug" param "jsp-param". This param is unknown and
    will be removed> [DDConverter] END Converting WAR datasync.war[DDConverter] START Converting
    WAR wps-toolSupport.war[DDConverter] END Converting WAR wps-toolSupport.war[DDConverter]
    START Converting WAR <App_name><May 4, 2010 5:16:20 PM PDT> <Error> <J2EE> <BEA-160197>
    <Unable to load descriptor
    weblogic.application.ddconvert.ConvertCtx$VJarResourceLoader@b16f5f finder:
    weblogic.utils.classloaders.CodeGenClassFinder@106def2 annotation: /WEB-INF/web.xml of
    module null. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed     at
    weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:147
    )     at
    weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)     at
    weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)     at
    weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(Abstra
    ctDescriptorLoader2.java:749)     at
    weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescr
    iptorLoader2.java:376)     at
    weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(Abst
    ractDescriptorLoader2.java:720)     at
    weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescrip
    torLoader2.java:729)     at
    weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:134)     at
    weblogic.application.ddconvert.WarConverter.convertDDs(WarConverter.java:60)     at
    weblogic.application.ddconvert.EarConverter.convertModules(EarConverter.java:125)     at
    weblogic.application.ddconvert.EarConverter.convertDDs(EarConverter.java:84)     at
    weblogic.application.ddconvert.DDConverter.runBody(DDConverter.java:157)     at
    weblogic.utils.compiler.Tool.run(Tool.java:158)     at
    weblogic.utils.compiler.Tool.run(Tool.java:115)     at
    weblogic.application.ddconvert.DDConverter.main(DDConverter.java:177)     at
    weblogic.DDConverter.main(DDConverter.java:10)Caused by: com.bea.xml.XmlException:
    weblogic.descriptor.BeanAlreadyExistsException: Bean already exists:
    "weblogic.j2ee.descriptor.ListenerBeanImpl@788e8862(/Listeners[com.bea.wlw.runtime.core.serv
    let.WebappContextListener])"     at
    com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)     
    at
    com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindin
    gType.java:483)     at
    com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollecti
    on(AttributeRuntimeBindingType.java:385)     at
    com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)     
    at
    com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(At
    tributeRuntimeBindingType.java:145)     at
    com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:185
    )     at
    com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:154)     
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)     at
    weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136
    )     ... 15 moreCaused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already
    exists:
    "weblogic.j2ee.descriptor.ListenerBeanImpl@788e8862(/Listeners[com.bea.wlw.runtime.core.serv
    let.WebappContextListener])"     at
    weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:207)     at
    weblogic.j2ee.descriptor.WebAppBeanImpl.setListeners(WebAppBeanImpl.java:965)     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
    com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)     
    ... 23 more.> weblogic.application.ddconvert.DDConvertException:
    weblogic.descriptor.DescriptorException: Unmarshaller failed     at
    weblogic.application.ddconvert.WarConverter.convertDDs(WarConverter.java:79)     at
    weblogic.application.ddconvert.EarConverter.convertModules(EarConverter.java:125)     at
    weblogic.application.ddconvert.EarConverter.convertDDs(EarConverter.java:84)     at
    weblogic.application.ddconvert.DDConverter.runBody(DDConverter.java:157)     at
    weblogic.utils.compiler.Tool.run(Tool.java:158)     at
    weblogic.utils.compiler.Tool.run(Tool.java:115)     at
    weblogic.application.ddconvert.DDConverter.main(DDConverter.java:177)     at
    weblogic.DDConverter.main(DDConverter.java:10)Caused by:
    weblogic.descriptor.DescriptorException: Unmarshaller failed     at
    weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:147
    )     at
    weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)     at
    weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)     at
    weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(Abstra
    ctDescriptorLoader2.java:749)     at
    weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescr
    iptorLoader2.java:376)     at
    weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(Abst
    ractDescriptorLoader2.java:720)     at
    weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescrip
    torLoader2.java:729)     at
    weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:134)     at
    weblogic.application.ddconvert.WarConverter.convertDDs(WarConverter.java:60)     ... 7
    moreCaused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException:
    Bean already exists:
    "weblogic.j2ee.descriptor.ListenerBeanImpl@788e8862(/Listeners[com.bea.wlw.runtime.core.serv
    let.WebappContextListener])"     at
    com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)     
    at
    com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindin
    gType.java:483)     at
    com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollecti
    on(AttributeRuntimeBindingType.java:385)     at
    com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)     
    at
    com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(At
    tributeRuntimeBindingType.java:145)     at
    com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:185
    )     at
    com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:154)     
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)     at
    weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136
    )     ... 15 moreCaused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already
    exists:
    "weblogic.j2ee.descriptor.ListenerBeanImpl@788e8862(/Listeners[com.bea.wlw.runtime.core.serv
    let.WebappContextListener])"     at
    weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:207)     at
    weblogic.j2ee.descriptor.WebAppBeanImpl.setListeners(WebAppBeanImpl.java:965)     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
    com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)     
    ... 23 moreweblogic.descriptor.DescriptorException: Unmarshaller failed
    Thanks in advance.
    Regards,
    Sandeep K

    Hi,
    Upgrade report is giving me following warning. Is my above problem is due to this warning?
    The project <Application Name> references netui-pageflow.jar, which contains an 8.1 WLS XMLBean, com.bea.wlw.netui.pageflow.schema.webapp23.EjbLinkDocument. Regenerate the JAR to use Apache XMLBeans.
    If yes then how to resolve this issue. Any suggestion guys.
    Thanks in advance.
    Regards,
    SandeepK

  • Weblogic portal 10.3.2 sample domain admin console question

    I'm using the sample domain shipped with WebLogic Portal 10.3.2 for some testing. I'm trying to access the admin console, could someone tell me how to find the user name and password to access the console? I thought weblogic/welcome1 was the default.
    thanks

    Hi,
    Just installed WLS10.3.2 and created the default base_domain using the conf wizard. When asked, I provided the username "weblogic" and password "welcome1". But now I can't logon to the admin console. I've tried also passwords like webl0gic, weblogic, weblogic1, password1, passw0rd and then some. Any other possibilities?
    Thanks

  • Silent Script to create Basic Weblogic Portal Domain

    Has any one made a Basic Weblogic Portal Domain??
    I am trying to use the template wlp.jar but i get an error
    when i am writing the domain.
    << write Domain to "U:\test\weblogic\wlpDomain"
    fail: write Domain to "U:\test\weblogic\wlpDomain"If i use the wls.jar to create a Basic Weblogic Server Domain
    it works fine.
    Does any one have a sample that works which i can use??
    Many Thanks
    Murat

    Has any one made a Basic Weblogic Portal Domain??
    I am trying to use the template wlp.jar but i get an error
    when i am writing the domain.
    << write Domain to "U:\test\weblogic\wlpDomain"
    fail: write Domain to "U:\test\weblogic\wlpDomain"If i use the wls.jar to create a Basic Weblogic Server Domain
    it works fine.
    Does any one have a sample that works which i can use??
    Many Thanks
    Murat

Maybe you are looking for

  • HP Support Super-Sleuth: Receipts, Records and Support Requests, Oh My!

    How does a warranty work?  How does HP keep track of support cases for 80 million (that’s right, MILLION) consumer products?  And darn it, do you really need to keep your product receipt? Today we’re launching a new series on the forum blog to shed l

  • Displaying streamed images in Web Dynpro

    Hi All, I have following scenario to programme. - The DB have "images" stored as BLOB. - I need to read the images (stream) and make them visible in Web Dynpro UI. Problem is i only one way to providing images in Web Dynpro. The images are picked fro

  • Shut down incomplete

    Hi, my MacBook Pro does not complete shut down normally. After shut down command, the dock + menu dissapear normally but the sceen stays lit indefinitely, either with the standard image or with a blue screen. In order to complete shut down, I need to

  • Cannot open any Java files on my Mac OSX: Problem Solved

    Hello all, I have just begun an Introduction to Java class and I'm already having problems...namely, I cannot open .java files on my Mac. Whenever I try to open them, I get an error message that says: "You cannot use this version of the application X

  • Other MSI Products - before posting, please read

    Hi there! This forum is where you can find help for all the other little devices that MSI produces that don't have a home elsewhere in this forum. These devices include MegaPlayer, MegaStick and MegaView MP3 / Portable Media Players, and MSI's commun