I also tried the 4.2.1 binary installer for PPC/OS X.  There were no errors
this time during the configure, make, or make install process.

However, globus-start-container fails because of some problem inspecting a
jar file related to the counter service sample (error w/ -debug shown below)

I'm starting to wonder if I need a different version of Java on this
machine, or something!  Any thoughts are appreciated.

thanks,
Adam

gridiron:/usr/local/globus-4.2.1 globus$ globus-start-container -debug
[JWSCORE-200] Container failed to initialize. Caused by
javax.naming.NamingException: [JWSCORE-120] Failed to read
'/usr/local/globus-4.2.1/etc/globus_wsrf_core_samples_counter/jndi-config.xml'
JNDI configuration file [Root exception is
org.apache.commons.vfs.FileSystemException: Could not list the contents of
"jar:file:///usr/local/globus-4.2.1/lib/common/wsrf_core.jar!/META-INF/digester"
because it is not a folder.]
        at
org.globus.wsrf.jndi.JNDIUtils.processJNDIFile(JNDIUtils.java:434)
        at org.globus.wsrf.jndi.JNDIUtils.initializeDir(JNDIUtils.java:390)
        at
org.globus.wsrf.container.ServiceManager.start(ServiceManager.java:157)
        at
org.globus.wsrf.container.ServiceDispatcher.startServices(ServiceDispatcher.java:799)
        at
org.globus.wsrf.container.ServiceDispatcher.init(ServiceDispatcher.java:435)
        at
org.globus.wsrf.container.ServiceContainer.start(ServiceContainer.java:252)
        at
org.globus.wsrf.container.ServiceContainer.<init>(ServiceContainer.java:212)
        at
org.globus.wsrf.container.GSIServiceContainer.<init>(GSIServiceContainer.java:42)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at
org.globus.wsrf.container.ServiceContainer.createContainer(ServiceContainer.java:168)
        at
org.globus.wsrf.container.ServiceContainer.startSecurityContainer(ServiceContainer.java:606)
        at
org.globus.wsrf.container.ServiceContainer.main(ServiceContainer.java:539)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.globus.bootstrap.BootstrapBase.launch(BootstrapBase.java:114)
        at
org.globus.bootstrap.ContainerBootstrap.main(ContainerBootstrap.java:40)
Caused by: org.apache.commons.vfs.FileSystemException: Could not list the
contents of
"jar:file:///usr/local/globus-4.2.1/lib/common/wsrf_core.jar!/META-INF/digester"
because it is not a folder.
        at
org.globus.wsrf.tools.jndi.DigesterDefinitionDiscoverer.loadDefinitions(DigesterDefinitionDiscoverer.java:108)
        at
org.globus.wsrf.jndi.JNDIUtils.parseJNDIConfig(JNDIUtils.java:302)
        at
org.globus.wsrf.jndi.JNDIUtils.processJNDIFile(JNDIUtils.java:415)
        ... 20 more
[JWSCORE-114] Failed to start container: [JWSCORE-200] Container failed to
initialize [Caused by: [JWSCORE-120] Failed to read
'/usr/local/globus-4.2.1/etc/globus_wsrf_core_samples_counter/jndi-config.xml'
JNDI configuration file]



On Thu, Feb 5, 2009 at 1:08 PM, Adam Bazinet <[email protected]>wrote:

