I'm trying to deploy a JAX-WS Web Service that uses Hibernate, so I have
to set the "ServiceTCCL" parameter to "composite". Otherwise the thread
context classloader can't find org.hibernate.hql.ast.HqlToken.
(unverified if setting ServiceTCCL will actually fix it but it's worth a
try)
It appears that this parameter can only be set in services.xml and not
in axis2.xml.
>From the Axis2 documentation:
"Axis2 provides two mechanisms for deploying JAX-WS services:
1. The service may be packaged and deployed as an AAR, just like any
other service within Axis2. Like with all AARs, a services.xml
file containing the relevant metadata is required for the service
to deploy correctly.
2. The service may be packaged in a jar file and placed into the
|servicejars| directory. The |JAXWSDeployer| will examine all jars
within that directory and deploy those classes that have JAX-WS
annotations which identify them as Web services."
My questions:
concerning 1. ===> How? What goes in services.xml when using JAX-WS and
JAXB? Where do I find proper documentation for services.xml?
concerning 2. ===> If there is no services.xml, how do I set parameters
such as ServiceTCCL?
Any help would be greatly appreciated.
- Dan