Question : Problem while creating a domain in weblogic server with mysql database

Hello,
     I am facing a problem in publishing the EAR project in the server domain which i have connected it with Mysql database. Following is the stacktrace..

JAVA Memory arguments: -Xms256m -Xmx768m -XX:CompileThreshold=8000   -XX:PermSize=128m -XX:MaxPermSize=192m
.
WLS Start Mode=Development
.
CLASSPATH=;C:\WEBLOG~1\patch_wlw1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\WEBLOG~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\WEBLOG~1\patch_wlp1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\WEBLOG~1\patch_cie670\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\WEBLOG~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\WEBLOG~1\JDK160~1\lib\tools.jar;C:\WEBLOG~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\WEBLOG~1\WLSERV~1.3\server\lib\weblogic.jar;C:\WEBLOG~1\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\WEBLOG~1\WLSERV~1.3\server\lib\webservices.jar;C:\WEBLOG~1\modules\ORGAPA~1.5/lib/ant-all.jar;C:\WEBLOG~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;;C:\WEBLOG~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\WEBLOG~1\WLSERV~1.3\server\lib\xqrl.jar;C:\WEBLOG~1\WLSERV~1.3\server\lib\xquery.jar;C:\WEBLOG~1\WLSERV~1.3\server\lib\binxml.jar;
.
PATH=C:\WEBLOG~1\patch_wlw1030\profiles\default\native;C:\WEBLOG~1\patch_wls1030\profiles\default\native;C:\WEBLOG~1\patch_wlp1030\profiles\default\native;C:\WEBLOG~1\patch_cie670\profiles\default\native;C:\WEBLOG~1\patch_cie660\profiles\default\native;C:\WEBLOG~1\WLSERV~1.3\server\native\win\32;C:\WEBLOG~1\WLSERV~1.3\server\bin;C:\WEBLOG~1\modules\ORGAPA~1.5\bin;C:\WEBLOG~1\JDK160~1\jre\bin;C:\WEBLOG~1\JDK160~1\bin;C:\WebLogicBea\jrockit_160_05\jre\bin;E:\Oracle\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;F:\Oracle\Ora81\bin;C:\Program Files\Oracle\jre\1.1.7\bin;F:\Oracle\Ora81\orb\bin;C:\Program Files\Java\jdk1.5.0_06\bin;E:\Oracle\orb\bin;C:\WEBLOG~1\WLSERV~1.3\server\native\win\32\oci920_8
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http:\\hostname:port\console        *
***************************************************
starting weblogic with Java version:
Cleaning up license and uid files
Starting Autonomy with CONTENT_SEARCH_OPTION = full
Autonomy Distributed Search Handler engine started.
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
Starting WLS with line:
C:\WEBLOG~1\JDK160~1\bin\java -client   -Xms256m -Xmx768m -XX:CompileThreshold=8000   -XX:PermSize=128m -XX:MaxPermSize=192m  -Xverify:none  -da -Dplatform.home=C:\WEBLOG~1\WLSERV~1.3 -Dwls.home=C:\WEBLOG~1\WLSERV~1.3\server -Dweblogic.home=C:\WEBLOG~1\WLSERV~1.3\server  -Dweblogic.wsee.bind.suppressDeployErrorMessage=true -Dweblogic.wsee.skip.async.response=true -Dweblogic.management.discover=true  -Dwlw.iterativeDev=true -Dwlw.testConsole=true -Dwlw.logErrorsToConsole=true -Dweblogic.ext.dirs=C:\WEBLOG~1\patch_wlw1030\profiles\default\sysext_manifest_classpath;C:\WEBLOG~1\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\WEBLOG~1\patch_wlp1030\profiles\default\sysext_manifest_classpath;C:\WEBLOG~1\patch_cie670\profiles\default\sysext_manifest_classpath;C:\WEBLOG~1\patch_cie660\profiles\default\sysext_manifest_classpath;C:\WebLogicBea\wlportal_10.3\p13n\lib\system;C:\WebLogicBea\wlportal_10.3\light-portal\lib\system;C:\WebLogicBea\wlportal_10.3\portal\lib\system;C:\WebLogicBea\wlportal_10.3\info-mgmt\lib\system;C:\WebLogicBea\wlportal_10.3\analytics\lib\system;C:\WebLogicBea\wlportal_10.3\apps\lib\system;C:\WebLogicBea\wlportal_10.3\info-mgmt\deprecated\lib\system;C:\WebLogicBea\wlportal_10.3\content-mgmt\lib\system -Dweblogic.alternateTypesDirectory=C:\WebLogicBea\wlportal_10.3\portal\lib\security -Dweblogic.Name=AdminServer -Djava.security.policy=C:\WEBLOG~1\WLSERV~1.3\server\lib\weblogic.policy   weblogic.Server
C:\WebLogicBea\wlportal_10.3\analytics\lib\system\analytics_sys.jar;C:\WebLogicBea\wlportal_10.3\apps\lib\system\groupspace_system.jar;C:\WebLogicBea\wlportal_10.3\content-mgmt\lib\system\content_system.jar;C:\WebLogicBea\wlportal_10.3\info-mgmt\deprecated\lib\system\commerce_system.jar;C:\WebLogicBea\wlportal_10.3\info-mgmt\lib\system\wlp-schemas.jar;C:\WebLogicBea\wlportal_10.3\info-mgmt\lib\system\wlp_content_system.jar;C:\WebLogicBea\wlportal_10.3\info-mgmt\lib\system\wps_system.jar;C:\WebLogicBea\wlportal_10.3\light-portal\lib\system\netuix_common.jar;C:\WebLogicBea\wlportal_10.3\light-portal\lib\system\netuix_schemas.jar;C:\WebLogicBea\wlportal_10.3\light-portal\lib\system\netuix_system.jar;C:\WebLogicBea\wlportal_10.3\light-portal\lib\system\wsrp-client.jar;C:\WebLogicBea\wlportal_10.3\light-portal\lib\system\wsrp-common.jar;C:\WebLogicBea\wlportal_10.3\p13n\lib\system\p13n-schemas.jar;C:\WebLogicBea\wlportal_10.3\p13n\lib\system\p13n_common.jar;C:\WebLogicBea\wlportal_10.3\p13n\lib\system\p13n_system.jar;C:\WebLogicBea\wlportal_10.3\p13n\lib\system\wlp_services.jar;C:\WebLogicBea\wlportal_10.3\portal\lib\system\netuix_system-full.jar>

