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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to