Ok finally the derby server starts correctly ,thank you
very very much Jagadish you are really great ....
but when i try to execute the SQL file in the project bookstore
suing the following command :
asant create-db_common
i recieve the following message:
-
Buildefile: build.xml
init:
create-db_common:
[java]java.lang.NoClassDefFoundError: com/pointbase/tools/toolsCommander
[java] Exception in thread "main"
[java] Java Result : 1
Builld SUCCESSFUL
Total time : 2 seconds
--
why i recieve this message?
i change the path at the buildproperties xml file to piont
to derby location .
other configuration file target.xml has a tag called java
which contains the attributes:
classname="com.pointbase.tools.toolsCommander" fork="yes"
i try to change the pointbase into derby but this was not working
what i have to do to populate the databse of the following example?
help please
Hi,
I have used the application in the following directory : /samples/webapps/apps/bookstore
It works fine for me.
Are you using the same samples bundled in AS 8.2 ? In case you are using samples of 8.1, it may not work as Pointbase is bundled in 8.1 only. From 8.2 onwards, derby (javadb) is the default database and applications will work against derby. I took 8.2 and it works fine against derby
Thanks,
-Jagadish
Hi Jagadish
thanks for your great interest ,
yes i use the same application server platform you use, 8.2 and the same
bookstore example , and when i start the derby server and try to excute the command in the previous message , doesnt work
i dont know what is the reaso for that
any way i skip up that example and i think maybe things will work fine through the remaining of the tutorial