JBoss Community

Need help compiling JBoss Messaging 1.4.8.GA for AS5

created by Johan Hedin in JBoss Messaging Development - View the full discussion

Hi all

 

I have trouble compiling JBoss 1.4.8.GA for AS5. I have set the build.properties to integration.base=AS5. I then do

 

ant clean

 

# lots of download

 

Then

 

johan@localhost ~/tmp/JBossMessaging_1_4_8_GA-AS5 $ ant compile

Buildfile: /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/build.xml

 

 

check.inhibit.downloads:

 

 

createthirdparty:

 

 

compile:

 

 

show.version:

     [echo] ========================================

     [echo] Building 1.4.8.GA for AS5!

     [echo] ========================================

 

 

compile-parsers:

    [mkdir] Created dir: /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/output/gen-parsers/org/jboss/jms/server/selector

     [echo] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/thirdparty/sun-javacc/lib/

   [javacc] Java Compiler Compiler Version 4.0 (Parser Generator)

   [javacc] (type "javacc" with no arguments for help)

   [javacc] Reading from file /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/src/main/org/jboss/jms/server/selector/SelectorParser.jj . . .

   [javacc] Note: UNICODE_INPUT option is specified. Please make sure you create the parser/lexer using a Reader with the correct character encoding.

   [javacc] File "TokenMgrError.java" does not exist.  Will create one.

   [javacc] File "ParseException.java" does not exist.  Will create one.

   [javacc] File "Token.java" does not exist.  Will create one.

   [javacc] File "SimpleCharStream.java" does not exist.  Will create one.

   [javacc] Parser generated successfully.

    [mkdir] Created dir: /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/output/classes

    [javac] Compiling 7 source files to /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/output/classes

    [javac] Note: /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/output/gen-parsers/org/jboss/jms/server/selector/SelectorParser.java uses unchecked or unsafe operations.

    [javac] Note: Recompile with -Xlint:unchecked for details.

 

 

