Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Apache ODE in eclipse throws sql exception after start
Apache ODE in eclipse throws sql exception after start [message #1236884] Tue, 28 January 2014 09:43 Go to next message
Muhammad Usman Saleem is currently offline Muhammad Usman SaleemFriend
Messages: 2
Registered: January 2014
Junior Member
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 #1236887 is a reply to message #1236884] Tue, 28 January 2014 09:48 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3877
Registered: July 2009
Senior Member

This would depend on what the statement is, but are you sure it's specific to when you're running within Eclipse?

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Apache ODE in eclipse throws sql exception after start [message #1236981 is a reply to message #1236887] Tue, 28 January 2014 14:37 Go to previous messageGo to next message
Muhammad Usman Saleem is currently offline Muhammad Usman SaleemFriend
Messages: 2
Registered: January 2014
Junior Member
Yes Nitin, it occurs when i tried to run within Eclipse.
Re: Apache ODE in eclipse throws sql exception after start [message #1281818 is a reply to message #1236981] Tue, 01 April 2014 11:55 Go to previous message
Linked List is currently offline Linked ListFriend
Messages: 1
Registered: April 2014
Junior Member
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.


Previous Topic:Eclipse Executable Cannot Find Companion Shared Library Error (Solution)
Next Topic:Eclipse Class.forname() function
Goto Forum:
  


Current Time: Mon Oct 26 02:43:26 GMT 2020

Powered by FUDForum. Page generated in 0.03402 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top