> Hi,
>
> I'm trying to build GT 4.2.1 on a PPC mac:
>
> gridiron:/usr/local/globus-4.2.1 globus$ uname -a
> Darwin gridiron.umd.edu 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10
> 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
>
> Java and Ant should be good:
>
> gridiron:/usr/local/globus-4.2.1 globus$ java -version
> java version "1.5.0_16"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-275)
> Java HotSpot(TM) Client VM (build 1.5.0_16-132, mixed mode)
>
> gridiron:/usr/local/globus-4.2.1 globus$ ant -version
> Apache Ant version 1.6.5 compiled on January 25 2006
>
> The error, as shown below, is:
>
> BUILD FAILED
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/build.xml:139:
> The following error occurred while executing this line:
> /usr/local/globus-4.2.1/share/globus_wsrf_common/build-packages.xml:336:
> The following error occurred while executing this line:
> /usr/local/globus-4.2.1/share/globus_wsrf_common/build-packages.xml:466:
> The following error occurred while executing this line:
> java.lang.IllegalAccessError: tried to access class
> org.globus.bootstrap.BootstrapBase$JarFilter from class
> org.globus.wsrf.impl.security.descriptor.tools.DescriptorEntityResolver
>
> I will try installing from a binary next, but thought this was worth
> reporting.
>
> thanks,
> Adam
>
>
>
>
> /usr/local/globus-4.2.1/sbin/gpt-build
> -srcdir=source-trees/wsrf/java/core/samples/management gcc32dbg
> gpt-build ====> CHECKING BUILD DEPENDENCIES FOR
> globus_java_ws_core_management_sample
> gpt-build ====> Changing to
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management
> gpt-build ====> BUILDING globus_java_ws_core_management_sample
> ant deploy -Ddeploy.dir=/usr/local/globus-4.2.1
> Buildfile: build.xml
>
> init:
>
>     [mkdir] Created dir:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/build
>     [mkdir] Created dir:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/build/classes
>     [mkdir] Created dir:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/build/lib
>     [mkdir] Created dir:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/build/stubs
>     [mkdir] Created dir:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/build/stubs/src
>     [mkdir] Created dir:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/build/stubs/classes
>     [mkdir] Created dir:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/build/schema
>      [copy] Copying 41 files to
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/build/schema
>
> stubs:
>
> generateStubs:
>      [echo]  Generating stubs from management_service.wsdl
>      [java] 
> {http://docs.oasis-open.org/wsrf/rw-2}ResourceUnavailableFault<http://docs.oasis-open.org/wsrf/rw-2%7DResourceUnavailableFault>already
>  exists
>      [java] 
> {http://docs.oasis-open.org/wsrf/rw-2}ResourceUnknownFault<http://docs.oasis-open.org/wsrf/rw-2%7DResourceUnknownFault>already
>  exists
>
> compileStubs:
>     [javac] Compiling 7 source files to
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/build/stubs/classes
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>
> jarStubs:
>       [jar] Building jar:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/build/lib/wsrf_core_samples_mgmt_stubs.jar
>
> compile:
>     [javac] Compiling 5 source files to
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/build/classes
>     [javac] Note:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/src/org/globus/wsrf/samples/management/AxisServiceProperty.java
> uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>
> jar:
>       [jar] Building jar:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/build/lib/wsrf_core_samples_mgmt.jar
>
> dist:
>
> makeGar:
>
> testJars:
>
> copyJars:
>      [copy] Copying 2 files to
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/tmp/gar/lib
>
> testSchema:
>
> copySchema:
>      [copy] Copying 3 files to
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/tmp/gar/schema
>
> testEtc:
>
> copyEtc:
>      [copy] Copying 1 file to
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/tmp/gar/etc
>   [antcall] Parent project doesn't contain any reference '${garshare.id}'
>
> testShare:
>
> copyShare:
>   [antcall] Parent project doesn't contain any reference '${gardocs.id}'
>
> testDocs:
>
> copyDocs:
>   [antcall] Parent project doesn't contain any reference '${garbin.id}'
>
> testBin:
>
> copyBin:
>      [copy] Copying 1 file to
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/tmp/gar
>      [copy] Warning: Could not find file
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/deploy-client.wsdd
> to copy.
>      [copy] Copying 1 file to
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/tmp/gar
>       [jar] Building jar:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/globus_wsrf_core_samples_mgmt.gar
>    [delete] Deleting directory
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/tmp/gar
>
> deploy:
>
> deployGar:
>
> testContainerRunning:
>
> isContainerRunning:
>      [echo] Deploying gar with profile: <default>
>
> deployGarFiles:
>     [mkdir] Created dir:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/tmp/gar
>     [chmod] Skipping fileset for directory
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/tmp.
> It is empty.
>     [mkdir] Created dir:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/tmp/gar/schema
>     [mkdir] Created dir:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/tmp/gar/etc
>     [mkdir] Created dir:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/tmp/gar/bin
>     [mkdir] Created dir:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/tmp/gar/docs
>     [mkdir] Created dir:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/tmp/gar/share
>     [mkdir] Created dir:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/tmp/gar/lib
>     [unjar] Expanding:
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/globus_wsrf_core_samples_mgmt.gar
> into
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/tmp/gar
>
> testDoValidation:
>
> doSecurityConfigValidation:
> [xsdvalidate] Validating
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/tmp/gar/etc/security-config.xml...
>
>
> BUILD FAILED
> /usr/local/globus-4.2.1/gt4.2.1-all-source-installer/source-trees/wsrf/java/core/samples/management/build.xml:139:
> The following error occurred while executing this line:
> /usr/local/globus-4.2.1/share/globus_wsrf_common/build-packages.xml:336:
> The following error occurred while executing this line:
> /usr/local/globus-4.2.1/share/globus_wsrf_common/build-packages.xml:466:
> The following error occurred while executing this line:
> java.lang.IllegalAccessError: tried to access class
> org.globus.bootstrap.BootstrapBase$JarFilter from class
> org.globus.wsrf.impl.security.descriptor.tools.DescriptorEntityResolver
>
> Total time: 10 seconds
>
> ERROR: Build has failed
> make: *** [globus_java_ws_core_management_sample] Error 1
>
>

Reply via email to