cancel
Showing results for 
Search instead for 
Did you mean: 

Use of External Library error

Former Member
0 Kudos
230

Hi,

I'm using CE7.1 SR3. I have created an external library DC which consists of jar files that are built using jdk 1.4.2_08. There is no error when I do a build on the DC.

However when I add the external library DC as dependency for my application ear DC, the following error is shown:

Processing dependency changes(Time of error:....)

An internal error occurred during "Processing dependency changes". java.lang.NullPointerException

The external library DC is still added into list of dependencies and when I do a build on the application ear DC, the build result has the following warnings:

WARNING: Runtime dependency to "<external library dc>" will be ignored because of an incompatible type.

WARNING: Deploy-time dependency to "<external library dc>" will be ignored because of an incompatible type.

When I try to deploy my ear dc, it gives the following error message:

An error occurred while deploying the deployment item <ear dc> nested exception is: com.sap.engine.services.dc.gd.DeliveryException: ERROR CODE DPL.DC:3297 An error occurred during deployment of sdu id: <ear dc> sdu file path: <ear dc path>

version status: HIGHER

deployment status: Admitted

description: Cannot update it....

....

->Invalid constant pool tag, 60 at index 41.....

....

com.sap.engine.services.deploy.exceptions.ServerDeploymentException: ERROR CODE DPL.DS.5030 Clusterwide exception: server ID ..:com.sap.engine.services.deploy.container.DeploymentException: Unable to create folder c:\usr\sap\CE1\J00\j2ee\cluster\apps\....\EJBContainer\jars.....

....

Can anyone help? Need to resolve it urgently. Thanks.

Regards,

Fui Voon

Accepted Solutions (1)

Accepted Solutions (1)

former_member193769
Active Contributor
0 Kudos

Hi,

You should use JDK 1.5 .

Install JDK 1.5 and then set environmental variables and then re-start the server.

Thanks,

gopal

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Gopal,

Thanks for the advice. I have tried with library that is compiled with jdk1.5 and it can be deployed.

However the external libraries that I need to use in my application are compiled with jdk1.4. I don't have the source code to recompile them. Is there a way that I can use the libraries in my CE application?

Thanks.

Regards,

Fui Voon