This repository was archived by the owner on Mar 4, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
VM Problem Trouble Shooting
skyhit edited this page Jan 13, 2015
·
2 revisions
when logining with web arena, if you get error with callback like this url,
the main reason is the web_module is not properly servicing. You need to redeploy the web module.
- Login VM as tc account.
- cd ~/web
- svn up (update to latest code, optional, as when VM created, it is pulling the latest code)
- ant -f build_tc.xml deploy (if you meet problem this this step check following.)
- jbb
- ./kill.sh (enter 'yes').
- ./start.sh
- tn (monitoring the log to make sure the jboss services are started properly).
when doing 'ant -f build_tc.xml deploy', if you get error like
HttpClientHandler: java.lang.RuntimeException: Could not generate DH keypair url=https://coder.topcoder.com/internal/internal-artifacts/trunk/concurrent/
the main reason is there are problem with SVN server. to get round it, is to use JDK 7 or higher.
vi ~/.bash_profile- update
JAVA_HOMEto/opt/jdk1.7.0_67 - for
PATH=$PATH:$HOME/bin:$JBOSS_HOME/bin:$JAVA_HOME/bin, move$JAVA_HOME/binat first, likePATH=$JAVA_HOME/bin:$PATH:$HOME/bin:$JBOSS_HOME/bin - relogin as tc account to make sure the environment variable take affect.
- rebuild as above.