Skip to Content

OpenEJBException on deploying a Java application on HCP

Hi all,

I'd like to deploy my Java Backend Application on HCP. After Uploading the status changes to Starting and after a short while there will be a log entry stating that the application couldn't be deployed. When I look into the traces I get the following error:

ERROR#org.eclipse.virgo.web.enterprise.openejb.deployer.VirgoDeployerEjb##anonymous#fs-watcher#na#a2618100a#qpserver#web##Error while deploying application with real path '/usr/sap/ljs/webapps/qp-server' and web context path '/qp-server'org.apache.openejb.OpenEJBException: Unable to create annotation scanner for web module qp-server: while trying to load from index 28506 of a byte (or boolean) array with length 17725, loaded from the first parameter of the method

Does anyone have an idea what is causing this and how to resolve this?
I also checked StackOverflow and the proposed answer of changing jdk 1.8 to 1.7 didn't work.

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 17, 2016 at 07:55 PM

    It seems your application is using OpenEJBs and you maybe using a runtime that doesn't support that. The runtime that supports EJB (lite) is called "SAP HANA Cloud Platform SDK for Java EE 6 Web Profile" You can download this runtime from

    Please keep in mind that this runtime only support the EJB Lite version ( see more here and for differences between EJB 3.1 and EJB 3.1 Lite, see the Java EE 6 specification, JSR 318: Enterprise JavaBeans, section 21.1)



    Add comment
    10|10000 characters needed characters exceeded

    • I wasn't able to completely identify the problem but I did find a solution: instead of manually importing the war file I imported it into eclipse and deployed it from there. That did the trick.