EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: archiveViewer JSP build
From: "Jiro Fujita" <[email protected]>
To: [email protected]
Cc: "Vladimir Sirotenko" <[email protected]>
Date: Wed, 15 Mar 2006 12:34:17 -0600
Vladimir,
We (Creighton University STAR/RHIC slow control team) have encountered
the same problem a month or so ago.  We were trying to install Archive
Viewer on Scientific Linux 3.0.5.  After spending hours trying to fix
the  similar errrors (including the same one for that matter), Here is
what we discovered.  In the essence, we uninstalled Apache ANT that
came installed with SL3, and installed separately build version I
found on the web.
Here is what I posted on the Tech-talk once I found the solution:

http://www.aps.anl.gov/epics/tech-talk/2006/msg00219.php

I also included where I got all the necessary RPMs in that posting as well.
It looks that there is something funny about the Apache ANT package
supplied by RedHat Enterprise Linux 3 (therefore, Scientific Linux 3
as well as Fermi version).  I saw a few people complaining about that
and suggesting to use a version different from RHEL version.  It
worked for us for that.
I was under impression that Sergei Chevtsov was going to update the
instruction based upon what we saw, but may be he hasn't gotten to it,
yet.
We may put information on this on our webpage at some point as well,
in case somebody else is interested in for the future reference.
On our test setup computer, I was able to install Apache ANT just fine
with standard rpm -U command, however, for our production machine, we
had some issues with that, and ended up installing Apache ANT with
-nodep option.  It could be dangerous and I really didn't wanted to do
that, but sometimes, you have no other choices, and in this case, it
worked just fine.
Finally, here is what we are using, in case you are interested:

Apache Ant: ant-1.6.2-3jpp.noarch.rpm
Java:             j2sdk1.4.2_09 (I think...  We also used jdk1.5.0_06
as well...)
Apache Tomcat: apache-tomcat-5.5.15

Well, good luck.

On 3/14/06, Vladimir Sirotenko <[email protected]> wrote:
> Hi,
>
> I am building archiveViewer JSP on Scientific Linux Fermi LTS 3.0
> and it failed with the following errors:
>
> d0olk->ant configure_jsp
> Buildfile: build.xml
>
> -create_build_dir:
>
> build_all:
>     [javac] Compiling 842 source files to
> /online/products/epics/v3_14_8_2/extensions/src/archive_viewer-1-0-4/build
>     [javac]
> /online/products/epics/v3_14_8_2/extensions/src/archive_viewer-1-0-4/src/org/jfree/chart/encoders/SunPNGEncoderAdapter.java:41: error: Class or interface `javax.imageio.ImageIO' not found in import.
>     [javac]    import javax.imageio.ImageIO;
>     [javac]           ^
>     [javac]
> /online/products/epics/v3_14_8_2/extensions/src/archive_viewer-1-0-4/src/org/jfree/chart/encoders/SunJPEGEncoderAdapter.java:44: error: Class or interface `com.sun.image.codec.jpeg.JPEGEncodeParam' not found in import.
>     [javac]    import com.sun.image.codec.jpeg.JPEGEncodeParam;
>     [javac]           ^
>     [javac]
> /online/products/epics/v3_14_8_2/extensions/src/archive_viewer-1-0-4/src/org/jfree/chart/encoders/SunJPEGEncoderAdapter.java:124: error: Type `JPEGImageEncoder' not found in the declaration of the local variable `encoder'.
>     [javac]            JPEGImageEncoder encoder =
> JPEGCodec.createJPEGEncoder(outputStream);
>     [javac]            ^
>     [javac]
> /online/products/epics/v3_14_8_2/extensions/src/archive_viewer-1-0-4/src/org/jfree/chart/encoders/SunJPEGEncoderAdapter.java:125: error: Type `JPEGEncodeParam' not found in the declaration of the local variable `param'.
>     [javac]            JPEGEncodeParam param =
> encoder.getDefaultJPEGEncodeParam(bufferedImage);
>     [javac]            ^
>     [javac]
> /online/products/epics/v3_14_8_2/extensions/src/archive_viewer-1-0-4/src/epics/archiveviewer/xal/view/tooltip/MultiLineToolTipUI.java:17: error: Class or interface `javax.swing.plaf.basic.BasicToolTipUI' not found in import.
>     [javac]    import javax.swing.plaf.basic.BasicToolTipUI;
>     [javac]           ^
>     [javac]
> /online/products/epics/v3_14_8_2/extensions/src/archive_viewer-1-0-4/src/epics/archiveviewer/xal/view/tooltip/MultiLineToolTipUI.java:25: error: Superclass `BasicToolTipUI' of class `epics.archiveviewer.xal.view.tooltip.MultiLineToolTipUI' not found.
>     [javac]    public class MultiLineToolTipUI extends BasicToolTipUI
>     [javac]                                            ^
>     [javac]
> /online/products/epics/v3_14_8_2/extensions/src/archive_viewer-1-0-4/src/epics/archiveviewer/xal/view/tooltip/MultiLineToolTipUI.java:0: internal compiler error: Segmentation fault
>     [javac] Please submit a full bug report,
>     [javac] with preprocessed source if appropriate.
>     [javac] See <URL:http://bugzilla.redhat.com/bugzilla/> for
> instructions.
>
> BUILD FAILED
> file:/online/products/epics/v3_14_8_2/extensions/src/archive_viewer-1-0-4/build.xml:21: Compile failed; see the compiler error output for details.
>
> My settings are:
>
> d0olk->echo $JAVA_HOME
> /usr/java/j2sdk1.4.2_08
> d0olk->echo $CATALINA_HOME/
> /mnt/tomcat/jakarta-tomcat-3.2.4/
>
> Can someone give any suggestions?
>
> Thanks,
> Vladimir
>
>
>
>
>


Replies:
Re: archiveViewer JSP build, archiver under R3.14.8 Kay-Uwe Kasemir
References:
archiveViewer JSP build Vladimir Sirotenko

Navigate by Date:
Prev: archiveViewer JSP build Vladimir Sirotenko
Next: bc635 driver bug (Bancomm) Al Honey
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: archiveViewer JSP build Vladimir Sirotenko
Next: Re: archiveViewer JSP build, archiver under R3.14.8 Kay-Uwe Kasemir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·