compile-classes:

    [javac] Compiling 362 source files to /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/output/classes

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/ServerConnectionFactoryEndpoint.java:49: cannot find symbol

    [javac] symbol  : class SecurityContext

    [javac] location: package org.jboss.security

    [javac] import org.jboss.security.SecurityContext;

    [javac]                          ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/src/main/org/jboss/messaging/util/JBMExecutor.java:45: warning: [deprecation] org.jboss.messaging.util.NamedThreadQueuedExecutor in org.jboss.messaging.util has been deprecated

    [javac] public class JBMExecutor extends NamedThreadQueuedExecutor

    [javac]                                  ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:31: cannot find symbol

    [javac] symbol  : class SecurityContext

    [javac] location: package org.jboss.security

    [javac] import org.jboss.security.SecurityContext;

    [javac]                          ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:32: cannot find symbol

    [javac] symbol  : class SecurityContextAssociation

    [javac] location: package org.jboss.security

    [javac] import org.jboss.security.SecurityContextAssociation;

    [javac]                          ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:46: cannot find symbol

    [javac] symbol  : class SecurityContext

    [javac] location: class org.jboss.jms.server.container.SecurityActions

    [javac]    static SecurityContext getSecurityContext()

    [javac]           ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:56: cannot find symbol

    [javac] symbol  : class SecurityContext

    [javac] location: class org.jboss.jms.server.container.SecurityActions

    [javac]    static void setSecurityContext(final SecurityContext sc)

    [javac]                                         ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityAspect.java:48: cannot find symbol

    [javac] symbol  : class SecurityContext

    [javac] location: package org.jboss.security

    [javac] import org.jboss.security.SecurityContext;

    [javac]                          ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:31: cannot find symbol

    [javac] symbol  : class SecurityContext

    [javac] location: package org.jboss.security

    [javac] import org.jboss.security.SecurityContext;

    [javac]                          ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:32: cannot find symbol

    [javac] symbol  : class SecurityContextAssociation

    [javac] location: package org.jboss.security

    [javac] import org.jboss.security.SecurityContextAssociation;

    [javac]                          ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:45: cannot find symbol

    [javac] symbol  : class SecurityContext

    [javac] location: class org.jboss.jms.server.endpoint.SecurityActions

    [javac]    static SecurityContext getSecurityContext()

    [javac]           ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:55: cannot find symbol

    [javac] symbol  : class SecurityContext

    [javac] location: class org.jboss.jms.server.endpoint.SecurityActions

    [javac]    static void setSecurityContext(final SecurityContext sc)

    [javac]                                         ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:32: cannot find symbol

    [javac] symbol  : class SecurityContext

    [javac] location: package org.jboss.security

    [javac] import org.jboss.security.SecurityContext;

    [javac]                          ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:33: cannot find symbol

    [javac] symbol  : class SecurityContextAssociation

    [javac] location: package org.jboss.security

    [javac] import org.jboss.security.SecurityContextAssociation;

    [javac]                          ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:34: cannot find symbol

    [javac] symbol  : class SecurityContextFactory

    [javac] location: package org.jboss.security

    [javac] import org.jboss.security.SecurityContextFactory;

    [javac]                          ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:36: cannot find symbol

    [javac] symbol  : class JBossSecurityContext

    [javac] location: package org.jboss.security.plugins

    [javac] import org.jboss.security.plugins.JBossSecurityContext;

    [javac]                                  ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:48: cannot find symbol

    [javac] symbol  : class SecurityContext

    [javac] location: class org.jboss.jms.server.security.SecurityActions

    [javac]    static SecurityContext getSecurityContext()

    [javac]           ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:58: cannot find symbol

    [javac] symbol  : class SecurityContext

    [javac] location: class org.jboss.jms.server.security.SecurityActions

    [javac]    static void setSecurityContext(final SecurityContext sc)

    [javac]                                         ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/src/main/org/jboss/jms/client/container/ClientConsumer.java:81: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated

    [javac]       debug = log.isDebugEnabled();

    [javac]                  ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/ServerConnectionFactoryEndpoint.java:226: cannot find symbol

    [javac] symbol  : class SecurityContext

    [javac] location: class org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint

    [javac]       SecurityContext previousSCtx = SecurityActions.getSecurityContext();

    [javac]       ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/src/main/org/jboss/jms/server/ServerPeer.java:1806: warning: [deprecation] deployXML(java.net.URL,java.lang.ClassLoader) in org.jboss.aop.AspectXmlLoader has been deprecated

    [javac]       AspectXmlLoader.deployXML(url, this.getClass().getClassLoader());

    [javac]                      ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/src/main/org/jboss/jms/server/endpoint/ServerSessionEndpoint.java:146: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated

    [javac]    private boolean debug = log.isDebugEnabled();

    [javac]                               ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:48: cannot find symbol

    [javac] symbol  : class SecurityContext

    [javac] location: class org.jboss.jms.server.container.SecurityActions

    [javac]       return  AccessController.doPrivileged(new PrivilegedAction<SecurityContext>(){

    [javac]                                                                  ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:50: cannot find symbol

    [javac] symbol: class SecurityContext

    [javac]          public SecurityContext run()

    [javac]                 ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:52: cannot find symbol

    [javac] symbol: variable SecurityContextAssociation

    [javac]             return SecurityContextAssociation.getSecurityContext();

    [javac]                    ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:62: cannot find symbol

    [javac] symbol: variable SecurityContextAssociation

    [javac]             SecurityContextAssociation.setSecurityContext(sc);

    [javac]             ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityAspect.java:293: cannot find symbol

    [javac] symbol  : class SecurityContext

    [javac] location: class org.jboss.jms.server.container.SecurityAspect

    [javac]       SecurityContext previousSCtx = SecurityActions.getSecurityContext();

    [javac]       ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:47: cannot find symbol

    [javac] symbol  : class SecurityContext

    [javac] location: class org.jboss.jms.server.endpoint.SecurityActions

    [javac]       return  AccessController.doPrivileged(new PrivilegedAction<SecurityContext>(){

    [javac]                                                                  ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:49: cannot find symbol

    [javac] symbol: class SecurityContext

    [javac]          public SecurityContext run()

    [javac]                 ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:51: cannot find symbol

    [javac] symbol: variable SecurityContextAssociation

    [javac]             return SecurityContextAssociation.getSecurityContext();

    [javac]                    ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:61: cannot find symbol

    [javac] symbol: variable SecurityContextAssociation

    [javac]             SecurityContextAssociation.setSecurityContext(sc);

    [javac]             ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:50: cannot find symbol

    [javac] symbol  : class SecurityContext

    [javac] location: class org.jboss.jms.server.security.SecurityActions

    [javac]       return  AccessController.doPrivileged(new PrivilegedAction<SecurityContext>(){

    [javac]                                                                  ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:52: cannot find symbol

    [javac] symbol: class SecurityContext

    [javac]          public SecurityContext run()

    [javac]                 ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:54: cannot find symbol

    [javac] symbol: variable SecurityContextAssociation

    [javac]             return SecurityContextAssociation.getSecurityContext();

    [javac]                    ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:64: cannot find symbol

    [javac] symbol: variable SecurityContextAssociation

    [javac]             SecurityContextAssociation.setSecurityContext(sc);

    [javac]             ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:158: cannot find symbol

    [javac] symbol: class SecurityContext

    [javac]             SecurityContext context = SecurityContextFactory.createSecurityContext(principal, passwordChars, subject, secDom);

    [javac]             ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:158: cannot find symbol

    [javac] symbol: variable SecurityContextFactory

    [javac]             SecurityContext context = SecurityContextFactory.createSecurityContext(principal, passwordChars, subject, secDom);

    [javac]                                       ^

    [javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:159: cannot find symbol

    [javac] symbol: variable SecurityContextAssociation

    [javac]             SecurityContextAssociation.setSecurityContext(context);

    [javac]             ^

    [javac] Note: Some input files use unchecked or unsafe operations.

    [javac] Note: Recompile with -Xlint:unchecked for details.

    [javac] 33 errors

    [javac] 4 warnings

 

 

BUILD FAILED

/home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/build.xml:69: The following error occurred while executing this line:

/home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/build-messaging.xml:218: Compile failed; see the compiler error output for details.

 

 

Total time: 7 seconds

Reply to this message by going to Community

Start a new discussion in JBoss Messaging Development at Community