Skip to Content.
Sympa Menu

shibboleth-dev - Re: Build of 2.0 beta1 IdP

Subject: Shibboleth Developers

List archive

Re: Build of 2.0 beta1 IdP


Chronological Thread 
  • From: "Chris G. Sellers" <>
  • To:
  • Subject: Re: Build of 2.0 beta1 IdP
  • Date: Thu, 24 Jan 2008 09:57:50 -0500

Ok, I resolved my issue and I'm sorry for wasting time (however it may help someone else)

The issue appeared to be leftovers.  They must have been growing mold or something because I wiped out the shib-dist and re-unzipped, and all built just fine. 

JAVA_HOME=/opt/java/'jdk1.5.xpath'

Thanks for the help.

Sellers

On Jan 23, 2008, at 11:29 AM, wrote:

I did that later on in the second section, I set it to /usr/java/latest (which is a symlink)

That is when I get the error like I have before about 'dist' not being available.  (sorry, I did not make that super clear in the email below).

It also appears that ant didn't really push any debug stuff out.   I'm trying to play around with it and look at the ant.sh to see if I can get some more info...


Sellers

On Jan 23, 2008, at 9:57 AM, Chad La Joie wrote:

Okay, JAVA_HOME has to point to either a JDK or JRE, not "/usr"

Chris G. Sellers wrote:
Ok, if I set JAVA_HOME=/usr and ANT_OPTS=-debug I get this below.  The -debug didn't do much.
--
compile-core:
Created dir: /var/tmp/shib/shib-dist/xmltooling/build/core
Compiling 477 source files to /var/tmp/shib/shib-dist/xmltooling/build/core
BUILD FAILED
/var/tmp/shib/shib-dist/build.xml:23: The following error occurred while executing this line:
/var/tmp/shib/shib-dist/build.xml:102: The following error occurred while executing this line:
/var/tmp/shib/shib-dist/build.xml:176: The following error occurred while executing this line:
/var/tmp/shib/shib-dist/xmltooling/build.xml:42: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
Total time: 2 minutes 33 seconds
---
If I export JAVA_HOME to /usr/java/latest I get this
lrwxrwxrwx 1 root root 21 2008-01-22 16:15 /usr/java/latest -> /usr/java/jdk1.5.0_13
[root@sellers-lab1 shib-dist]# export JAVA_HOME=/usr/java/latest
Loading source files for package org.opensaml.xml.validation...
Constructing Javadoc information...
Standard Doclet version 1.5.0_13
Building tree for all the packages and classes...
/var/tmp/shib/shib-dist/xmltooling/src/org/opensaml/xml/encryption/InlineEncryptedKeyResolver.java:26: warning - Tag @link: reference not found: KeyInfo
/var/tmp/shib/shib-dist/xmltooling/src/org/opensaml/xml/encryption/SimpleRetrievalMethodEncryptedKeyResolver.java:37: warning - Tag @link: reference not found: KeyInfo
/var/tmp/shib/shib-dist/xmltooling/src/org/opensaml/xml/encryption/InlineEncryptedKeyResolver.java:26: warning - Tag @link: reference not found: KeyInfo
/var/tmp/shib/shib-dist/xmltooling/src/org/opensaml/xml/encryption/SimpleRetrievalMethodEncryptedKeyResolver.java:37: warning - Tag @link: reference not found: KeyInfo
Building index for all the packages and classes...
/var/tmp/shib/shib-dist/xmltooling/src/org/opensaml/xml/encryption/InlineEncryptedKeyResolver.java:26: warning - Tag @link: reference not found: KeyInfo
/var/tmp/shib/shib-dist/xmltooling/src/org/opensaml/xml/encryption/SimpleRetrievalMethodEncryptedKeyResolver.java:37: warning - Tag @link: reference not found: KeyInfo
Building index for all classes...
Generating /var/tmp/shib/shib-dist/xmltooling/doc/javadoc/stylesheet.css...
6 warnings
Created dir: /var/tmp/shib/shib-dist/dist
BUILD FAILED
/var/tmp/shib/shib-dist/build.xml:23: The following error occurred while executing this line:
/var/tmp/shib/shib-dist/build.xml:114: The following error occurred while executing this line:
/var/tmp/shib/shib-dist/build.xml:222: /var/tmp/shib/shib-dist/xmltooling/dist not found.
On Jan 23, 2008, at 3:54 AM, Chad La Joie wrote:
okay, so ant's documentation is wrong, it's not -d it's -debug

So, here's the command
ANT_OPTS=-debug ./ant.sh idp

Chris G. Sellers wrote:
Chad,
I'm confused.   Here is my setup
root@ shib-dist]# java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode, sharing)
[root@ shib-dist]# echo $JAVA_HOME
/usr/java/jdk1.5.0_13/
[root@ shib-dist]# echo $ANT_OPTS
-d
I'm thinking it's the java binary that is balking at the -d option.  I got the JDK from Sun.
Sellers
On Jan 22, 2008, at 10:44 AM, Chad La Joie wrote:
I have never had anything run properly with the gij.  Shib isn't going to work on it anyways so you'll need to install a real JDK at some point.  Might as well do it now.

Also, you aren't using the system install ant version, the ant script we ship with shibboleth uses a version of ant that we ship with.  It's just a standard ant version but with some extension ant tasks already loaded so that deployers don't have to figure out how to do that.

Chris G. Sellers wrote:
I'm using the JVM from the JDK not just the stand along JRE.  It appears to be an issue with gij compiler.  It's taking the ANT_OPTS variable and trying to use it
If I switch to the java JRE in /usr I get a more descriptive err
root@ shib-dist]# ./ant.sh idp
gij: unrecognized option -- `-d'
Try `gij --help' for more information.
On Jan 22, 2008, at 10:18 AM, Franck Borel wrote:
Hi Chris,

Chris G. Sellers schrieb:
> I've tried to use ANT in debug mode (sorry, my Ant skills are limited)
> and I can't seem to get it to output debug info.  The verison I'm using
> is on Fedora
>
> ant-1.6.5-4jpp.2.fc7
>
> It does not like --debug or --debugexec
>
> [root@sellers-lab1 shib-dist]# ./ant.sh idp
> Unrecognized option: -d
> Could not create the Java virtual machine.
>
>
> [root@1 shib-dist]# echo $JAVA_HOME
> /usr/java/jdk1.5.0_13/
> [root@ shib-dist]# echo $ANT_OPTS
> -d

Seems to be the wrong path entry to your JVM: Where is your Java virtual
machine placed?

-- Franck

______________________________________________
Chris G. Sellers | NITLE Technology
734.661.2318 | <> <> <>
AIM: imthewherd | GTalk: <> <> <>

--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Security
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
<>, http://www.switch.ch
______________________________________________
Chris G. Sellers | NITLE Technology
734.661.2318 | <> <>
AIM: imthewherd | GTalk: <> <>

--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Security
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
<>, http://www.switch.ch
______________________________________________
Chris G. Sellers | NITLE Technology
734.661.2318 | <>
AIM: imthewherd | GTalk: <>

--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Security
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
, http://www.switch.ch


______________________________________________
Chris G. Sellers | NITLE Technology
734.661.2318 |
AIM: imthewherd | GTalk:




______________________________________________
Chris G. Sellers | NITLE Technology
734.661.2318 |
AIM: imthewherd | GTalk:






Archive powered by MHonArc 2.6.16.

Top of Page