hi i am trying to load a chat program which combines java and flash(Oregano Server), it works when i connect to localhost on my own computer because i executed start.bat(or start.sh, if not windows), start.bat must be running to keep the server running. Now i tried to put the chat program on the internet, everything was fine till i got to the executing part, is it impossible to execute AND let a .bat or .sh file run on a web host? is there a way to bypass this?
heres is the start script:
#!/bin/sh
SERVER_ADDRESS="localhost"
SERVER_TYPE=Standalone
PRIMARY_ADDRESS=
RMI_PORT=
MEMORY_INIT=64M
MEMORY_MAX=128M
/usr/bin/nohup java -Xms$MEMORY_INIT -Xmx$MEMORY_MAX -cp ./oregano_1_1_0.jar:.:./extensions org.omus.core.Start $SERVER_TYPE $SERVER_ADDRESS $PRIMARY_ADDRESS $RMI_PORT &
echo $! > ./oregano.pid
thanks
heres is the start script:
#!/bin/sh
SERVER_ADDRESS="localhost"
SERVER_TYPE=Standalone
PRIMARY_ADDRESS=
RMI_PORT=
MEMORY_INIT=64M
MEMORY_MAX=128M
/usr/bin/nohup java -Xms$MEMORY_INIT -Xmx$MEMORY_MAX -cp ./oregano_1_1_0.jar:.:./extensions org.omus.core.Start $SERVER_TYPE $SERVER_ADDRESS $PRIMARY_ADDRESS $RMI_PORT &
echo $! > ./oregano.pid
thanks