This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Can't load library: /motif12/libmawt.so Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
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: 63202
    
  69

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

Please read this.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by 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: 63202
    
  69

Perhaps there are different versions of X installed on the two machines?
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Can't load library: /motif12/libmawt.so
 
It's not a secret anymore!