Error connecting to server localhost on port 1527 with message Connection refused
来源:互联网 发布:淘宝店延长收货是几天 编辑:程序博客网 时间:2024/04/29 01:35
跟着Netbean tutorial (http://netbeans.org/kb/docs/javaee/javaee-gettingstarted.html)写一个JavaEE 6 App,在执行时出错:
Error connecting to server localhost on port 1527 with message Connection refused
究其原因,原来是由于我安装时java EE 6 + glassfish v3和netbean是分开装的,所以在安装了netbean之后,netbean中的"Java DB"的设置为空,即它找不到Java DB的安装位置,而glassfish v3包含有java db,因此我们要将netbean的java db设置指向glassfish里的"javadb"目录:
1. run netbean
2. select "Services" tab, right click "Databases > Java DB" node and select "Properties"
3. set "Java DB Installation" as "E:/develop/glassfishv3/javadb"
4. set "Database Location" as "E:/develop/glassfishv3/javadb/databases" (or any other folder you like)
After that, it works.
- Error connecting to server localhost on port 1527 with message Connection refused
- Openstack : 9、报错ToozConnectionError: Error lll connecting to localhost:6379. Connection refused解决办法
- redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.
- connection refused to "localhost" with paramiko
- ssh: connect to host localhost port 22: Connection refused
- ssh: connect to host localhost port 22: Connection refused
- ssh: connect to host localhost port 22: Connection refused
- ssh: connect to host localhost port 22: Connection refused 问题
- ssh: connect to host localhost port 22: Connection refused
- cygwin ssh: connect to host localhost port 22: Connection refused
- ssh: connect to host localhost port 22: Connection refused
- Ubuntu ssh: connect to host localhost port 22:Connection refused
- ssh: connect to host localhost port 22: Connection refused 问题
- ssh: connect to host localhost port 22: Connection refused
- Linux--ssh: connect to host localhost port 22: Connection refused
- connect to host localhost port 22: Connection refused
- ssh: connect to host localhost port 22: Connection refused
- ssh: connect to host localhost port 22: Connection refused
- 转贴:2009年真话集锦
- Oracle Sql技巧 - Upsert, Multitable Insert, Undrop
- 2010年GPS监控市场发展趋势分析
- 收藏:《UTF-8与GB2312之间的互换》的改进
- to_char的用法
- Error connecting to server localhost on port 1527 with message Connection refused
- IKEv2-3
- jquery常用方法一览
- INSERT using WITH CHECK OPTION
- external table
- char数组转换成byte数组
- 读书笔记《c语言深度解剖》(5)
- 8个实用ASP.NET工具助你开发更高效
- 键盘上每个键作用!!! (史上最全的)