Hi all,

if you get a socket error when creating the database schema you need to uncomment the following part in <<JBOSS_HOME>>/server/default/deploy/hsqldb-ds.xml:


<!-- This mbean should be used only when using tcp connections. Uncomment when the tcp based connection-url is used. --> <mbean code="org.jboss.jdbc.HypersonicDatabase" name="jboss:service=Hypersonic"> <attribute name="Port">1701</attribute> <attribute name="Silent">true</attribute> <attribute name="Database">default</attribute> <attribute name="Trace">false</attribute> <attribute name="No_system_exit">true</attribute> </mbean>


Cheers Harald



Chad Brandon wrote:

Harald Weyhing wrote:



You need to run the scripts that will create your tables, if you look in <your project>/maven.xml, (I'm assuming you generated an app with andromdapp) you'll see a create-schema and drop-schema goal, use those to create and drop your schema.



hmm, I am using jboss-4 with built in db. maven create-schema or drop-schema fail both.


I am getting the following error

BUILD FAILED
File...... /home/harald/work/androMDA/services/maven.xml
Element... ant:sql
Line...... 140
Column.... 108
java.sql.SQLException: socket creation error

Well, I will investigate this and will reply on this message once again.


Sounds like an issue with your hypersonic configuration either in the jboss deploy directory or in <your project>/project.properties.




Thank you! Cheers Harald





-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user





-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user





------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to