why Tomcat can run without loading JNI
- From: mickyp100@xxxxxxxxx
- Date: 8 Mar 2006 23:37:49 -0800
Hi, all
I use two environment:
1. Eclipse 3.1.2 / MyEclipse4.1 / Tomcat 5.0.28
2. Eclipse 3.1.2 / Tomcat Plugin / Tomcat 5.0.28
and I found a very strange thing that I can run my webapps on tomcat
without loading JNI(ppbedrvc.dll) in MyEclipse environment.
But I can't run my webapps in normal eclipse + tomcat plugin
environment. (environment#2)
When I startup tomcat server by other tomcat plugin , it shows
following error message:
Code:
Exception in thread "Thread-1" java.lang.UnsatisfiedLinkError: no
ppbedrvc in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at
com.cyberpowersystems.ppbe.agent.core.converse.DriverTransaction.<clinit>(DriverTransaction.java:20)
at
com.cyberpowersystems.ppbe.agent.core.converse.TransactionHelper.<init>(TransactionHelper.java:10)
at
com.cyberpowersystems.ppbe.agent.core.Service.<init>(Service.java:34)
at
com.cyberpowersystems.ppbe.agent.core.Service.<clinit>(Service.java:50)
at
com.cyberpowersystems.ppbe.agent.ui.web.models.ServiceStartup.run(ServiceStartup.java:29)
at java.lang.Thread.run(Unknown Source)
And these messages are right behavior I suppose to show~~~
If I startup tomcat server by MyEclipse's server button, it will not
show any error message and work correctly, this is impossible thing!!
(in environment#1)
I delete every ppbedrvc.dll in my computer and restart, then startup
the tomcat server, it still works correctly...
So this condition makes me confused... how could it run ?!?!?! what a
magic...
I already check every setting in MyEclipse preference to defaults( that
means I didn't set library path to my dll)
Did anyone ever happen this thing?
Does MyEclipse tomcat startup auto skip loading JNI?
please help me, thanks
.
- Prev by Date: Re: Eclipse and jogl.jar
- Next by Date: Re: taming IntelliJ on JavaDoc
- Previous by thread: Eclipse and jogl.jar
- Next by thread: Checkstyle console output
- Index(es):