Runtime issues on cygwin
thomas.diesler Apr 14, 2010 4:24 AMDavid says:
The run.sh script seems to have been prepared for that...
However, I'm getting the following error. Do you have an idea?
/cygdrive/c/jboss/jboss-osgi-1.0.0.Beta6-MC/runtime $ bin/run.sh ========================================================================= JBossOSGi Bootstrap Environment OSGI_HOME: C:\jboss\jboss-osgi-1.0.0.Beta6-MC\runtime JAVA: /cygdrive/c/jdk1.6.0_18/bin/java JAVA_OPTS: -Dprogram.name=run.sh -Dosgi.home=/cygdrive/c/jboss/jboss-osgi-1.0. 0.Beta6-MC/runtime -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc. client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 ========================================================================= log4j:WARN No appenders could be found for logger (org.jboss.osgi.spi.internal.O SGiBootstrapBean). log4j:WARN Please initialize the log4j system properly. Exception in thread "main" java.lang.IllegalStateException: Cannot find any boot strap: [[jboss-osgi-bootstrap.xml, bootstrap/jboss-osgi-bootstrap.xml, META-INF/ jboss-osgi-bootstrap.xml, META-INF/jboss-osgi-default-bootstrap.xml]] at org.jboss.osgi.framework.launch.OSGiFrameworkFactory.newFramework(OSG iFrameworkFactory.java:115) at org.jboss.osgi.spi.framework.PropertiesBootstrapProvider.createFramew ork(PropertiesBootstrapProvider.java:239) at org.jboss.osgi.spi.framework.PropertiesBootstrapProvider.initFramewor kInstance(PropertiesBootstrapProvider.java:166) at org.jboss.osgi.spi.framework.PropertiesBootstrapProvider.configureInt ernal(PropertiesBootstrapProvider.java:160) at org.jboss.osgi.spi.framework.PropertiesBootstrapProvider.getFramework (PropertiesBootstrapProvider.java:294) at org.jboss.osgi.spi.internal.OSGiBootstrapBean.run(OSGiBootstrapBean.j ava:78) at org.jboss.osgi.spi.framework.OSGiBootstrap.main(OSGiBootstrap.java:57 )
The cygwin references in run.sh is an untested copy/paste relict. Generally, Windows or MacOS support is currently not part of the automated JBoss OSGi Hudson (http://jbmuc.dyndns.org:8280/hudson/) - so it is not there AFAIK.
I created a jira issue for you that covers cygwin support: https://jira.jboss.org/jira/browse/JBOSGI-309