I notified CXF community about doc problem, see if they can find someone to
update the tutorial.
http://www.nabble.com/Problem-in-writing-a-service-with-spring-tutorial-td24387574.html
Jeff C
On Tue, Jul 7, 2009 at 2:50 AM, Westhveg westhstud...@gmail.com wrote:
Jarek,
Finally, it works.
Can anyone help me, please?
Thanks,
Westhveg
Westhveg wrote:
And if I try to test the webservice developing this spring client:
?xml version=1.0 encoding=UTF-8?
beans xmlns=http://www.springframework.org/schema/beans;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
Westhveg,
Let's back up a little. You have two options for deploying your web service:
1) Deploy your web application WITH all cxf and spring jars but you
MUST: a) start the server with
-Dorg.apache.geronimo.jaxws.builder.useSimpleFinder=true AND b)
specify a bunch of filters in
Jarek,
Finally, it works. I've followed the second way.
I have to do this:
· Remove the spring listener from web.xml
· Keep the spring contextConfigLocation in web.xml
· Keep CXF Servlet but calling my interface insted of
'org.apache.cxf.transport.servlet.CXFServlet'.
Thanks a lot for your
Collect the usage of org.apache.geronimo.jaxws.builder.useSimpleFinder as
followed into (1):
org.apache.geronimo.jaxws.builder.useSimpleFinder
Applied commands: TODO
Option: true, false
Default: not set
Description: Use SimpleWARWebServiceFinder to locate WebServiceInfo
objects,otherwise use
Hello RunHua Chi,
I'm using windows so I edit geronimo.bat (that is executed by eclipse
plugin) by this way:
set GERONIMO_OPTS=%GERONIMO_OPTS% %JPDA_OPTS%
to
set GERONIMO_OPTS=-Dorg.apache.geronimo.jaxws.builder.useSimpleFinder=true
Thanks,
Westhveg
RunHua Chi wrote:
Collect the usage
In order to give us more information, I'm following this tutorial:
http://cwiki.apache.org/CXF20DOC/writing-a-service-with-spring.html
But I don't use the same version for all libraries (I use the highest I
found):
commons-logging-1.1.jar
· geronimo-activation_1.1_spec-1.0-M1.jar --
You might also want to add:
dep:filterMETA-INF/cxf/dep:filter
I don't know where org.xmlsoap.schemas.wsdl.http.AddressType comes
from but you could try adding a filter for its package as well.
Jarek
On Mon, Jun 29, 2009 at 3:08 PM, Westhvegwesthstud...@gmail.com wrote:
Jarek,
Thanks for
You have to remove both, CXF and Spring. And please include a full
stack trace to see what's loading that
org.springframework.context.ApplicationListener class.
Jarek
On Mon, Jun 29, 2009 at 3:56 PM, Westhvegwesthstud...@gmail.com wrote:
And if I remove the spring or cfx jar files from WAR, I
Hi Jarek,
Removing both jars, the exception is:
Distribution of module failed. See log for details.
Failed to load servlet class org.apache.cxf.transport.servlet.CXFServlet
org.apache.geronimo.common.DeploymentException: Failed to load servlet
class
Jarek,
Adding this filter:
dep:filterMETA-INF/cxf/dep:filter
I get the same exception, but if I add a filter for package:
dep:filterorg.xmlsoap.schemas.wsdl.http/dep:filter
Then I get the following exception:
Redeploy of module failed. See log for details.
start of
Ok, making progress on this front... Remove the CXFServlet from
web.xml file and add a servlet (and servlet-mapping) for the class
that is your web service implementation.
Jarek
On Tue, Jun 30, 2009 at 2:18 PM, Westhvegwesthstud...@gmail.com wrote:
Hi Jarek,
Removing both jars, the exception
Are you sure you're running with
-Dorg.apache.geronimo.jaxws.builder.useSimpleFinder=true? Because
Geronimo should not be finding and deploying
org.apache.cxf.js.rhino.DOMMessageProvider with that option. Or maybe
that's from previous deployments?
Jarek
On Tue, Jun 30, 2009 at 2:26 PM,
Jarek,
Now the exception is:
Distribution of module failed. See log for details.
AbstractWebModuleBuilder: Could not load listener class:
org.springframework.web.context.ContextLoaderListener
org.apache.geronimo.common.DeploymentException: AbstractWebModuleBuilder:
Could not load listener
And if I try to test the webservice developing this spring client:
?xml version=1.0 encoding=UTF-8?
beans xmlns=http://www.springframework.org/schema/beans;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:jaxws=http://cxf.apache.org/jaxws;
More details about the exception:
Caused by: org.apache.xbean.recipe.MissingFactoryMethodException:
Constructor has 5 arugments but expected 0 arguments: public
If you are deploying a web application that contains its own CXF and
Spring jars, try doing the following:
1) Set the following system property before starting the server:
export GERONIMO_OPTS=-Dorg.apache.geronimo.jaxws.builder.useSimpleFinder=true
2) Add the following hidden-classes/filters
Jarek,
Thanks for your reply. Setting the system property and adding hidden-classes
in geronimo-web.xml file I get the following exception:
Install New Applications
start of default/ViewControllerWS/1.0/car failed
org.apache.geronimo.kernel.config.LifecycleException: start of
Jarek,
Thanks for your reply. Setting the system property and adding hidden-classes
in geronimo-web.xml file I get the following exception:
Install New Applications
start of default/ViewControllerWS/1.0/car failed
org.apache.geronimo.kernel.config.LifecycleException: start of
Hi,
I'm not able to deploy CXF WebService in Apache Geronimo. This is my
environment:
Java 1.6
Apache Geronimo (Jetty) 2.1.4
Apache CXF 2.0.8
Spring 2.5.6
When I deploy the application I get the following exception:
Redeploy of module failed. See log for details.
start of
20 matches
Mail list logo