New WildFire installation - errors

Hi,

When I start the wildfire server ( On FreeBSD, JDK 1.5 ), I get the following in the wildfire/logs/error.log:

2006.12.17 12:17:12 org.jivesoftware.wildfire.container.PluginManager.loadPlugin(PluginManager.java: 467) Error loading plugin

java.lang.ClassFormatError: Illegal field name "

^M" in class org/mortbay/util/Container

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

at java.lang.Class.getDeclaredConstructors0(Native Method)

at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)

at java.lang.Class.getConstructor0(Class.java:2640)

at java.lang.Class.newInstance0(Class.java:321)

at java.lang.Class.newInstance(Class.java:303)

at org.jivesoftware.wildfire.container.PluginManager.loadPlugin(PluginManager.java :347)

at org.jivesoftware.wildfire.container.PluginManager.access$200(PluginManager.java :49)

at org.jivesoftware.wildfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:907)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)

at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101 (ScheduledThreadPoolExecutor.java:65)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodi c(ScheduledThreadPoolExecutor.java:142)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:166)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 650)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

at java.lang.Thread.run(Thread.java:595)

I understand from this that org.mortbay.util.Container is trying to load a plugin named ^M (crlf) which doesn’'t exist.

What I don’'t know is where this definition is.

Anyone that knows what file I’'d have to change to get WildFire going ?

(the :9090 port is not listening, so no go at the admin interface)

/Þór

Hi Thor,

http://www.igniterealtime.org/forum/thread.jspa?messageID=135632 describes a very similar problem and I’'m not aware of a solution.

LG

Try #2: Worked without a hitch.

Difference: export JAVA_HOME=/usr/local/diablo-jdk1.5.0/

Apparently, in the first instance, wildfire found my java installation, just not in the right place.

Second try, I declare the installation to be in /usr/local/diablo… and it worked !

Buy bueno, or something like that :smiley:

Hi,

I found the same problem using Linux tar distrib. “^M” are present in Xml files and create some problems with some JVM. I use DSL Linux.

ascii Files are not natively saved as Unix ascii file that’'s why a new tarball file would help.

Claude-