<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>爱乐眼底图像分析 - JAVA</title>
    <link>https://www.eyeler.com/forum-89-1.html</link>
    <description>Latest 20 threads of JAVA</description>
    <copyright>Copyright(C) 爱乐眼底图像分析</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Wed, 26 Aug 2026 21:32:43 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://www.eyeler.com/static/image/common/logo_88_31.gif</url>
      <title>爱乐眼底图像分析</title>
      <link>https://www.eyeler.com/</link>
    </image>
    <item>
      <title>Linux下tomcat JVM内存溢出</title>
      <link>https://www.eyeler.com/thread-68-1-1.html</link>
      <description><![CDATA[常见的内存溢出有以下两种:java.lang.OutOfMemoryError: PermGen spacejava.lang.OutOfMemoryError: Java heap space
一、java.lang.OutOfMemoryError: PermGen spacePermGen space的全称是Permanent Generation space,是指内存的永久保存区域,
这块内存主要是被JVM存放 ...]]></description>
      <category>JAVA</category>
      <author>czz</author>
      <pubDate>Sun, 26 Aug 2012 04:21:47 +0000</pubDate>
    </item>
    <item>
      <title>Linux下两种自动启动Tomcat的方法(转)</title>
      <link>https://www.eyeler.com/thread-67-1-1.html</link>
      <description><![CDATA[一. 简单的方法
    Tomcat安装目录下的bin目录有两个脚本分别用来启动和停止Tomcat，分别是startup.sh, shutdown.sh，你可以用这两个脚本来手工启动和停止Tomcat服务并进行安装后的测试。
    我们最简单的方法就是通过startup.sh来自动启动Tomcat，编辑/etc/rc.d/rc.l ...]]></description>
      <category>JAVA</category>
      <author>czz</author>
      <pubDate>Sun, 26 Aug 2012 04:20:24 +0000</pubDate>
    </item>
    <item>
      <title>Tomcat内存、连接数等性能参数设置</title>
      <link>https://www.eyeler.com/thread-66-1-1.html</link>
      <description><![CDATA[1、修改启动时内存参数、并指定JVM时区 （在windows server 2008 下时间少了8个小时）：

在Tomcat上运行j2ee项目代码时，经常会出现内存溢出的情况，解决办法是在系统参数中增加系统参数： 

window下， 在catalina.bat最前面：
set JAVA_OPTS=-XXermSize=64M -XX:MaxP ...]]></description>
      <category>JAVA</category>
      <author>czz</author>
      <pubDate>Sun, 26 Aug 2012 04:14:14 +0000</pubDate>
    </item>
    <item>
      <title>Tomcat中显示目录中的文件列表</title>
      <link>https://www.eyeler.com/thread-65-1-1.html</link>
      <description><![CDATA[在Tomcat中我们在IE地址栏中输入的URL是一个目录时，会
自动将目录下的文件给列举出来。但在Tomcat5.5
就不可以，其实主要是修改一下web.xml中的参数就可以了。
在conf/web.xml中修改 listings参数的值为true    (96左右)

        default
        
          org.apac ...]]></description>
      <category>JAVA</category>
      <author>czz</author>
      <pubDate>Sun, 26 Aug 2012 04:11:48 +0000</pubDate>
    </item>
    <item>
      <title>snmp采集服务器信息(sigar.jar实现)</title>
      <link>https://www.eyeler.com/thread-64-1-1.html</link>
      <description><![CDATA[snmp采集服务器信息(sigar.jar实现)
2012-03-19 10:08]]></description>
      <category>JAVA</category>
      <author>czz</author>
      <pubDate>Sun, 26 Aug 2012 04:09:53 +0000</pubDate>
    </item>
    <item>
      <title>tomcat 一个项目对应多个域名</title>
      <link>https://www.eyeler.com/thread-63-1-1.html</link>
      <description><![CDATA[在tomcat/conf/server.xml文件下 
Host节点下添加Alias属性，在Alias属性中配置其他域名(附 可添加多个Alias属性即可配置多个其他域名) 
例如 
      
    www.xxx.com.cn]]></description>
      <category>JAVA</category>
      <author>czz</author>
      <pubDate>Sun, 26 Aug 2012 04:08:52 +0000</pubDate>
    </item>
    <item>
      <title>在Linux下安装JDK及环境设置</title>
      <link>https://www.eyeler.com/thread-62-1-1.html</link>
      <description><![CDATA[1. 先从网上下载jdk(jdk-1_5_0_02-linux-i586.rpm) ，推荐SUN的官方网站www.sun.com，下载后放在/home目录中，当然其它地方也行。

进入安装目录
#cd /home
#cp jdk-1_5_0_02-linux-i586.rpm /usr/local
#cd /usr/local
给所有用户添加可执行的权限
#chmod +x jdk-1_5_0 ...]]></description>
      <category>JAVA</category>
      <author>czz</author>
      <pubDate>Sun, 26 Aug 2012 04:07:12 +0000</pubDate>
    </item>
    <item>
      <title>增加tomcat连接数</title>
      <link>https://www.eyeler.com/thread-61-1-1.html</link>
      <description><![CDATA[在tomcat配置文件server.xml中的配置中，和连接数相关的参数有： 
minProcessors：最小空闲连接线程数，用于提高系统处理性能，默认值为10 
maxProcessors：最大连接线程数，即：并发处理的最大请求数，默认值为75 
acceptCount：允许的最大连接数，应大于等于maxProces ...]]></description>
      <category>JAVA</category>
      <author>czz</author>
      <pubDate>Sun, 26 Aug 2012 04:05:48 +0000</pubDate>
    </item>
    <item>
      <title>浅谈设置JVM内存分配的妙招</title>
      <link>https://www.eyeler.com/thread-60-1-1.html</link>
      <description><![CDATA[一、设置JVM内存设置
1. 设置JVM内存的参数有四个：
-Xmx Java Heap最大值，默认值为物理内存的1/4，最佳设值应该视物理内存大小及计算机内其他内存开销而定；
-Xms Java Heap初始值，Server端JVM最好将-Xms和-Xmx设为相同值，开发测试机JVM可以保留默认值；
-Xmn Java  ...]]></description>
      <category>JAVA</category>
      <author>czz</author>
      <pubDate>Sun, 26 Aug 2012 04:03:45 +0000</pubDate>
    </item>
    <item>
      <title>配置Tomcat管理员用户</title>
      <link>https://www.eyeler.com/thread-59-1-1.html</link>
      <description><![CDATA[打开tomcat安装目录里面的conf/tomcat-users.xml文件
配置如下：

 
      
      
    

重新启动Tomcat，打开下面的页面
http://127.0.0.1:8080/manager/html
输入前面配置的用户名和密码即可进入Tomcat管理页面。


 ...]]></description>
      <category>JAVA</category>
      <author>czz</author>
      <pubDate>Sun, 26 Aug 2012 04:02:18 +0000</pubDate>
    </item>
    <item>
      <title>centos tomcat 自启动</title>
      <link>https://www.eyeler.com/thread-58-1-1.html</link>
      <description><![CDATA[首先为Tomcat编辑一段启动脚本，并置于/etc/rc.d/init.d目录下，让Tomcat和httpd一样作为一项系统服务，并随系统自动启动。

[root@sample ~]# vi /etc/rc.d/init.d/tomcat　 ← 建立Tomcat启动脚本，如下：

#!/bin/bash
#
# Startup script for the tomcat
#
# chkcon ...]]></description>
      <category>JAVA</category>
      <author>czz</author>
      <pubDate>Sun, 26 Aug 2012 04:01:25 +0000</pubDate>
    </item>
  </channel>
</rss>