Re: Jar frameworks and resource loading
Re: Jar frameworks and resource loading
- Subject: Re: Jar frameworks and resource loading
- From: Henrique Prange <email@hidden>
- Date: Wed, 25 Apr 2012 13:51:27 -0300
Hi Hugi,
Do you have the complete stacktrace of the original exception?
Original Exception:
java.lang.NullPointerException
Cheers,
Henrique
On 23/04/2012, at 09:04, Hugi Thordarson wrote:
> Hi all.
> I'm converting my WO application projects to build with Maven (I've previously only used Maven for frameworks) and I'm hitting a weird issue with resources.
>
> See:
> http://www.smu.is/
>
> OK, this is how it goes: I build a WOA. If I start it on my Mac it works fine. However, if I copy it to my CentOS deployment Machine and start it there (in the same way, using the same arguments), URLs of jar resources (at least components) seem to get mangled — note that the path to the HTML file in the exception is "!/Resources/ComponentName.wo", but on my Mac, this url is correctly "!/Resources/ComponentName.wo/ComponentName.html".
>
> I've seen some threads in the mailing list archives mentioning problems with jar frameworks and project Wonder, but nothing seems to quite match this situation. Any ideas?
>
> (WO 5.4.3 + Wonder 5.6-snapshot)
>
> Cheers,
> - hugi
> _______________________________________________
> 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