• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bulding a true war
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bulding a true war


  • Subject: Re: Bulding a true war
  • From: John Huss <email@hidden>
  • Date: Fri, 04 Oct 2013 09:10:34 -0500

The default build.xml file (non-maven) you get with a new Wonder Application contains a war target.  It should just work.


On Thu, Oct 3, 2013 at 10:13 PM, Gintautas Sulskus <email@hidden> wrote:
Hello all,

I am trying to build a true WebObjects WAR. Unfortunately, no luck so far.

Is this tutorial is still valid?
http://wiki.wocommunity.org/display/WOL/Packaging+WO+Applications+as+true+WAR+with+Maven

So now I have a maven project that builds my app.jar and packages it into a war (including ALL libraries).

Initial project was created with archetype plugin as woapplication with true war support.

Please, could you provide me with any hints what may went wrong. I would really appreciate more documentation on this.

I followed the steps closely and bumped into a few exception while deploying on JBOSS AS 1.7:

03:59:22,894 INFO  [stdout] (MSC service thread 1-7) MainBundle will be set to projext_X
03:59:23,005 ERROR [stderr] (MSC service thread 1-7) [2013-10-4 3:59:23 BST] <MSC service thread 1-7> Couldn't load properties file: /Users/user/WebObjects.properties at path: /Users/user
03:59:23,009 ERROR [stderr] (MSC service thread 1-7) java.lang.reflect.InvocationTargetException
03:59:23,010 ERROR [stderr] (MSC service thread 1-7) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
03:59:23,010 ERROR [stderr] (MSC service thread 1-7) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
03:59:23,010 ERROR [stderr] (MSC service thread 1-7) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
03:59:23,011 ERROR [stderr] (MSC service thread 1-7) at java.lang.reflect.Method.invoke(Method.java:597)
03:59:23,016 ERROR [stderr] (MSC service thread 1-7) Caused by: java.lang.NullPointerException
03:59:23,016 ERROR [stderr] (MSC service thread 1-7) at com.webobjects.appserver.WOApplication.primeApplication(WOApplication.java:618)
03:59:23,017 ERROR [stderr] (MSC service thread 1-7) at com.webobjects.appserver.WOApplication.primeApplication(WOApplication.java:675)
03:59:23,017 ERROR [stderr] (MSC service thread 1-7) ... 19 more

03:59:23,017 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/project_X]] (MSC service thread 1-7) Marking servlet WOServletAdaptor as unavailable
03:59:23,018 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/project_X]] (MSC service thread 1-7) Servlet /project_X threw load() exception: javax.servlet.UnavailableException: Error initializing servlet adaptor: null
at com.webobjects.jspservlet.WOServletAdaptor._applicationInit(WOServletAdaptor.java:442) [JavaWOJSPServlet-5.4.3.jar:5.4.1]

Best Regards,
Gintautas Sulskus

 _______________________________________________
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

  • Follow-Ups:
    • RE: Bulding a true war
      • From: email@hidden
References: 
 >Bulding a true war (From: Gintautas Sulskus <email@hidden>)

  • Prev by Date: Re: Using UNION in EOFetchSpecification
  • Next by Date: Stupid question about Wonder Docs and WOLips integration
  • Previous by thread: Bulding a true war
  • Next by thread: RE: Bulding a true war
  • Index(es):
    • Date
    • Thread