Can you check if you are building with JDK6. I think Dinesh had run into
similar issues with JDK 6
Regards,
Bhakti
Pramod Gopinath wrote:
> I have tried the following steps in an effort to do a full build of
> GlassFish V2 build on my Solaris x86 box :
>
> mkdir 01162008
> cd 01162008
> cvs -d :pserver:<userid>@cvs.dev.java.net:/cvs checkout -r
> SJSAS91_UR1_BRANCH glassfish/bootstrap
> pushd glassfish/bootstrap/
> maven checkout bootstrap-all build
>
>
> And get the following errors :
>
>
> [java] compile:
> [java] [javac] Compiling 242 source files to
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/build/classes
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathFactory.java:41:
> warning: com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl is
> Sun proprietary API and may be removed in a future release
> [java] [javac] import
> com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl;
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathFactory.java:50:
> warning: com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl is
> Sun proprietary API and may be removed in a future release
> [java] [javac] public class JSTLXPathFactory extends
> XPathFactoryImpl {
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:49:
> warning: com.sun.org.apache.xml.internal.dtm.DTM is Sun proprietary
> API and may be removed in a future release
> [java] [javac] import com.sun.org.apache.xml.internal.dtm.DTM;
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:51:
> warning: com.sun.org.apache.xpath.internal.objects.XObject is Sun
> proprietary API and may be removed in a future release
> [java] [javac] import
> com.sun.org.apache.xpath.internal.objects.XObject;
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:52:
> warning: com.sun.org.apache.xpath.internal.res.XPATHErrorResources is
> Sun proprietary API and may be removed in a future release
> [java] [javac] import
> com.sun.org.apache.xpath.internal.res.XPATHErrorResources;
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:53:
> warning: com.sun.org.apache.xalan.internal.res.XSLMessages is Sun
> proprietary API and may be removed in a future release
> [java] [javac] import
> com.sun.org.apache.xalan.internal.res.XSLMessages;
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:87:
> warning: com.sun.org.apache.xpath.internal.jaxp.JAXPPrefixResolver is
> Sun proprietary API and may be removed in a future release
> [java] [javac] private
> com.sun.org.apache.xpath.internal.jaxp.JAXPPrefixResolver prefixResolver;
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:215:
> warning: com.sun.org.apache.xpath.internal.objects.XObject is Sun
> proprietary API and may be removed in a future release
> [java] [javac] private XObject eval(String expression,
> Object contextItem)
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:333:
> warning: com.sun.org.apache.xpath.internal.objects.XObject is Sun
> proprietary API and may be removed in a future release
> [java] [javac] private Object getResultAsType( XObject
> resultObject, QName returnType )
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java:57:
> org.apache.taglibs.standard.tag.common.sql.DataSourceWrapper is not
> abstract and does not override abstract method
> isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper
> [java] [javac] public class DataSourceWrapper implements
> DataSource {
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:113:
> warning: com.sun.org.apache.xpath.internal.res.XPATHErrorResources is
> Sun proprietary API and may be removed in a future release
> [java] [javac]
> XPATHErrorResources.ER_ARG_CANNOT_BE_NULL,
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:112:
> warning: com.sun.org.apache.xalan.internal.res.XSLMessages is Sun
> proprietary API and may be removed in a future release
> [java] [javac] String fmsg =
> XSLMessages.createXPATHMessage(
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:137:
> warning: com.sun.org.apache.xpath.internal.res.XPATHErrorResources is
> Sun proprietary API and may be removed in a future release
> [java] [javac]
> XPATHErrorResources.ER_ARG_CANNOT_BE_NULL,
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:136:
> warning: com.sun.org.apache.xalan.internal.res.XSLMessages is Sun
> proprietary API and may be removed in a future release
> [java] [javac] String fmsg =
> XSLMessages.createXPATHMessage(
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:161:
> warning: com.sun.org.apache.xpath.internal.res.XPATHErrorResources is
> Sun proprietary API and may be removed in a future release
> [java] [javac]
> XPATHErrorResources.ER_ARG_CANNOT_BE_NULL,
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:160:
> warning: com.sun.org.apache.xalan.internal.res.XSLMessages is Sun
> proprietary API and may be removed in a future release
> [java] [javac] String fmsg =
> XSLMessages.createXPATHMessage(
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:166:
> warning: com.sun.org.apache.xpath.internal.jaxp.JAXPPrefixResolver is
> Sun proprietary API and may be removed in a future release
> [java] [javac] this.prefixResolver = new
> com.sun.org.apache.xpath.internal.jaxp.JAXPPrefixResolver ( nsContext );
> [java]
> [javac]
> ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:217:
> warning: com.sun.org.apache.xpath.internal.XPath is Sun proprietary
> API and may be removed in a future release
> [java] [javac] com.sun.org.apache.xpath.internal.XPath
> xpath = new com.sun.org.apache.xpath.internal.XPath( expression,
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:217:
> warning: com.sun.org.apache.xpath.internal.XPath is Sun proprietary
> API and may be removed in a future release
> [java] [javac] com.sun.org.apache.xpath.internal.XPath
> xpath = new com.sun.org.apache.xpath.internal.XPath( expression,
> [java]
> [javac]
> ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:218:
> warning: com.sun.org.apache.xpath.internal.XPath is Sun proprietary
> API and may be removed in a future release
> [java] [javac] null, prefixResolver,
> com.sun.org.apache.xpath.internal.XPath.SELECT );
> [java]
> [java] BUILD FAILED
> [java]
> [javac]
> ^
> [java]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/build.xml:142:
> Compile failed; see the compiler error output for details.
> [java]
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:219:
> warning: com.sun.org.apache.xpath.internal.XPathContext is Sun
> proprietary API and may be removed in a future release
> [java] [javac]
> com.sun.org.apache.xpath.internal.XPathContext xpathSupport = null;
> [java] Total time: 4 seconds
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:221:
> warning: com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider
> is Sun proprietary API and may be removed in a future release
> [java] [javac]
> com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider jep =
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:222:
> warning: com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider
> is Sun proprietary API and may be removed in a future release
> [java] [javac] new
> com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider(
> [java]
> [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:224:
> warning: com.sun.org.apache.xpath.internal.XPathContext is Sun
> proprietary API and may be removed in a future release
> [java] [javac] xpathSupport = new
> com.sun.org.apache.xpath.internal.XPathContext( jep );
> [java]
> [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:226:
> warning: com.sun.org.apache.xpath.internal.XPathContext is Sun
> proprietary API and may be removed in a future release
> [java] [javac] xpathSupport = new
> com.sun.org.apache.xpath.internal.XPathContext();
> [java]
> [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:229:
> warning: com.sun.org.apache.xpath.internal.objects.XObject is Sun
> proprietary API and may be removed in a future release
> [java] [javac] XObject xobj = null;
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:231:
> warning: com.sun.org.apache.xpath.internal.jaxp.JAXPVariableStack is
> Sun proprietary API and may be removed in a future release
> [java] [javac] xpathSupport.setVarStack(new
> com.sun.org.apache.xpath.internal.jaxp.JAXPVariableStack(variableResolver));
> [java]
> [javac]
> ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:238:
> warning: com.sun.org.apache.xml.internal.dtm.DTM is Sun proprietary
> API and may be removed in a future release
> [java] [javac] xobj = xpath.execute (
> xpathSupport, DTM.NULL, prefixResolver );
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:279:
> warning: com.sun.org.apache.xpath.internal.res.XPATHErrorResources is
> Sun proprietary API and may be removed in a future release
> [java] [javac]
> XPATHErrorResources.ER_ARG_CANNOT_BE_NULL,
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:278:
> warning: com.sun.org.apache.xalan.internal.res.XSLMessages is Sun
> proprietary API and may be removed in a future release
> [java] [javac] String fmsg =
> XSLMessages.createXPATHMessage(
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:285:
> warning: com.sun.org.apache.xpath.internal.res.XPATHErrorResources is
> Sun proprietary API and may be removed in a future release
> [java] [javac]
> XPATHErrorResources.ER_ARG_CANNOT_BE_NULL,
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:284:
> warning: com.sun.org.apache.xalan.internal.res.XSLMessages is Sun
> proprietary API and may be removed in a future release
> [java] [javac] String fmsg =
> XSLMessages.createXPATHMessage(
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:293:
> warning: com.sun.org.apache.xpath.internal.res.XPATHErrorResources is
> Sun proprietary API and may be removed in a future release
> [java] [javac]
> XPATHErrorResources.ER_UNSUPPORTED_RETURN_TYPE,
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:292:
> warning: com.sun.org.apache.xalan.internal.res.XSLMessages is Sun
> proprietary API and may be removed in a future release
> [java] [javac] String fmsg =
> XSLMessages.createXPATHMessage(
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:300:
> warning: com.sun.org.apache.xpath.internal.objects.XObject is Sun
> proprietary API and may be removed in a future release
> [java] [javac] XObject resultObject = eval(
> expression, item );
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:359:
> warning: com.sun.org.apache.xpath.internal.objects.XNodeSet is Sun
> proprietary API and may be removed in a future release
> [java] [javac] if (resultObject instanceof
> com.sun.org.apache.xpath.internal.objects.XNodeSet)
> [java]
> [javac]
> ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:365:
> warning: com.sun.org.apache.xpath.internal.res.XPATHErrorResources is
> Sun proprietary API and may be removed in a future release
> [java] [javac]
> XPATHErrorResources.ER_UNSUPPORTED_RETURN_TYPE,
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:364:
> warning: com.sun.org.apache.xalan.internal.res.XSLMessages is Sun
> proprietary API and may be removed in a future release
> [java] [javac] String fmsg =
> XSLMessages.createXPATHMessage(
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:423:
> warning: com.sun.org.apache.xpath.internal.res.XPATHErrorResources is
> Sun proprietary API and may be removed in a future release
> [java] [javac]
> XPATHErrorResources.ER_ARG_CANNOT_BE_NULL,
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:422:
> warning: com.sun.org.apache.xalan.internal.res.XSLMessages is Sun
> proprietary API and may be removed in a future release
> [java] [javac] String fmsg =
> XSLMessages.createXPATHMessage(
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:478:
> warning: com.sun.org.apache.xpath.internal.res.XPATHErrorResources is
> Sun proprietary API and may be removed in a future release
> [java] [javac]
> XPATHErrorResources.ER_ARG_CANNOT_BE_NULL,
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:477:
> warning: com.sun.org.apache.xalan.internal.res.XSLMessages is Sun
> proprietary API and may be removed in a future release
> [java] [javac] String fmsg =
> XSLMessages.createXPATHMessage(
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:484:
> warning: com.sun.org.apache.xpath.internal.res.XPATHErrorResources is
> Sun proprietary API and may be removed in a future release
> [java] [javac]
> XPATHErrorResources.ER_ARG_CANNOT_BE_NULL,
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:483:
> warning: com.sun.org.apache.xalan.internal.res.XSLMessages is Sun
> proprietary API and may be removed in a future release
> [java] [javac] String fmsg =
> XSLMessages.createXPATHMessage(
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:490:
> warning: com.sun.org.apache.xpath.internal.res.XPATHErrorResources is
> Sun proprietary API and may be removed in a future release
> [java] [javac]
> XPATHErrorResources.ER_ARG_CANNOT_BE_NULL,
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:489:
> warning: com.sun.org.apache.xalan.internal.res.XSLMessages is Sun
> proprietary API and may be removed in a future release
> [java] [javac] String fmsg =
> XSLMessages.createXPATHMessage(
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:499:
> warning: com.sun.org.apache.xpath.internal.res.XPATHErrorResources is
> Sun proprietary API and may be removed in a future release
> [java] [javac]
> XPATHErrorResources.ER_UNSUPPORTED_RETURN_TYPE,
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:498:
> warning: com.sun.org.apache.xalan.internal.res.XSLMessages is Sun
> proprietary API and may be removed in a future release
> [java] [javac] String fmsg =
> XSLMessages.createXPATHMessage(
> [java] [javac] ^
> [java] [javac]
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl.java:508:
> warning: com.sun.org.apache.xpath.internal.objects.XObject is Sun
> proprietary API and may be removed in a future release
> [java] [javac] XObject resultObject = eval(
> expression, document );
> [java] [javac] ^
> [java] [javac] Note:
> /export/home/appServerCode/01162008/glassfish/appserv-jstl/src/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java
> uses or overrides a deprecated API.
> [java] [javac] Note: Recompile with -Xlint:deprecation for
> details.
> [java] [javac] Note: Some input files use unchecked or unsafe
> operations.
> [java] [javac] Note: Recompile with -Xlint:unchecked for details.
> [java] [javac] 1 error
> [java] [javac] 48 warnings
> [java] [ERROR] Java Result: 1
>
> BUILD FAILED
> File......
> /export/home/appServerCode/01162008/glassfish/bootstrap/maven.xml
> Element... maven:reactor
> Line...... 264
> Column.... 40
> Unable to obtain goal [build-pe] --
> /export/home/appServerCode/01162008/glassfish/bootstrap/../../glassfish/bootstrap/maven.xml:644:28:
> <fail> No message
>
> How can I fix this ?
>
> Thanks
> Pramod