camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Babak Vahdat (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5880) camel-quickfix: QuickfixjEndpoint should adhere the InOut exchange pattern if you would ask for this MEP
Date Tue, 30 Apr 2013 15:30:16 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-5880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13645663#comment-13645663
] 

Babak Vahdat commented on CAMEL-5880:
-------------------------------------

This is what I get if I apply your patch. Actually all tests pass well, but then at the end
get {{java.lang.OutOfMemoryError: PermGen space}}. On the other hand if {{@Ignore}} the Spring
test {{org.apache.camel.component.quickfixj.QuickfixjSpringTest}} then the OOM disappears.

{code}
~/dev/workspace/camel/components/camel-quickfix>echo $MAVEN_OPTS
-Xms1024m -Xmx1024m -XX:MaxPermSize=1024m
~/dev/workspace/camel/components/camel-quickfix>mvn test
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel :: QuickFIX/J 2.12-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @ camel-quickfix ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.4:process (default) @ camel-quickfix ---
[INFO] 
[INFO] >>> camel-package-maven-plugin:2.12-SNAPSHOT:generate-components-list (default)
@ camel-quickfix >>>
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @ camel-quickfix ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.4:process (default) @ camel-quickfix ---
[INFO] 
[INFO] <<< camel-package-maven-plugin:2.12-SNAPSHOT:generate-components-list (default)
@ camel-quickfix <<<
[INFO] 
[INFO] --- camel-package-maven-plugin:2.12-SNAPSHOT:generate-components-list (default) @ camel-quickfix
---
[INFO] Generated /Users/bvahdat/dev/workspace/camel/components/camel-quickfix/target/generated/camel/components/META-INF/services/org/apache/camel/component.properties
containing the Camel component quickfix
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ camel-quickfix ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 3 resources
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ camel-quickfix ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ camel-quickfix
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ camel-quickfix
---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.14.1:test (default-test) @ camel-quickfix ---
[INFO] Surefire report directory: /Users/bvahdat/dev/workspace/camel/components/camel-quickfix/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.camel.component.quickfixj.QuickfixjComponentTest
<20130430-15:20:57, FIX.4.4:FOO->BAR, event> (Session FIX.4.4:FOO->BAR schedule
is daily, 00:00:00-UTC - 00:00:00-UTC)
<20130430-15:20:57, FIX.4.4:FOO->BAR, event> (Created session: FIX.4.4:FOO->BAR)
<20130430-15:20:57, FIX.4.4:FOO->BAR, error> (java.io.IOException: java.io.IOException:
Endpoint unavailable: vm:1234 (Next retry in 30000 milliseconds))
<20130430-15:20:57, FIX.4.4:ACCEPTOR->INITIATOR, event> (Session FIX.4.4:ACCEPTOR->INITIATOR
schedule is daily, 00:00:00-UTC - 00:00:00-UTC)
<20130430-15:20:57, FIX.4.4:ACCEPTOR->INITIATOR, event> (Created session: FIX.4.4:ACCEPTOR->INITIATOR)
<20130430-15:20:57, FIX.4.4:INITIATOR->ACCEPTOR, event> (Session FIX.4.4:INITIATOR->ACCEPTOR
schedule is daily, 00:00:00-UTC - 00:00:00-UTC)
<20130430-15:20:57, FIX.4.4:INITIATOR->ACCEPTOR, event> (Created session: FIX.4.4:INITIATOR->ACCEPTOR)
<20130430-15:20:58, FIX.4.4:INITIATOR->ACCEPTOR, outgoing> (8=FIX.4.49=7235=A34=149=INITIATOR52=20130430-15:20:58.86856=ACCEPTOR98=0108=3010=011)
<20130430-15:20:58, FIX.4.4:ACCEPTOR->INITIATOR, incoming> (8=FIX.4.49=7235=A34=149=INITIATOR52=20130430-15:20:58.86856=ACCEPTOR98=0108=3010=011)
<20130430-15:20:58, FIX.4.4:ACCEPTOR->INITIATOR, event> (Accepting session FIX.4.4:ACCEPTOR->INITIATOR
from anonymous(84419191))
<20130430-15:20:58, FIX.4.4:ACCEPTOR->INITIATOR, event> (Acceptor heartbeat set to
30 seconds)
<20130430-15:20:58, FIX.4.4:ACCEPTOR->INITIATOR, event> (Received logon)
<20130430-15:20:58, FIX.4.4:ACCEPTOR->INITIATOR, event> (Responding to Logon request)
<20130430-15:20:58, FIX.4.4:INITIATOR->ACCEPTOR, event> (Initiated logon request)
<20130430-15:20:58, FIX.4.4:ACCEPTOR->INITIATOR, outgoing> (8=FIX.4.49=7235=A34=149=ACCEPTOR52=20130430-15:20:58.87556=INITIATOR98=0108=3010=009)
<20130430-15:20:58, FIX.4.4:INITIATOR->ACCEPTOR, incoming> (8=FIX.4.49=7235=A34=149=ACCEPTOR52=20130430-15:20:58.87556=INITIATOR98=0108=3010=009)
<20130430-15:20:58, FIX.4.4:INITIATOR->ACCEPTOR, event> (Received logon)
<20130430-15:20:58, FIX.4.4:ACCEPTOR->INITIATOR, outgoing> (8=FIX.4.49=8135=C34=249=ACCEPTOR52=20130430-15:20:58.88056=INITIATOR94=0147=Test164=ID10=170)
<20130430-15:20:58, FIX.4.4:INITIATOR->ACCEPTOR, incoming> (8=FIX.4.49=8135=C34=249=ACCEPTOR52=20130430-15:20:58.88056=INITIATOR94=0147=Test164=ID10=170)
<20130430-15:20:58, FIX.4.4:ACCEPTOR->INITIATOR, outgoing> (8=FIX.4.49=8135=C34=349=ACCEPTOR52=20130430-15:20:58.88156=INITIATOR94=0147=Test164=ID10=172)
<20130430-15:20:58, FIX.4.4:INITIATOR->ACCEPTOR, incoming> (8=FIX.4.49=8135=C34=349=ACCEPTOR52=20130430-15:20:58.88156=INITIATOR94=0147=Test164=ID10=172)
<20130430-15:20:58, FIX.4.4:FOO->BAR, event> (Session FIX.4.4:FOO->BAR schedule
is daily, 00:00:00-UTC - 00:00:00-UTC)
<20130430-15:20:58, FIX.4.4:FOO->BAR, event> (Created session: FIX.4.4:FOO->BAR)
<20130430-15:20:58, FIX.4.4:FOO->BAR, error> (java.io.IOException: java.io.IOException:
Endpoint unavailable: vm:1234 (Next retry in 30000 milliseconds))
<20130430-15:20:58, FIX.4.4:FOO->BAR, event> (Session FIX.4.4:FOO->BAR schedule
is daily, 00:00:00-UTC - 00:00:00-UTC)
<20130430-15:20:58, FIX.4.4:FOO->BAR, event> (Created session: FIX.4.4:FOO->BAR)
<20130430-15:20:58, FIX.4.4:FOO->BAR, error> (java.io.IOException: java.io.IOException:
Endpoint unavailable: vm:1234 (Next retry in 30000 milliseconds))
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.455 sec
Running org.apache.camel.component.quickfixj.QuickfixjConfigurationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.camel.component.quickfixj.QuickfixjConsumerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.167 sec
Running org.apache.camel.component.quickfixj.QuickfixjConvertersTest
<20130430-15:20:59, FIX.4.4:FOO->BAR, event> (Session FIX.4.4:FOO->BAR schedule
is daily, 00:00:00-UTC - 00:00:00-UTC)
<20130430-15:20:59, FIX.4.4:FOO->BAR, event> (Created session: FIX.4.4:FOO->BAR)
<20130430-15:20:59, FIX.4.4:FOO->BAR, event> (Session FIX.4.4:FOO->BAR schedule
is daily, 00:00:00-UTC - 00:00:00-UTC)
<20130430-15:20:59, FIX.4.4:FOO->BAR, event> (Created session: FIX.4.4:FOO->BAR)
<20130430-15:20:59, FIX.4.4:FOO->BAR, event> (Session FIX.4.4:FOO->BAR schedule
is daily, 00:00:00-UTC - 00:00:00-UTC)
<20130430-15:20:59, FIX.4.4:FOO->BAR, event> (Created session: FIX.4.4:FOO->BAR)
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.627 sec
Running org.apache.camel.component.quickfixj.QuickfixjEngineTest
<20130430-15:20:59, FIX.4.4:FOO->BAR, event> (Session FIX.4.4:FOO->BAR schedule
is daily, 00:00:00-UTC - 00:00:00-UTC)
<20130430-15:20:59, FIX.4.4:FOO->BAR, event> (Created session: FIX.4.4:FOO->BAR)
<20130430-15:20:59, FIX.4.4:FOO->BAR, error> (java.io.IOException: java.io.IOException:
Endpoint unavailable: vm:1234 (Next retry in 30000 milliseconds))
<20130430-15:20:59, FIX.4.2:MARKET->TRADER, event> (Session FIX.4.2:MARKET->TRADER
schedule is daily, 00:00:00-UTC - 00:00:00-UTC)
<20130430-15:20:59, FIX.4.2:MARKET->TRADER, event> (Created session: FIX.4.2:MARKET->TRADER)
<20130430-15:20:59, FIX.4.2:TRADER->MARKET, event> (Session FIX.4.2:TRADER->MARKET
schedule is daily, 00:00:00-UTC - 00:00:00-UTC)
<20130430-15:20:59, FIX.4.2:TRADER->MARKET, event> (Created session: FIX.4.2:TRADER->MARKET)
<20130430-15:21:00, FIX.4.2:TRADER->MARKET, outgoing> (8=FIX.4.29=6835=A34=149=TRADER52=20130430-15:21:00.81756=MARKET98=0108=12010=174)
<20130430-15:21:00, FIX.4.2:MARKET->TRADER, incoming> (8=FIX.4.29=6835=A34=149=TRADER52=20130430-15:21:00.81756=MARKET98=0108=12010=174)
<20130430-15:21:00, FIX.4.2:MARKET->TRADER, event> (Accepting session FIX.4.2:MARKET->TRADER
from anonymous(1620729172))
<20130430-15:21:00, FIX.4.2:MARKET->TRADER, event> (Acceptor heartbeat set to 120
seconds)
<20130430-15:21:00, FIX.4.2:TRADER->MARKET, event> (Initiated logon request)
<20130430-15:21:00, FIX.4.2:MARKET->TRADER, event> (Received logon)
<20130430-15:21:00, FIX.4.2:MARKET->TRADER, event> (Responding to Logon request)
<20130430-15:21:00, FIX.4.2:MARKET->TRADER, outgoing> (8=FIX.4.29=6835=A34=149=MARKET52=20130430-15:21:00.81956=TRADER98=0108=12010=176)
<20130430-15:21:00, FIX.4.2:TRADER->MARKET, incoming> (8=FIX.4.29=6835=A34=149=MARKET52=20130430-15:21:00.81956=TRADER98=0108=12010=176)
<20130430-15:21:00, FIX.4.2:TRADER->MARKET, event> (Received logon)
<20130430-15:21:00, FIX.4.2:TRADER->MARKET, outgoing> (8=FIX.4.29=9235=C34=249=TRADER52=20130430-15:21:00.82156=MARKET94=0147=Test164=ID33=158=Content10=118)
<20130430-15:21:00, FIX.4.2:MARKET->TRADER, incoming> (8=FIX.4.29=9235=C34=249=TRADER52=20130430-15:21:00.82156=MARKET94=0147=Test164=ID33=158=Content10=118)
<20130430-15:21:00, FIX.4.4:FOO->BAR, event> (Session FIX.4.4:FOO->BAR schedule
is daily, 00:00:00-UTC - 00:00:00-UTC)
<20130430-15:21:00, FIX.4.4:FOO->BAR, event> (Created session: FIX.4.4:FOO->BAR)
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.079 sec
Running org.apache.camel.component.quickfixj.QuickfixjProducerTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 sec
Running org.apache.camel.component.quickfixj.QuickfixjSpringTest
<20130430-15:21:01, FIX.4.2:ACCEPTOR->INITIATOR, event> (Session FIX.4.2:ACCEPTOR->INITIATOR
schedule is daily, 00:00:00-UTC - 00:00:00-UTC)
<20130430-15:21:01, FIX.4.2:ACCEPTOR->INITIATOR, event> (Created session: FIX.4.2:ACCEPTOR->INITIATOR)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.529 sec
java.lang.OutOfMemoryError: PermGen space

Results :

Tests run: 42, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.485s
[INFO] Finished at: Tue Apr 30 17:21:06 CEST 2013
[INFO] Final Memory: 14M/1011M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test
(default-test) on project camel-quickfix: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test
failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit
called ?
[ERROR] Command was/bin/sh -c cd /Users/bvahdat/dev/workspace/camel/components/camel-quickfix
&& /Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Home/bin/java -jar
/Users/bvahdat/dev/workspace/camel/components/camel-quickfix/target/surefire/surefirebooter5621841200692637059.jar
/Users/bvahdat/dev/workspace/camel/components/camel-quickfix/target/surefire/surefire8781436168046582511tmp
/Users/bvahdat/dev/workspace/camel/components/camel-quickfix/target/surefire/surefire_08815624006783717081tmp
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
{code}
                
> camel-quickfix: QuickfixjEndpoint should adhere the InOut exchange pattern if you would
ask for this MEP
> --------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5880
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5880
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-quickfix
>    Affects Versions: 2.10.3
>            Reporter: Babak Vahdat
>            Priority: Minor
>         Attachments: requestreply-2.patch, requestreply.patch
>
>
> See http://camel.465427.n5.nabble.com/camel-quickfix-RequestReplyExample-java-io-IOException-td5723769.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message