Simple Fix Connection Config Question

6 messages Options
Embed this post
Permalink
barrett-8

Simple Fix Connection Config Question

Reply Threaded More More options
Print post
Permalink
A few simple questions, but first let me describe my current configuration so we can insure everything is sensible.

I am using the 0.4.2 build of the Appliance and am running this on Parallels.

I have changed the network configuration to bridge.

I have changed sendercompid as directed.

the appliances eth0 dhcp's correctly and obtains a sensible ip address 192.168.1.111, I can ping the outside.

logging into the status user indicates everything is up,  except Remote Address this does not resolve. Also htttp:// 192.168.1.111:3000 indicates the same i.e the Remote Address N/A

My Photon config is as follows:

JMS server Url: tcp://192.168.1.111:61616

webapphost 192.168.1.111

web app port: 3000

market data feed: MarketCetera

Market data server Url : FIX.4.4://exchange.marketcetera.com:7003


My question is: When I attempt to input an order into the Stock Order Ticket, say "B 100 goog mkt Day" I receive the following console output

DEBUG - Sending: 8=FIX.4.29=8835=D1=algo111=900121=138=10040=154=155=goog59=060=20080630-18:16:10.180167=CS10=198
org.marketcetera.quickfix.MarketceteraFIXException: Could not find field OrdStatus in message.
    at org.marketcetera.quickfix.MarketceteraFIXException.createFieldNotFoundException(Unknown Source)
    at org.marketcetera.quickfix.MarketceteraFIXException.createFieldNotFoundException(Unknown Source)
    at org.marketcetera.photon.PhotonController.handleCounterpartyMessage(Unknown Source)
    at org.marketcetera.photon.messaging.PhotonControllerListenerAdapter.doOnMessage(Unknown Source)
    at org.marketcetera.photon.messaging.DirectMessageListenerAdapter.onMessage(Unknown Source)
    at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:829)
    at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:790)
    at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:763)
    at org.springframework.jms.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:743)
    at org.springframework.jms.listener.SimpleMessageListenerContainer$2.onMessage(SimpleMessageListenerContainer.java:190)
    at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:840)
    at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:96)
    at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:165)
    at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:88)
    at org.apache.activemq.thread.DedicatedTaskRunner.access$000(DedicatedTaskRunner.java:25)
    at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:39)
Caused by: quickfix.FieldNotFound: Field [39] was not found in message.
    at quickfix.FieldMap.getField(FieldMap.java:209)
    at quickfix.FieldMap.getChar(FieldMap.java:232)
    at org.marketcetera.photon.PhotonController.handleExecutionReport(Unknown Source)
    ... 14 more
14:16:10,502 ERROR - Error decoding incoming message Could not find field OrdStatus in message.
Could not find field OrdStatus in message.

the oms log indicates OMS has no FIX connection


I have not changed any of the brokerurls in either oms.xml or orderloader.xml, so they still reflect tcp://localhost:61616





--
ARC
Charlottesville, Va
_______________________________________________
_______________________________________________
Marketcetera Users mailing list
Marketcetera Documentation: http://trac.marketcetera.org
To unsubscribe, go to
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-users or send an email to [hidden email].
toli

Re: Simple Fix Connection Config Question

Reply Threaded More More options
Print post
Permalink
Hi,

Thanks for your interest in Marketcetera.

The main problem stems from the fact that your OMS (we renamed it ORS
in 0.5.0) has no FIX connection (to our exchange simulator i assume)?
There's a bug in 0.4.2 ORS that was fixed in 0.5.0 that relates to
this: http://trac.marketcetera.org/trac.fcgi/ticket/494

Your best approach is to make sure the ORS is logged on. Can you tell
me what senderCompID you are using and i'll check on the simulator
side to see why it's not connecting?
Alternatively, you can use your email (or something unique) as the
senderCompID, restart the ORS (sudo /etc/init.d/oms restart ) on the
appliance and try again.
Once the ORS is logged on, you should have no problems sending orders out.

toli

On Mon, Jun 30, 2008 at 11:42 AM, barrett <[hidden email]> wrote:

