posted 23 years ago
Dear Friends
I am new to weblogic just started going through it.
I am using weblogic 5.1.0 server,
How I went through in deployment procedure?
note : all the classes are public & are stored in the storekeeper directory. all the classes are compiled with no error.
I opened up deployer tool, created a new jar file in the myserver folder of weblogic.than added the bag.class,baghome.class,bagbean.class,inventoryitem.class,itemnotfoundexception.class in it.
than home jndi name is given as "BagHome" as specified in the client class in the lookup.also maintains conversational state check box is checked(because its statefull bean)
than this is saved. after this files in the edit panel shows two more files
weblogic-ejb-jar.xml & ejb-jar.xml & the path shown is meta-inf.
after this I clicked on the generate container.
container is generated successfuly,all the stub & skeleton files are generated and are there in the edit pannel of the deployer tool.
after this i click on the deploy button, but while deploying it is giving following error.
- with nested exception: [weblogic.ejb.common.DeploymentException: Problem creating deployment e:\weblogic\myserver\store2.jar from e:\weblogic\myserver\store2.jar; nested exception is:
java.lang.NoClassDefFoundError: storekeeper/InventoryItem]
Deployment failed.
-----------------------------------------------------------------
the thing is that InventoryItem is there in storekeeper & edit panel is also displaying it ,along with there are all stub & skeleton files are also there.this is an example of statefull beans.
Am I missing some thing,
Thanks in advance.
love
Lokesh