Re: running ERModernMoviesDemo app?
Re: running ERModernMoviesDemo app?
- Subject: Re: running ERModernMoviesDemo app?
- From: Fabian Peters <email@hidden>
- Date: Thu, 15 May 2014 20:42:47 +0200
Hi Ray,
I'd guess this is causing the problem:
May 15 10:30:33 ERModernMoviesDemo[9999] INFO NSLog - ERMoviesLogic.finishInitialization, re-writing connection url to use embedded H2 db at: jdbc:h2:file:/Library/WebObjects/Versions/WebObjects543/Local/Library/Frameworks/ERMoviesLogic.framework/Resources/Movies
H2 will try to write to the DB file at this path, which may fail due to file permissions.
Other than setting write permissions there, you could embed the frameworks or try to set these properties:
webobjectsexamples.ERMoviesLogic.useEmbeddedH2Database=true
dbConnectURLGLOBAL=jdbc:h2:mem:Movies
dbConnectDriverGLOBAL=org.h2.Driver
dbConnectPluginGLOBAL=H2PlugIn
er.migration.migrateAtStartup=true
er.migration.createTablesIfNecessary=true
This will create the H2 DB in memory only. If you want to store the DB in a file, try:
dbConnectURLGLOBAL=jdbc:h2:/tmp/Movies
Fabian
Am 15.05.2014 um 19:32 schrieb Ray Kiddy <email@hidden>:
> On Thu, 15 May 2014 07:32:20 +0200
> "Dipl.-Ing. Jens Lünstedt" <email@hidden> wrote:
>
>> Hello Ray,
>> can you build your own project with ant?
>> I had a similar problem last year when I could run my projects but
>> not deploy them. As I remember right (can't find any mails about
>> that) it was a missing installation of WebObjects in the Library
>> path. Have a look to the error messages. There you can find a hint in
>> wich directory it is looking for. Check if your frameworks are
>> available there.
>>
>> Jens
>
> I have several projects I build often and deploy on some remote
> locations. It is only the D2W-ness I seem to be having problems with.
> And I see no error messages on the console. Attaching console
> output.
>
> And I can create my own minimal D2W application and launch it without
> problems. But it is, with this platform, difficult for me to
> configure the app correctly.
>
> I am actually thinking of buying a Mac mini that I can keep at home and
> use via screen-share on my Ubuntu laptop to do Mac development again.
> We will see. It is a shame that the D2W tools have no cross-platform
> versions.
>
> - ray
>
> ps; This is _all_ the console output. I see "Your request produced an
> error." after cliking the Login button.
>
>>
>>
>> Am 14.05.2014 um 23:24 schrieb Ray Kiddy <email@hidden>:
>>
>>>
>>> Is anyone else having issues with running this example in Wonder?
>>>
>>> I cannot tell if it is a problem with the project or with my
>>> configuration (Ubuntu 12.04LTS) or both.
>>>
>>> For one thing, I had to add the ERCoolComponents and WOLips
>>> framework jars to the path to get it to run. It seems that it would
>>> be a show-stopper for anyone. But I still get an error after fixing
>>> that, and that generic "Your request produced an error." message is
>>> really obnoxious, especially when there is no console output that
>>> suggests any error occurred.
>>>
>>> I want to add a Modern D2W app to the Tests directory to enable
>>> Selenium testing of these so that it will be easier to get some of
>>> these pull-requests in. But if I cannot even setup and run a basic
>>> Modern D2W app, I am not seeing how I can help.
>>>
>>> If I knew that the example, as checked in to Wonder, launches
>>> without an error for others, I would know I have to fix my system.
>>> But our examples are not necessarily launchable, so here I am.
>>>
>>> Any suggestions?
>>>
>>> thanx - ray
>
>
> <output.txt> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden