Re: Classpath ordering problem

From: Chuck Hill (chil..lobal-village.net)
Date: Wed Mar 28 2007 - 13:43:28 EDT

  • Next message: Guido Neitzer: "Re: Classpath ordering problem"

    I see you have this solved. I just wanted to point out that this
    dependance on ordering is a constraint of Wonder, not a problem with
    WOLips.

    Chuck

    On Mar 28, 2007, at 9:21 AM, Jean Pierre Malrieu wrote:

    > I have solved my Ant build problems (thanks again Chuck), but my
    > classpath problem remains:
    >
    > Here is what I get when I launch the app from command line:
    >
    > Reading MacOSClassPath.txt ...
    > Launching TDBase.woa ...
    > java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" -
    > DWOLocalRootDirectory="" -DWOUserDirectory="/Library/WebObjects/
    > Applications/TDBase.woa/Contents/MacOS" -DWOEnvClassPath="" -
    > DWOApplicationClass=educlab.tdbase.Application -DWOPlatform=MacOS -
    > Dcom.webobjects.pid=9467 -classpath WOBootstrap.jar
    > com.webobjects._bootstrap.WOBootstrap
    > appRoot is /Library/WebObjects/Applications/TDBase.woa/Contents
    > Loading /Library/WebObjects/Applications/TDBase.woa/Contents/MacOS/
    > MacOSClassPath.txt
    > Generated classpath:
    > /Library/WebObjects/Applications/TDBase.woa/Contents/Resources/Java/
    > /Library/WebObjects/Applications/TDBase.woa/Contents/Resources/
    > Java/tdbase.jar
    > /System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/
    > javaeoaccess.jar
    > /System/Library/Frameworks/JavaEOControl.framework/Resources/Java/
    > javaeocontrol.jar
    > /System/Library/Frameworks/JavaFoundation.framework/Resources/
    > Java/javafoundation.jar
    > /System/Library/Frameworks/JavaWebObjects.framework/Resources/
    > Java/javawebobjects.jar
    > /System/Library/Frameworks/JavaXML.framework/Resources/Java/
    > javaxml.jar
    > /System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/
    > Java/javajdbcadaptor.jar
    > /Library/Frameworks/Ajax.framework/Resources/Java/Ajax.jar
    > /Library/Frameworks/Ajax.framework/Resources/Java/jsonrpc.jar
    > /Library/Frameworks/ERExtensions.framework/Resources/Java/
    > ERExtensions.jar
    > /Library/Frameworks/ERJars.framework/Resources/Java/ERJars.jar
    > /Library/Frameworks/ERJars.framework/Resources/Java/icu4j_2_8.jar
    > /Library/Frameworks/ERJars.framework/Resources/Java/
    > icu4jdocs_2_8.jar
    > /Library/Frameworks/ERJars.framework/Resources/Java/junit.jar
    > /Library/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.8.jar
    > /Library/Frameworks/JavaWOExtensions.framework/Resources/Java/
    > JavaWOExtensions.jar
    > /Library/Frameworks/LARichTextEditor.framework/Resources/Java/
    > larichtexteditor.jar
    > /Library/Frameworks/TDComps.framework/Resources/Java/tdcomps.jar
    > /Library/Frameworks/TDEOS.framework/Resources/Java/tdeos.jar
    > /Library/WebObjects/Extensions/avalon-framework-4.1.2.jar
    > /Library/WebObjects/Extensions/axis-ant.jar
    > /Library/WebObjects/Extensions/axis.jar
    > /Library/WebObjects/Extensions/commons-discovery.jar
    > /Library/WebObjects/Extensions/commons-logging.jar
    > /Library/WebObjects/Extensions/jaxrpc.jar
    > /Library/WebObjects/Extensions/log4j-1.2.4.jar
    > /Library/WebObjects/Extensions/log4j-1.2.8.jar
    > /Library/WebObjects/Extensions/logkit-1.0.1.jar
    > /Library/WebObjects/Extensions/saaj.jar
    > /Library/WebObjects/Extensions/servlet.jar
    > /Library/WebObjects/Extensions/wsdl4j.jar
    > /Library/WebObjects/Extensions/
    > No ERX_MARKER field in NSMutableArray found.
    > This means your class path is incorrect. Adjust it so that
    > ERExtensions come before JavaFoundation.
    >
    > Anybody taking pity on me?
    >
    > JPM
    >
    >
    > Le 27 mars 07 à 12:09, Jean Pierre Malrieu a écrit :
    >
    >> My applications no longer (after updating Wonder?) start in
    >> deployment because of a classpath ordering problem:
    >> ERExtensions must be before JavaFoundation. If I modify the
    >> classpath in the .txt files in the .woa bundle, the apps start.
    >> I must confess I am unable to modify the classpath ordering in
    >> Eclipse... I have looked at the "order and export" panel for the
    >> Java Build Path, but it does not let me reorder ERExtensions
    >> relative to JavaFoundation.
    >>
    >> Where do I have to look to change the how the claspath is
    >> generated? Do I have to fiddle with build.xml?
    >>
    >> Thanks.
    >>
    >> JPM
    >>
    >>
    >
    >

    -- 
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Wed Mar 28 2007 - 13:43:54 EDT