我的apache服务器是建立虚拟主机,配置多个郁闷以及子域名!现在tomcat里面有2个项目,我还想部署一个,但是加进去后所有的项目都运行不了了,
报错:服务器遇到一个内部错误或者配置错误,无法完成您的请求。
或者:
java.lang.OutOfMemoryError: PermGen space java.lang.ClassLoader.defineClass1(Native Method)
我的是这样配置的:<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "D:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/TheSystem/"
ServerName store.XXXX.com<Directory "D:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/TheSystem/">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory><IfModule dir_module>
DirectoryIndex index.htm index.html index_en.htm index_en.html
</IfModule>ErrorLog logs/ounuoStore-error.log
CustomLog logs/ounuoStore-access.log commonProxyRequests Off
ProxyPass /TheSystem balancer://TheSystemCluster/ lbmethod=byrequests stickysession=JSESSIONID nofailover=Off
ProxyPassReverse /TheSystem balancer://TheSystemCluster/#loadfactor=1
<Proxy balancer://TheSystemCluster>
BalancerMember ajp://127.0.0.1:8009/TheSystem route=jvm1
</Proxy></VirtualHost><VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "D:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/mat/"
ServerName store.XXXX.com<Directory "D:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/mat/">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory><IfModule dir_module>
DirectoryIndex index.htm index.html index_en.htm index_en.html
</IfModule>ErrorLog logs/ounuoStore-error.log
CustomLog logs/ounuoStore-access.log commonProxyRequests Off
ProxyPass /matbalancer://TheSystemCluster/ lbmethod=byrequests stickysession=JSESSIONID nofailover=Off
ProxyPassReverse /matbalancer://matCluster/#loadfactor=1
<Proxy balancer://matCluster>
BalancerMember ajp://127.0.0.1:8009/TheSystem route=jvm1
</Proxy></VirtualHost>
同样部署了 mat 项目就出错了
报错:服务器遇到一个内部错误或者配置错误,无法完成您的请求。
或者:
java.lang.OutOfMemoryError: PermGen space java.lang.ClassLoader.defineClass1(Native Method)
我的是这样配置的:<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "D:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/TheSystem/"
ServerName store.XXXX.com<Directory "D:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/TheSystem/">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory><IfModule dir_module>
DirectoryIndex index.htm index.html index_en.htm index_en.html
</IfModule>ErrorLog logs/ounuoStore-error.log
CustomLog logs/ounuoStore-access.log commonProxyRequests Off
ProxyPass /TheSystem balancer://TheSystemCluster/ lbmethod=byrequests stickysession=JSESSIONID nofailover=Off
ProxyPassReverse /TheSystem balancer://TheSystemCluster/#loadfactor=1
<Proxy balancer://TheSystemCluster>
BalancerMember ajp://127.0.0.1:8009/TheSystem route=jvm1
</Proxy></VirtualHost><VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "D:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/mat/"
ServerName store.XXXX.com<Directory "D:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/mat/">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory><IfModule dir_module>
DirectoryIndex index.htm index.html index_en.htm index_en.html
</IfModule>ErrorLog logs/ounuoStore-error.log
CustomLog logs/ounuoStore-access.log commonProxyRequests Off
ProxyPass /matbalancer://TheSystemCluster/ lbmethod=byrequests stickysession=JSESSIONID nofailover=Off
ProxyPassReverse /matbalancer://matCluster/#loadfactor=1
<Proxy balancer://matCluster>
BalancerMember ajp://127.0.0.1:8009/TheSystem route=jvm1
</Proxy></VirtualHost>
同样部署了 mat 项目就出错了
解决方案 »
- 关于数组列表集合,JSP该如何取值
- ftp问题!!!
- 严重: Exception sending context initialized event to listener instance of class or
- struts2关于文件的批量下载
- java取得网卡地址
- javascript在firefox下的编码问题
- 用jbulder2005开发strut,web.xml总是读取旧的内容,郁闷。。。
- 使用jspsmartupload下载的问题?
- eclipse插件损坏
- [高分求助]strut中怎么实现类似于CSDN这样的树形结构的页面。
- HTTP Status 405 - HTTP method GET is not supported by this URL
- session中存放对象遇到一个问题
..
没有回帖的动力..-------------------------
java.lang.OutOfMemoryError: PermGen space
给tomcat服务器加大点内存,因为2个应用已经把内存占满了
/*
1, 将写好的jsp部署到Tomcat6.0后, 页面运行良好!2, 目的:在eclipse jee中调试jsp。 作如下步骤处理2.1 window - > preference - > server - > run time environment ->添加:Apache Tomcat v6.0 - >点击: O.K2.2 点击运行按钮, 提示选择server类型, 选择Apache Tomcat v6.0后,显示错误,finish按钮变灰 !!不能继续操作!
*/何故???