tomcat 报错 X connection to localhost:10.0 host broken (explicit kill or server shutdown)
来源:互联网 发布:linux 命令行 迅雷 编辑:程序博客网 时间:2024/06/06 19:32
在centOS Linux上的Web程序进行图片裁剪后上传时遇到的问题
问题是tomcat自动关闭并报X connection to localhost:10.0 host broken (explicit kill or server shutdown)
提示信息
解决办法:
1. 在系统环境中(/etc/profile)设置 DISPLAY=localhost:10.0
2. 启动Tomcat或者resin服务器时,加参数-Djava.awt.headless=true(需要jdk1.4以上)例如:
[/usr/local/resin/bin/ ]# ./startup.sh -Djava.awt.headless=true
3.su - tomcat /opt/tomcat/bin/start.sh -Djava.awt.headless=true 在root下执行不成功,在tomcat下可以成功,在tomcat下.bashrc中已经加入DISPLAY=localhost:10.0的情况下。
0 0
- tomcat 报错 X connection to localhost:10.0 host broken (explicit kill or server shutdown)
- X connection to localhost:10.0 host broken (explicit kill or server shutdown)
- X connection to localhost:10.0 host broken (explicit kill or server shutdown)
- 【Vegas原创】X connection to localhost:11.0 broken (explicit kill or server shutdown)解决方法
- 【Vegas原创】X connection to localhost:11.0 broken (explicit kill or server shutdown)解决方法
- 用XManager工具远程启动虚拟化linux服务器报X Connection to localhost:10.0 broken(explicit kill or server shutdown)错误
- Openstack报错:Connection to the hypervisor is broken on host: compute 的解决办法
- 在Ubuntu中ssh报错: connect to host localhost port 22: Connection refused 解决办法
- 报错?!-20170213-ssh: connect to host localhost port 22: Connection refused
- mysql报错:1130 -host 'localhost' is not allowed to connect to this mysql server
- Tomcat运行报错:Server Tomcat v7.0 Server at localhost failed to start.
- Java--启动Tomcat报错:Server Tomcat v7.0 Server at localhost failed to start.
- cannot connect to host localhost:7210 [Connection
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- linux下测试RTC驱动date和hwclock
- linux挂载u盘
- maven插件安装地址
- SQL In和Like 参数化
- 莫名其妙烦躁的一天
- tomcat 报错 X connection to localhost:10.0 host broken (explicit kill or server shutdown)
- Notifier chain 全面分析
- imacros学习笔记
- 对象和数组的相互转化
- open ssl heat bleed 漏洞修复
- 解读:安卓手机上的三轴陀螺仪
- Linux内核通知链 notifier chain
- Android触摸事件机制
- c#中如何控制模态子窗体中的进度条