Experimental Physics and Industrial Control System
|
Hi Eric,
This is all very puzzling. If you are using java 1.4.2 and above you
should not be having any of these problems. I feel like we are fixing
symptoms, but not the basic problem. There seems to be something wrong
with the java installation. Your solution for jsse.jar seems reasonable,
but I can't explain why it does not accept that addition.
What hardware and operating system are you using?
If you type "java -version", what does it show?
Assuming you are on some kind of unix-like machine, what does the "which
java" and "which javac" command display? I'm wondering if perhaps you
have an old java JDK (pre 1.4.2) but a newer java JRE installed. The JDK
is the full development kit with the javac compiler. The JRE is just the
java runtime virtual machine (java). I'm wondering if you are compiling
with an old javac.
What are your JAVA_HOME, ANT_HOME, and CLASSPATH environment variables
set to?
Maybe this will help me with diagnosis.
regards, Claude
Lecorche Eric wrote:
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
- Replies:
- Re: ant problem when building Irmis Lecorche Eric
- References:
- ant problem when building Irmis Lecorche Eric
- Re: ant problem when building Irmis Claude Saunders
- Re: ant problem when building Irmis Lecorche Eric
- Navigate by Date:
- Prev:
Re: ant problem when building Irmis Lecorche Eric
- Next:
channel access client performance and gateway Rowland, J (James)
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
<2006>
2007
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 Lecorche Eric
- Next:
Re: ant problem when building Irmis Lecorche Eric
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|