Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

NameNotFoundException in session bean while running application from jdeveloper

 
kesava chaitanya
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

i am getting NameNotFoundException while connection to session bean when i run from Jdeveloper;

i put ejb.jar.xml and orion-ejb-jar.xml put in classes/META-INF folder;


in my application index.jsp connects to sessionbean;

when i run index.jsp i am getting the follo
[Starting OC4J using the following ports: HTTP=9000, RMI=23891, JMS=9227.]
C:\j2sdk1.4.2_06\bin\javaw.exe -client -classpath C:\JDeveloper903\j2ee\home\oc4j.jar -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true com.evermind.server.OC4JServer -config C:\JDeveloper903\jdev\system9.0.3.1035\oc4j-config\server.xml
[waiting for the server to complete its initialization...]
Embedded OC4J startup time: 4640 ms.

Target URL -- http://192.168.68.214:9000/1304Release3-etrans-context-root/index.jsp
Copying default deployment descriptor from archive at C:\JDeveloper903\jdev\mywork\1304Release3.0\EJB\classes/META-INF/orion-ejb-jar.xml to deployment directory C:\JDeveloper903\jdev\system9.0.3.1035\oc4j-config\application-deployments\current-workspace-app\classes...

Auto-deploying file:/C:/JDeveloper903/jdev/mywork/1304Release3.0/EJB/classes/ (New server version detected)...

The system is out of resources.
Consult the following stack trace for details.


java.lang.OutOfMemoryError

Error compiling C:\JDeveloper903\jdev\mywork\1304Release3.0\EJB\classes: Syntax error in source

Log4j Properties file Initialized with Path = C:\JDeveloper903\jdev\mywork\1304Release3.0\etrans\WEB-INF\log4j.properties

Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized

No of Hits to this page : 1

[ERROR ] ESACLoginController.jsp -- Un Authorised User Not Enough Credentials : ANIL

[ERROR ] ESACLoginController.jsp -- Un Authorised User Not Enough Credentials : ANIL

[ERROR ] ESACLoginController.jsp -- Un Authorised User Not Enough Credentials : ANIL

javax.naming.NameNotFoundException: AccessControlSessionBean not found

at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:130)

at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:195)

at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:66)

at javax.naming.InitialContext.lookup(InitialContext.java:347)

at _ESACLoginController._jspService(ESACLoginController.jsp:89)

at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)

at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)

at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)

at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:721)

at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)

at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)

at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)

at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)

at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)

at java.lang.Thread.run(Thread.java:534)
wing in jdeveloper console;
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!