What command is being run prior to this message? How are you communicating with the gogo service? (e.g. telnet, ssh etc)
gogo sets the underlying Exception object in the session variable 'exception'. You can see the full stack trace by typing: g! $exception printStackTrace As you are running gogo as a service, it would probably be useful to get gogo to automatically print exceptions when some property is set. Feel free to add a JIRA for this if you would find it helpful. Regards, Derek On 12 October 2010 12:49, Leen Toelen <[email protected]> wrote: > Hi, > > in my latest builds I am seeing this message in my log a lot > > g! gogo: IOException: The handle is invalid > > this is a program running as a windows service using tanukisoft window > service wrapper. Does anyone knows how I can prevent this? > > > ################################################ > # ______ ________ __ __ # > # / __ / / __ / / / / / # > # / ___/ / __ / _\ \ _/ # > # / / / / / / / _\ \ # > # /__/ /__/ /__/ /_/ /_/ # > # # > # Pax Runner from OPS4J - http://www.ops4j.org # > ################################################ > > ############################## > # Felix settings > ############################## > org.osgi.framework.storage=felix/cache/runner > org.osgi.framework.startlevel.beginning=6 > felix.startlevel.bundle=5 > org.osgi.framework.storage.clean=onFirstInit > > ############################## > # Client bundles to install > ############################## > felix.auto.start.1=\ > "file:bundles/org.apache.felix.gogo.command_0.6.0.jar" \ > "file:bundles/org.apache.felix.gogo.runtime_0.6.0.jar" \ > "file:bundles/org.apache.felix.gogo.shell_0.6.0.jar" > felix.auto.start.5=\ > "file:bundles/com.springsource.javax.mail_1.4.1.jar" \ > "file:bundles/com.springsource.javax.activation_1.1.1.jar" \ > "file:bundles/com.springsource.net.sourceforge.jtds_1.2.2.jar" \ > "file:bundles/com.springsource.org.apache.commons.dbcp_1.2.2.osgi.jar" \ > "file:bundles/com.springsource.org.apache.commons.beanutils_1.8.0.jar" \ > "file:bundles/com.springsource.javax.persistence_1.99.0.jar" \ > "file:bundles/com.springsource.org.apache.log4j_1.2.15.jar" \ > "file:bundles/com.springsource.javax.annotation_1.0.0.jar" \ > "file:bundles/com.springsource.jcifs_1.2.15.jar" \ > "file:bundles/org.springframework.orm_3.0.0.RELEASE.jar" \ > "file:bundles/org.springframework.jdbc_3.0.0.RELEASE.jar" \ > "file:bundles/org.springframework.transaction_3.0.0.RELEASE.jar" \ > "file:bundles/org.springframework.web_3.0.0.RELEASE.jar" \ > "file:bundles/com.springsource.org.apache.velocity_1.6.2.jar" \ > "file:bundles/com.springsource.org.apache.commons.pool_1.5.3.jar" \ > "file:bundles/com.springsource.org.apache.commons.lang_2.4.0.jar" \ > "file:bundles/com.springsource.org.apache.commons.collections_3.2.1.jar" \ > "file:bundles/com.springsource.net.sf.ehcache_1.6.2.jar" \ > "file:bundles/com.springsource.org.eclipse.persistence_1.1.0.jar" \ > "file:bundles/com.springsource.org.eclipse.persistence.antlr_1.1.0.jar" \ > "file:bundles/com.springsource.org.eclipse.persistence.asm_1.1.0.jar" \ > "file:bundles/com.springsource.org.eclipse.persistence.jpa_1.1.0.jar" \ > "file:bundles/com.springsource.javax.inject_1.0.0.jar" \ > "file:bundles/com.springsource.org.apache.commons.codec_1.4.0.jar" \ > "file:bundles/com.springsource.org.apache.activemq_5.3.0.jar" \ > "file:bundles/com.springsource.org.apache.activemq.pool_5.3.0.jar" \ > "file:bundles/com.springsource.org.apache.xmlcommons_1.3.4.jar" \ > "file:bundles/org.springframework.jms_3.0.0.RELEASE.jar" \ > "file:bundles/com.springsource.javax.jms_1.1.0.jar" \ > "file:bundles/com.springsource.javax.management.j2ee_1.0.1.jar" \ > "file:bundles/com.springsource.org.apache.kahadb_5.3.0.jar" \ > "file:bundles/com.springsource.org.apache.commons.logging_1.1.1.jar" \ > "file:bundles/com.springsource.javax.resource_1.5.0.jar" \ > "file:bundles/com.springsource.javax.ejb_3.0.0.jar" \ > "file:bundles/com.springsource.javax.xml.rpc_1.1.0.jar" \ > "file:bundles/com.springsource.javax.xml.soap_1.3.0.jar" \ > "file:bundles/com.springsource.javax.transaction_1.1.0.jar" \ > "file:bundles/org.apache.servicemix.specs.jaxb-api-2.1_1.4.0.jar" \ > "file:bundles/org.apache.servicemix.bundles.jaxb-impl_2.1.12.1.jar" \ > "file:bundles/org.apache.servicemix.bundles.xstream_1.3.0.3.jar" \ > "file:bundles/org.apache.servicemix.bundles.fastinfoset_1.2.7.2.jar" \ > "file:bundles/org.apache.servicemix.specs.stax-api-1.0_1.4.0.jar" \ > "file:bundles/org.apache.servicemix.bundles.dom4j_1.6.1.2.jar" \ > "file:bundles/org.apache.servicemix.bundles.xpp3_1.1.0.4c_3.jar" \ > "file:bundles/org.ops4j.pax.logging.pax-logging-api_1.5.1.jar" \ > "file:bundles/org.ops4j.pax.logging.pax-logging-service_1.5.1.jar" \ > "file:bundles/org.apache.felix.webconsole_3.0.0.jar" \ > "file:bundles/com.springsource.org.apache.geronimo.transaction_2.1.0.jar" \ > "file:bundles/org.ops4j.pax.logging.pax-logging-api_1.4.jar" \ > "file:bundles/org.ops4j.pax.logging.pax-logging-service_1.4.jar" \ > "file:bundles/osgi.cmpn_4.2.0.200908310645.jar" \ > "file:bundles/com.springsource.org.aopalliance_1.0.0.jar" \ > "file:bundles/org.springframework.aop_3.0.0.RELEASE.jar" \ > "file:bundles/org.springframework.asm_3.0.0.RELEASE.jar" \ > "file:bundles/org.springframework.beans_3.0.0.RELEASE.jar" \ > "file:bundles/org.springframework.context_3.0.0.RELEASE.jar" \ > "file:bundles/org.springframework.context.support_3.0.0.RELEASE.jar" \ > "file:bundles/org.springframework.core_3.0.0.RELEASE.jar" \ > "file:bundles/org.springframework.expression_3.0.0.RELEASE.jar" \ > "file:bundles/com.springsource.org.objectweb.asm_2.2.3.jar" \ > "file:bundles/com.springsource.net.sf.cglib_2.1.3.jar" \ > "file:bundles/org.springframework.osgi.extensions.annotations_2.0.0.M1.jar" > \ > "file:bundles/org.springframework.osgi.core_2.0.0.M1.jar" \ > "file:bundles/org.springframework.osgi.extender_2.0.0.M1.jar" \ > "file:bundles/org.springframework.osgi.io_2.0.0.M1.jar" \ > "file:bundles/org.apache.felix.configadmin_1.2.4.jar" \ > "file:bundles/org.apache.felix.eventadmin_1.2.2.jar" \ > "file:bundles/org.apache.felix.prefs_1.0.4.jar" \ > "file:bundles/org.apache.felix.scr_1.4.0.jar" \ > "file:bundles/org.apache.felix.fileinstall_3.0.0.jar" \ > "file:bundles/org.ops4j.pax.logging.pax-logging-api_1.5.1.jar" \ > "file:bundles/org.ops4j.pax.logging.pax-logging-service_1.5.1.jar" \ > "file:bundles/org.ops4j.pax.web.pax-web-jetty-bundle_0.7.2.jar" >

