3 Replies Latest reply on Nov 18, 2011 6:05 AM by mreasy

    Problem with JBoss build

    krecker

      Hi,

       

      I'm a very beginner with JBoss.

       

      I downloaded JBoss distribution from http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_4_0_3/ (using tortoise svn) and then I started build from \build\build.bat. Command line says:

       

       

      D:\JBoss\server\src\main\org\jboss\ejb\EjbModule.java:77: warning: unmappable character for encoding

      Cp1250

      * @author <a href="mailto:rickard.oberg@telkel.com">Rickard ├?┬ľberg</a>

                                                                    ^

      D:\JBoss\server\src\main\org\jboss\ejb\EnterpriseContext.java:39: warning: [deprecation] java.securi

      ty.Identity in java.security has been deprecated

      import java.security.Identity;

                          ^

      D:\JBoss\server\src\main\org\jboss\deployment\EARDeployer.java:235: warning: [deprecation] toURL() i

      n java.io.File has been deprecated

                        sub = new DeploymentInfo(f.toURL(), di, getServer());

                                                  ^

      D:\JBoss\server\src\main\org\jboss\ejb\plugins\cmp\jdbc\ByteArrayBlob.java:31: org.jboss.ejb.plugins

      .cmp.jdbc.ByteArrayBlob is not abstract and does not override abstract method getBinaryStream(long,l

      ong) in java.sql.Blob

      public final class ByteArrayBlob implements Blob

                   ^

      D:\JBoss\server\src\main\org\jboss\security\plugins\NoAccessSecurityManager.java:54: warning: [depre

      cation] getActiveSubject() in org.jboss.security.AuthenticationManager has been deprecated

          public Subject getActiveSubject()

                         ^

      D:\JBoss\server\src\main\org\jboss\security\plugins\NullSecurityManager.java:55: warning: [deprecati

      on] getActiveSubject() in org.jboss.security.AuthenticationManager has been deprecated

          public Subject getActiveSubject()

                         ^

      D:\JBoss\server\src\main\org\jboss\verifier\Main.java:76: warning: [deprecation] toURL() in java.io.

      File has been deprecated

               URL url = new File(args[0]).toURL();

                                          ^

      D:\JBoss\server\src\main\org\jboss\web\AbstractWebContainer.java:308: warning: [deprecation] toURL()

      in java.io.File has been deprecated

                  di.localUrl = expWarFile.toURL();

                                          ^

      1 error

      7 warnings

       

      Can anybody help me?

       

      I doubt I have to repair org.jboss.ejb.plugins.cmp.jdbc.ByteArrayBlob manually. Where is a mistake?

       

      Thaks a lot for a help.