tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gil Teitelbaum" <T...@tradertools.com>
Subject RE: ReflectionServiceFactoryBean constantly creating services
Date Tue, 07 Feb 2012 19:12:15 GMT
Here is a simplification of my web service.

 

There is no method in my code that publishes the web service.

 

@Stateless

@WebService(

        portName = "HedgingPort",

        serviceName = "HedgingService",

        targetNamespace = "http://tradertools.com/wsdl",

        endpointInterface = "com.tradertools.ejb.HedgingWS")

@ConcurrencyManagement(ConcurrencyManagementType.CONTAINER)        

@AccessTimeout(value=120000)

public class HedgingImpl implements HedgingWS, HedgingRemote,
HedgingLocal  {

    public HedgingImpl()

    {

      logger.info("entering hedgingimpl");

    }

 

      @Override

      @Lock(LockType.READ)

      public String getInstrumentsXML() {

            logger.info("enter getInstrumentsXML");

            try {

                  return
OrderAPIConnector.getOrderAPIConnector().getInstrumentsXML();

            } catch (Throwable ex) {

                  logger.log(Level.SEVERE, "Caught unexpected exception
XML", ex);

                  return "";

            }

      }

}

 

-----Original Message-----
From: Romain Manni-Bucau [mailto:rmannibucau@gmail.com] 
Sent: Tuesday, February 07, 2012 8:58 PM
To: users@openejb.apache.org
Subject: Re: ReflectionServiceFactoryBean constantly creating services

 

Hi,

 

i pretty sure it is in your application (maybe a loop a method
publishing

the WS through cxf API?) because OpenEJB doesn't deploy the webservice
with

this kind of addresses.

 

- Romain

 

 

2012/2/7 Gil Teitelbaum <TGil@tradertools.com>

 

> Hi Everyone,

> 

> 

> 

> I have an OpenEJB 3.1.4 embedded server that seems to be creating a
web

> service every two seconds.

> 

> 

> 

> 18:42:32:895 07.02 INFO  [-pool-2-thread-1]
ReflectionServiceFactoryBean

> Creating Service {http://tradertools.com/}Orders from WSDL:

> http://vint3app/STPlatform/API/Orders.asmx?wsdl

> 

> 18:42:34:942 07.02 INFO  [-pool-2-thread-1]
ReflectionServiceFactoryBean

> Creating Service {http://tradertools.com/}Orders from WSDL:

> http://vint3app/STPlatform/API/Orders.asmx?wsdl

> 

> 18:42:36:989 07.02 INFO  [-pool-2-thread-1]
ReflectionServiceFactoryBean

> Creating Service {http://tradertools.com/}Orders from WSDL:

> http://vint3app/STPlatform/API/Orders.asmx?wsdl

> 

> 18:42:39:036 07.02 INFO  [-pool-2-thread-1]
ReflectionServiceFactoryBean

> Creating Service {http://tradertools.com/}Orders from WSDL:

> http://vint3app/STPlatform/API/Orders.asmx?wsdl

> 

> 18:42:41:083 07.02 INFO  [-pool-2-thread-1]
ReflectionServiceFactoryBean

> Creating Service {http://tradertools.com/}Orders from WSDL:

> http://vint3app/STPlatform/API/Orders.asmx?wsdl

> 

> 

> 

> Does anyone have any idea why this would be happening and what I could

> do to change this.

> 

> 

> 

> Thanks

> 

> 

> 

> Gil

> 

> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message