> A few simple questions, but first let me describe my current configuration
> so we can insure everything is sensible.
>
> I am using the 0.4.2 build of the Appliance and am running this on
> Parallels.
>
> I have changed the network configuration to bridge.
>
> I have changed sendercompid as directed.
>
> the appliances eth0 dhcp's correctly and obtains a sensible ip address
> 192.168.1.111, I can ping the outside.
>
> logging into the status user indicates everything is up,  except Remote
> Address this does not resolve. Also htttp:// 192.168.1.111:3000 indicates
> the same i.e the Remote Address N/A
>
> My Photon config is as follows:
>
> JMS server Url: tcp://192.168.1.111:61616
>
> webapphost 192.168.1.111
>
> web app port: 3000
>
> market data feed: MarketCetera
>
> Market data server Url : FIX.4.4://exchange.marketcetera.com:7003
>
>
> My question is: When I attempt to input an order into the Stock Order
> Ticket, say "B 100 goog mkt Day" I receive the following console output
>
> DEBUG - Sending: 8=FIX.4.2 9=88 35=D 1=algo1 11=9001 21=1 38=100 40=1 54=1
> 55=goog 59=0 60=20080630-18:16:10.180 167=CS 10=198
> org.marketcetera.quickfix.MarketceteraFIXException: Could not find field
> OrdStatus in message.
>     at
> org.marketcetera.quickfix.MarketceteraFIXException.createFieldNotFoundException(Unknown
> Source)
>     at
> org.marketcetera.quickfix.MarketceteraFIXException.createFieldNotFoundException(Unknown
> Source)
>     at
> org.marketcetera.photon.PhotonController.handleCounterpartyMessage(Unknown
> Source)
>     at
> org.marketcetera.photon.messaging.PhotonControllerListenerAdapter.doOnMessage(Unknown
> Source)
>     at
> org.marketcetera.photon.messaging.DirectMessageListenerAdapter.onMessage(Unknown
> Source)
>     at
> org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:829)
>     at
> org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:790)
>     at
> org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:763)
>     at
> org.springframework.jms.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:743)
>     at
> org.springframework.jms.listener.SimpleMessageListenerContainer$2.onMessage(SimpleMessageListenerContainer.java:190)
>     at
> org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:840)
>     at
> org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:96)
>     at
> org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:165)
>     at
> org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:88)
>     at
> org.apache.activemq.thread.DedicatedTaskRunner.access$000(DedicatedTaskRunner.java:25)
>     at
> org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:39)
> Caused by: quickfix.FieldNotFound: Field [39] was not found in message.
>     at quickfix.FieldMap.getField(FieldMap.java:209)
>     at quickfix.FieldMap.getChar(FieldMap.java:232)
>     at
> org.marketcetera.photon.PhotonController.handleExecutionReport(Unknown
> Source)
>     ... 14 more
> 14:16:10,502 ERROR - Error decoding incoming message Could not find field
> OrdStatus in message.
> Could not find field OrdStatus in message.
>
> the oms log indicates OMS has no FIX connection
>
>
> I have not changed any of the brokerurls in either oms.xml or
> orderloader.xml, so they still reflect tcp://localhost:61616
>
>
>
>
>
> --
> ARC
> Charlottesville, Va
> _______________________________________________
> _______________________________________________
> Marketcetera Users mailing list
> Marketcetera Documentation: http://trac.marketcetera.org
> To unsubscribe, go to
> http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-users or send
> an email to [hidden email].
>
>



--
Toli Kuznets
http://www.marketcetera.com: Open-Source Trading Platform
download.run.trade.
_______________________________________________
_______________________________________________
Marketcetera Users mailing list
Marketcetera Documentation: http://trac.marketcetera.org
To unsubscribe, go to
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-users or send an email to [hidden email].
Robert de Witt

0.4.2 on Mac OS X Tradebase Error

Reply Threaded More More options
Print post
Permalink
In reply to this post by barrett-8
Some javascript/style in this post has been disabled (why?)

Dear Marketcetera Gurus,

