use -Dosgi.compatibility.bootdelegation=true to make classes from vm other than java.* visible to bundle.
This commit is contained in:
parent
f8ed9faa3c
commit
8aeb5689c2
|
@ -28,17 +28,18 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# To switch between multiple installs, copy the created Adempiere.properties file
|
# Check Argument
|
||||||
# Select the configuration by setting the PROP variable
|
if [ $1 ]; then
|
||||||
PROP=
|
PROP=-DPropertyFile=$1
|
||||||
#PROP=-DPropertyFile=test.properties
|
else
|
||||||
|
PROP=
|
||||||
|
fi
|
||||||
|
|
||||||
# To use your own Encryption class (implementing org.compiere.util.SecureInterface),
|
# To use your own Encryption class (implementing org.compiere.util.SecureInterface),
|
||||||
# you need to set it here (and in the server start script) - example:
|
# you need to set it here (and in the server start script) - example:
|
||||||
# SECURE=-DADEMPIERE_SECURE=org.compiere.util.Secure
|
# SECURE=-DADEMPIERE_SECURE=org.compiere.util.Secure
|
||||||
SECURE=
|
SECURE=
|
||||||
|
|
||||||
#$JAVA -Xms32m -Xmx512m -DADEMPIERE_HOME=$ADEMPIERE_HOME $PROP $SECURE -classpath $CLASSPATH org.compiere.Adempiere
|
|
||||||
# OSGi:
|
# OSGi:
|
||||||
$JAVA -Xms32m -Xmx512m -DADEMPIERE_HOME=$ADEMPIERE_HOME $PROP $SECURE -jar $ADEMPIERE_HOME/osgi/org.eclipse.osgi_3.6.0.v20100517.jar -clean -console -install $ADEMPIERE_HOME/osgi -configuration $ADEMPIERE_HOME/osgi/client -application org.adempiere.Client
|
$JAVA -Xms32m -Xmx512m -Dosgi.compatibility.bootdelegation=true -DADEMPIERE_HOME=$ADEMPIERE_HOME $PROP $SECURE -jar $ADEMPIERE_HOME/osgi/org.eclipse.osgi_3.6.0.v20100517.jar -clean -console -install $ADEMPIERE_HOME/osgi -configuration $ADEMPIERE_HOME/osgi/client -application org.adempiere.Client
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ fi
|
||||||
# SECURE=-DADEMPIERE_SECURE=org.compiere.util.Secure
|
# SECURE=-DADEMPIERE_SECURE=org.compiere.util.Secure
|
||||||
SECURE=
|
SECURE=
|
||||||
|
|
||||||
VMARGS="-Djava.awt.headless=true -Declipse.ignoreApp=true -Dosgi.noShutdown=true -DADEMPIERE_HOME=$ADEMPIERE_HOME"
|
VMARGS="-Dosgi.compatibility.bootdelegation=true -Djava.awt.headless=true -Declipse.ignoreApp=true -Dosgi.noShutdown=true -DADEMPIERE_HOME=$ADEMPIERE_HOME"
|
||||||
# headless option if you don't have X installed on the server
|
# headless option if you don't have X installed on the server
|
||||||
$JAVA -server $VMARGS -jar $ADEMPIERE_HOME/osgi/org.eclipse.osgi_3.6.0.v20100517.jar -install $ADEMPIERE_HOME/osgi -configuration $ADEMPIERE_HOME/osgi/server -clean -console
|
$JAVA -server $VMARGS -jar $ADEMPIERE_HOME/osgi/org.eclipse.osgi_3.6.0.v20100517.jar -install $ADEMPIERE_HOME/osgi -configuration $ADEMPIERE_HOME/osgi/server -clean -console
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue