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
7 replies
Subscribers
7 subscribers
Views
2176 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
I am trying to install 7.9 in to my windows machine. When I run standalone.bat f
ambrishs
Certified Lead Developer
over 9 years ago
I am trying to install 7.9 in to my windows machine. When I run standalone.bat following error are coming (server.log attached)
Caused by: javax.naming.NameNotFoundException: jdbc/AppianPrimaryDS -- service jboss.naming.context.java.jdbc.AppianPrimaryDS
at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:104)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:197)
at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:243)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:183)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:179)
at javax.naming.InitialContext.lookup(InitialContext.java:417) [rt.jar:1.8.0_45]
at javax.naming.InitialContext.lookup(InitialContext.java:417) [rt.jar:1.8.0_45]
at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75) [hibernate-core-3.6.3.Final.jar:3.6...
server.log
OriginalPostID-151079
OriginalPostID-151079
Discussion posts and replies are publicly visible
0
ambrishs
Certified Lead Developer
over 9 years ago
....3.Final]
... 33 more
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ambrishs
Certified Lead Developer
over 9 years ago
datasource related files attached below.
Desktop.zip
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tejas Kargutkar
Appian Employee
over 9 years ago
This is the first error in the server.log:16:49:33,474 ERROR [org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer] (MSC service thread 1-1) Exception during createSubject()PBOX000016: Access denied: authentication failed: java.lang.SecurityException: PBOX000016: Access denied: authentication failed
Check if the username and password you've used are correct.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ambrishs
Certified Lead Developer
over 9 years ago
I was not having encoded password and hence I was getting that error mentioned by you, after that I used encoded password, but I am still getting the attached errors. I have only attached latest errors in this server.log.
server.log
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tejas Kargutkar
Appian Employee
over 9 years ago
In the latest server.log, this is the relevant error seen:
Caused by: javax.naming.NameNotFoundException: jdbc/AppianPrimaryDS -- service jboss.naming.context.java.jdbc.AppianPrimaryDS
Have you defined the datasource in appian-ds.xml and custom.properties ? Make sure you have followed the instructions mentioned here:
forum.appian.com/.../Configuring_Relational_Databases.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ambrishs
Certified Lead Developer
over 9 years ago
Thanks Tejas.
I was missing apian-ds.xml file. once created everything got resolved.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tejas Kargutkar
Appian Employee
over 9 years ago
Great news!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel