Skip to Content
avatar image
Former Member

Runtime reference for jxl classes

Hi,

I am facing a problem regarding J2EE server Library Component.

1. I have created External Library component

2. Added following 3 jar files in the library folder (jxl.jar,Jexcel.jsr,Jexcel-install.jar)

3. Created public parts(API & SDA)

4. Created deployable J2EE server component.

5. Added external library component in the used dcs.

6. Deployed on the server.

7. While checking in the Libraries folder on server (opened configtool), I am not able to see these jar files in the J2EE server component which I have created.

8.Then followed the same procedure and created local components for external library & j2ee server component & deployed J2ee server component through sdm.

9. Now on the server, I am able to see the jar files in the Server library component (which was created locally & not on the NWDI track).

10. What could be the problem..?

11. Other thing I have noticed that in the deflib folder of j2ee server component (created on the track) does not have these 3 jar files whereas local dc has these jar files.

12. alos the .sda file size (for j2ee server component created on track) is only 2kb whereas .sda file size of locally developed dc is around 600 kb.

13. What could be the problem?

14. In The Web dynpro dc added the reference in the library reference

15. At the run time I am getting the exception (jxl.write class not found)

I am using NWDS 7.0.09 (tried with 7.0.15 also) & WAS 7

Software Components all components...

Name Version Applied

sap.com/SAP-JEECOR 7.00 SP12

sap.com/SAP-JEE 7.00 SP9

Need help.

Thanks in advance.

Nilesh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Mar 31, 2009 at 05:11 AM

    Hi

    Let we consider some scenario

    1. It might during runtime it found all the required dependency,but not the compiled classes.Jar classes are compiled classes once defined their uses they start serving to the component.

    when u define the public part of user dc here u go for publish as archive.

    To find this option (Tell me the version of NWDS)

    1.Select your External library Dc(if not then create that)---Under library folder put your jar files ---now select a that jar and right click --under development component --here u will find two option Publish as file and publish as archive select publish as archive and define Public Part for both compilation as well as assembly.

    2 Build this Dc (No need to compile )

    3.Define the uses relation-ship with your WebDynpro Component.

    4.Build both the dc again

    5.Compile and run your Webdynpro Dc only.

    6. In this way Run time will find the physical reference of the used class

    Best Regards'

    Satish Kumar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 31, 2009 at 06:30 AM

    Thanks for reply.

    I am using NWDS 7.0.09. But after selecting jar files, it shows me only one option Add To Public Part. Where is the other option ? (Publish as archieve?)

    Best regards,

    Nilesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 01, 2009 at 12:38 PM

    Hi Nilesh

    I am facing the same problem please give me the solution.

    Thanks,

    Tulasi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 13, 2009 at 04:54 AM

    Resolved Finally,

    Thanks & regards,

    Nilesh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Sanjay

      Can you Please tell me which NWDS version you are working on?

      /people/marion.schlotte/blog/2007/12/19/simplify-dc-structures-for-external-libraries

      Thanks

      Tulasi Palnati

      Edited by: Tulasi Palnati on Jul 8, 2009 11:19 AM