where .\dist\Product0.jar is source jar file .\dist\Product.jar is target jar file ------------------------------------------------ The error message is: ERROR: Error from ejbc: Installation file D:\MyProject\Product\.\lib\persistence\persistence. does not exist. Could not initialize EJB container managed persistence. ERROR: ejbc found errors
What's the problem with this command or anything else goes wrong? Could anyone provide me with solution to this problem? Thank you very much!
Marcos Maia
Ranch Hand
Joined: Jan 06, 2001
Posts: 977
posted
0
Hi,
try running the setEnv script from the domain before running the ejbc command and then don't worry about classpath, try again and let us know about other problems if you have some...
JHM Lin
Greenhorn
Joined: Nov 10, 2003
Posts: 9
posted
0
Hello... I try to run setEnv script in the domain before executing weblogic.ejbc, but the same error message as mentioned above still appeared. Could you give me some suggestions?
Best Regards!
JHM
JHM Lin
Greenhorn
Joined: Nov 10, 2003
Posts: 9
posted
0
Hello... I try to run setEnv script in the domain before executing weblogic.ejbc, but the same error message as mentioned above still appeared. Could you give me some suggestions?
Best Regards!
JHM
Marcos Maia
Ranch Hand
Joined: Jan 06, 2001
Posts: 977
posted
0
hi,
have you tryied to run some sample app? If the samples do run you problably doing something wrong. Try using the some of the sample build files as a template to run your app.
JHM Lin
Greenhorn
Joined: Nov 10, 2003
Posts: 9
posted
0
Hello~~ I have some samples on hand, but they are not complete(they are just code snips). I write an CMP entity bean class, config JDBC connection pool and data source in weblogic console, and then use ejbgen to generate remote interface、home interface and deployment descriptor, finally , while I run ejbc, I have some trouble. I am new to CMP, I am not sure whether I miss any required step while develop CMP component. If you are convenient, would you give me a complete sample app, and give me some instructions about how to run the app. my email address is : hmlin.iem90g@nctu.edu.tw
Beat Regards
JHM Lin
Greenhorn
Joined: Nov 10, 2003
Posts: 9
posted
0
Hello~~ I have some samples on hand, but they are not complete(they are just code snips). I write an CMP entity bean class, config JDBC connection pool and data source in weblogic console, and then use ejbgen to generate remote interface、home interface and deployment descriptor, finally , while I run ejbc, I have some trouble. I am new to CMP, I am not sure whether I miss any required step while develop CMP component. If you are convenient, would you give me a complete sample app, and give me some instructions about how to run the app. my email address is : hmlin.iem90g@nctu.edu.tw
Beat Regards
Marcos Maia
Ranch Hand
Joined: Jan 06, 2001
Posts: 977
posted
0
Hi Lin,
Weblogic has all the samples you need to start, they get installed under directory:
%BEA_HOME%weblogic81/samples/server/examples/src
open the file index.html where you'll find a list of various samples for weblogic, for ejb I suggest that you start from the basic ones.
regards.
Marcos Maia
Ranch Hand
Joined: Jan 06, 2001
Posts: 977
posted
0
The samples guide may also be a good resourse to help you starting with weblogic, you'll find it under: