cancel
Showing results for 
Search instead for 
Did you mean: 

External library use within the EP6 framework

Former Member
0 Kudos

hi all,

we are trying to make use of an external java lib (.jar)

this lib is quite big, like 6mb

We tried to set a modified classpath in the go_loop.bat start file. it is supposed to point the folder where we have our .jar file somewhere on the server (equivalent to configuring the portal through the use of the j2ee server config tool)

the error we have is quite interesting : the dispatcher fails to start ! (and therefore the portal remains silent)

What we did in order to get convinced that our jar is for nothing in this problem, is that we placed it as a reference in our iview code : and it works...

has anyone an idea about this ?

that we be a pity to be forced to have ext ref in iview code as some jar are too big for this.

thanks a lot

Accepted Solutions (1)

Accepted Solutions (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Alexandre,

you have to put the jar into the additional-lib directory, define it within library.txt and set a reference to irj application.

For details, see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/administr... manual.pdf pages 106-111.

Hope it helps

Detlev

Former Member
0 Kudos

thanks indeed Detlev.

I already did exactly what was written in the manual.

I indeed the reference to IRJ application

the problem is that it seems our *.jar is kind of not recognised by the portal as it REMOVES it from the additional-lib folder where they were located prior to reboot.

after reboot of J2EE, the server starts allright but with no reference available (files and additional lines have dissapeared from the lib and ref .txt files)

Our idea is that our jar contains manifest files (this might be a pb ?)

or because we have to also place in the cmdline.properties a reference to a DLL used by those jar

(layer from jar client to database)

is there any way to gather the jar references AND Dll in the same lib and ref.txt files ?

we don't have enough log to understand what is going on : what would you suggest.

detlev_beutner
Active Contributor
0 Kudos

Hi Alexandre,

see

Hope it helps

Detlev

Answers (0)