Hi Tony

The are two places you can put it:

1. In the WEB-INF/lib folder of your portlet application. Here it is personal to your web application, and different apps can use different versions. 2. In the $JETSPEED_ROOT/lib directory. This adds it to Tomcat's shared libraries so it becomes available to all apps.

For a POC, choice 1 sounds best. You should only need the axis run-time war(s).

Regards

Ron

----- Original Message ----- From: "tony ennis" <tony.en...@insightbb.com>
To: <jetspeed-user@portals.apache.org>
Sent: Sunday, September 06, 2009 8:30 AM
Subject: axis jar files in jetspeed



Continuing work on my portal app.  It's a proof-of-concept app.  The boss
wants a web service (any web service!) used within the portlet. So I added
one and deployed my portlet to jetspeed. The portlet fails with an Axis
error.  axis.war is included in the webapps directory.

So in the portlet code I created a main() that invoked the web service then
printed the response to stdout.  I ran it from my IDE (intellij) without
using Jetspeed at all.  To my relief, it failed with the same error as it
did when it was installed as a portlet.

I have never been good at playing Find the Jarfile.  I added the entire
axis2/lib folder to my portlet project.  This time the main() successfully
invoked the web service.

So it's clear that the axis2 libs aren't accessible by Jetspeed even though axis.war is there. I don't want to include all the axis jars in my project.
So, questions:

1: Have I placed the axis war in the wrong place?  It is at
$JETSPEED_ROOT/webapps/axis2.war
2. If not, is axis.war something different than a mash-up of the
axis2/lib/*.jar?
3. Am I supposed to dump the whole of axis2/lib into jetspeed somewhere?
(yeah unlikely)

Thanks for any opinions.


--
View this message in context: http://www.nabble.com/axis-jar-files-in-jetspeed-tp25312074p25312074.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org

Reply via email to