Chinaunix首页 | 论坛 | 博客
  • 博客访问: 186047
  • 博文数量: 21
  • 博客积分: 1395
  • 博客等级: 中尉
  • 技术积分: 321
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-07 13:57
文章分类

全部博文(21)

文章存档

2012年(1)

2011年(4)

2010年(12)

2009年(2)

2008年(2)

我的朋友

分类:

2010-08-27 09:26:26

If you have installed Glassfish V3 and trying to load admin console, but after signing in, is it taking too much time to get to the main page ? Do you have server.log entry like this:

admin console: initSessionAttributes()
Cannot refresh Catalog : Connection timed out

then its time to tweak some files. Here its how:

1. Update the %GLASSFISH_HOME/glassfish/domains/domain1/domain.xml

 
-Dcom.sun.enterprise.tools.admingui.NO_NETWORK=true

This will block up the News item, the registration item, etc

2. Remove update tool jar
(Backup and remove this JAR)
%GLASSFISH_HOME/glassfish/modules/console-updatecenter-plugin.jar
Delete this dir:
%GLASSFISH_HOME/glassfish/domains/domain1/osgi-cache
%GLASSFISH_HOME/glassfish/domains/domain1/generated

Now start the server (bin/asadmin start-domain) and you will see the admin console won't be hang up and take you directly to main page.



阅读(728) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~