Hi all.

I'm Giuseppe, i'm a student and i'm working on a gt based project.

I want to ask to you if is it possible to write one only service with both instance and factory issues.

I tried to do it, this is the WSDD:

<!-- Auction Service -->
<service name="auctions/services/AuctionService" provider="Handler" use="literal" style="document"> <parameter name="className" value="auctions.services.impl.AuctionService"/>

<wsdlFile>share/schema/auctions/services/Auction_service.wsdl</wsdlFile>
    <parameter name="allowedMethods" value="*"/>
<parameter name="handlerClass" value="org.globus.axis.providers.RPCProvider"/>
    <parameter name="scope" value="Application"/>

    <parameter name="instance" value="auctions/services/AuctionService"/>

    <parameter name="providers" value="GetRPProvider"/>

    <parameter name="loadOnStartup" value="true"/>
</service>


and this is the JNDI:

<!-- Auction service -->
<service name="auctions/services/AuctionService">
<resourceLink name="home" target="java:comp/env/services/auctions/services/AuctionService/home"/>
</service>



I compile and deploy, but when I start the container I get this error:

Failed to start container: [Caused by: java.lang.reflect.InvocationTargetException]



Can I resolve the problem or have I to write 2 different services? I need just one service because of the service logic.


Thank you very much for your help.



Giuseppe Magurno

Reply via email to