2008-04-30

JRuby安装手册

关键字: ruby on rails
JRuby安装手册 安装手册是自己总结出来的,希望对大家有帮助 1.下载JRuby-1.0 2.解压到/usr/local/jruby-1.0 3.vi /etc/profile 插入 --- export JRUBY_HOME=/usr/local/jruby-1.0 export PATH=/usr/local/jruby-1.0/bin:$PATH source /etc/profile ---------- 4.安装rails:jruby --command gem install rails -r -y --no-ri --no-rdoc 如果没有响应,使用 ...
  • 09:14
  • 浏览 (171)
  • 评论 (0)
javax.servlet.jsp.el.ELException: Unable to find a value for "Name" in object of class "com.cabletech.plan.util.TreeNode" using operator "." javaBean 中的变量首字母不能大写,要遵守java编码规范。 public class TreeNode { private String id; private String name; .... } 不能写成 public class TreeNode { private Strin ...
在Ajax请求时提示java.net.SocketException: Connection reset by peer: socket write error错误而且不能返回数据信息 ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:366) at org.apache.tomcat.util ...
  • 09:25
  • 浏览 (514)
  • 评论 (0)
public class PlanDAOImpl extends GenericHibernateDAO<Plan, String> implements PlanDAO { private Logger logger = Logger.getLogger("MonthPlanDAOImpl"); private QueryUtil query; public PlanDAOImpl() { query = new QueryUtil(); } public int findByTime(String value,String groupid) { ...
  • 09:18
  • 浏览 (71)
  • 评论 (0)
以root身份进入系统: 1、先用vi编辑器建立一个文件,如guanji #vi guanji 输入如下内容: 30 17 * * * halt -p 退出保存:wq! (以上例子是下午17点30分关机挂起) 2、执行crontab命令: #crontab guanji 既可 3,要检查下自动执行定时任务的服务有没有开启,如没有,要开启 ---------------------------------------------------------- crontab命令使用 名称 : crontab 使用权限 : 所有使用者 使用方式 : crontab [ - ...
我们使用的是resin-2.1.17 首先按照bin/httpd.sh里的说明将resin配置为服务 # To install, you'll need to configure JAVA_HOME and RESIN_HOME and # copy httpd.sh to /etc/rc.d/init.d as resin. Then # use "unix# /sbin/chkconfig resin on" cp httpd.sh /etc/rc.d/init.d/resin /sbin/chkconfig resin on 配置JAVA_HOME 和 RESIN_HOME ...
1.下载JDK文件bin格式 http://gceclub.sun.com.cn/NASApp/sme/docroot/ecommunity/management/login.jsp?goto=/NASApp/sme/docroot/ecommunity/down.jsp?file=J2SE/jdk-1_5_0_08-linux-i586.bin 2.到bin文件所在文件夹下chmod 755 jdk-1_5_0_08-linux-i586.bin 3.执行./jdk-1_5_0_08-linux-i586.bin进行解压 4.将解压好的文件夹拷贝到/opt/java/目录下 5.到/etc/ ...
2007-10-12

cvs中用户创建,权限,

关键字: 版本管理
CVS 独自认证 要求: 1. 取消选择CVSnt -> service control panel ->advanced 下的 'impersonation enable' 选项 ; 2. 选中 'use local user for pserver authentication instead of domain user'; 3. 启动'cvs service' 和 'cvs lock service' ; 4. 使用 'pserver' 协议. 一、CVS版本库的搬移(服务器端)步骤: 1、安装cvsnt,这没有多说的。下一步 2、设置cvs库的目 ...
...
  • 12:46
  • 浏览 (496)
  • 评论 (0)
JFreeChart中文API
  • 12:43
  • 浏览 (643)
  • 评论 (1)