cancel
Showing results for 
Search instead for 
Did you mean: 

REG:: Error in deploying a DC.

Former Member
0 Kudos

Dear All,

I was able to deploy the application without any errors in NWDS. But when I was deploying the DC, it was giving the following error::

java.lang.ClassNotFoundException: jxl.format.CellFormat -


Loader Info -
ClassLoader name: [axis/portal_dev~dc_cusrep7309_1012]

Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;

service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:

j2eeca library:jms library:opensql

common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;

service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;

service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization

sap.com/tcwddispwda sap.com/tcwdcorecomp service:webdynpro service:webservices service:tcsecwssec~service service:sld library:com.sap.aii.util.xml library:

jnet library:com.sap.aii.proxy.framework library:tccmi library:com.sap.aii.util.misc library:com.sap.aii.util.rb library:tcgraphics~igs library:com.sap.util.monitor.jarm library:

tcddicddicruntime library:com.sap.mw.jco library:core_lib library:com.sap.lcr.api.cimclient library:sapxmltoolkit library:tcddicddicservices

Resources: /usr/sap/EPD/JC00/j2ee/cluster/server0/apps/axis/portal_dev~dc_cusrep7309_1012/webdynpro/public/lib/app.jar Loading model:

{parent,references,local} -


Let me know how I can resolve this issue.

Regards,

P188071

Edited by: p188071 on Jul 3, 2009 1:24 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

It depends whether you are using JDI or not.

1) If you use JDI, you only have to create an External Library DC and add the jxl.jar per Drap&Drop in Navigation panel to the DC. Add the file also to the public part. In the Web Dynpro DC add the External Library DC as used DC and deploy both DCs on the server.

The only error you can make is to deploy the components using "Deploy new archive and run..." -> this command won't deploy the jar and you have the same result as now. You have do build & deploy it step-by-step (Development Component -> Build..., Development Component -> Deploy).

2) If you are not using JDI and you are using local DC's then you have to do like this

Take one Library project and add jxl.jar to it, build and deploy.

Add this as library reference to your WebDynpro project.

To do it,

RightClick on your project> properties> WebDynproReferences> choose LibraryReferences tab> Click on Add> Now give the name of Library project here> Ok

Build the DC and deploy...

Hope this helps you...

Regards,

Saleem

Former Member
0 Kudos

Hi,

Class CellFormat, is it from any external JAR file? If so, how did you added to your application?

If this class is in a external jar file then follow this blog to know how to consume at runtime:

/people/bala.krishnan2/blog/2006/09/25/bid-adieu-to-bots--using-captchas

/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro

Regards,

Jaya.