Showing results for 
Search instead for 
Did you mean: 

Deployment to J2EE server

Former Member
0 Kudos

Hi all,

I've just got a simple problem. I'm running a Java servlet on the SAP J2EE Engine, which uses the BI Java SDK to connect to a BW system. This works fine if I include all jar files from the SDK in the project classpath via the "add external jar" button.

However, doing so results in a really big ear file (because all the jar files are included in it) which takes some time to deploy therefore.

I tried to follow the guide How_To_BI_Java_SDK_J2EE_App.pdf, telling me that "the BI Java SDK libraries are required to compile this scenario". My question is now, how do I correctly add/reference these jar files so that they won't be included in the ear file which I have to deploy every time I'm changing the source code?

Thank you very much for your help.

Best regards


Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mathias,

the way to go is:

1. Deploy the BI Java SDK as a library on the server. <a href="">This</a> docu should give you the basic info about how to do it.

2. Set a reference to this library from the servlet's application. You do that in the application-j2ee-engine.xml. This is the <a href="">doc</a> you can refer to.

With this, your servlet should be able to use the BI libs at runtime.

Hope that helps!

Former Member
0 Kudos

Thank you very much for your reply, I'll try that.