Glassfish suddenly complaining of bogus port

╄→尐↘猪︶ㄣ 提交于 2020-01-06 19:36:50

问题


I've been running a Glassfish server under Eclipse Indigo. It had been working just fine, but it suddenly refused to start, throwing this error:

An internal error occurred during: "Starting GlassFish 3.1.2 at localhost".
port out of range:1118080

I didn't (knowingly) change anything about the server, so I'm guessing something got corrupted. (I like Eclipse, but for as long as I've used it, occasional moments where it corrupts itself into uselessness have just been part of the experience.) Does anybody have any advice on how I can get my Glassfish server back?


回答1:


Okay, got it. My domain.xml file (C:\glassfish3\glassfish\domains\domain1\config\config.xml, if you're hitting the same issue) got corrupted into oblivion. Luckily, there was a .bak file in that directory that was still good. Once I got that copied over (and corrected an issue with the password on my local DB server, which may or may not be related to the file getting corrupted in the first place), all was well.



来源:https://stackoverflow.com/questions/14284630/glassfish-suddenly-complaining-of-bogus-port

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!