Just curious if anyone has seen the below error (in bold). I'm running 0.4.2 on OS X 10.5.3, the ORS is working an sending heartbeats to the simulator, but when running tradebase, and trying to access the http://localhost:3000
I keep seeing the below error. (I've installed the latest quickfix as recommended in the building guide for tradebase). 


Best,

-Robert

=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
ActiveMessaging: adapter reliable_msg not loaded: no such file to load -- reliable-msg
ActiveMessaging: adapter wmq not loaded: no such file to load -- wmq/wmq
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready.  TERM => stop.  USR2 => restart.  INT => stop (no restart).
** Rails signals registered.  HUP => reload (without restart).  It might not work well.
** Mongrel 1.1.4 available at 0.0.0.0:3000
** Use CTRL-C to stop.
no such file to load -- quickfix_fields
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require'
./script/../config/../app/controllers/application.rb:6
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:203:in `load_without_new_constant_marking'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:203:in `load_file'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:202:in `load_file'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:94:in `require_or_load'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:60:in `depend_on'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:442:in `require_dependency'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:110:in `prepare_application'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:39:in `dispatch'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:488:in `load'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:488:in `load'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:488:in `load'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongrel.rb:60
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'
script/server:3


_______________________________________________
_______________________________________________
Marketcetera Users mailing list
Marketcetera Documentation: http://trac.marketcetera.org
To unsubscribe, go to
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-users or send an email to [hidden email].
toli

Re: 0.4.2 on Mac OS X Tradebase Error

Reply Threaded More More options
Print post
Permalink
Robert,

It appears that you may have some issues with how QuickFIX bindings
for Ruby were built and installed.

Are you sure you've exported LD_LIBRARY_PATH in the terminal where you
are running the Rails server?

Can you try running 'script/console' from the top-level Tradebase
directory? That should load up the "Rails Console", and there you can
try typing
>> require 'quickfix'
<let me know what you get here>

>> Quickfix::Side_BUY()
=> "1"

Let me know what you type that in.

thanks

On Tue, Jul 1, 2008 at 2:34 PM, Robert de Witt <[hidden email]> wrote:

>
> Dear Marketcetera Gurus,
> Just curious if anyone has seen the below error (in bold). I'm running 0.4.2
> on OS X 10.5.3, the ORS is working an sending heartbeats to the simulator,
> but when running tradebase, and trying to access the http://localhost:3000
> I keep seeing the below error. (I've installed the latest quickfix as
> recommended in the building guide for tradebase).
>
> Best,
> -Robert
> => Booting Mongrel (use 'script/server webrick' to force WEBrick)
> => Rails application starting on http://0.0.0.0:3000
> => Call with -d to detach
> => Ctrl-C to shutdown server
> ** Starting Mongrel listening at 0.0.0.0:3000
> ** Starting Rails with development environment...
> ActiveMessaging: adapter reliable_msg not loaded: no such file to load --
> reliable-msg
> ActiveMessaging: adapter wmq not loaded: no such file to load -- wmq/wmq
> ** Rails loaded.
> ** Loading any Rails specific GemPlugins
> ** Signals ready.  TERM => stop.  USR2 => restart.  INT => stop (no
> restart).
> ** Rails signals registered.  HUP => reload (without restart).  It might not
> work well.
> ** Mongrel 1.1.4 available at 0.0.0.0:3000
> ** Use CTRL-C to stop.
> no such file to load -- quickfix_fields



--
Toli Kuznets
http://www.marketcetera.com: Open-Source Trading Platform
download.run.trade.
_______________________________________________
_______________________________________________
Marketcetera Users mailing list
Marketcetera Documentation: http://trac.marketcetera.org
To unsubscribe, go to
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-users or send an email to [hidden email].
Robert de Witt

Re: 0.4.2 on Mac OS X Tradebase Error

Reply Threaded More More options
Print post
Permalink
Hi Toli,

I admire your patience with all the support questions you are getting,  
I really appreciate the help!

This is interesting, seems something is not in my path?

% script/console
Loading development environment.
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in  
`gem_original_require': no such file to load -- quickfix_fields  
(MissingSourceFile)
        from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
dependencies.rb:495:in `require'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
dependencies.rb:342:in `new_constants_in'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
dependencies.rb:495:in `require'
        from ./script/../config/../config/../app/controllers/application.rb:6
        from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in  
`gem_original_require'
        from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
dependencies.rb:495:in `require'
         ... 10 levels...
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/irb/init.rb:251:in `load_modules'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/irb/init.rb:21:in `setup'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/irb.rb:54:in `start'
        from /usr/bin/irb:13
% echo $LD_LIBRARY_PATH
/usr/local/lib
% ls /usr/local/lib
codecs libgcc_s_x86_64.1.dylib libquickfix.10.0.0.dylib
libtk8.4.dylib tk8.4
gcc libgfortran.2.0.0.dylib libquickfix.10.dylib libtkstub8.4.a
tkConfig.sh
libgcc_s.1.dylib libgfortran.2.dylib libquickfix.dylib pkgconfig
x86_64
libgcc_s.10.4.dylib libgfortran.a libquickfix.la ppc64
libgcc_s.10.5.dylib libgfortran.dylib libtcl8.4.dylib tcl8.4
libgcc_s_ppc64.1.dylib libgfortran.la libtclstub8.4.a tclConfig.sh


Best,

-Robert


On Jul 2, 2008, at 6:57 AM, Toli Kuznets wrote:

> Robert,
>
> It appears that you may have some issues with how QuickFIX bindings
> for Ruby were built and installed.
>
> Are you sure you've exported LD_LIBRARY_PATH in the terminal where you
> are running the Rails server?
>
> Can you try running 'script/console' from the top-level Tradebase
> directory? That should load up the "Rails Console", and there you can
> try typing
>>> require 'quickfix'
> <let me know what you get here>
>
>>> Quickfix::Side_BUY()
> => "1"
>
> Let me know what you type that in.
>
> thanks
>
> On Tue, Jul 1, 2008 at 2:34 PM, Robert de Witt <[hidden email]>  
> wrote:
>>
>> Dear Marketcetera Gurus,
>> Just curious if anyone has seen the below error (in bold). I'm  
>> running 0.4.2
>> on OS X 10.5.3, the ORS is working an sending heartbeats to the  
>> simulator,
>> but when running tradebase, and trying to access the http://localhost:3000
>> I keep seeing the below error. (I've installed the latest quickfix as
>> recommended in the building guide for tradebase).
>>
>> Best,
>> -Robert
>> => Booting Mongrel (use 'script/server webrick' to force WEBrick)
>> => Rails application starting on http://0.0.0.0:3000
>> => Call with -d to detach
>> => Ctrl-C to shutdown server
>> ** Starting Mongrel listening at 0.0.0.0:3000
>> ** Starting Rails with development environment...
>> ActiveMessaging: adapter reliable_msg not loaded: no such file to  
>> load --
>> reliable-msg
>> ActiveMessaging: adapter wmq not loaded: no such file to load --  
>> wmq/wmq
>> ** Rails loaded.
>> ** Loading any Rails specific GemPlugins
>> ** Signals ready.  TERM => stop.  USR2 => restart.  INT => stop (no
>> restart).
>> ** Rails signals registered.  HUP => reload (without restart).  It  
>> might not
>> work well.
>> ** Mongrel 1.1.4 available at 0.0.0.0:3000
>> ** Use CTRL-C to stop.
>> no such file to load -- quickfix_fields
>
>
>
> --
> Toli Kuznets
> http://www.marketcetera.com: Open-Source Trading Platform
> download.run.trade.

_______________________________________________
_______________________________________________
Marketcetera Users mailing list
Marketcetera Documentation: http://trac.marketcetera.org
To unsubscribe, go to
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-users or send an email to [hidden email].
toli

Re: 0.4.2 on Mac OS X Tradebase Error

Reply Threaded More More options
Print post
Permalink
Robert,

quickfix_fields.rb lives in /Library/Ruby/Site/ on my Mac. Perhaps
something didn't get installed correctly.

I'm attaching the quickfix* files form /Library/Ruby/Site from my Mac
- I have a MacBookPro Core Duo, this is working on Mac OS X 10.5.4.

Hope this helps. Let me know if you are still running into problems.



On Wed, Jul 2, 2008 at 2:32 PM, Robert de Witt <[hidden email]> wrote:

> Hi Toli,
>
> I admire your patience with all the support questions you are getting, I
> really appreciate the help!
>
> This is interesting, seems something is not in my path?
>
> % script/console
> Loading development environment.
> /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require': no such file to load -- quickfix_fields
> (MissingSourceFile)
>        from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
> `require'
>        from
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in
> `require'
>        from
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in
> `new_constants_in'
>        from
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in
> `require'
>        from ./script/../config/../config/../app/controllers/application.rb:6
>        from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require'
>        from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
> `require'
>        from
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in
> `require'
>         ... 10 levels...
>        from
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb/init.rb:251:in
> `load_modules'
>        from
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb/init.rb:21:in
> `setup'
>        from
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb.rb:54:in
> `start'
>        from /usr/bin/irb:13
> % echo $LD_LIBRARY_PATH
> /usr/local/lib
> % ls /usr/local/lib
> codecs                          libgcc_s_x86_64.1.dylib
> libquickfix.10.0.0.dylib        libtk8.4.dylib                  tk8.4
> gcc                             libgfortran.2.0.0.dylib
> libquickfix.10.dylib            libtkstub8.4.a                  tkConfig.sh
> libgcc_s.1.dylib                libgfortran.2.dylib
> libquickfix.dylib               pkgconfig                       x86_64
> libgcc_s.10.4.dylib             libgfortran.a
> libquickfix.la                  ppc64
> libgcc_s.10.5.dylib             libgfortran.dylib
> libtcl8.4.dylib                 tcl8.4
> libgcc_s_ppc64.1.dylib          libgfortran.la
>  libtclstub8.4.a                 tclConfig.sh
>
>
> Best,
>
> -Robert
>
>
> On Jul 2, 2008, at 6:57 AM, Toli Kuznets wrote:
>
>> Robert,
>>
>> It appears that you may have some issues with how QuickFIX bindings
>> for Ruby were built and installed.
>>
>> Are you sure you've exported LD_LIBRARY_PATH in the terminal where you
>> are running the Rails server?
>>
>> Can you try running 'script/console' from the top-level Tradebase
>> directory? That should load up the "Rails Console", and there you can
>> try typing
>>>>
>>>> require 'quickfix'
>>
>> <let me know what you get here>
>>
>>>> Quickfix::Side_BUY()
>>
>> => "1"
>>
>> Let me know what you type that in.
>>
>> thanks
>>
>> On Tue, Jul 1, 2008 at 2:34 PM, Robert de Witt <[hidden email]> wrote:
>>>
>>> Dear Marketcetera Gurus,
>>> Just curious if anyone has seen the below error (in bold). I'm running
>>> 0.4.2
>>> on OS X 10.5.3, the ORS is working an sending heartbeats to the
>>> simulator,
>>> but when running tradebase, and trying to access the
>>> http://localhost:3000
>>> I keep seeing the below error. (I've installed the latest quickfix as
>>> recommended in the building guide for tradebase).
>>>
>>> Best,
>>> -Robert
>>> => Booting Mongrel (use 'script/server webrick' to force WEBrick)
>>> => Rails application starting on http://0.0.0.0:3000
>>> => Call with -d to detach
>>> => Ctrl-C to shutdown server
>>> ** Starting Mongrel listening at 0.0.0.0:3000
>>> ** Starting Rails with development environment...
>>> ActiveMessaging: adapter reliable_msg not loaded: no such file to load --
>>> reliable-msg
>>> ActiveMessaging: adapter wmq not loaded: no such file to load -- wmq/wmq
>>> ** Rails loaded.
>>> ** Loading any Rails specific GemPlugins
>>> ** Signals ready.  TERM => stop.  USR2 => restart.  INT => stop (no
>>> restart).
>>> ** Rails signals registered.  HUP => reload (without restart).  It might
>>> not
>>> work well.
>>> ** Mongrel 1.1.4 available at 0.0.0.0:3000
>>> ** Use CTRL-C to stop.
>>> no such file to load -- quickfix_fields
>>
>>
>>
>> --
>> Toli Kuznets
>> http://www.marketcetera.com: Open-Source Trading Platform
>> download.run.trade.
>
>


--
Toli Kuznets
http://www.marketcetera.com: Open-Source Trading Platform
download.run.trade.


_______________________________________________
_______________________________________________
Marketcetera Users mailing list
Marketcetera Documentation: http://trac.marketcetera.org
To unsubscribe, go to
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-users or send an email to [hidden email].

quickfix.tgz (1M) Download Attachment