2013-02-19 106 views
0

在一些我们的服务器,我们试图访问高级选项卡中的连接池页面上的Glassfish(3.1.2(建立23))Glassfish的,JDBC连接池高级选项卡丢错误

type Exception report 

message 
descriptionThe server encountered an internal error() that prevented it from 
fulfilling this request. 

exception 
java.lang.IllegalStateException: PWC3991: getOutputStream() has already been called for 
this response note The full stack traces of the exception and its root causes are 
available in the GlassFish Server Open Source Edition 3.1.2 logs. 
时收到错误的

我们也越来越违约或服务器配置HTTP的听众,如果

class java.lang.RuntimeException 

不知道他们是相关的还是两个独立的问题SSL选项卡

我的错误在第一个问题中使用错误号进行了搜索,我发现的唯一一件事是从glassfish 2更新到glassfish 3并且某些jvm属性未自动迁移的人。我们没有进行任何升级,所以我不认为是这样,但无论如何我都添加了它,但没有任何区别。

另一个奇怪的是我们有其他服务器没有问题。它们基本上是相同的设置,我可以看到的唯一区别是它可以在多服务器设置的服务器上运行,并且不能在一台服务器上运行我们的所有服务器(并且只是为了阐明场景中,glassfish只存在于一个盒子中,只是在多服务器设置中,数据库和服务位于glassfish的不同机器上)

我试过从工作服务器复制domain.xml没有任何区别。 唯一的变化是:

不工作的版本

<protocol name="http-listener-1"> 
    <http timeout-seconds="250" default-virtual-server="server" max-connections="10000" 
    <compressable-mime-type="text/html,text/xml,text/plain,application/json"> 
    file-cache enabled="true"></file-cache> 
    </http> 
    <ssl classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl" cert-nickname="">  
    </ssl> 
</protocol> 

工作版本

<protocol name="http-listener-1"> 
    <http timeout-seconds="250" default-virtual-server="server" max-connections="10000" 
    compressable-mime-type="text/html,text/xml,text/plain,application/json"> 
    <file-cache enabled="true"></file-cache> 
    </http> 
</protocol> 

不工作

<secure-admin enabled="true" special-admin-indicator="aaaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa"> 
<secure-admin-principal dn="CN=<hostname>,OU=GlassFish,O=Oracle Corporation,L=Santa Clara,ST=California,C=US"></secure-admin-principal> 
<secure-admin-principal dn="CN=<hostname>-instance,OU=GlassFish,O=Oracle Corporation,L=Santa Clara,ST=California,C=US"></secure-admin-principal> 

<secure-admin enabled="true" special-admin-indicator="aaaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa"> 
secure-admin-principal dn="CN=<other_host>,OU=GlassFish,O=Oracle Corporation,L=Santa Clara,ST=California,C=US"></secure-admin-principal> 
<secure-admin-principal dn="CN=<other-host>-instance,OU=GlassFish,O=Oracle Corporation,L=Santa Clara,ST=California,C=US"></secure-admin-principal> 

我看不出这两个domain.xmls之间的任何其他变化,改变一个其他没有什么区别。 在日志文件中似乎没有任何东西,所以我不确定在哪里继续寻找,或者我应该寻找什么样的东西。

回答

0

看起来问题是由安装脚本(我们写的)没有清理现有安装引起的。 这个问题只发生在我们试图在现有玻璃鱼的顶部安装更新版本的glassfish。我们的安装脚本在安装新软件包之前并未删除旧的glassfish目录,这是导致问题的原因