Skip to main content

Source code revision

svn

summary: Fixed a bug in lat check in that was causing the server to hang while starting on Felix on Windows platform only.
revision: 19477
author: Sahoo
date: 2008-03-31 08:37:00 UTC (9 years)
message: Fixed a bug in lat check in that was causing the server to hang while
starting on Felix on Windows platform only.
This was caused by the fact that I was using the following
synatx to specify the auto-start bundles URIs:
file://${com.sun.aas.installRoot}/modules/auto-depends-0.2-SNAPSHOT.jar
On Windows, com.sun.aas.installRoot expands to something like C:\glassfish,
the effectively the URI is points to non-existent file. Hence only Felix
was started, but nothing can be done with it. That looks like a hang only.
To fix it, I have now introduced a new system property called
com.sun.aas.installRootURI which is set before invoking Felix. This URI
is computed from the value of com.sun.aas.installRoot. Although I have not
tested GlassFish on Windows after making this change, I ran some unit tests
and they work.

Also updated config.properties with instructions to start Felix Shell.
Change Path Actions
M trunk/v3/core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/ASMainFelix.java
M trunk/v3/osgi-platforms/felix/src/main/resources/glassfish/felix/conf/config.properties
M trunk/v3/osgi-platforms/felix/src/main/resources/glassfish/felix/conf/system.properties
 
 
Close
loading
Please Confirm
Close