You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Faucher, Christian" <Ch...@axa-canada.com> on 2005/02/09 22:33:21 UTC
RE : Jar files in EAR root.
Hi,
Depending how close to the specs your app server is, you may have to add
a "class-path" entry to the MANIFEST.MF of each JARs that use the
axis.jar at the root of your EAR. Note that the entry is relative to
the EAR root, e.g. "axis.jar" should suffice. If you put it in EAR, in
library/, then it would be library/axis.jar.
This is actually documented in J2EE spec. However, some AppServers
automatically "add" JARs at the root to the EAR classpath (e.g. to
classpath of sub-components, WAR, JAR, etc.), some do not. We use
SunONE, for which we have to add this damned manifest entry to refer to
"global" JARs in our EAR.
Hope it helps...
Christian Faucher
-----Message d'origine-----
De : THOMAS, JAI [AG-Contractor/1000] [mailto:jai.thomas@monsanto.com]
Envoyé : mercredi, février 9, 2005 15:56
À : axis-user@ws.apache.org
Objet : Jar files in EAR root.
I have been trying to invoke Axis jar files installed under EAR root (as
opposed to webapp/WEB-INF/lib) for the past couple of days but with no
success. It does work fine if I keep all files under web-inf/lib but
needed to move them to EAR folder since couple of our application jars
need to see Axis jars. EAR root is always included in an enterprise app
class path and should work, but doesn't.
Instead it gives ClassNotFoundException for javax.xml.soap.SOAPException
which is in saaj.jar. I keep getting this error even if I copy saaj.jar
to web-inf/lib folder.
I have seen this same problem reported in the past not seen any
solution.
Please let me know if anyone has a solution for this.
Jai Thomas
Monsanto
_____
"Ce message est confidentiel, à l'usage exclusif du destinataire
ci-dessus et son contenu ne représente en aucun cas un engagement de la
part de AXA, sauf en cas de stipulation expresse et par écrit de la part
de AXA. Toute publication, utilisation ou diffusion, même partielle,
doit être autorisée préalablement. Si vous n'êtes pas destinataire de ce
message, merci d'en avertir immédiatement l'expéditeur."
"This e-mail message is confidential, for the exclusive use of the
addressee and its contents shall not constitute a commitment by AXA,
except as otherwise specifically provided in writing by AXA. Any
unauthorized disclosure, use or dissemination, either whole or partial,
is prohibited. If you are not the intended recipient of the message,
please notify the sender immediately."
Re: Axis & workflow based services
Posted by Abdullah Jibaly <am...@yahoo.com>.
Hi Paul,
I have been looking closely at Beehive, however I
don't think it is suitable right now since its
workflows are designed for the web layer, not for web
services.
Thanks,
Abdullah
--- Paul Callahan <ca...@gmail.com> wrote:
> You might want to take a look at Apache Beehive...
> It is more
> oriented toward service-based presentation layers.
>
> http://incubator.apache.org/beehive/
>
> -pc
>
>
> On Wed, 9 Feb 2005 14:06:36 -0800 (PST), Abdullah
> Jibaly
> <am...@yahoo.com> wrote:
> > Hi all,
> >
> > Is there a recommended way to implement workflow
> based
> > web services? I want my view layer to communicate
> with
> > the business layer using web services and was
> > wondering what the best way to approach this is. I
> > can't use a standard MVC framework like struts
> since
> > the request is sent to AxisServlet, right?
> >
> > Thanks in advance,
> > Abdullah
> >
>
Re: Axis & workflow based services
Posted by Paul Callahan <ca...@gmail.com>.
You might want to take a look at Apache Beehive... It is more
oriented toward service-based presentation layers.
http://incubator.apache.org/beehive/
-pc
On Wed, 9 Feb 2005 14:06:36 -0800 (PST), Abdullah Jibaly
<am...@yahoo.com> wrote:
> Hi all,
>
> Is there a recommended way to implement workflow based
> web services? I want my view layer to communicate with
> the business layer using web services and was
> wondering what the best way to approach this is. I
> can't use a standard MVC framework like struts since
> the request is sent to AxisServlet, right?
>
> Thanks in advance,
> Abdullah
>
Re: Axis & workflow based services
Posted by Abdullah Jibaly <am...@yahoo.com>.
Bill,
Thanks for the input. However, my presentation layer
is going to be Laszlo, and I want to communicate with
the business layer using axis. That's why I can't get
to struts, axis will be processing the request first.
Thanks,
Abdullah
--- Bill Keese <bi...@tech.beacon-it.co.jp> wrote:
> Abdullah Jibaly wrote:
>
> >I want my view layer to communicate with
> >the business layer using web services ... I
> >can't use a standard MVC framework like struts
> since
> >the request is sent to AxisServlet, right?
> >
> >
> As far as I understand, people usually talk about
> separating the
> "presentation layer" and the "business layer",
> rather than separating
> the "view layer" from the "business layer". So, it
> sounds like you
> should write the presentation layer (model, view,
> and controller) in
> struts, but the struts Actions should call the
> "business layer" via web
> services. IE, the parts relating to displaying web
> pages and to web
> page flow should be in struts, and the Business
> layer contains "support"
> functions like "addEmployee()".
>
> What do you think?
>
> Bill
>
Re: Axis & workflow based services
Posted by Bill Keese <bi...@tech.beacon-it.co.jp>.
Abdullah Jibaly wrote:
>I want my view layer to communicate with
>the business layer using web services ... I
>can't use a standard MVC framework like struts since
>the request is sent to AxisServlet, right?
>
>
As far as I understand, people usually talk about separating the
"presentation layer" and the "business layer", rather than separating
the "view layer" from the "business layer". So, it sounds like you
should write the presentation layer (model, view, and controller) in
struts, but the struts Actions should call the "business layer" via web
services. IE, the parts relating to displaying web pages and to web
page flow should be in struts, and the Business layer contains "support"
functions like "addEmployee()".
What do you think?
Bill
Axis & workflow based services
Posted by Abdullah Jibaly <am...@yahoo.com>.
Hi all,
Is there a recommended way to implement workflow based
web services? I want my view layer to communicate with
the business layer using web services and was
wondering what the best way to approach this is. I
can't use a standard MVC framework like struts since
the request is sent to AxisServlet, right?
Thanks in advance,
Abdullah