dcsimg
problem in building deployable jar file
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   amal_sharma
Posted On:   Tuesday, April 17, 2001 07:08 AM

i developed a stateless session bean,then compiled all files ,created jar file successfully,then when i tried to create deployable jar file by giving below command
java -classpath %MYCLASSPATH% -Dweblogic.home=%WL_HOME% weblogic.ejbc -compiler javac buildamal_calculator.jar %MYSERVER%ejb_amal_calculator.jar

it is giving below error:
Exception in thread "main" java.lang.illegalAccessError: cannot access interface stateless/CalHome from class stateless/calBeanHomeImpl
at java.lang.ClassLoader.defineClass0(native Method)......
pl. help me out.
tanx in advance.

Re: problem in building deployable jar file

Posted By:   P_Godfrey  
Posted On:   Thursday, June 7, 2001 01:14 AM

Set the weblogic/bin directory to the PATH. From the DOS command prompt type ejbc -keepgenerated -verbose <> <>


This will give u the deployable JAR file. Then edit the weblogic.properties, to deploy your bean

This would help your problem
About | Sitemap | Contact