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: ant problem when building Irmis
From: [email protected] (Lecorche Eric)
To: Claude Saunders <[email protected]>, [email protected]
Date: Tue, 07 Nov 2006 15:57:25 +0100
Hi Claude,

Thanks to your help, I was so able to perform the "ant deploy" for the db directory ; to achieve properly that, I had to add the jce.jar and xml-apis.jar into the build.xml file

Now the problem comes for the apps directory, when running there "ant deploy" first I get the following error messages :

/compile:
[javac] Compiling 107 source files to /home/epics1/Irmis/irmisBase/apps/build/classes
[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/login/DummySSLSocketFactory.java:7: error: ne peut repérer le package par défaut « javax.net.ssl ». Vérifier la variable d'environnement CLASSPATH et l'accès aux archives.
[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/login/SimpleCallbackHandler.java:12: error: Superinterface `CallbackHandler' of class `gov.anl.aps.irmis.login.SimpleCallbackHandler' not found.
[javac] public class SimpleCallbackHandler implements CallbackHandler {
[javac] ^
[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/login/SimpleCallbackHandler.java:22: error: Type `Callback' not found in the declaration of the argument `callbacks' of method `handle'.
[javac] public void handle(Callback[] callbacks)
[javac] ^
[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/login/SimpleCallbackHandler.java:23: error: Class `UnsupportedCallbackException' not found in `throws'.
[javac] throws IOException, UnsupportedCallbackException {
[javac] ^
[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/login/SimpleCallbackHandler.java:33: error: Type `NameCallback' not found in the declaration of the local variable `nc'.
[javac] NameCallback nc = (NameCallback)callbacks[i];
[javac] ^
[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/login/SimpleCallbackHandler.java:41: error: Type `PasswordCallback' not found in the declaration of the local variable `pc'.
[javac] PasswordCallback pc = (PasswordCallback)callbacks[i];
[javac] ^
[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/login/PersonRoleLoginModule.java:27: error: Superinterface `LoginModule' of class `gov.anl.aps.irmis.login.PersonRoleLoginModule' not found.
[javac] public class PersonRoleLoginModule implements LoginModule {/
[... may other errors ...]
/[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/apps/pv/cfw/PVWindow.java:0: internal compiler error: Erreur de segmentation
[javac] SVP soumettre un rapport complet d'anomalies,
[javac] avec le source pré-traité si cela est approprié.
[javac] Consulter <URL:http://bugzilla.redhat.com/bugzilla/> pour les instructions.
/
So I imagined to do the same as for the db directory : we found that the javax.net.ssl package was in the jsse.jar file and I added the path to this jar file. Therefore, I get the following errors


c/ompile:
[javac] Compiling 107 source files to /home/epics1/Irmis/irmisBase/apps/build/classes
[javac] /home/epics1/Irmis/irmisBase/apps/src/CFWDemo/DemoDocument.java:0: error: archive .zip mal composée dans CLASSPATH: /usr/java/jre/lib/jsse.jar/
[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/login/DummySSLSocketFactory.java:7: error: ne peut repérer le package par défaut « javax.net.ssl ». Vérifier la variable d'environnement CLASSPATH et l'accès aux archives.
[javac] /home/epics1/Irmis/irmisBase/apps/src


/[... same errors as in the first case ... ]

So first it does not solve the problem (javax.net.ssl is no longer found) and furthermore a new error occurs telling that "the archive .zip is badly organized into /usr/java/jre/lib/jsse.jar"). As I didn't find anything concerning this error and not being a Java expert, I don't manage to go further at this point ...

Any new idea to help me to get out from this ?

Thanks in advance

Eric
begin:vcard
fn;quoted-printable:Eric L=C3=A9corch=C3=A9
n;quoted-printable:L=C3=A9corch=C3=A9;Eric
org:Ganil;Groupe Informatique Machine
adr:;;BP 55027;Caen;;14076;France
email;internet:[email protected]
title:DBA / resp. GMAO / CC Ganil
tel;work:02 31 45 47 35
tel;fax:02 31 45 47 28
url:http://www.ganil.fr
version:2.1
end:vcard


Replies:
Re: ant problem when building Irmis Claude Saunders
References:
ant problem when building Irmis Lecorche Eric
Re: ant problem when building Irmis Claude Saunders

Navigate by Date:
Prev: Upcoming ASYN release Eric Norum
Next: Re: ant problem when building Irmis Claude Saunders
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: Re: ant problem when building Irmis Claude Saunders
Next: Re: ant problem when building Irmis Claude Saunders
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 ·