Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start Trade Engine Executor in build startup script #64

Closed
NickolausDS opened this issue Nov 21, 2012 · 8 comments
Closed

Start Trade Engine Executor in build startup script #64

NickolausDS opened this issue Nov 21, 2012 · 8 comments
Assignees

Comments

@NickolausDS
Copy link
Collaborator

The trade engine is about ready to start making trades! But first it needs to be started by the build startup script.

Trade Engine controls are documented here:
https://github.com/nordquip/sousms/blob/master/doc/TradeEngineControls.md

The database tables do need to be loaded before the trade engine is started, and so far there has been a hic-up with running those here:
NickolausDS#41

The engine will still run, but it will throw errors until the issue is resolved.

@ghost ghost assigned jeremy-french and Ryan5732 Nov 21, 2012
@Ryan5732
Copy link
Contributor

Hey Nick, tried manually running the trade engine last night. Says it started, but status indicated that it was not. Any further attempts to start the engine returned an error message. I'll get some more information/testing done, and place it here.

I've also flipped the assignment tab to Jeremy, as he's working on getting the engine into the startup script.

@NickolausDS
Copy link
Collaborator Author

I'll start working on that this week. All error messages should be written to a file called "Engine.log." Could you post the error message?

Most of the problems I have had is when the engine can't read the config file. If it can't establish a connection with the database, it shuts down.

@Ryan5732
Copy link
Contributor

"Error: Could not find or load main class Engine"
eof

Probably a bulid failure. I'm troubleshooting -- will try manually compiling.

@NickolausDS
Copy link
Collaborator Author

Ahh, I just got the same error. It happened for me when I didn't 'make' the project, in the te/ directory

@Ryan5732
Copy link
Contributor

If I try to manually build on console with "java -classpath mysql-connector-java-5.1.22-bin.jar Engine", I get the following error: "Error: Could not find or load main class Engine"

@Ryan5732
Copy link
Contributor

Trade engine working -- just needs to be added to the build script now

@NickolausDS
Copy link
Collaborator Author

Executor should hopefully process orders now too.

@Ryan5732
Copy link
Contributor

Build script now builds, calls trade engine correctly. All done here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants