[cosmo-dev] Re: IMPORTANT: new webapp packaging (SUCCESS)

Alan Lord alanslists at gmail.com
Wed Dec 12 14:22:52 PST 2007


Brian Moseley wrote:
  > looks like your cosmo.properties file is missing the
> "cosmo.hibernate.dialect" property. please send your cosmo.properties
> file so we can see what's in it.

It didn't have that line. I just copied the file from somewhere in the 
build tree. It contains these three lines of relevance:

cosmo.log.HttpLoggingFilter.format=%M %U %Q %C %I
cosmo.service.account.requireActivation=false
cosmo.hibernate.sql.booleanStringValue=1

O.K. I found a properties file that was better commented and conatined 
the hibernate.dialect line in the snarf tree.

I've just rebuilt cosmo using SVN 6385, fixed my cosmo.properties file 
and I now have a running cosmo server! Thanks.

2007-12-12 22:04:13,739 INFO  [Catalina] Initialization processed in 2027 ms
2007-12-12 22:04:16,948 INFO  [LifecycleLoggerListener] Chandler Server 
0.12-SNAPSHOT starting
2007-12-12 22:04:20,931 INFO  [CosmoPropertyPlaceholderConfigurer] 
Loading properties file from URL [file:/etc/cosmo.properties]
2007-12-12 22:04:46,949 INFO  [DbInitializer] Creating database
2007-12-12 22:04:54,517 INFO  [DbInitializer] Initializing database
2007-12-12 22:04:54,517 DEBUG [DbInitializer] adding overlord
2007-12-12 22:04:54,519 DEBUG [StandardUserService] creating user root
2007-12-12 22:04:54,929 DEBUG [StandardUserService] getting user root
2007-12-12 22:04:55,389 INFO  [DispatcherServlet] FrameworkServlet 
'springDispatcherServlet': initialization started
2007-12-12 22:04:56,366 INFO  [DispatcherServlet] FrameworkServlet 
'springDispatcherServlet': initialization completed in 977 ms
logs/osafsrv.log (END)


That was fairly easy - thanks for the help. Now I can start to try it 
out ;-)

FYI - It is running on a custom Linux server built from source. I've 
documented the main versions in an earlier post.

Let me know how I can help (if you think I can).

As I start to set up a couple of accounts and play with it I'll feedback 
what I think is relevant.

As an aside - it is running with the default derby db currently. I have 
MySQL and PostgreSQL running already on my small server. I have an 
emotional preference for Postgres. Are there any benefits or pitfalls to 
using postgres or MySQL as opposed to Derby?

Cheers

Alan

PS - Can I change the webapps/cosmo-0.12-SNAPSHOT, and the corresponding 
url, to something a bit nicer like "chandler" or "cosmo" or something?

-- 
The way out is open!
http://www.theopensourcerer.com



More information about the cosmo-dev mailing list