• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error while accessing from EJB Client in Weblogic 6.1

 
Rajesh Rajaram
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everybody,

I have deployed an EJB application in weblogic6.1 when i am trying to call my JSP client i am getting this error.
Compilation of 'D:\bea\wlserver6.1\config\examples\applications\DefaultWebApp\WEB-INF\_tmp_war_examplesServer_examplesServer_DefaultWebApp\jsp_servlet\__ejbeanmanagedclient.java' failed:
--------------------------------------------------------------------------------
D:\bea\wlserver6.1\config\examples\applications\DefaultWebApp\WEB-INF\_tmp_war_examplesServer_examplesServer_DefaultWebApp\jsp_servlet\__ejbeanmanagedclient.java:22: package examples.ejb.basic.beanManaged does not exist
probably occurred due to an error in /EJBeanManagedClient.jsp line 31:
"%>
D:\bea\wlserver6.1\config\examples\applications\DefaultWebApp\WEB-INF\_tmp_war_examplesServer_examplesServer_DefaultWebApp\jsp_servlet\__ejbeanmanagedclient.java:130: cannot resolve symbol
probably occurred due to an error in /EJBeanManagedClient.jsp line 70:
AccountHome home = (AccountHome) ctx.lookup("beanManaged.AccountHome");
D:\bea\wlserver6.1\config\examples\applications\DefaultWebApp\WEB-INF\_tmp_war_examplesServer_examplesServer_DefaultWebApp\jsp_servlet\__ejbeanmanagedclient.java:130: cannot resolve symbol
probably occurred due to an error in /EJBeanManagedClient.jsp line 70:
AccountHome home = (AccountHome) ctx.lookup("beanManaged.AccountHome");
D:\bea\wlserver6.1\config\examples\applications\DefaultWebApp\WEB-INF\_tmp_war_examplesServer_examplesServer_DefaultWebApp\jsp_servlet\__ejbeanmanagedclient.java:136: cannot resolve symbol
probably occurred due to an error in /EJBeanManagedClient.jsp line 78:
Account ac = null;
D:\bea\wlserver6.1\config\examples\applications\DefaultWebApp\WEB-INF\_tmp_war_examplesServer_examplesServer_DefaultWebApp\jsp_servlet\__ejbeanmanagedclient.java:138: cannot resolve symbol
probably occurred due to an error in /EJBeanManagedClient.jsp line 80:
ac = (Account) home.findByPrimaryKey(accountId);
D:\bea\wlserver6.1\config\examples\applications\DefaultWebApp\WEB-INF\_tmp_war_examplesServer_examplesServer_DefaultWebApp\jsp_servlet\__ejbeanmanagedclient.java:170: cannot resolve symbol
probably occurred due to an error in /EJBeanManagedClient.jsp line 125:
catch (ProcessingErrorException pe) {
D:\bea\wlserver6.1\config\examples\applications\DefaultWebApp\WEB-INF\_tmp_war_examplesServer_examplesServer_DefaultWebApp\jsp_servlet\__ejbeanmanagedclient.java:210: cannot resolve symbol
probably occurred due to an error in /EJBeanManagedClient.jsp line 174:
Account bigAccount= (Account) e.nextElement();
D:\bea\wlserver6.1\config\examples\applications\DefaultWebApp\WEB-INF\_tmp_war_examplesServer_examplesServer_DefaultWebApp\jsp_servlet\__ejbeanmanagedclient.java:210: cannot resolve symbol
probably occurred due to an error in /EJBeanManagedClient.jsp line 174:
Account bigAccount= (Account) e.nextElement();
D:\bea\wlserver6.1\config\examples\applications\DefaultWebApp\WEB-INF\_tmp_war_examplesServer_examplesServer_DefaultWebApp\jsp_servlet\__ejbeanmanagedclient.java:224: cannot resolve symbol
probably occurred due to an error in /EJBeanManagedClient.jsp line 192:
((Account)(v.elementAt(i))).remove();
D:\bea\wlserver6.1\config\examples\applications\DefaultWebApp\WEB-INF\_tmp_war_examplesServer_examplesServer_DefaultWebApp\jsp_servlet\__ejbeanmanagedclient.java:230: cannot resolve symbol
probably occurred due to an error in /EJBeanManagedClient.jsp line 198:
catch (ProcessingErrorException pe) {
what basic steps has to be followed while making ejb jar file to deploying in weblogic server.
Can any one help me out
Regds
Purushothaman
 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is a problem with your jsp not being able to access the classes in the bean.
looks like your client jsp is in
D:\bea\wlserver6.1\config\examples\applications\DefaultWebApp
folder.
If you want to get this to work this way,
then the jar file that you deployed s'd be in weblogic's classpath (in startWeblogic.cmd).
 
Graham Thorpe
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And also i think u didnt mention ur package name in clinet program.So u put pacakge name then run it .........
 
Issac Abbas
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi purushoth,
Looks like problem with your JSP. check out the tags. I think one of the tag is not properly closed. Hence it is unable to compile the rest of the Java Codes.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!