WebLogic Server Temporary Patch for CR371247 Sat Aug 09 20:10:38 PDT 2008
WebLogic Server Temporary Patch for CR377673 Tue Aug 12 20:39:50 EDT 2008
WebLogic Server Temporary Patch for CR377673 Tue Aug 12 20:39:50 EDT 2008
WebLogic Server Temporary Patch for CR376759 Thu Aug 14 14:53:02 PDT 2008
WebLogic Server 10.3  Fri Jul 25 16:30:05 EDT 2008 1137967 >


ts\domains\zarDbDomain\zarDbDomain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>













.providers.xacml.authorization.XACMLAuthorizationProviderImpl" returned an error: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource.>
leException: Exception preparing module: EJBModule(netuix.jar)


Unable to deploy EJB: ProxyPagePersistenceManager from netuix.jar:

Exception while attempting to deploy Security Policy:  weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource

'
weblogic.application.ModuleException: Exception preparing module: EJBModule(netuix.jar)


Unable to deploy EJB: ProxyPagePersistenceManager from netuix.jar:

Exception while attempting to deploy Security Policy:  weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource


      at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)
      at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
      at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
      at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
      Truncated. see log file for complete stacktrace
weblogic.ejb20.interfaces.PrincipalNotFoundException: Exception while attempting to deploy Security Policy:  weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource
      at weblogic.ejb.container.internal.SecurityHelperWLS.deployPolicy(SecurityHelperWLS.java:357)
      at weblogic.ejb.container.internal.SecurityHelper.deployPolicy(SecurityHelper.java:306)
      at weblogic.ejb.container.internal.SecurityHelper.deployPolicy(SecurityHelper.java:294)
      at weblogic.ejb.container.internal.SecurityHelper.deployAllPolicies(SecurityHelper.java:249)
      at weblogic.ejb.container.internal.SecurityHelper.deployAllPolicies(SecurityHelper.java:228)
      Truncated. see log file for complete stacktrace
>

weblogic.application.ModuleException: Exception preparing module: EJBModule(netuix.jar)


Unable to deploy EJB: ProxyPagePersistenceManager from netuix.jar:

Exception while attempting to deploy Security Policy:  weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource


      at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)
      at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
      at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
      at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
      Truncated. see log file for complete stacktrace
weblogic.ejb20.interfaces.PrincipalNotFoundException: Exception while attempting to deploy Security Policy:  weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource
      at weblogic.ejb.container.internal.SecurityHelperWLS.deployPolicy(SecurityHelperWLS.java:357)
      at weblogic.ejb.container.internal.SecurityHelper.deployPolicy(SecurityHelper.java:306)
      at weblogic.ejb.container.internal.SecurityHelper.deployPolicy(SecurityHelper.java:294)
      at weblogic.ejb.container.internal.SecurityHelper.deployAllPolicies(SecurityHelper.java:249)
      at weblogic.ejb.container.internal.SecurityHelper.deployAllPolicies(SecurityHelper.java:228)
      Truncated. see log file for complete stacktrace
>

Please let me know anything wrong done by me ...


Regards

Answer : Problem while creating a domain in weblogic server with mysql database

Hey  Got a solution  here it is

      When we create a new domain using Config wizard, you select customize option and in one of the following screens you will see like 2 Radio buttons with options as " I do not want to change anything here" and " I want to create, change or remvoe RDMBS support". NOW use the Default setting like I do not want to change. Once I checked other radio button and ran into issues like yours. Basically if you check, YES, then your need to load another .sql file in this db schema located at: "C:\beawlp103\wlserver_10.3\server\lib\rdbms_security_store_oracle.sql". This .sql file has the above missing table. So if you have MySQL version of htis file run this file.

Regards...
Random Solutions  
 
programming4us programming4us