Wildfire older release

Hi,

i have problem with wildfire 3.1 installation. I installed the rpm for suse linux but i didn’'t work.

The wildfire Server don’'t find java.

wildfire start

testing JVM in /opt/wildfire/jre …

testing JVM in /usr …

testing JVM in /usr/lib/java/jre …

testing JVM in /usr/lib/java …

testing JVM in /usr/lib/jre …

testing JVM in /usr/lib/jvm/java …

No suitable Java Virtual Machine could be found on your system.

The version of the JVM must be at least 1.5.

Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.

You can also try to delete the JVM cache file /root/.install4j

So now I search for a older version thats work by me.

The older release was wildfire 2.5 but i don’'t find the download it was a bin installation file.

http://www.igniterealtime.org/downloads/download-landing.jsp?file=wildfire/wildf ire_2_6_2.tar.gz

You can vary 2_6_2 as you like for other versions. But it may be a better idea to make sure that JRE 1.5 is installed and then modify the start script that it uses the JRE 1.5.

LG

Yes i have installed java 1.5 where i musst modified the install script?

MY Java is in /usr/lib/jaba-1.5.0

Message was edited by: vitalik_1984

Hi,

export INSTALL4J_JAVA_HOME=/usr/lib/java-1.5.0

as the second line in the script should do it.

LG

I doit but i doesn’'t work

This is the error Message

./wildfired start

No suitable Java Virtual Machine could be found on your system.

The version of the JVM must be at least 1.5.

Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.

You can also try to delete the JVM cache file /root/.install4j

here is the wildfire script under /opt/wildfire/bin

#! /bin/sh

  1. Uncomment the following line to override the JVM search sequence

#INSTALL4J_JAVA_HOME_OVERRIDE=/usr/lib/jvm

export INSTALL4J_JAVA_HOME=/usr/lib/java-1.5.0

  1. Uncomment the following line to add additional VM parameters

INSTALL4J_ADD_VM_PARAMS=/usr/lib/java/

read_db_entry() {

if [ -n “$INSTALL4J_NO_DB” ]; then

return 1

fi

db_file=$HOME/.install4j

if [ ! -f “$db_file” ]; then

return 1

fi

if [ ! -x “$java_exc” ]; then

return 1

fi

found=1

exec 7< $db_file

while read r_type r_dir r_ver_major r_ver_minor r_ver_micro r_ver_patch<&7; do

if [ “$r_type” = “JRE_VERSION” ]; then

if [ “$r_dir” = “$test_dir” ]; then

ver_major=$r_ver_major

ver_minor=$r_ver_minor

ver_micro=$r_ver_micro

ver_patch=$r_ver_patch

found=0

break

fi

fi

done

exec 7<&-

return $found

}

create_db_entry() {

tested_jvm=true

echo testing JVM in $test_dir …

version_output="$bin_dir/java" -version 2>&1

is_gcj=expr "$version_output" : ''.*gcj''

if [ “$is_gcj” = “0” ]; then

java_version=expr "$version_output" : ''.**"\(.**\)".*''

ver_major=expr "$java_version" : ''\([0-9]**\)\..**''

ver_minor=expr "$java_version" : ''[0-9][0-9]**\.\([0-9]**\)\..*''

ver_micro=expr "$java_version" : ''[0-9][0-9]**\.[0-9][0-9]**\.\([0-9]**\).**''

ver_patch=expr "$java_version" : ''.**_\(.**\)''

fi

if [ “$ver_patch” = “” ]; then

.

.

.

.

.

.

.

.

.

What is wrong i defined the path

Have some one Idea

Hi,

it seems that one should define INSTALL4J_JAVA_HOME_OVERRIDE and not INSTALL4J_JAVA_HOME, try to change your script to

#! /bin/sh # Uncomment the following line to override the JVM search sequence
INSTALL4J_JAVA_HOME_OVERRIDE=/usr/lib/java-1.5.0
# Uncomment the following line to add additional VM parameters
#INSTALL4J_ADD_VM_PARAMS="-Xms16m -Xmx64m"
...

INSTALL4J_ADD_VM_PARAMS is used for java parameters like memory size, etc. You find a very detailed description of possible parameters at http://www.tagtraum.com/ .

If this still fails try a short start script as described in the wiki.

LG

Hi i find the Problem when i want start the java server i get this failure:

Error occurred during initialization of VM

Could not reserve enough space for object heap

Could not create the Java virtual machine

My Vitrtual Private Server hasnt’'t enough Memory but he has more than 18GB SWAP and the Swap is empty.

Have any an Idea how i can say the wildfire Server he must take the swap.

Hi,

java does not allocate swap memory for the java heap. Every garbage collection scans and modifies the java heap and this would take very long as your disc is very slow compared to your memory.

LG