You should share the whole exception but think you dont use the db you
think. Check in jmx datasource mbeans maybe that your config is actually
Le 20 sept. 2016 14:22, "mauro2java2011" <mauro2java2...@gmail.com> a
> Hi all. I have installed derby.war into tomee/webapps.
> I have added the <load-onstarup> 0 </load-on-startup> to servlet derbynet.
> I have also added setenv.sh into catalina_base/bin.
> Into setenv.sh i have added
> JAVA_OPTS ="$JAVA_OPTS -Dderby.system.home=/home/
> export JAVA_OPTS
> Next i have added to tomee/lib the jars of derby.
> Next i have created a web app jee7
> Into resources.xml i have configurated the datasource
> Whith url=jdbc:derby://localhost:1527/mydb;create=true
> Into persistrnce.xml i have setted the option for create tables .
> When i deploy the webapp with Entities Customer and other entities i noted
> that into derby.system.home is created the dir mydb with db structure files
> into it.
> But when i try to visualise the rows of db with jsf pages i get errors for
> all entities pages.
> The error visualize the query sended from jpa to derby db named mydb but
> get :
> Tabled not created.
> So i ask : what can be the problem ?
> Derby have created the db into derby.system.home.
> But is eclipse-link that not create the tables.
> Please help me
> View this message in context: http://tomee-openejb.979440.
> Sent from the TomEE Users mailing list archive at Nabble.com.