on 01-20-2009 1:50 PM
Hi
I did a copy object from 1 software component to another, but when i test it, its throwing an error
D:\usr\sap\PID\DVEBMGS00\j2ee\cluster\server0\.\temp\classpath_resolver\Mapfa653ec0e6f811ddb9c4005056ab0912\source\com\sap\xi\tf\_FunctionalAcknowledgement_to_A_997_ALL_.java:9: package com.seeburger.functions.permstore.impl does not exist import com.seeburger.functions.permstore.impl.*;
But when i go to functions tab, the function is already imported. (pi 7.1)
Please advise
Thanks
com.seeburger.functions.permstore.impl must be 3rd party library, right?
You see import statement in the function, it only mean the java class wants to use the classes, but does not mean the java classes (jar file) is physically included in the SWC. So you have to upload or deploy (depends on how your java function is developed) the 3rd jar files into your new SWC. To be more precise, you need to tell how your java function is developed.
Jayson
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i just re-did the entire copying with dependent objects ,still its not happening.
hey jayson
whatever has to be imported has been imported. But still..
Thanks
Edited by: Saiyog Gonsalves on Jan 20, 2009 4:03 PM
Edited by: Saiyog Gonsalves on Jan 20, 2009 4:40 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you checked followoing? what is your finding? are the Archives used the same in your original MM and the new MM?
In you MM editor of your original SWC, in Functions tab, click on the Archives Used to see if any impoted archives are used. If yes, check if those are also included in your new SWC in the tab Archives Used.
Very strange. If you don't specify the 3rd party library over there, you should get syntax error in your mapping udf which refers to the 3rd party java classes. Maybe the 3rd party lib is deployed to your java AS and your original SWC has dependency on the lib. Can you check in your SLD about the dependency of your original SWC? Goto sld, find the SWC, click on the tab Dependencies to see if any specified. If yes, do the same for your new SWC
Jayson
Check the following:
1) Did you copy using the "all dependant objects" feature ?
2) Check whether the SeeXIFunctions and SeeXICommonCollection archives are available in the NEW SWC !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are no external java programs written. its just that there are some UDF's written and are using this
com.seeburger.functions.permstore.impl.*;
Note: Whatever had to be imported in the imported archives has been imported.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jayson
When i do a copy object of my mapping, it automatically copies all the imported functions and libraries.
In my function tab, in the imported packages, its displaying
com.seeburger.functions.permstore.impl.*;
But when i test it, its showing it does not exist.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Saiyog
as said, In my function tab, in the imported packages, its displaying
com.seeburger.functions.permstore.impl. it only means it need to use the specified package. However to use it you have to make the package physically available by uploading the jar.
I guess you use it in you mapping, right? In you MM editor of your original SWC, in Functions tab, click on the Archives Used to see if any impoted archives are used. If yes, check if those are also included in your new SWC in the tab Archives Used.
Jayson
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.