Apache ODE in eclipse throws sql exception after start [message #1236884] |
Tue, 28 January 2014 04:43  |
Eclipse User |
|
|
|
Hi, I configured tomcat, apache ode and eclipse in a right way upto me. But when I start Apache ODE, it starts but after few seconds it throws following exception: (help please???)
Caused by: ERROR 25502: An SQL data change is not permitted for a read-only connection, user or database.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.impl.sql.conn.GenericAuthorizer.authorize(Unknown Source)
at org.apache.derby.impl.sql.execute.GenericResultSetFactory.getUpdateResultSet(Unknown Source)
at org.apache.derby.exe.acf81e0010x0143xd7fcx31e3x000004817a684.fillResultSet(Unknown Source)
at org.apache.derby.exe.acf81e0010x0143xd7fcx31e3x000004817a684.execute(Unknown Source)
at org.apache.derby.impl.sql.GenericActivationHolder.execute(Unknown Source)
at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)
at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
|
|
|
|
|
Re: Apache ODE in eclipse throws sql exception after start [message #1281818 is a reply to message #1236981] |
Tue, 01 April 2014 07:55  |
Eclipse User |
|
|
|
Hi Muhammad,
are you using Windows 7 and Tomcat/ODE is under Program Files (or Program Files (x86))?
If so, I suggest you uninstall Tomcat from that directory and re-install in a location similar to the following:
Quote:C:\dev\Tomcat\
Once installations of both Tomcat and ODE are completed, re-configure Eclipse in order to read from the proper paths.
The root cause for the issue you reported may be found by searching in stackoverflow.com for:
Quote:apache Derby - getting java.io.FileNotFoundException: derby.log (Access is denied) when creating new database
P.S: As I currently have less than 5 forum posts, I cannot utilize a URL link.
|
|
|
Powered by
FUDForum. Page generated in 0.21538 seconds