ITPub博客

首页 > Linux操作系统 > Linux操作系统 > weblogic 启动,报 ORA-00942: table or view does not exist

weblogic 启动,报 ORA-00942: table or view does not exist

原创 Linux操作系统 作者:FishPerfect 时间:2011-09-10 02:13:35 0 删除 编辑
在 ..../user_domain/base_domain/下用  startWebLogic.sh 启动项目时,报错ORA-00942: table or view does not exist;


这是因为没有在相关的数据库用户下运行 一个脚本

解决:

将 $WL_HOME/server/lib下的 rdbms_security_store_oracle.sql 运行即可

然后重启,搞掂









---------------------------------


#### <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1306750093831> weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: weblogic.security.spi.ProviderInitializationException: A failure occurred attempting to load LDIF for provider Authorizer from file /data/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/XACMLAuthorizerInit.ldift. 
  at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:465)
  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.ExecuteThread.execute(ExecuteThread.java:209) 
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) 
Caused By: com.bea.common.engine.ServiceInitializationException: weblogic.security.spi.ProviderInitializationException: A failure occurred attempting to load LDIF for provider Authorizer from file /data/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/XACMLAuthorizerInit.ldift. 
  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.CSSWLSDelegateImpl.getService(CSSWLSDelegateImpl.java:155) 
  at com.bea.security.css.CSS.getService(CSS.java:123) 
  at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:457)
  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.ExecuteThread.execute(ExecuteThread.java:209) 
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) 
Caused By: weblogic.security.spi.ProviderInitializationException: A failure occurred attempting to load LDIF for provider Authorizer from ile /data/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/XACMLAuthorizerInit.ldift. 
  at com.bea.common.store.bootstrap.internal.BootStrapServiceImpl.loadFullLDIFTemplate(BootStrapServiceImpl.java:910) 
  at com.bea.common.store.bootstrap.internal.BootStrapServiceImpl.loadLDIFTemplate(BootStrapServiceImpl.java:688) 
        at com.bea.common.store.bootstrap.internal.BootStrapServiceImpl.loadLDIFXACMLAuthorizerTemplate(BootStrapServiceImpl.java:176)
  at com.bea.common.store.bootstrap.internal.BootStrapServiceImpl.loadLDIFXACMLAuthorizerTemplate(BootStrapServiceImpl.java:160)
  at com.bea.common.security.internal.service.BootStrapServiceImpl.loadLDIFXACMLAuthorizerTemplate(BootStrapServiceImpl.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:597) 
  at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57) 
  at $Proxy6.loadLDIFXACMLAuthorizerTemplate(Unknown Source) 
  at com.bea.security.providers.xacml.store.AuthorizationPolicyStore.init(AuthorizationPolicyStore.java:79) 
  at com.bea.security.providers.xacml.store.DefaultPolicyStoreConfigurator.newPolicyStore(DefaultPolicyStoreConfigurator.java:22)
  at weblogic.security.providers.xacml.authorization.PolicyDecisionPointFactory.getStore(PolicyDecisionPointFactory.java:265) 
  at weblogic.security.providers.xacml.authorization.PolicyDecisionPointFactory.getAuthorization(PolicyDecisionPointFactory.java:69)
  at weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl.initialize(XACMLAuthorizationProviderImpl.java:127)
  at com.bea.common.security.internal.legacy.service.SecurityProviderImpl.init(SecurityProviderImpl.java:60) 
  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.CSSWLSDelegateImpl.getService(CSSWLSDelegateImpl.java:155) 
  at com.bea.security.css.CSS.getService(CSS.java:123) 
  at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:457)
  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.ExecuteThread.execute(ExecuteThread.java:209) 
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) 
Caused By: kodo.jdo.FatalDataStoreException: The transaction has been rolled back. See the nested exceptions for details on the errors that occurred. 
  at org.apache.openjpa.kernel.BrokerImpl.newFlushException(BrokerImpl.java:2170) 
  at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2017) 
  at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1915) 
  at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1833) 
  at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81) 
  at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1357) 
  at kodo.kernel.KodoBroker.commit(KodoBroker.java:103) 
  at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:877) 
  at kodo.jdo.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:409) 
  at com.bea.common.store.bootstrap.internal.DefaultBootStrapPersistenceImpl.makePersistentAll(DefaultBootStrapPersistenceImpl.java:50)
  at com.bea.common.store.bootstrap.internal.BootStrapServiceImpl.importLDIF(BootStrapServiceImpl.java:1355) 
  at com.bea.common.store.bootstrap.internal.BootStrapServiceImpl.loadFullLDIFTemplate(BootStrapServiceImpl.java:903) 
  at com.bea.common.store.bootstrap.internal.BootStrapServiceImpl.loadLDIFTemplate(BootStrapServiceImpl.java:688) 
  at com.bea.common.store.bootstrap.internal.BootStrapServiceImpl.loadLDIFXACMLAuthorizerTemplate(BootStrapServiceImpl.java:176)
  at com.bea.common.store.bootstrap.internal.BootStrapServiceImpl.loadLDIFXACMLAuthorizerTemplate(BootStrapServiceImpl.java:160)
  at com.bea.common.security.internal.service.BootStrapServiceImpl.loadLDIFXACMLAuthorizerTemplate(BootStrapServiceImpl.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:597) 
  at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
  at $Proxy6.loadLDIFXACMLAuthorizerTemplate(Unknown Source) 
  at com.bea.security.providers.xacml.store.AuthorizationPolicyStore.init(AuthorizationPolicyStore.java:79) 
  at com.bea.security.providers.xacml.store.DefaultPolicyStoreConfigurator.newPolicyStore(DefaultPolicyStoreConfigurator.java:22)
  at weblogic.security.providers.xacml.authorization.PolicyDecisionPointFactory.getStore(PolicyDecisionPointFactory.java:265) 
  at weblogic.security.providers.xacml.authorization.PolicyDecisionPointFactory.getAuthorization(PolicyDecisionPointFactory.java:69)
  at weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl.initialize(XACMLAuthorizationProviderImpl.java:127)
  at com.bea.common.security.internal.legacy.service.SecurityProviderImpl.init(SecurityProviderImpl.java:60) 
  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.CSSWLSDelegateImpl.getService(CSSWLSDelegateImpl.java:155) 
  at com.bea.security.css.CSS.getService(CSS.java:123) 
  at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:457)
  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.ExecuteThread.execute(ExecuteThread.java:209) 
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) 
Caused By: kodo.jdo.DataStoreException: ORA-00942: table or view does not exist {prepstmnt 1432428243 INSERT INTO BEAXACMLAP (DOMN, REALMN, TYPEN, CN, XVER, CTS, WCN, WCI, WXF, XD, XS, MTS) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [params=(String) base_domain, (String) myrealm, (String) Policies, (String) urn:bea:xacml:2.0:entitlement:resource:type@E@Fmbean@G, (String) 1.0, (null) null, (null) null, (null) null, (Blob) oracle.sql.BLOB@6f1a7e7f, (InputStream) java.io.ByteArrayInputStream@3466fcd5, (String) 3, (Timestamp) 2011-05-30 18:08:13.659] [reused=0]} [code=942, state=42000]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22977/viewspace-707066/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-03-28

  • 博文量
    44
  • 访问量
    119984