Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks

  

Sign in to participate


Simon Delicata 5.Jul.07 11:15 AM a Web browser
Domino Server 7.0.2 FP2; 7.0.2 FP1; 7.0.2; 7.0.1 FP1; 7.0.1; 7.0 Linux - RedHat


Hi all,

I'm leaving this post in the hope that it helps someone else. I've been running JFreechart (0.9.21, but I'm not sure that matters) quite happily on Domino 6 server (RHAS3) for ages. When I started testing Domino Server 7, I started getting all sorts of weirdness, culminating with an exception :

05/07/2007 07:20:15 AM Agent Manager: Agent error: java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment
05/07/2007 07:20:15 AM Agent Manager: Agent error: at java.lang.Class.forName1(Native Method)
05/07/2007 07:20:15 AM Agent Manager: Agent error: at java.lang.Class.forName(Class.java:180)
05/07/2007 07:20:15 AM Agent Manager: Agent error: at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:91)
05/07/2007 07:20:15 AM Agent Manager: Agent error: at java.awt.Font.initializeFont(Font.java:333)
05/07/2007 07:20:15 AM Agent Manager: Agent error: at java.awt.Font.<init>(Font.java:368)
05/07/2007 07:20:15 AM Agent Manager: Agent error: at org.jfree.chart.axis.Axis.<clinit>(Axis.java:115)
05/07/2007 07:20:15 AM Agent Manager: Agent error: at org.code.name.R.add(OYJO)
05/07/2007 07:20:15 AM Agent Manager: Agent error: at org.code.name.R.I(OYJO)
05/07/2007 07:20:15 AM Agent Manager: Agent error: at org.code.name.NI.I(OYJO)
05/07/2007 07:20:15 AM Agent Manager: Agent error: at org.code.name.M.M(OYJO)
05/07/2007 07:20:15 AM Agent Manager: Agent error: at JavaAgent.NotesMain(JavaAgent.java:18)
05/07/2007 07:20:15 AM Agent Manager: Agent error: at lotus.domino.AgentBase.runNotes(Unknown Source)
05/07/2007 07:20:15 AM Agent Manager: Agent error: at lotus.domino.NotesThread.run(Unknown Source)

If I ran the same agent again, I got :

05/07/2007 07:29:04 AM Agent Manager: Agent error: java.lang.NoClassDefFoundError: org/jfree/chart/axis/DateAxis
05/07/2007 07:29:04 AM Agent Manager: Agent error: at org.code.name.R.add(OYJO)
05/07/2007 07:29:04 AM Agent Manager: Agent error: at org.code.name.R.I(OYJO)
05/07/2007 07:29:04 AM Agent Manager: Agent error: at org.code.name.NI.I(OYJO)
05/07/2007 07:29:04 AM Agent Manager: Agent error: at org.code.name.M.M(OYJO)
05/07/2007 07:29:04 AM Agent Manager: Agent error: at JavaAgent.NotesMain(JavaAgent.java:18)
05/07/2007 07:29:04 AM Agent Manager: Agent error: at lotus.domino.AgentBase.runNotes(Unknown Source)
05/07/2007 07:29:04 AM Agent Manager: Agent error: at lotus.domino.NotesThread.run(Unknown Source)

NB - This code is actually crashing in the same place, but for different reasons

It took me a while to realise, but I turned on JVM Verbose logging ( set config JavaVerbose=1 at the server console ) and found the following lines secreeted in one of the (tens) pages of output :

[Running static initializer for sun/awt/font/NativeFontWrapper]
/domino/lotus/notes/70020/linux/jvm/bin/libfontmanager.so: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory

Although the Domino installer checks for the required patches, it doesn't necessarily check that you have all the packages you might need installed. This library can be traced back to compat-libstdc++-296 (not compat-libstdc++-33, which is also required but for other reasons). So, if you get

java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment

install

compat-libstdc++-296


Regards


Simon Delicata





Lotus Software


  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM accelerators
IBM Composite Applications
IBM Mashup Center
Lotus ActiveInsight
Lotus Connections
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Forms
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
LotusLive
LotusLive iNotes
LotusLive Meetings & Events
Lotus Mobile Connect
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Sametime
Lotus Symphony
Lotus Web Content Management
Lotus Widget Factory
Lotus Workforce Management
WebSphere Dashboard Framework
WebSphere Portal
WebSphere Portal Express
WebSphere Portlet Factory

Lotus Forums


 Lotus Forums
Notes/Domino 8.5
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
Notes/Domino 4 and 5
Lotus ActiveInsight & WebSphere Dashboard Framework
Lotus Connections
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Forms
Lotus Foundations
LotusLive Notes
LotusLive Meetings
Lotus Mobile Connect
Lotus Protector
Lotus Quickr
Lotus Sametime
Lotus Sametime Unyte Events
Lotus Sametime Unyte Share
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Web Content Management
Lotus Widget Factory
Lotus Workflow