Re: error in hibernate persistance service
Maurizio Brilli <[email protected]> Fri, 02 Jul 2004 15:12:10 +0200
| Newsgroups | gmane.comp.java.keel.user |
|---|---|
| Message-ID | <[email protected]> |
Shash, Aleks, thank you for your prompt reply! Sorry, it looks like I wasn't clear on my previous message... I haven't added any custom apps or whatever, all I wanted to do was the same test as per the Quick-start configuration chapter in the manual, but with the hibernate persistence service instead of the default one. Of course, this occurred after I regularly installed and configured the default situation, as described by the manual. Today I made one step ahead: with the default config I added the "app-hoj ", which worked like a charm. Then I tried again with the hibernate persistance and the same error occurred. Aleks: please take note of what Shash said in his message yesterday, as it seems like something is missing somewhere. Anyway, going back to your instructions, I changed the ant.properties both in the service.persist area and at the bottom, by "localhost" to the hostname. Nothing else is to be chenged, correct? If so, there has definitely to be somethibg wrong, because the result is still the same. I enclose the ant.properties for you to have a look. Ciao Maurizio
ant.properties
(text/plain, 2.5 KB)
project.descrip=orp400
project.version=1.0
project.dir=C:/progetti/keel/orp400
keel.server.path=webapp/WEB-INF/keel/server
webapp.name=default
base.webapp=${keel.dist}/keel-build/deploy/jakarta-struts-1.1/webapps/struts-blank.war
clnt.struts=true
clnt.cli=true
comm.internal=true
# Do we use Tomcat as our deployment server?
use.tomcat=true
app.hoj=true
app.crud=true
app.poll=true
app.register=true
app.navigate=true
app.security=true
#app.workflow=true
#service.aop.aspectwerkz=true
#service.authentication.config=true
#service.authentication.jndi=true
#service.authentication.nttagish=true
service.authentication.persist=true
#service.authorization.config=true
service.authorization.persist=true
service.cache.excalibur=true
#service.cache.turbinecache=true
#chart service
#service.chart.jfreechart=true
service.crypto.base64=true
service.crypto.des=true
service.domain.config=true
service.event.defaultevent=true
service.filter.filters=true
#service.finder.lucene=true
#service.jdo.xorm=true
service.mail.javamail=true
service.model.defaultmodel=true
service.password.jpassgen=true
#service.password.simple=true
#which of the implementations of persistence will we use?
service.persist.base=true
#service.persist.default=true
service.persist.hibernate=true
#service.query.jdbc=true
#service.report.jfreereport=true
#Scheduler service
#If so, which implementation?
#service.schedule.quartz=true
#service.script.bsf=true
#Scripting service
#service.script.jelly=true
service.usergroup.persist=true
# below properties only needed if a database persistence mechanism is being used
#Database type (Choices: hsqldb, mysql, oracle, postgresql, sqlserver, informix)
#If these properties are set, the build system will include the proper
#configuration for the database components to connect to this database.
database.type=hsqldb
#Database server name or IP address (example: 127.0.0.1)
database.servername=localhost
#Database server port (required for oracle, others may leave blank) (example: 1521)
database.dbport=
#Database name (example: keel)
database.dbname=keel
#Database User Login Name (example: scott)
database.username=sa
#Database User Login Password (example: tiger)
database.password=
#Database Name 2 (used for INFORMIXSERVER, others may leave blank)
database.servername2=
#3rd party tools to install...see ant.properties for available installs.
tomcat.install=true
struts.install=true
tomcat.manager.url=http://localhost/manager
tomcat.manager.username=manager
tomcat.manager.password=manager
verbose=true