openejb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Louis MONTEIRO <jean-louis.monte...@atosorigin.com>
Subject Re: svn commit: r771980 - in /openejb/trunk/openejb3: examples/simple-webservice/src/main/java/org/superbiz/calculator/ examples/simple-webservice/src/main/java/org/superbiz/handler/ examples/simple-webservice/src/test/java/org/superbiz/calculator/ s
Date Fri, 08 May 2009 20:30:20 GMT

Jacek,

You're right, the file is not on SVN.
It should be located in
openejb/trunk/openejb3/examples/simple-webservice/src/main/resources/org/superbiz/handler/handler.xml

I forgot to add it in the first patch. Jon already faces this problem that's
why I changed the patch file (OPENEJB-1001). Jon is aware of that, so I
think he hasn't got any time to apply the patch again.

Sorry for that.
Jean-Louis



Jacek Laskowski wrote:
> 
> On Tue, May 5, 2009 at 11:46 PM,  <jgallimore@apache.org> wrote:
>> Author: jgallimore
>> Date: Tue May  5 21:46:37 2009
>> New Revision: 771980
>>
>> URL: http://svn.apache.org/viewvc?rev=771980&view=rev
>> Log:
>> OPENEJB-1001 soap header patch from Jean-Louis Monteiro
> ...
>> Modified:
>> openejb/trunk/openejb3/examples/simple-webservice/src/main/java/org/superbiz/calculator/CalculatorImpl.java
>> URL:
>> http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/simple-webservice/src/main/java/org/superbiz/calculator/CalculatorImpl.java?rev=771980&r1=771979&r2=771980&view=diff
>> ==============================================================================
>> ---
>> openejb/trunk/openejb3/examples/simple-webservice/src/main/java/org/superbiz/calculator/CalculatorImpl.java
>> (original)
>> +++
>> openejb/trunk/openejb3/examples/simple-webservice/src/main/java/org/superbiz/calculator/CalculatorImpl.java
>> Tue May  5 21:46:37 2009
>> @@ -16,8 +16,12 @@
>>  */
>>  package org.superbiz.calculator;
>>
>> +import java.util.Date;
>> +
>>  import javax.ejb.Stateless;
>> +import javax.jws.HandlerChain;
>>  import javax.jws.WebService;
>> +import javax.xml.ws.Holder;
>>
>>  /**
>>  * This is an EJB 3 style pojo stateless session bean
>> @@ -32,6 +36,7 @@
>>         serviceName = "CalculatorWsService",
>>         targetNamespace = "http://superbiz.org/wsdl",
>>         endpointInterface = "org.superbiz.calculator.CalculatorWs")
>> +@HandlerChain(file = "handler.xml")
>>  public class CalculatorImpl implements CalculatorWs, CalculatorLocal {
> 
> Hi,
> 
> I'm trying to build the latest sources and it fails with the following
> exception (in examples\simple-webservice):
> 
> WARN - Jar not loaded. classpath.ear.  Unable to load handler chain
> file: handler.xml: null
> org.apache.openejb.OpenEJBException: Unable to load handler chain
> file: handler.xml: null
>         at
> org.apache.openejb.config.WsDeployer.getHandlerChains(WsDeployer.java:445)
> ...
> Caused by: java.lang.NullPointerException
>         at
> org.apache.openejb.config.ReadDescriptors.readHandlerChains(ReadDescriptors.java:431)
>         at
> org.apache.openejb.config.WsDeployer.getHandlerChains(WsDeployer.java:443)
>         ... 42 more
> 
> The NPE is just a side effect of a missing handler.xml file. I'm
> investigating it, but would appreciate some advice for easy fixing.
> Dunno how the file should look like and what it should contains.
> 
> Jacek
> 
> -- 
> Jacek Laskowski
> Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-svn-commit%3A-r771980---in--openejb-trunk-openejb3%3A--examples-simple-webservice-src-main-java-org-superbiz-calculator---examples-simple-webservice-src-main-java-org-superbiz-handler---examples-simple-webservice-src-test-java-org-superbiz-calculator--s-tp23437507p23452012.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.


Mime
View raw message