Cannot record with HTTP proxy
Annorax <[email protected]> Tue, 6 Jan 2015 06:29:07 -0700 (MST)
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <[email protected]> |
Hello all,
I am using Grinder 3.11 on RHEL Linux 6.5 and trying to record using the
proxy command below.
/${JAVA_HOME}/bin/java -cp ${CLASSPATH} net.grinder.TCPProxy -http
-localhost ${LOCAL_IP} > ../etc/recording_${CURRENT_DATE}.py/
When I try to stop the recording, I get the below error and my Python file
is empty.
/Exception in thread "Thread-0" 08:20:55.266 [main] INFO : Engine exited
org.picocontainer.PicoLifecycleException: PicoLifecycleException: method
'public abstract void org.picocontainer.Disposable.dispose()', instance
'net.grinder.plugin.http.tcpproxyfilter.HTTPRecordingImplementation@58174e9a,
org.apache.xml.dtm.DTMException: Not supported:
javax.xml.transform.stax.StAXSource@2190954e
at
org.picocontainer.monitors.NullComponentMonitor.lifecycleInvocationFailed(NullComponentMonitor.java:77)
at
org.picocontainer.lifecycle.StartableLifecycleStrategy.dispose(StartableLifecycleStrategy.java:144)
at
org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.dispose(AbstractInjectionFactory.java:92)
at
org.picocontainer.behaviors.AbstractBehavior.dispose(AbstractBehavior.java:189)
at
org.picocontainer.behaviors.Stored$RealComponentLifecycle.dispose(Stored.java:151)
at org.picocontainer.behaviors.Stored.dispose(Stored.java:55)
at
org.picocontainer.DefaultPicoContainer.disposeAdapters(DefaultPicoContainer.java:1052)
at
org.picocontainer.DefaultPicoContainer.dispose(DefaultPicoContainer.java:843)
at net.grinder.TCPProxy$1.run(TCPProxy.java:483)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.apache.xml.dtm.DTMException: Not supported:
javax.xml.transform.stax.StAXSource@2190954e
at
org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:485)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:790)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1384)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1362)
at
net.grinder.plugin.http.tcpproxyfilter.ProcessHTTPRecordingWithXSLT.process(ProcessHTTPRecordingWithXSLT.java:143)
at
net.grinder.plugin.http.tcpproxyfilter.HTTPRecordingImplementation.dispose(HTTPRecordingImplementation.java:402)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.picocontainer.lifecycle.StartableLifecycleStrategy.doLifecycleMethod(StartableLifecycleStrategy.java:101)
at
org.picocontainer.lifecycle.StartableLifecycleStrategy.disposeComponent(StartableLifecycleStrategy.java:116)
at
org.picocontainer.lifecycle.StartableLifecycleStrategy.dispose(StartableLifecycleStrategy.java:141)
... 8 more/
Looking around, I can see this came up once a while ago but it turned out to
be a Java issue. I've tried with multiple Java versions (jdk-sun-1.6.0_22
and jdk-sun-1.7.0_09 as some examples) and all give the same error.
Does anyone have any ideas what might be wrong?
--
View this message in context: http://grinder.996249.n3.nabble.com/Cannot-record-with-HTTP-proxy-tp8972.html
Sent from the Grinder - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net