Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Deploy failure on Glassfish 3.x : jsp compiler error : package org.ejbca.config does not exist

Linus Kamb
  • Linus Kamb
    Linus Kamb

    I am trying to deploy 4.0.16 on Glassfish 3.1.2 open source edition on OSX 10.8.5 with java 1.7

    % ant build seems to work ok. There are some java version warnings, but the .ear file is produced, however

    % ant deploy produces a whole pile of the errors below (strange formatting is straight from the output):

    Any ideas ?


    17:24:12 : glassfish $ bin/asadmin deploy --precompilejsp ~/workspace/ejbca_4_0_16/dist/ejbca.ear
    remote failure: Unknown plain text format. A properly formatted response from a PlainTextActionReporter
    always starts with one of these 2 strings: PlainTextActionReporterSUCCESS or PlainTextActionReporterFAILURE. The response we received from the server was not understood: Signature-Version: 1.0
    message: Error occurred during deployment: Exception while preparing t
    he app : JSP Compilation Error: org.apache.jasper.JasperException: PW
    C6033: Error in Javac compilation for JSP

    PWC6197: A
    n error occurred at line: 5 in the jsp file: /header.jsp
    199: Generated servlet error:
    package org.ejbca.config does n
    ot exist

    PWC6197: An error occurred at line: 5 in th
    e jsp file: /header.jsp
    PWC6199: Generated servlet error:%%%E
    OL%%%package org.ejbca.ui.web does not exist

    : An error occurred at line: 12 in the jsp file: /header.jsp

  • Linus Kamb
    Linus Kamb

    Well, yes, I have looked at that. It says it has been tested and works on GFv2. It explicitly says some systems don't work. It says nothing about GF3. It also says it "should" in theory run on any JEE5 compliant app server, but it points out that is not necessarily true.

    It also mentions needing Java 6.

    So, perhaps it doesn't run on Java 7? Or it doesn't run on GF3? Or it hasn't been tested and therefore I'm on my own?

  • I have at least never heard anyone running EJBCA 4 on GF 3. it probably does not run with java 7. EJBCA 6, later this year,will run on java 7 and jboss 7, and at least have a theoretical chance of running on GF 3.

    So in short, to make it run in your environment currently will require a lot of work (there is more difference between appservers than you think), meaning of course that you're pretty much on your own :-)