CXF와 NGrinder 동시 사용

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

CXF와 NGrinder 동시 사용

Janggwan
This post was updated on .
CXF와 NGrinder 를 동시에 사용하려고 하는데

slf4j 충돌을 해결하고 났더니, 다음과 같은 에러가 발생하는군요.

무엇이 문제인지 몰라 여쭤봅니다.

org.apache.cxf.service.factory.ServiceConstructionException: Could not resolve a binding for null
        at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.java:350) ~[perfTest.jar:na]
        at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpointInfo(AbstractWSDLBasedEndpointFactory.java:258) ~[perfTest.jar:na]
        at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:143) ~[perfTest.jar:na]
        at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:90) ~[perfTest.jar:na]
        at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:155) ~[perfTest.jar:na]
        at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:156) ~[perfTest.jar:na]

...

2014-02-14 23:41:55,656 DEBUG org.apache.cxf.common.logging.LogUtils: Using org.apache.cxf.common.logging.Slf4jLogger for logging.
2014-02-14 23:41:55,750 INFO  org.apache.cxf.service.factory.ReflectionServiceFactoryBean: Creating Service {urn:epcglobal:alelr:wsdl:1}ALELRServicePortTypeService from class org.fosstrak.ale.wsdl.alelr.epcglobal.ALELRServicePortType
2014-02-14 23:41:56,556 DEBUG org.apache.cxf.jaxb.JAXBDataBinding: Created JAXBContext "jar:file:/C:/Users/Janggwan/.ngrinder/script/admin/lib/perfTest.jar!/com/sun/xml/bind/v2/runtime/JAXBContextImpl.class Build-Id: null
Classes known to this context:
  [B
  boolean

...

2014-02-14 23:41:56,919 ERROR validation-0: aborting process - Java exception initialising test script
net.grinder.scriptengine.jython.JythonScriptExecutionException: Java exception initialising test script
        t = PollTest("143.248.55.197:8080")
        File "${NGRINDER_HOME}\script\admin\pollTest.py", line 11, in <module>
org.apache.cxf.service.factory.ServiceConstructionException: Could not resolve a binding for null
        at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.java:350) ~[perfTest.jar:na]
        at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpointInfo(AbstractWSDLBasedEndpointFactory.java:258) ~[perfTest.jar:na]
        at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:143) ~[perfTest.jar:na]
        at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:90) ~[perfTest.jar:na]
        at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:155) ~[perfTest.jar:na]
        at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:156) ~[perfTest.jar:na]
        at kr.ac.kaist.resl.PollTest.createAlelr(PollTest.java:63) ~[perfTest.jar:na]
        at kr.ac.kaist.resl.PollTest.<init>(PollTest.java:20) ~[perfTest.jar:na]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_25]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_25]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_25]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_25]
        at org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:210) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyReflectedConstructor.__call__(PyReflectedConstructor.java:179) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyObject.__call__(PyObject.java:345) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyMethod.__call__(PyMethod.java:211) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyMethod.__call__(PyMethod.java:206) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.Deriveds.dispatch__init__(Deriveds.java:19) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:1057) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyType.type___call__(PyType.java:1565) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyType.__call__(PyType.java:1548) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyObject.__call__(PyObject.java:387) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyObject.__call__(PyObject.java:391) ~[jython-standalone-2.5.3.jar:na]
        at org.python.pycode._pyx1.f$0(${NGRINDER_HOME}\script\admin\pollTest.py:17) ~[na:na]
        at org.python.pycode._pyx1.call_function(${NGRINDER_HOME}\script\admin\pollTest.py) ~[na:na]
        at org.python.core.PyTableCode.call(PyTableCode.java:165) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyCode.call(PyCode.java:18) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.Py.runCode(Py.java:1275) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.__builtin__.execfile_flags(__builtin__.java:522) ~[jython-standalone-2.5.3.jar:na]
        at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:225) ~[jython-standalone-2.5.3.jar:na]
        at net.grinder.scriptengine.jython.JythonScriptEngine.<init>(JythonScriptEngine.java:119) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.scriptengine.jython.JythonScriptEngineService.createScriptEngine(JythonScriptEngineService.java:103) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.ScriptEngineContainer.getScriptEngine(ScriptEngineContainer.java:105) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:385) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java:87) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcessEntryPoint.java:60) ~[grinder-core-3.9.1.jar:na]
Caused by: org.apache.cxf.BusException: NO_BINDING_FACTORY_EXC
        at org.apache.cxf.bus.managers.BindingFactoryManagerImpl.getBindingFactory(BindingFactoryManagerImpl.java:123) ~[perfTest.jar:na]
        at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.java:338) ~[perfTest.jar:na]
        ... 36 common frames omitted





Reply | Threaded
Open this post in threaded view
|

Re: CXF와 NGrinder 동시 사용

junoyoon
Administrator
CXF를 잘 모릅니다만..

nGrinder 문제는 아닌것 같습니다..

구글 검색 해보니..

http://stackoverflow.com/questions/3006185/serviceconstructionexception-when-creating-a-cxf-web-service-client

이렇다네요..