• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

A different java.lang.reflect.InvocationTargetException error

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I originally had the java.lang.reflect.InvocationTargetException error due to having a headless server. Having implemented the CATALINA_OPTS setting CATALINA_OPTS="$CATALINA_OPTS -Djava.awt.headless=true", the original error has now been replaced by:

An error has ocurred. For detailed stack trace, please see the page's source code.

/usr/j2se/jre/lib/sparc/libawt.so: ld.so.1: /usr/java/bin/java: fatal: libmlib_image.so: open failed: No such file or directory

The error occurs the first time I try to register a user.

I am using Solaris v9 and Tomcat 4.1.

For information, I have checked in /usr/j2se/jre/lib/sparc and can see libawt.so and libmlib_image.so, also ld.so.1 is in /usr/lib

Any clues???

Thanks,
[originally posted on jforum.net by Luke]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't have much idea.. as a hack tentative, try a ln -s of libmlib_imag.so to /usr/lib as well

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I didn't do it. You can't prove it. Nobody saw me. The sheep are lying! This tiny ad is my witness!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic