Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 10362 invoked from network); 8 Jul 2005 15:34:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Jul 2005 15:34:31 -0000 Received: (qmail 42833 invoked by uid 500); 8 Jul 2005 15:34:26 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 42800 invoked by uid 500); 8 Jul 2005 15:34:25 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 42787 invoked by uid 99); 8 Jul 2005 15:34:25 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2005 08:34:12 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 921D115 for ; Fri, 8 Jul 2005 17:34:09 +0200 (CEST) Message-ID: <1791083572.1120836849558.JavaMail.jira@ajax.apache.org> Date: Fri, 8 Jul 2005 17:34:09 +0200 (CEST) From: "Aaron Mulder (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Created: (GERONIMO-727) Problem determining attribute type in GBeanInstance.getAttribute Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Problem determining attribute type in GBeanInstance.getAttribute ---------------------------------------------------------------- Key: GERONIMO-727 URL: http://issues.apache.org/jira/browse/GERONIMO-727 Project: Geronimo Type: Bug Components: kernel Versions: 1.0-M3 Reporter: Aaron Mulder If the Jetty port is taken (by a separate Tomcat instance) there is a series of exceptions generated during startup. Some of these are: java.net.BindException: Address already in use Exception occured while attempting to fully start: objectName=geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/Server,J2EEServer=geronimo,j2eeType=GBean,name=JettyWebConnector java.lang.IllegalStateException: Cannot transition to running state from failed java.lang.IllegalStateException: Attribute is not persistent Attribute Name: address, Type: class java.net.InetSocketAddress, GBeanInstance: Jetty Connector HTTP at org.apache.geronimo.gbean.runtime.GBeanAttribute.getPersistentValue(GBeanAttribute.java:324) at org.apache.geronimo.gbean.runtime.GBeanInstance.getAttribute(GBeanInstance.java:627) at org.apache.geronimo.kernel.basic.BasicKernel.getAttribute(BasicKernel.java:163) at org.apache.geronimo.system.main.ProgressBarStartupMonitor.wrapUp(ProgressBarStartupMonitor.java:175) The last one is the one that concerns me here. The attribute in question is JettyConnector.getAddress, which is clearly not persistent (there's no setter, and the declaration in the GBeanInfo says it's not persistent). However, the logic in GBeanInstance.getAttribute:627 seems to conclude that an attribute is persistent based on the state of the GBean not based on the characteristics of the attribute itself -- I'm not sure what's going on here. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira