cancel
Showing results for 
Search instead for 
Did you mean: 

PDF Action Blocks in SAP MII 12.1.8

Former Member
0 Kudos

Hi Guys,


I am currently working on the PDF custom action block part. I use MII 12.1.8 version.


1. I have deployed all the dependency jars like PDFActions.Jar, iText.Jar (olderversion) and iTextAsian.jar. PDF Action blocks are generated properly in the server but not in the client.   


2. In the client i tried creating the zip file named CustomActionJar and the zip file has all the dependencies which is mentioned in my 1st point. but it is not getting deployed. It shows the error message like "Assembly File Catalog.xml" is missing. Once i got this error i got the xml content of Catalog.xml from google and so i put that xml content in the notepad, saved it as "Catalog.xml". But still the custom jars are not getting deployed. Now the error changed to Assembly File "PDFActions.jar" is missing.


Could anyone please suggest what is missing??


Thanks

Praveen

View Entire Topic
Former Member
0 Kudos

Hi Praveen,

For deploying PDF Custom action block, cross verify with below steps

Note* its after SAP MII 12.1 SP01 Patch 2

1. Download and unzip the attached pdfactions.zip file to your local machine.

2. Obtain version 1.4.5. of the third-party iText.jar and iTextAsian.jar, from

http://www.lowagie.com/iText/download.html and save to your local machine.

3.  Rename the files iText.jar and iTextAsian.jar making sure to match the noted case.

4. Open a browser window and navigate to the SAP xMII Administration

Menu at http://<server>:<port>/XMII/Menu.jsp.

5. On the SAP xMII Administration Menu, choose System Management -> Custom Actions.The

Custom Actions screen appears.

6. To upload the .jar files to SAP xMII, click Upload. PDFActions.jar is the assembly .jar file, and iText.jar and/or iTextAsian.jar are the dependency .jar files. For more information on uploading and deploying the files, click Help.

And as you said, its successfully deployed in Server but not in client system.

1. Validate Java Version in both system

2. cross verify File Paths of folders


Go through below posts:

Can you explain more about your client system


Regards,

Praveen Reddy

Former Member
0 Kudos

My Suggestion,

1. Remove all deployed .jar files

2. Restart SAP MII server if possible

3. Clear the Java Console, browser history in client system

4. Restart client system.

5. Again deploy freshly as per above steps

hope it will work. And if you face any issue or popup error, or Java console error while deploying, let us know.

Go through this post as well

Regards,

Praveen Reddy

Former Member
0 Kudos

Praveen Reddy,

we hav tried all your suggestions and also the link suggested by you where they have asked everyone to zip the jar files before the deployment. we did it by zipping and also by unzipping it to a separate ones but doesn't help. we did not get any console error as well.

This time we restarted our server also but same issues..

Please let me know if anyother steps u wanna suggest.

Thanks

Praveen

Former Member
0 Kudos

Hi Praveen,

Please goto Java console and enable the debugger and save it. Then close all the browser after clearing cache and then  try to open workbench in a new browser. Please give it a try.

Former Member
0 Kudos

Hi Mahesh,

Here is my console

Java Web Start 1.5.0_22

Using JRE version 1.5.0_22 Java HotSpot(TM) Client VM

User home directory = C:\Users\chukkam

-------------------------------------

  --------------------------------------------------

 

ConsoleLogger::Creating NEW instance...

ConsoleLogger::Debug is false

WARN - Could Not Load Muffins, Using Defaults:
C:\Users\chukkam\AppData\LocalLow\Sun\Java\Deployment\cache\javaws\muffins\http\D10.100.133.83\P50000\DMXMII\DMCMSLogicEditor\PULookAndFeel
(The system cannot find the file specified)

<<< frog.jar: version 7.20.7 10/31/07 sap.theme:
Tradeshow >>>

ERROR - error Creating Component :
PDFDocument/com.sap.mii.actions.pdf.PDFActions : com.sap.mii.actions.pdf.PDFActions

ERROR - error Creating Component :
PDFTable/com.sap.mii.actions.pdf.PDFActions :
com.sap.mii.actions.pdf.PDFActions

ERROR - error Creating Component :
PDFImage/com.sap.mii.actions.pdf.PDFActions : com.sap.mii.actions.pdf.PDFActions

ERROR - error Creating Component :
PDFBarcode/com.sap.mii.actions.pdf.PDFActions :
com.sap.mii.actions.pdf.PDFActions

ERROR - error Creating Component :
PDFHorizontalLine/com.sap.mii.actions.pdf.PDFActions :
com.sap.mii.actions.pdf.PDFActions

ERROR - error Creating Component :
PDFText/com.sap.mii.actions.pdf.PDFActions : com.sap.mii.actions.pdf.PDFActions

ERROR - error Creating Component :
PDFPage/com.sap.mii.actions.pdf.PDFActions : com.sap.mii.actions.pdf.PDFActions

ERROR - error Creating Component : PDFDocument/com.sap.mii.actions.pdf.PDFActions
: com.sap.mii.actions.pdf.PDFActions

ERROR - error Creating Component :
PDFTable/com.sap.mii.actions.pdf.PDFActions :
com.sap.mii.actions.pdf.PDFActions

ERROR - error Creating Component : PDFImage/com.sap.mii.actions.pdf.PDFActions
: com.sap.mii.actions.pdf.PDFActions

ERROR - error Creating Component :
PDFBarcode/com.sap.mii.actions.pdf.PDFActions :
com.sap.mii.actions.pdf.PDFActions

ERROR - error Creating Component :
PDFHorizontalLine/com.sap.mii.actions.pdf.PDFActions :
com.sap.mii.actions.pdf.PDFActions

ERROR - error Creating Component :
PDFText/com.sap.mii.actions.pdf.PDFActions : com.sap.mii.actions.pdf.PDFActions

ERROR - error Creating Component :
PDFPage/com.sap.mii.actions.pdf.PDFActions : com.sap.mii.actions.pdf.PDFActions