on 01-15-2009 10:56 AM
Hi again.
I am still creating a custom action for xMII. (see [the first thread|;).
I got "java.lang.NoClassDefFoundError: org/apache/fop/apps/FOPEception".
So it cannot locate a dependency jar: fop.jar
First to say, I have no physical access to xMII server. So I am only able to upload an actions via web interface: System Management -> Custom Actions -> Upload.
On the popuped upload screen I specify a jar with my action, and list of its dependencies.... One of the dependencies is fop.jar...
What I am doing wrong??? Is there an other way to upload Custom Action (with no direct server access)?
Andrei.
For some reason, the server uploaded the dependencies into "/var/tmp" folder.
So, it looks like xMII wasn't properly configured.
Could someone point me on configuration guide, or provide instruction that I can give to server's administrators?
Andrei.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solved!!!
[Here|https://www.sdn.sap.com/irj/scn/downloads?rid=/webcontent/uuid/e0171f05-98c6-2a10-f5a0-8f2ec79d10a4] [original link is broken]; I found Custom Action Developer Kit, where described how to create and deploy actions.
The main change is an web page deployment (now you can do that without direct access to xMII server).
So, the dependencies should be included into xml config:
<ComponentCatalog>
<Category Name=u201DMy Action Setu201D Description=u201DTest Objectsu201D>
<Component Type=u201DActionu201D Name=u201DMyActionu201D Description=u201Du201D
Label=u201DMy Action Labelu201D ClassName=u201Dtestlab.MyActionu201D
AssemblyName=u201DTestlab.jaru201D *Dependencies=u201DA.jaru201D* HelpFileName=u201Du201C/>
<Component> .. </Component>
</Category>
<Category ..>
..
</Category>
</ComponentCatalog>
Dependencies can be defined as a single Java Archive (JAR) filename or a comma-delimited list
Andrei.
Cleared the cache... nothing
Anyway, each time new action is deployed, new workbench instance loads it from the server. So it is not needed to clear the cache.
Any other ideas?
Andrei.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jeremy, I think so!
-- I upload my jar and its dependencies.
-- Checked it in UI and clicked "deploy" btn.
-- Reloaded my workbench to see new actions.
Do I need some extra steps? Maybe I need to restart the server (somehow)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Before having the NW server instance restarted, try clearing your client workstation's Java Web Start cache to force it to download the refreshed libaries. I would attempt this, especially if the errors you are seeing are isolated to your client's web start console or in the WB.
If the errors are appearing in the NW logs, then perhaps an instance restart is in order.
There are MII forum visitors with significant custom action experience in v12.0, so I will defer to them.
Regards,
Jeremy
Using the web interface from the Menu.jsp is the proper way to upload your custom actions and associated dependency libraries.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.