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
susi server failed to start in cygwin #15
Comments
Name of the main class is SusiServer, made some fixes here: 2693cc9 I always start Susi just with bin/start.sh |
@Orbiter , thanks for the fixes , I pulled your latest commit , however problem is still there . Could it be due to the reason that I'm using a Windows machine ? In bin/start,sh , I've changed ':' to ';' as class path separator , however , it doesn't work. |
it looks like that |
I dont't have a cygwin development environment because I don't have a windows computer. I would like to hand over this issue to someone with a windows/cygwin development environment |
@charany1 Can you try this It should open up a new command line instance running java. |
Should I take this up? |
@sourabhtk37 I am not sure if there's anything in this that needs to be taken up, I am waiting for @charany1 to reply so that we can see what to do next. For me in a cygwin environment it works when I use the command above. |
@sudheesh001 , I tried your command , it said START command not found , however when I omit START , it opens up a new CMD type window , which closes automatically in a second . That new CMD window shows some ERROR message , before I can figure out what that is , window closes . Will check back next Thursday , till then Happy Deepawali :) |
@charany1 Run the start command from the Command prompt |
Or there's another option, if the build seems to work correctly, do this, execute the jar
That should run it, |
I merged #22 please try again |
@Orbiter , I pulled code after your merge #22 .
` ERROR StatusLogger No log4j2 configuration file found . Using default Configuration : logging only errors to console . -----plus some other stacktrace which before I can infer , window closes ---------`
`ant jar java -jar dist/susiserver.jar `C:\Users\danchara\work\foss\susi_server>ant jar init: build: jar: BUILD SUCCESSFUL C:\Users\danchara\work\foss\susi_server>java -jar dist\susiserver.jar C:\Users\danchara\work\foss\susi_server>` |
Okay , so above error happened because I was on developent branch which indeed doesn't have susi_cognition_boilerplate.json.example , when I switched to master , and used `ant jar java -jar dist/susiserver.jar` it worked , so I've server running at Thanks @Orbiter , @sudheesh001 . I'm closing this for now . |
I followed steps mentioned in README of susi_server , however my server is not starting .
I changed LoklakServer to SusiServer in build.xml like this :
Terminal Outputs :
I'm not able to figure why it's not able to find main class ?
Since , I'm seeing that my classes directory has a SusiServer.class :
The text was updated successfully, but these errors were encountered: