powered by Jive Software

Jive Messenger Error

Hey All:

I am using Jive messenger for more than 200 clients. Suddenly I started receiving this error. But after restarting Jive messenger everything works fine.

Jive Messenger 2.3.1

Admin console listening at:

Exception in thread “Socket Listener at port 5222” java.lang.OutOfMemoryError: unable to create new native thread

at java.lang.Thread.start0(Native Method)

at java.lang.Thread.start(Unknown Source)

at org.jivesoftware.messenger.spi.ConnectionManagerImpl.addSocket(ConnectionManage rImpl.java:242)

at org.jivesoftware.messenger.net.SocketAcceptThread.run(SocketAcceptThread.java:1 31)

Message was edited by:

goharsharf

Hi,

nice to hear this. It will happen again. eg

You want to increase the Xmx value for the java process. You’‘ll figure out how to do this using the default start script, here’'s a sample start script containing the Xmx value for Wildfire 2.4.0 and Windows:

LG

set app_java_home=%PROGRAMFILES%\Java\jre1.5.0_06

set app_home=%PROGRAMFILES%\Wildfire

set prg_dir=%app_home%\bin

set prg=wildfire

set INSTALL4J_ADD_VM_PARAMS=-Xms64m -Xmx128m -XX:PermSize=10m -XX:MaxPermSize=20m -verbose:gc -XX:*PrintGCDetails -XX:*PrintGCTimeStamps -Xloggc:"%app_home%\logs\gc.log"

set CLASSPATH=%app_home%.install4j\i4jruntime.jar

set CLASSPATH=%CLASSPATH%;%app_home%\lib\activation.jar

set CLASSPATH=%CLASSPATH%;%app_home%\lib\commons-el.jar

set CLASSPATH=%CLASSPATH%;%app_home%\lib\hsqldb.jar

set CLASSPATH=%CLASSPATH%;%app_home%\lib\jasper-compiler.jar

set CLASSPATH=%CLASSPATH%;%app_home%\lib\jasper-runtime.jar

set CLASSPATH=%CLASSPATH%;%app_home%\lib\mail.jar

set CLASSPATH=%CLASSPATH%;%app_home%\lib\messenger.jar

set CLASSPATH=%CLASSPATH%;%app_home%\lib\mysql.jar

set CLASSPATH=%CLASSPATH%;%app_home%\lib\postgres.jar

set CLASSPATH=%CLASSPATH%;%app_home%\lib\servlet.jar

set CLASSPATH=%CLASSPATH%;%app_home%\lib\startup.jar

cd “%app_home%”

“%app_java_home%\bin\java.exe” -Dinstall4j.jvmDir="%app_java_home%" -Dinstall4j.appDir="%app_home%" -Dexe4j.moduleName="%prg_dir%%prg%" -DwildfireHome="%app_home%" -Dwildfire.lib.dir="%app_home%\lib" %INSTALL4J_ADD_VM_PARAMS% com.install4j.runtime.Launcher start org.jivesoftware.wildfire.starter.ServerStarter false false “%app_home%\logs\stderror.log” “%app_home%\logs\stdoutt.log” true true false “” true true 0 0 “” 20 20 “Arial” “0,0,0” 8 500 “version 2.3.1” 20 40 “Arial” “0,0,0” 8 500 -1 “start”

REM unix users replace

REM \ -> /

REM ; -> :

REM set -> export

REM %foo% -> $

/code