Trouble on message display

3 messages Options
Embed this post
Permalink
BingShen

Trouble on message display

Reply Threaded More More options
Print post
Permalink
Dear Marketcetera Team,

We were trying to run Marketcetera today. We downloaded OMS, Order Loader and Photon and setup properly based on the instructions. We didn’t download and install Tradebase to simplify the test work.

When we run OMS and Order Loader, here are what we got:

 
And we believe both are running properly. But to be able to see all the message information, we setup and run Photon 0.2.1 And here are the startup info we got:

18:18:40,863  INFO - Application initializing: Mon Mar 05 18:18:40 EST 2007
18:18:41,600  INFO - Message queue connected (tcp://localhost:61616)
18:18:42,008  WARN - Error connecting to web app for ID base, reverting to built in IDFactory.

I think it should be all right since I didn’t setup the tradebase. But unfortunately I couldn’t see any message information display in the Console panel even I manually put order in Photon, no need to say when I run the Order Loader. Please help me to figure this out.

I don’t know how to configure the subscription from client to the queue server. So I assume it is the default. So my running Photon will get all the message sending back from OMS.

Thanks very much and looking forward to your reply.

Best regards,

Bing
gm-mrktc

Re: Trouble on message display

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Bing,
Sorry you're having trouble.  Just a few things to check first:
 * Are both indicator lights at the bottom of photon green?
 * Have you disabled (or at least reconfigured) any software firewall on your system?

That being said, if you haven't installed tradebase, that means you're probably also not running MySQL?  By default the OMS is set to write messages into the database.  You can turn this off fairly easily.  The configuration of the logging is discussed here:

http://trac.marketcetera.org/trac.fcgi/wiki/Marketcetera/ConfigFile#QuickFIXLogging

But specifically you need to open up quickfixj.xml and look for the "socketInitiator" section that should look something like this:

<bean id="socketInitiator" class="quickfix.spring.SocketInitiator">

<constructor-arg ref="qfApplication"/>
<constructor-arg ref="messageStoreFactory"/>
<constructor-arg ref="sessionSettings"/>

<constructor-arg ref="comboLogFactory"/>

<constructor-arg ref="messageFactory"/>
</bean>

Change the entry for the log factory--the 4th constructor-arg to be "screenLogFactory"  and then restart.

If none of this turns out to fix the problem, could you post the log file from the oms?

Thanks.

graham

On 3/5/07, BingShen <[hidden email]> wrote:

Dear Marketcetera Team,

We were trying to run Marketcetera today. We downloaded OMS, Order Loader
and Photon and setup properly based on the instructions. We didn't download
and install Tradebase to simplify the test work.

When we run OMS and Order Loader, here are what we got:


And we believe both are running properly. But to be able to see all the
message information, we setup and run Photon 0.2.1 And here are the startup
info we got:

18:18:40,863  INFO - Application initializing: Mon Mar 05 18:18:40 EST 2007
18:18:41,600  INFO - Message queue connected (tcp://localhost:61616)
18:18:42,008  WARN - Error connecting to web app for ID base, reverting to
built in IDFactory.

I think it should be all right since I didn't setup the tradebase. But
unfortunately I couldn't see any message information display in the Console
panel even I manually put order in Photon, no need to say when I run the
Order Loader. Please help me to figure this out.

I don't know how to configure the subscription from client to the queue
server. So I assume it is the default. So my running Photon will get all the
message sending back from OMS.

Thanks very much and looking forward to your reply.

Best regards,

Bing
http://www.nabble.com/file/6978/untitled.bmp
--
View this message in context: http://www.nabble.com/Trouble-on-message-display-tf3352542.html#a9323163
Sent from the m-etc-users mailing list archive at Nabble.com.

_______________________________________________
m-etc-users mailing list
[hidden email]
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-users



--
Marketcetera Trading Platform
download.run.trade.
www.marketcetera.org
_______________________________________________
m-etc-users mailing list
[hidden email]
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-users
toli

Re: Trouble on message display

Reply Threaded More More options
Print post
Permalink
Bing,


> If none of this turns out to fix the problem, could you post the log file
> from the oms?

Forgot to mention that you should be able to find the log file in
C:\var\log\marketcetera\oms.txt on Windows (or whichever drive you run
it from), and in /var/log/marketcetera/oms.txt for Linux.
You can modify the location of the log in the conf/log4.properties
file as well - just set it to oms.log for it to be in your local
directory.

But Graham is right, most likely the OMS can't find the MySQL database
(for JdbcLog, which is on by default) so it may be in an inconsistent
state which will explain why you are not getting any JMS messages
through.

let us know how it goes and we'll be happy to help you get the platform going.

--
Toli Kuznets
http://www.marketcetera.com: Open-Source Trading Platform
download.run.trade.
_______________________________________________
m-etc-users mailing list
[hidden email]
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-users