Hello,

I believe I have managed to configure the application to successfully
validate start-up of the context with the Oracle database. As you
mention Oracle has too many quirks to what otherwise should have been
a transparent process. I have encountered another roadblock in which
the application presents the following exception when trying to access
the login page:

Unexpected RuntimeException
Root cause:org.webical.web.app.WebicalWebAplicationException: Could
not retrieve application settings for user: jag     at
org.webical.web.app.WebicalSession.getUserSettings(WebicalSession.java:
158)     at org.webical.web.app.WebicalSession.getUserSettings
(WebicalSession.java:232)     at
org.webical.web.component.calendar.CalendarPanel.<init>
(CalendarPanel.java:142)     at org.webical.web.pages.BasePage$8.<init>
(BasePage.java:343)

...

I believe this is due to the fact that the application is still
compiling in development mode (hence is performing the bootstrap of
the development configuration). I read the pom.xml profiles and tried
to utilize the -Denv=build switch but it then will complain that the
"maven.test.skip=true" switch is not a valid profile or task. I wonder
why if I just specify the -D switch it will let me disable the tests
just fine but with the -Devn=build switch it will not.

On Sep 1, 10:56 am, Ivo van Dongen <[email protected]> wrote:
> Hi,
>
> Good to hear you're making progress. Hope you'll get there.> At first I
> > was a little confused by the command typos so for future reference to
> > anyone reading, the command I used was:
>
> > mvn -D maven.test.skip=true package
>
> Strange. They weren't really typos. Don't know what went wrong there.
> Thanks for the correction.> I know that my development methodology is not what
> > Webical intends but changing the database type doesn't seem to be as
> > seamless.
>
> I thought it would be less involved indeed. I've changed around the
> settings a bit in the past (postgress, derby and hsqldb) and that went
> without any effort beside changing the configuration a bit. I didn't
> think that oracle had so much quirks. But I haven't really made use of
> it since version 8 or so.> Perhaps someone could point me in the right 
> direction as to what I
> > would need to change depending on the scenarios (test, QA, Dev, Prod)
> > and maybe what maven tasks to run etc. Thanks for any help and
> > invested time.
>
> Well, there is a standard way of doing this indeed. I suggest you read
> up a bit on maven as the problems you are encountering so far are really
> basic maven stuff. But on the other hand, you can always ask here, it's
> no problem to help out.
> They way we go about managing the different configurations is through
> the use of maven profiles. The configurations can be found under /etc.
> These are copied over the exploded war before packaging depending on
> which profile is selected (default none I think). Activation of a
> profile is done through the use of an extra parameter: -Denv=... You can
> find out what to use by checking out the profiles section of the pom.xml
> file.
>
> If I need to be more specific, just let me know.
>
> Regards,
> Ivo van Dongen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"webical-developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/webical-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to