This discussion is archived
3 Replies Latest reply: Jul 24, 2012 2:46 PM by 951521 RSS

Weblogic portal 10.3.4 Domain creation issue

737720 Newbie
Currently Being Moderated
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.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points