By the way, I just discovered that @Resource works cleanly, without any parameter.
I wonder why @WebServiceRef doesn't work.
Type: Posts; User: jbx1; Keyword(s):
By the way, I just discovered that @Resource works cleanly, without any parameter.
I wonder why @WebServiceRef doesn't work.
Yep tried it too (both with the type and without the type, using both the WebServiceClient class implementing javax.xml.ws.WebService and the Interface). I get a similar error.
Caused by:...
I want to avoid that because I don't want to hardcode the URL of the WSDL in the annotation.
I want it to pick it up from the <jaxws:client> configuration which will have everything; endpoint...
I am not implementing the server, so it doesn't have anything to do with the server implementation. I just have a WSDL which I am processing into stubs on the client side to use.
Injection without...
I am trying to have my jax-ws client (using Apache CXF) injected via the @WebServiceRef. I have gone through the following steps:
1. Generated the stubs from the WSDL.
2. Created the following...
Just a small clarification on the above.
I noticed that when I specify the JMX management port using -D and attach to it using the IP address and port I see my MBean and also the tomcat MBeans.
...
Hi,
I have tried to follow the instructions of Chapter 20 (section 20.2) where I have created a simple class (below) and tried to pass it to the MBeanExporter. I want my MBean to be exposed...
I tried to remove the 'offending' geronimo-servlet jar however the problem still persisted.
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
[TomcatInstrumentableClassLoader@19b5393] abort...
I have tried to enable AOP in a project in tomcat 6.0.18 and included the spring jar files related to aop (spring 2.5.5). I put the spring-tomcat-weaver.jar in the tomcat /lib and everything however...
Well putting everything as system properties is a bit extreme and unmanageable. I do not wish to go into customising the container startup scripts either because I see that a bit messy.
What I...
Well, if the web application is not decoupled from the environment configuration it will be a bit of a headache for the deployment guys to maintain it in a proper way.
Lets say they want to...
I wish to have my webapp as independent as possible from the environment properties such that if I redeploy a new version the existent property file (containing database URLs etc.) remains untouched...
Thanks for your comments.
Good to know spring 3 is on the way... might make sense to see what new goodies are in it :)
In general I try to take the approach that business logic-specific...
I am relatively new to spring and I stumbled upon your post since I wished to keep my code spring independent.
So does Spring also understand the standard EJB3 declarative transactions?
That...
Could it be that you are missing the @Transactional tag before the persist() and merge() methods?
I encountered exactly the same problem and without them it doesnt work.
The thing I dont like...