logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Issues launching nwnx_jvm

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support
View previous topic :: View next topic  
Author Message
nelak



Joined: 05 Oct 2012
Posts: 7

PostPosted: Fri Oct 05, 2012 2:03    Post subject: Issues launching nwnx_jvm Reply with quote

Hi,

I'm having issues starting up my nwn server with the nwnx_jvm plugin enabled. I had it working earlier, but then I must have fiddled around with something and now it refuses to start. I've already tried deleting all NWNX files and reinstalling everything. All of the other plugins are loading fine.

I'm running linux and this is the error I get:
Quote:
Exception in thread "main" [Dynamic-linking native method java.io.FileOutputStream.writeBytes ... JNI]
java.lang.NoClassDefFoundError: org/nwnx/nwnx2/jvm/TestRunner
[Dynamic-linking native method java.lang.Throwable.getStackTraceDepth ... JNI]
[Dynamic-linking native method java.lang.Throwable.getStackTraceElement ... JNI]
Caused by: java.lang.ClassNotFoundException: org.nwnx.nwnx2.jvm.TestRunner
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
FATAL ERROR in native method: while executing native code FindClass(initListener)


Any help would be great,

Thanks,
Back to top
View user's profile Send private message
nelak



Joined: 05 Oct 2012
Posts: 7

PostPosted: Fri Oct 12, 2012 0:09    Post subject: Reply with quote

I spent a few more hours playing around with it and the JVM plugin appears to register but the server still crashes.

Quote:

[Dynamic-linking native method java.io.FileOutputStream.writeBytes ... JNI]
Initializing TestRunner. This class runs various sanity tests and benchmarks.
If anything in this class makes your server crash, something is wrong and NEEDs to be fixed!
You need to load a module that has at least one event firing on a creature sometime.
JVM plugin registered.
SPELLS plugin registered.
EVENTS plugin registered.
DMACTIONS plugin registered.
AREAS plugin registered.
ODMBC_PGSQL plugin registered.
FIXES plugin registered.
NWNX Lua Initialized
LUA plugin registered.
HASHSET plugin registered.
DEFENSES plugin registered.
CHAT plugin registered.
TMI plugin registered.
MNX plugin registered.
VISIBILITY plugin registered.
FUNCS plugin registered.
WEAPONS plugin registered.
* NWNX2 activated.
Neverwinter Nights Server
Build:8109
Copyright BioWare Corp 1998-2004

Server: Loading...
Checked JNI functions are being used to validate JNI usage
FATAL ERROR in native method: Bad global or local ref passed to JNI
Aborted (core dumped)


Any help? Please?

Edit:
I checked all the plugin log files and everything reports everything is running fine, including the JVM log file. Removing the JVM plugin causes the server to start up successfully.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group