Re: Help ... ITs urgent
Hi, Make sure that directory under which the class files are generated is in classpath. Then check whether EControlPS is in correct package structure and also check whether it is imported. -Sundar. Chekutty, Kiran wrote: Hi all, This is the following error which I get. Its mourning about The class file it generated. EControlPS is the class generated while Deploying EJB. I am forwarding the mail which explains the probem. [ejbc] D:\dev\projects\skyobma\ejbcgen\com\petrotechnics\skyobma\service\admin\entity\control\EControlPSWebLogic_CMP_RDBMS.java:12: cannot resolve symbol [ejbc] symbol : class EControlPS [ejbc] location: class com.petrotechnics.skyobma.service.admin.entity.control.EControlPSWebLogic_CMP_RDBMS [ejbc] implements EControlPS [ejbc]^ [ejbc] 1 error [ejbc] Exec failed .. exiting = Previous history of this bug Hi Eddie, It's me again. I have implemented what you said y'day i.e d:\dev\projects\skyobma\source\service\admin\entity\control\jartemp in classpath. I will explain my directory structure. By directory structure is d:dev\projects\skyobma -- my project is called skyobma d:dev\projects\skyobma\source is the directory of source code. Ant has generated ejbcgen folder in skyobma (project directory) it has generated few classes during deployment process.They are EControl.class EControlBean.class EControlBeanEOImpl.class EControlBeanHomeImpl.class EControlHome.class EControlPS.class EControlPSWebLogic_CMP_RDBMS.java D:\dev\projects\skyobma\ejbcgen\com\petrotechnics\skyobma\service\admin\entity\control\EControlPSWebLogic_CMP_RDBMS.java:12: c symbol : class EControlPS location: class com.petrotechnics.skyobma.service.admin.entity.control.EControlPSWebLogic_CMP_RDBMS implements EControlPS ^ 1 error Exec failed .. exiting How should I make ant to refer to the class EControlPS? Please Help me.. Regards kiran -Original Message- From: Eddie Bernard [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 17:22 To: Chekutty, Kiran Subject: RE: Help please.. ant 1.5b with weblogic 5.1 What do you have your classpath defined as? In other words, is d:\dev\projects\skyobma\source\service\admin\entity\control\jartemp in this defined classpath? If it isn't, this may be the source of the Class Not Found error you previously mentioned. I also suggest that you add the include and exclude directives I mentioned in my previous response. -Original Message- From: Chekutty, Kiran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 9:16 AM To: Eddie Bernard Subject: RE: Help please.. ant 1.5b with weblogic 5.1 Ant is putting the generated classes in the my source directory within ejbcgen directory. How should I make it recognise the classes generated? This is my code: ejbjar naming=directory descriptordir=d:\dev\projects\skyobma\source\service\admin\entity\control\j artemp\META-INF srcdir=d:\dev\projects\skyobma\source\service\admin\entity\control\jartemp weblogic destdir=D:\dev\projects\skyobma\new classpath refid=classpath/ /weblogic dtd publicId=-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN location=http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd/ dtd publicId=-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN location=http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd/ /ejbjar -Original Message- From: Eddie Bernard [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 17:09 To: Chekutty, Kiran Subject: RE: Help please.. ant 1.5b with weblogic 5.1 It looks like you need to make sure that your classpath also has the srcdir in it so it knows where to find the generated classes. -Original Message- From: Chekutty, Kiran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 9:06 AM To: Eddie Bernard Subject: RE: Help please.. ant 1.5b with weblogic 5.1 Hi Thanks for your reply. The error which I had before is a bit solved but not fully. It is giving me application specific error.The foll is the error message which I get [ejbjar] building META-INF.jar with 6 files [ejbc] D:\dev\projects\skyobma\ejbcgen\com\petrotechnics\skyobma\service\admin\enti ty\control\EControlPSWebLogic_CMP_RDBMS.java:12: cannot resolve symbol [ejbc] symbol : class EControlPS [ejbc] location: class com.petrotechnics.skyobma.service.admin.entity.control.EControlPSWebLogic_CM P_RDBMS [ejbc] implements EControlPS [ejbc]^ [ejbc] 1 error where EControlPS is the class generated during the process of deployment. How should I over come this?. Thanks in advance kiran -Original Message- From: Eddie Bernard [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 16:58 To: Chekutty, Kiran;
RE: Help ... ITs urgent
The ejbcgen directory is created by weblogic.ejbc not by Ant. As far as I know there is no option to change the location of this temporary directory. /mike -Original Message- From: Chekutty, Kiran [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 2:48 AM To: Ant Users List Cc: [EMAIL PROTECTED] Subject: RE: Help ... ITs urgent Why does ant keep all generated classes in ejbcgen folder which is created by ant. Can I make it put somewhere else. -Original Message- From: Sundaranathan S [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 10:20 To: Ant Users List Subject: Re: Help ... ITs urgent Hi, Make sure that directory under which the class files are generated is in classpath. Then check whether EControlPS is in correct package structure and also check whether it is imported. -Sundar. Chekutty, Kiran wrote: Hi all, This is the following error which I get. Its mourning about The class file it generated. EControlPS is the class generated while Deploying EJB. I am forwarding the mail which explains the probem. [ejbc] D:\dev\projects\skyobma\ejbcgen\com\petrotechnics\skyobma\serv ice\admin\entity\control\EControlPSWebLogic_CMP_RDBMS.java:12: cannot resolve symbol [ejbc] symbol : class EControlPS [ejbc] location: class com.petrotechnics.skyobma.service.admin.entity.control.EContro lPSWebLogic_CMP_RDBMS [ejbc] implements EControlPS [ejbc]^ [ejbc] 1 error [ejbc] Exec failed .. exiting == === Previous history of this bug Hi Eddie, It's me again. I have implemented what you said y'day i.e d:\dev\projects\skyobma\source\service\admin\entity\control\ja rtemp in classpath. I will explain my directory structure. By directory structure is d:dev\projects\skyobma -- my project is called skyobma d:dev\projects\skyobma\source is the directory of source code. Ant has generated ejbcgen folder in skyobma (project directory) it has generated few classes during deployment process.They are EControl.class EControlBean.class EControlBeanEOImpl.class EControlBeanHomeImpl.class EControlHome.class EControlPS.class EControlPSWebLogic_CMP_RDBMS.java D:\dev\projects\skyobma\ejbcgen\com\petrotechnics\skyobma\serv ice\admin\entity\control\EControlPSWebLogic_CMP_RDBMS.java:12: c symbol : class EControlPS location: class com.petrotechnics.skyobma.service.admin.entity.control.EContro lPSWebLogic_CMP_RDBMS implements EControlPS ^ 1 error Exec failed .. exiting How should I make ant to refer to the class EControlPS? Please Help me.. Regards kiran -Original Message- From: Eddie Bernard [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 17:22 To: Chekutty, Kiran Subject: RE: Help please.. ant 1.5b with weblogic 5.1 What do you have your classpath defined as? In other words, is d:\dev\projects\skyobma\source\service\admin\entity\control\j artemp in this defined classpath? If it isn't, this may be the source of the Class Not Found error you previously mentioned. I also suggest that you add the include and exclude directives I mentioned in my previous response. -Original Message- From: Chekutty, Kiran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 9:16 AM To: Eddie Bernard Subject: RE: Help please.. ant 1.5b with weblogic 5.1 Ant is putting the generated classes in the my source directory within ejbcgen directory. How should I make it recognise the classes generated? This is my code: ejbjar naming=directory descriptordir=d:\dev\projects\skyobma\source\service\admin\en tity\control\j artemp\META-INF srcdir=d:\dev\projects\skyobma\source\service\admin\entity\co ntrol\jartemp weblogic destdir=D:\dev\projects\skyobma\new classpath refid=classpath/ /weblogic dtd publicId=-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN location=http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd/ dtd publicId=-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN location=http://www.bea.com/servers/wls510/dtd/weblogic-ejb-j ar.dtd/ /ejbjar -Original Message- From: Eddie Bernard [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 17:09 To: Chekutty, Kiran Subject: RE: Help please.. ant 1.5b with weblogic 5.1 It looks like you need to make sure that your classpath also has the srcdir in it so it knows where to find the generated classes. -Original Message- From: Chekutty, Kiran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 9:06 AM To: Eddie Bernard Subject: RE: Help please.. ant 1.5b with weblogic 5.1 Hi Thanks for your reply. The error which I had
RE: Help ... its urgent
These are classes generated by WebLogic's CMP engine. You really should not be messing with this stuff, nor should you see this type of error. Since you are, I would have to guess that there is something wrong with the jar file you are passing into ejbc or the classpath you are using for ejbc is not correct. For help related directly to WebLogic you may want to try http://newsgroups.bea.com/ Hope that helps, /mike -Original Message- From: Chekutty, Kiran [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 4:00 AM To: Ant Users List Subject: Help ... its urgent Hi all, This message is refering to previous message. I found that in EControlPSWebLogic_CMP_RDBMS public class EControlPSWebLogic_CMP_RDBMS extends weblogic.cmp.rdbms.PSRdbms_Base implements EControlPS which should be public class EControlPSWebLogic_CMP_RDBMS extends weblogic.cmp.rdbms.PSRdbms_Base implements com.petrotechnics.skyobma.service.admin.entity.control.EControlPS Any idea regarding this... [ejbjar] building META-INF.jar with 6 files [ejbc] D:\dev\projects\skyobma\ejbcgen\com\petrotechnics\skyobma\serv ice\admin\entity\control\EControlPSWebLogic_CMP_RDBMS.java:12: cannot resolve symbol [ejbc] symbol : class EControlPS [ejbc] location: class com.petrotechnics.skyobma.service.admin.entity.control.EContro lPSWebLogic_CMP_RDBMS [ejbc] implements EControlPS [ejbc]^ [ejbc] 1 error [ejbc] Exec failed .. exiting Kiran Chekutty Petrotechnics Ltd. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]