Re: Getting NoClassDefFound error for Rectangle.class (rt.jar)

2005-10-09 Thread Bob Hall
Instead of rebuilding FOP, I wrote a simple test class
that attempts to instantiate 'Rectangle'.  It runs
successfully on one system and fails on the other
(the one with the NoClassDefFoundError):

$ java -Djava.awt.headless=true TestRectangle

Exception in thread main
java.lang.UnsatisfiedLinkError:
/usr/local/j2sdk1.4.2_08/jre/lib/i386/libawt.so:
libXp.so.6: cannot open shared object file: No such
file or directory

Sure enough, /usr/X11R6/lib/libXp.so.6 exists on one
box, but not the other.  Hopefully, it won't be too
much of an ordeal to get the missing piece(s)
installed.

- Bob

--- Bob Hall [EMAIL PROTECTED] wrote:

 No joy with -Djava.awt.headless=true; looks a
 rebuild of FOP on the target system... though that
 *really* does not make sense.
 
 - Bob
 
 --- Bob Hall [EMAIL PROTECTED] wrote:
 
  Thanks, David.  I'll try that.
  
  If that doesn't do the trick I plan to build
 fop.jar
  from source on the target machine.
  
  - Bob
  
  --- David Delbecq [EMAIL PROTECTED] wrote:
  
   if it's *java.awt.Rectangle*
   and the computer you are trying to run fop on
 does
   not have
   graphical environment, maybe you should wonsider
   using headless java
   see
  
 

http://java.sun.com/j2se/1.4.2/docs/guide/awt/AWTChanges.html#headless
   
   Bob Hall a écrit :
   
   I'm getting a NoClassDefFoundError in a FOP
  class,
   PageViewport.  At line 89, the code is
 attempting
   to
   do
   'new Rectangle()'.
   
   The same code works fine on 3 other systems (2
   Windows,
   and one Linux).  It does not work on a Linux
 box.
   The two linux boxes have the same version of
 Java
   (1.4.2_08-b03) and the same version of Tomcat
   5.0.28).
   The versions of RedHat *are* different.  I even
   compiled
   the code on the target Linux system.
   
   Any ideas?
   
   - Bob
   
   

   __ 
   Yahoo! Mail - PC Magazine Editors' Choice 2005 
   http://mail.yahoo.com
   
  
 

-
   To unsubscribe, e-mail:
   [EMAIL PROTECTED]
   For additional commands, e-mail:
   [EMAIL PROTECTED]
   
 
   
   
   
  
 

-
   To unsubscribe, e-mail:
   [EMAIL PROTECTED]
   For additional commands, e-mail:
   [EMAIL PROTECTED]
   
   
  
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
  protection around 
  http://mail.yahoo.com 
  
 

-
  To unsubscribe, e-mail:
  [EMAIL PROTECTED]
  For additional commands, e-mail:
  [EMAIL PROTECTED]
  
  
 
 
 
   
 __ 
 Yahoo! Mail - PC Magazine Editors' Choice 2005 
 http://mail.yahoo.com
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Getting NoClassDefFound error for Rectangle.class (rt.jar)

2005-10-03 Thread Bob Hall
I'm getting a NoClassDefFoundError in a FOP class,
PageViewport.  At line 89, the code is attempting to
do
'new Rectangle()'.

The same code works fine on 3 other systems (2
Windows,
and one Linux).  It does not work on a Linux box.
The two linux boxes have the same version of Java
(1.4.2_08-b03) and the same version of Tomcat 5.0.28).
The versions of RedHat *are* different.  I even
compiled
the code on the target Linux system.

Any ideas?

- Bob



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Getting NoClassDefFound error for Rectangle.class (rt.jar)

2005-10-03 Thread David Delbecq
if it's *java.awt.Rectangle*
and the computer you are trying to run fop on does not have
graphical environment, maybe you should wonsider using headless java
see http://java.sun.com/j2se/1.4.2/docs/guide/awt/AWTChanges.html#headless

Bob Hall a écrit :

I'm getting a NoClassDefFoundError in a FOP class,
PageViewport.  At line 89, the code is attempting to
do
'new Rectangle()'.

The same code works fine on 3 other systems (2
Windows,
and one Linux).  It does not work on a Linux box.
The two linux boxes have the same version of Java
(1.4.2_08-b03) and the same version of Tomcat 5.0.28).
The versions of RedHat *are* different.  I even
compiled
the code on the target Linux system.

Any ideas?

- Bob


   
__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Getting NoClassDefFound error for Rectangle.class (rt.jar)

2005-10-03 Thread Bob Hall
Thanks, David.  I'll try that.

If that doesn't do the trick I plan to build fop.jar
from source on the target machine.

- Bob

--- David Delbecq [EMAIL PROTECTED] wrote:

 if it's *java.awt.Rectangle*
 and the computer you are trying to run fop on does
 not have
 graphical environment, maybe you should wonsider
 using headless java
 see

http://java.sun.com/j2se/1.4.2/docs/guide/awt/AWTChanges.html#headless
 
 Bob Hall a écrit :
 
 I'm getting a NoClassDefFoundError in a FOP class,
 PageViewport.  At line 89, the code is attempting
 to
 do
 'new Rectangle()'.
 
 The same code works fine on 3 other systems (2
 Windows,
 and one Linux).  It does not work on a Linux box.
 The two linux boxes have the same version of Java
 (1.4.2_08-b03) and the same version of Tomcat
 5.0.28).
 The versions of RedHat *are* different.  I even
 compiled
 the code on the target Linux system.
 
 Any ideas?
 
 - Bob
 
 
  
 __ 
 Yahoo! Mail - PC Magazine Editors' Choice 2005 
 http://mail.yahoo.com
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
   
 
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Getting NoClassDefFound error for Rectangle.class (rt.jar)

2005-10-03 Thread Bob Hall
No joy with -Djava.awt.headless=true; looks a
rebuild of FOP on the target system... though that
*really* does not make sense.

- Bob

--- Bob Hall [EMAIL PROTECTED] wrote:

 Thanks, David.  I'll try that.
 
 If that doesn't do the trick I plan to build fop.jar
 from source on the target machine.
 
 - Bob
 
 --- David Delbecq [EMAIL PROTECTED] wrote:
 
  if it's *java.awt.Rectangle*
  and the computer you are trying to run fop on does
  not have
  graphical environment, maybe you should wonsider
  using headless java
  see
 

http://java.sun.com/j2se/1.4.2/docs/guide/awt/AWTChanges.html#headless
  
  Bob Hall a écrit :
  
  I'm getting a NoClassDefFoundError in a FOP
 class,
  PageViewport.  At line 89, the code is attempting
  to
  do
  'new Rectangle()'.
  
  The same code works fine on 3 other systems (2
  Windows,
  and one Linux).  It does not work on a Linux box.
  The two linux boxes have the same version of Java
  (1.4.2_08-b03) and the same version of Tomcat
  5.0.28).
  The versions of RedHat *are* different.  I even
  compiled
  the code on the target Linux system.
  
  Any ideas?
  
  - Bob
  
  
 
  __ 
  Yahoo! Mail - PC Magazine Editors' Choice 2005 
  http://mail.yahoo.com
  
 

-
  To unsubscribe, e-mail:
  [EMAIL PROTECTED]
  For additional commands, e-mail:
  [EMAIL PROTECTED]
  

  
  
  
 

-
  To unsubscribe, e-mail:
  [EMAIL PROTECTED]
  For additional commands, e-mail:
  [EMAIL PROTECTED]
  
  
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]