Hi Manisha
Check whether U have the bean classes anywhere else in U'r classpath.(U
might be having the classes as a backup in some other directories)
Look for it and clean it up and then try creating the jar . This should
work
Regards
Girish
> ----------
> From: Manisha Menon[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list for Enterprise JavaBeans development
> Sent: Tuesday, September 19, 2000 12:59 AM
> To: [EMAIL PROTECTED]
> Subject: ejbc utility - ClasscastException.
>
> Hi all,
>
> Can someone help me in resolving this problem. When I
> am using the weblogic.ejbc utility, I get the
> following error. I am sorry for asking vendor-specific
> question.
>
> C:\EJB\jartemp>java weblogic.ejbc -compiler javac
> beanManaged.jar
> c:\weblogic\myserver\ejb_beanManaged_trial.jar
>
> java.lang.ClassCastException:
> com.sun.xml.tree.TextNode
> at
> weblogic.xml.dom.DOMUtils.getOptionalElementsByTagName(Compiled
> Code)
> at
> weblogic.xml.dom.DOMUtils.getOptionalElementByTagName(DOMUtils.java:170)
> at
> weblogic.xml.dom.DOMUtils.getOptionalValueByTagName(DOMUtils.java:97)
> at
> weblogic.ejb.deployment.dd.EJBReadDOM.getDescriptionValue(EJBReadDOM.java:
> 404)
> at
> weblogic.ejb.deployment.dd.DescriptorLoader.createDeploymentUnit(Descripto
> rLoader.java:200
> )
> at weblogic.ejbc.runBody(ejbc.java:299)
> at
> weblogic.utils.compiler.Tool.run(Tool.java:80)
> at weblogic.ejbc.main(ejbc.java:353)
> ERROR: java.lang.ClassCastException:
> com.sun.xml.tree.TextNode
>
>
> I am sorry for asking vendor-specific question.
>
> Thank you
>
> Manisha
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".