Skip to Content
0
Former Member
Mar 11, 2005 at 12:29 PM

Where to place global java libraries for message mappings?

101 Views

Hello,

during my message mappings i have to lookup some values from r3. Therefore i have created a RFC Funktion on R3 and developed a java archive (using the generated proxy classes created by the SAP Enterpise Connector wizard) to access the RFC. As the classes should be shared across several applications i think they should be placed at a global place (where the classloader of the WebAS can pick them up for all applications).

Now my question is:

Where/how do i place the jar(s)?

I have already tried the following (using Netweaver Developer Studio):

1.) Created a Library Project (including my jar) -> ok.

2.) Deployed on the server using IDE -> ok.

3.) Created a user defined funktion within my message mapping an try to use one of my classes of the deployed library -> ERROR !!!!! -> Cannot resolve symbol MyClass ...

4.) Created a Ear and Web Project to test the availability of my classes in Ear projects -> when i use one of my classes within a jsp it works fine!

Whats going wrong within the message mapping? It seems the classes are available on the server?

Thanks

Peter