facebook

why Tomcat can run without loading JNI

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #248125 Reply

    mickyp
    Member

    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:

    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 😳

    #248276

    Riyad Kalla
    Member

    Hmm no MyEclipse doesn’t do any Tomcat magic there. Have you tried searching from the root of your computer for the ppbedrv.dll file?

    #248345

    mickyp
    Member

    @support-rkalla wrote:

    Hmm no MyEclipse doesn’t do any Tomcat magic there. Have you tried searching from the root of your computer for the ppbedrv.dll file?

    Yes, I searched from the root of my computer for the ppbedrv.dll.
    and the result is nothing here in my computer. ( I send ppbedrv.dll to my email to prevent file losing)
    ….

    so… this is really a magic thing.

    My solution now is to replace MyEclipse plugin to another Tomcat Plugin..

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: why Tomcat can run without loading JNI

You must be logged in to post in the forum log in