Hi Laurent,

On 18/06/10 05:07, Cros Laurent wrote:
Hi Henrique,

Thanks for answering me yesterday evening !

I put the WOJarBundle to true and now the application can't load my Properties 
file, it's located : 
C:\java\apache-tomcat-6.0.26\webapps\jcommops-ptf\WEB-INF\jcommops-ptf.woa\Contents\Resources\properties


You have to choose one way to go: true WAR or SSDD. If you are using Maven and trying to produce a true WAR package, the [...]\WEB-INF\jcommops-ptf.woa is not necessary. The Properties file will be package inside your project JAR, i.e. [...]\webapps\jcommops-ptf\WEB-INF\lib\jcommops-ptf.jar.

Here is the error :

   Caused by: java.lang.IllegalStateException: Main bundle 'Properties' file 
can't
be read.  Did you run as a Java Application instead of a WOApplication in WOLips
?


Which WebObjects and Wonder version?

BTW, were you able to run the sample-project in your environment successfully?

Cheers,

Henrique
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to