Icescrum settings in Ubuntu12.10

Source: Internet
Author: User
Ubuntu12.10 install icescrum need to first install tomcat 7 and jdk, directly install apt-getinstalltomcat7 under ubuntu and then need to configure the tomcat environment variables, specify the icescrum configuration file path, in the file/usr/share/tomcat7/bin/catalina. add a setting in sh: JAVA_OPTS = "-Djava. awt. headle

To install icescrum in Ubuntu 12.10, you must first install Tomcat 7 and jdk.

Apt-get install tomcat7

Then you need to configure the environment variables in tomcat, specify the path of the icescrum configuration file, and add a setting in the file/usr/share/tomcat7/bin/catalina. sh:

JAVA_OPTS = "-Djava. awt. headless = true-XX: MaxPermSize = 1024 m-Xmx1024m-Dicescrum_config_location =/opt/config. groovy"

The last parameter is to set the path of the icescrum configuration file.

Of course, you must set the permission for this file to allow access to icescrum.

Download the R5 #5.1 war package, copy it to the/var/lib/tomcat7/webapps directory, and tomcat7 will automatically unbind the war package. Then observe the log/var/lib/tomcat7/logs/icescrum. log file:

13:02:09, 698 [localhost-startStop-1] ERROR org. springframework. web. context. ContextLoader-Context initialization failed
Org. springframework. beans. factory. access. BootstrapException: Error executing bootstraps; nested exception is org. codehaus. groovy. runtime. InvokerInvocationException: java. io. IOE \
Xception: No such file or directory
At org. codehaus. groovy. grails. web. context. GrailsContextLoader. createWebApplicationContext (GrailsContextLoader. java: 87)
At org. springframework. web. context. ContextLoader. initWebApplicationContext (ContextLoader. java: 197)
At org. springframework. web. context. ContextLoaderListener. contextInitialized (ContextLoaderListener. java: 47)
At org. apache. catalina. core. StandardContext. listenerStart (StandardContext. java: 4791)
At org. apache. catalina. core. StandardContext. startInternal (StandardContext. java: 5285)
At org. apache. catalina. util. LifecycleBase. start (LifecycleBase. java: 150)
At org. apache. catalina. core. ContainerBase. addChildInternal (ContainerBase. java: 901)
At org. apache. catalina. core. ContainerBase. addChild (ContainerBase. java: 877)
At org. apache. catalina. core. StandardHost. addChild (StandardHost. java: 618)
At org. apache. catalina. startup. HostConfig. deployWAR (HostConfig. java: 963)
At org. apache. catalina. startup. HostConfig $ DeployWar. run (HostConfig. java: 1600)
At java. util. concurrent. Executors $ RunnableAdapter. call (Executors. java: 471)
At java. util. concurrent. FutureTask $ Sync. innerRun (FutureTask. java: 334)
At java. util. concurrent. FutureTask. run (FutureTask. java: 166)
At java. util. concurrent. ThreadPoolExecutor. runWorker (ThreadPoolExecutor. java: 1110)
At java. util. concurrent. ThreadPoolExecutor $ Worker. run (ThreadPoolExecutor. java: 603)
At java. lang. Thread. run (Thread. java: 722)
Caused by: org. codehaus. groovy. runtime. InvokerInvocationException: java. io. IOException: No such file or directory
At grails. spring. BeanBuilder. invokeBeanDefiningClosure (BeanBuilder. java: 723)
At grails. spring. BeanBuilder. beans (BeanBuilder. java: 573)
At grails. spring. BeanBuilder. invokeMethod (BeanBuilder. java: 519)
... 6 more
Caused by: java. io. IOException: No such file or directory
At java. io. UnixFileSystem. createFileExclusively (Native Method)
At java. io. File. createNewFile (File. java: 947)
At java_io_File $ createNewFile. call (Unknown Source)
At org. icescrum. core. support. ApplicationSupport $ __clinit _ closure10.doCall (ApplicationSupport. groovy: 119)

The solution is to create the icescrum directory under the/usr/share/tomcat7 directory and set the permissions:

Chown tomcat7: tomcat7-R./icescrum/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.