Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB deployment errors  RSS feed

 
saahil sinha
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Im havin lots of probs deployin EJb to the j2ee1.3 serverit gives me these errors cant figure out why
C:\j2sdkee1.3.1\repository\madhu\gnrtrTMP\FinanceApp\FinanceEJB_LocalHomeImpl.ja
va:162: illegal start of expression
ejbObject = ([Ljava.lang.String this.getContainer().postFind(i,
primaryKeys, null);
^
C:\j2sdkee1.3.1\repository\madhu\gnrtrTMP\FinanceApp\FinanceEJB_LocalHomeImpl.ja
va:162: ')' expected
ejbObject = ([Ljava.lang.String this.getContainer().postFind(i,
primaryKeys, null);
^
C:\j2sdkee1.3.1\repository\madhu\gnrtrTMP\FinanceApp\FinanceEJB_LocalHomeImpl.ja
va:162: illegal start of expression
ejbObject = ([Ljava.lang.String this.getContainer().postFind(i,
primaryKeys, null);
^
C:\j2sdkee1.3.1\repository\madhu\gnrtrTMP\FinanceApp\FinanceEJB_LocalHomeImpl.ja
va:1: FinanceEJB_LocalHomeImpl should be declared abstract; it does not define r
emove(javax.ejb.Handle) in FinanceEJB_LocalHomeImpl
public final class FinanceEJB_LocalHomeImpl extends com.sun.ejb.containers.EJBLo
calHomeImpl implements FinanceHome {
^
C:\j2sdkee1.3.1\repository\madhu\gnrtrTMP\FinanceApp\FinanceEJB_LocalHomeImpl.ja
va:161: cannot resolve symbol
symbol : method ejbFindForViewing (java.lang.String,java.lang.String)
location: class FinanceEJB
primaryKeys = ejb.ejbFindForViewing( param0, param1);
^
C:\j2sdkee1.3.1\repository\madhu\gnrtrTMP\FinanceApp\FinanceEJB_EJBLocalObjectIm
pl.java:180: remove() in FinanceEJB_EJBLocalObjectImpl cannot override remove()
in com.sun.ejb.containers.EJBLocalObjectImpl; overridden method does not throw j
ava.rmi.RemoteException
public void remove() throws java.rmi.RemoteException, javax.ejb.RemoveExcept
ion{
^
C:\j2sdkee1.3.1\repository\madhu\gnrtrTMP\FinanceApp\FinanceEJB_EJBLocalObjectIm
pl.java:190: cannot resolve symbol
symbol : method remove ()
location: class FinanceEJB
ejb.remove();
^
C:\j2sdkee1.3.1\repository\madhu\gnrtrTMP\FinanceApp\FinanceEJB_EJBLocalObjectIm
pl.java:221: cannot resolve symbol
symbol : method isIdentical (javax.ejb.EJBObject)
location: class FinanceEJB
$retVal = ejb.isIdentical(param0);
^
C:\j2sdkee1.3.1\repository\madhu\gnrtrTMP\FinanceApp\FinanceEJB_EJBLocalObjectIm
pl.java:240: getPrimaryKey() in FinanceEJB_EJBLocalObjectImpl cannot override ge
tPrimaryKey() in com.sun.ejb.containers.EJBLocalObjectImpl; overridden method do
es not throw java.rmi.RemoteException
public java.lang.Object getPrimaryKey() throws java.rmi.RemoteException{
^
C:\j2sdkee1.3.1\repository\madhu\gnrtrTMP\FinanceApp\FinanceEJB_EJBLocalObjectIm
pl.java:251: cannot resolve symbol
symbol : method getPrimaryKey ()
location: class FinanceEJB
$retVal = ejb.getPrimaryKey();
^
C:\j2sdkee1.3.1\repository\madhu\gnrtrTMP\FinanceApp\FinanceEJB_EJBLocalObjectIm
pl.java:281: cannot resolve symbol
symbol : method getEJBHome ()
location: class FinanceEJB
$retVal = ejb.getEJBHome();
^
C:\j2sdkee1.3.1\repository\madhu\gnrtrTMP\FinanceApp\FinanceEJB_EJBLocalObjectIm
pl.java:311: cannot resolve symbol
symbol : method getHandle ()
location: class FinanceEJB
$retVal = ejb.getHandle();

Please help me out
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!