Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-2256

cmpHttpProxy does not build

    Details

    • Type: Bug
    • Status: Close Issue
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: EJBCA 4.0.0, EJBCA 4.0.1, EJBCA 4.0.2, EJBCA 4.0.3
    • Fix Version/s: EJBCA 4.0.4
    • Component/s: None
    • Labels:
      None
    • Environment:
      RedHat 5.6, tomcat6, openjdk 1.6 jboss 5.1.0-eap

      Description

      $ ant cmpHttpProxy
      Buildfile: /home/markus/VersionControlled/ejbca/ejbca-branch40/build.xml
      [echo] No custom changes to merge.
      [echo] appserver.home: /opt/jboss-5.1.0.GA
      [echo] appserver.type: jboss

      cmpHttpProxy:

      cmpHttpProxy:

      prepare:

      compile:
      [javac] Compiling 1 source file to /home/markus/VersionControlled/ejbca/ejbca-branch40/modules/cmpProxy/build-http/WEB-INF/classes
      [javac] /home/markus/VersionControlled/ejbca/ejbca-branch40/modules/cmpProxy/src/org/ejbca/ui/web/protocol/CmpProxyServlet.java:38: package org.ejbca.core.model does not exist
      [javac] import org.ejbca.core.model.InternalResources;
      [javac] ^
      [javac] /home/markus/VersionControlled/ejbca/ejbca-branch40/modules/cmpProxy/src/org/ejbca/ui/web/protocol/CmpProxyServlet.java:42: cannot find symbol
      [javac] symbol : class LimitLengthASN1Reader
      [javac] location: package org.ejbca.ui.web
      [javac] import org.ejbca.ui.web.LimitLengthASN1Reader;
      [javac] ^
      [javac] /home/markus/VersionControlled/ejbca/ejbca-branch40/modules/cmpProxy/src/org/ejbca/ui/web/protocol/CmpProxyServlet.java:53: cannot find symbol
      [javac] symbol : class InternalResources
      [javac] location: class org.ejbca.ui.web.protocol.CmpProxyServlet
      [javac] private static final InternalResources intres = InternalResources.getInstance();
      [javac] ^
      [javac] /home/markus/VersionControlled/ejbca/ejbca-branch40/modules/cmpProxy/src/org/ejbca/core/protocol/cmp/CMPSendHTTP.java:22: package org.ejbca.core.model does not exist
      [javac] import org.ejbca.core.model.InternalResources;
      [javac] ^
      [javac] /home/markus/VersionControlled/ejbca/ejbca-branch40/modules/cmpProxy/src/org/ejbca/core/protocol/cmp/CMPSendHTTP.java:23: cannot find symbol
      [javac] symbol : class LimitLengthASN1Reader
      [javac] location: package org.ejbca.ui.web
      [javac] import org.ejbca.ui.web.LimitLengthASN1Reader;
      [javac] ^
      [javac] /home/markus/VersionControlled/ejbca/ejbca-branch40/modules/cmpProxy/src/org/ejbca/core/protocol/cmp/CMPSendHTTP.java:34: cannot find symbol
      [javac] symbol : class InternalResources
      [javac] location: class org.ejbca.core.protocol.cmp.CMPSendHTTP
      [javac] private static final InternalResources intres = InternalResources.getInstance();
      [javac] ^
      [javac] /home/markus/VersionControlled/ejbca/ejbca-branch40/modules/cmpProxy/src/org/ejbca/ui/web/protocol/CmpProxyServlet.java:53: cannot find symbol
      [javac] symbol : variable InternalResources
      [javac] location: class org.ejbca.ui.web.protocol.CmpProxyServlet
      [javac] private static final InternalResources intres = InternalResources.getInstance();
      [javac] ^
      [javac] /home/markus/VersionControlled/ejbca/ejbca-branch40/modules/cmpProxy/src/org/ejbca/ui/web/protocol/CmpProxyServlet.java:90: cannot find symbol
      [javac] symbol : class LimitLengthASN1Reader
      [javac] location: class org.ejbca.ui.web.protocol.CmpProxyServlet
      [javac] message = new LimitLengthASN1Reader(sin, servletReq.getContentLength()).readObject();
      [javac] ^
      [javac] /home/markus/VersionControlled/ejbca/ejbca-branch40/modules/cmpProxy/src/org/ejbca/core/protocol/cmp/CMPSendHTTP.java:34: cannot find symbol
      [javac] symbol : variable InternalResources
      [javac] location: class org.ejbca.core.protocol.cmp.CMPSendHTTP
      [javac] private static final InternalResources intres = InternalResources.getInstance();
      [javac] ^
      [javac] /home/markus/VersionControlled/ejbca/ejbca-branch40/modules/cmpProxy/src/org/ejbca/core/protocol/cmp/CMPSendHTTP.java:67: cannot find symbol
      [javac] symbol : class LimitLengthASN1Reader
      [javac] location: class org.ejbca.core.protocol.cmp.CMPSendHTTP
      [javac] final byte response[] = new LimitLengthASN1Reader(in, con.getContentLength()).readObject().getDEREncoded();
      [javac] ^
      [javac] 10 errors

      BUILD FAILED
      /home/markus/VersionControlled/ejbca/ejbca-branch40/build.xml:705: The following error occurred while executing this line:
      /home/markus/VersionControlled/ejbca/ejbca-branch40/modules/build.xml:119: The following error occurred while executing this line:
      /home/markus/VersionControlled/ejbca/ejbca-branch40/modules/cmpProxy/build-http.xml:172: Compile failed; see the compiler error output for details.

      Total time: 2 seconds

        Attachments

          Activity

            People

            Assignee:
            markus Markus KilÄs
            Reporter:
            joonas Joonas Tizihssane
            Verified by:
            Tomas Gustavsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: