File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Can't load library: /motif12/libmawt.so Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Can Watch "Can New topic
Author

Can't load library: /motif12/libmawt.so

Peter Mitchell
Greenhorn

Joined: Oct 03, 2008
Posts: 3
I created added a chart to a jsp using cewolf. And it worked fine on my localhost. However when I deploy the code to our test server I get the following error.

org.apache.jasper.JasperException: Can't load library: /data/coopall/tools/jsdk141/jre/lib/sparc/motif12/libmawt.so

I have checked and libawt.so is actually located in
/data/copall/tools/jdsk141/jre/lib/sparc/motif21.

Do you have any ideas on what might be causing this problem?
B Hollister
Greenhorn

Joined: Oct 02, 2008
Posts: 3
Compare the spelling of "coopall"/"copall".
Peter Mitchell
Greenhorn

Joined: Oct 03, 2008
Posts: 3
they both should read coopall....the difference is motif12 -vs motif21. Why is it looking for motif12 which does not exist?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56529
    
  14

Originally posted by Peter Mitchell:
they both should read coopall....

Please read this.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Peter Mitchell
Greenhorn

Joined: Oct 03, 2008
Posts: 3
Ok....can any one answer my question? Why is it looking for motif12 when the file it is looking for existist in the motif21 directory and motif12 does not exist?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56529
    
  14

Perhaps there are different versions of X installed on the two machines?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Can't load library: /motif12/libmawt.so
 
Similar Threads
The APR based Apache Tomcat Native library which allows optimal performance in production environmen
Weblogic error using sybase connections
UnsatisfiedLinkError
JVM Problem
Unexpected JVM Crash