Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
16 replies
Subscribers
7 subscribers
Views
5919 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
I am attempting to get an installation of Appian 7 on Weblogic 12c. So far I ha
sameerk
over 11 years ago
I am attempting to get an installation of Appian 7 on Weblogic 12c. So far I have succeeded in getting all the components in place, but for some reason when I start the application and monitor the logs, I see the following stack trace. I am not entirely sure why I am getting the error that I am. I have configured two datasources: one for primary and a different one for business data. Every time I start the server, I get the following in application-server.log file. The application appears to have started, but the stacktrace isn't making it look right. Any help, pointers will be appreciated.
2013-11-04 21:23:08,991 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO com.appiancorp.rdbms.config.PrimaryDataSourceConfig - Validating and initializing the primary data source: java:jdbc/OraclePrimaryDS
2013-11-04 21:23:40,050 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tunin...
OriginalPostID-87968
OriginalPostID-87968
Discussion posts and replies are publicly visible
0
sameerk
over 11 years ago
... to the primary data source. No types have been imported. Cause: Unable to build EntityManagerFactory (APNX-1-4050-002)
at com.appiancorp.type.config.xsd.EcoreModelPersister.saveEcoreModels(EcoreModelPersister.java:112)
at com.appiancorp.type.config.xsd.XsdImporter.importTypes(XsdImporter.java:249)
at com.appiancorp.type.config.xsd.XsdImporter.importTypes(XsdImporter.java:237)
at com.appiancorp.type.config.xsd.XsdImporter.importTypes(XsdImporter.java:172)
at com.appiancorp.type.config.xsd.XsdImporter.importSystemTypes(XsdImporter.java:140)
at com.appiancorp.type.config.pojo.PojoTypeImporter.createDatatypesFromXsdsZip(PojoTypeImporter.java:105)
... 53 more
Caused by: javax.persistence.PersistenceException: Unable to build EntityManagerFactory
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915)
at com.appiancorp.rdbms.hb.HbConfigurationHelper$1.call(HbConfigurationHelper.java:40)
at com.appiancorp.rdbms.hb.Hb...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sameerk
over 11 years ago
... ConfigurationHelper$1.call(HbConfigurationHelper.java:37)
at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:21)
at com.appiancorp.rdbms.hb.HbConfigurationHelper.buildEntityManagerFactory(HbConfigurationHelper.java:44)
at com.appiancorp.rdbms.hb.DataSourceManagerHbImpl.getEntityManagerFactory(DataSourceManagerHbImpl.java:584)
at com.appiancorp.rdbms.hb.DataSourceManagerHbImpl.getSessionFactory(DataSourceManagerHbImpl.java:577)
at com.appiancorp.rdbms.hb.DataSourceManagerHbImpl$HbSessionProviderImpl.getSession(DataSourceManagerHbImpl.java:776)
at com.appiancorp.rdbms.hb.DataSourceManagerHbImpl.beginTransaction(DataSourceManagerHbImpl.java:323)
at com.appiancorp.type.config.xsd.EcoreModelPersister.saveEcoreModels(EcoreModelPersister.java:73)
... 58 more
Caused by: org.hibernate.HibernateException: Could not find datasource
at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConne...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sameerk
over 11 years ago
... ctionProvider.java:79)
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:51)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2836)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2832)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1843)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906)
... 67 more
Caused by: javax.naming.NameNotFoundException: While trying to look up /jdbc/OraclePrimaryDS in /app/webapp/suite/354239431.; remaining name '/jdbc/OraclePrimaryDS'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1180)
at weblogic.jndi.internal.ApplicationNaming...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sameerk
over 11 years ago
... Node.lookup(ApplicationNamingNode.java:146)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:253)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:426)
at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:45)
at weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:130)
at javax.naming.InitialContext.lookup(InitialContext.java:411)
at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75)
... 74 more
2013-11-04 21:23:51,859 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO com.appiancorp.rdbms.config.PrimaryDataSourceConfig - Validating and initializing the primary data source: java:jdbc/OraclePrimaryDS
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Patty Isecke
Appian Employee
over 11 years ago
Continuing on from my comment from the following post
forum.appian.com/.../e-87925
When you test your driver connection, is it successful?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sameerk
over 11 years ago
Thanks to @patty.phonemany, this issue is resolved. For further information, please take a look at
forum.appian.com/.../e-87925
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<