Commit f96a6bd9 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Updates.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@823 b35dd754-fafc-0310-a699-88a17e54d16e
parent 7c8f9a79
...@@ -92,6 +92,29 @@ ...@@ -92,6 +92,29 @@
</java> </java>
<includedFiles /> <includedFiles />
</launcher> </launcher>
<launcher name="messenger" id="22" external="false" excludeFromMenu="false" menuName="" icnsFile="" pngIcon16File="" pngIcon32File="" macServiceDependencies="" allowUserChangeServiceStartType="true">
<executable name="messenger" type="1" iconSet="false" iconFile="" executableDir="bin" redirectStderr="true" stderrFile="../logs/stderror.log" redirectStdout="true" stdoutFile="../logs/stdoutt.log" failOnStderrOutput="true" executableMode="3" changeWorkingDirectory="true" workingDirectory="." singleInstance="false" serviceStartType="2" serviceDependencies="" serviceDescription="" jreLocation="">
<versionInfo include="false" fileVersion="" companyName="" fileDescription="" legalCopyright="" productVersion="" internalName="" />
</executable>
<splashScreen show="false" autoOff="true" alwaysOnTop="true" width="0" height="0" bitmapFile="">
<text>
<statusLine x="20" y="20" text="" font="Arial" fontSize="8" fontColor="0,0,0" fontWeight="500" />
<versionLine x="20" y="40" text="version %VERSION%" font="Arial" fontSize="8" fontColor="0,0,0" fontWeight="500" />
</text>
</splashScreen>
<java mainClass="org.jivesoftware.messenger.starter.ServerStarter" vmParameters="" arguments="-DmessengerHome=$app_home -Dmessenger.lib.dir=$app_home/lib" allowVMPassthroughParameters="true" minVersion="" maxVersion="" preferredVM="server" allowBetaVM="false">
<searchSequence>
<registry />
<envVar name="JAVA_HOME" />
<envVar name="JDK_HOME" />
</searchSequence>
<classPath>
<scanDirectory location="lib" failOnError="true" />
</classPath>
<nativeLibraryDirectories />
</java>
<includedFiles />
</launcher>
</launchers> </launchers>
<installerGui installerType="1" runUninstallerOnUpdate="true" addOnAppId="" suggestPreviousLocations="true" allowUnattendedInstall="false" useCustomHeaderImage="false" customHeaderImage="" customSize="false" customWidth="500" customHeight="390"> <installerGui installerType="1" runUninstallerOnUpdate="true" addOnAppId="" suggestPreviousLocations="true" allowUnattendedInstall="false" useCustomHeaderImage="false" customHeaderImage="" customSize="false" customWidth="500" customHeight="390">
<customCode preAction="false" preActionClass="" postAction="false" postActionClass="" preUninstallAction="false" preUninstallActionClass="" postUninstallAction="false" postUninstallActionClass="" initHandler="false" initHandlerClass="" directoryValidator="false" directoryValidatorClass="" installationHandler="false" installationHandlerClass="" /> <customCode preAction="false" preActionClass="" postAction="false" postActionClass="" preUninstallAction="false" preUninstallActionClass="" postUninstallAction="false" postUninstallActionClass="" initHandler="false" initHandlerClass="" directoryValidator="false" directoryValidatorClass="" installationHandler="false" installationHandlerClass="" />
...@@ -129,8 +152,8 @@ ...@@ -129,8 +152,8 @@
</selectedLaunchers> </selectedLaunchers>
<messageSet language="English" /> <messageSet language="English" />
<exclude> <exclude>
<entry location="bin/startup.bat" launcher="false" /> <entry location="bin/messenger.bat" launcher="false" />
<entry location="bin/startup.sh" launcher="false" /> <entry location="bin/messenger.sh" launcher="false" />
</exclude> </exclude>
<variables /> <variables />
<excludedScreenIds /> <excludedScreenIds />
...@@ -138,7 +161,21 @@ ...@@ -138,7 +161,21 @@
<entry name="Readme" target="README.html" icon="" /> <entry name="Readme" target="README.html" icon="" />
</additionalStartMenuEntries> </additionalStartMenuEntries>
</win32> </win32>
<linuxRPM name="Linux RPM" id="18" mediaFileName="" installDir="/opt/jive_messenger" allLaunchers="false" includedJRE="linux-x86-1.5.0" manualJREEntry="false" customScriptMode="1" customScriptFile="" os="linux" arch="i386">
<selectedLaunchers>
<launcher id="22" />
</selectedLaunchers>
<messageSet language="English" />
<exclude>
<entry location="bin/startup.bat" launcher="false" />
<entry location="bin/startup.sh" launcher="false" />
</exclude>
<variables />
<customScriptLines />
</linuxRPM>
</mediaSets> </mediaSets>
<buildIds buildAll="true" /> <buildIds buildAll="true">
<mediaSet refId="18" />
</buildIds>
</install4j> </install4j>
...@@ -98,7 +98,12 @@ public class EmbeddedConnectionProvider implements ConnectionProvider { ...@@ -98,7 +98,12 @@ public class EmbeddedConnectionProvider implements ConnectionProvider {
} }
// Check to see if the database schema needs to be upgraded. // Check to see if the database schema needs to be upgraded.
else { else {
upgradeDatabase(); try {
upgradeDatabase();
}
catch (Exception e) {
Log.error(e);
}
} }
} }
catch (IOException ioe) { catch (IOException ioe) {
......
...@@ -104,7 +104,6 @@ public class XMPPServer { ...@@ -104,7 +104,6 @@ public class XMPPServer {
return instance; return instance;
} }
/** /**
* Creates a server and starts it. * Creates a server and starts it.
*/ */
......
...@@ -72,7 +72,10 @@ public class SSLSocketAcceptThread extends Thread { ...@@ -72,7 +72,10 @@ public class SSLSocketAcceptThread extends Thread {
int port = SSLSocketAcceptThread.DEFAULT_PORT; int port = SSLSocketAcceptThread.DEFAULT_PORT;
String portName = JiveGlobals.getProperty("xmpp.socket.ssl.port"); String portName = JiveGlobals.getProperty("xmpp.socket.ssl.port");
if (portName != null) { if (portName != null) {
port = Integer.parseInt(portName); int portValue = Integer.parseInt(portName);
if (portValue > 0) {
port = Integer.parseInt(portName);
}
} }
String interfaceName = JiveGlobals.getProperty("xmpp.socket.ssl.interface"); String interfaceName = JiveGlobals.getProperty("xmpp.socket.ssl.interface");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment