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
It looks like you have some classpath problems. I would review the documentation to be sure you are setting any classpaths correctly. That 5.1 deployer is pretty lousy. Many people used their own scripts. You could also upgrade to 6.0.
hI! Well have u checked if the class for which there is a no class def found error is in the same package as the other.. u may also try to get the classpath set correctly for the same. NoClassDefFoundError occurs when the compiler cannot find the classes thru the classpath so please make sure the classpath settings are ok. Regds Gautham kasinath
"In the country of the blind, the one eyed man is the King"
Gautham Kasinath CV at : http://www.geocities.com/gkasinath
Why am I so drawn to cherry pie? I can't seem to stop. Save me tiny ad!
Free, earth friendly heat - from the CodeRanch trailboss