- This topic has 1 reply, 2 voices, and was last updated 12 years, 8 months ago by support-swapna.
-
AuthorPosts
-
brucesanders63MemberEverything appears to work until I get to the last line and then get the stack trace that follows.
Properties env = new Properties();
env.put(Context.INITIAL_CONTEXT_FACTORY, “org.jnp.interfaces.NamingContextFactory”);
env.put(Context.URL_PKG_PREFIXES, “org.jboss.naming:org.jnp.interfaces”);
Context ctx = new InitialContext();
Object o = ctx.lookup(“ejb/com/spcs/intranet/calculationAppeals/business/ejb/CalculationAppealsManagerBean”);
CalculationAppealsManagerHome home = (CalculationAppealsManagerHome) PortableRemoteObject.narrow(o,CalculationAppealsManagerHome.class);Stack trace from ProtableRemoteObject.narrow:
10:37:05,204 ERROR [STDERR] at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
10:37:05,204 ERROR [STDERR] at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
10:37:05,204 ERROR [STDERR] at com.spcs.intranet.calculationAppeals.util.EJBFactory.getEjbHome2(EJBFactory.java:65)
10:37:05,204 ERROR [STDERR] at com.spcs.intranet.calculationAppeals.util.EJBFactory.getCalculationAppealsManager(EJBFactory.java:28)
10:37:05,204 ERROR [STDERR] at com.spcs.intranet.calculationAppeals.presentation.controller.CalculationAppealsAuthenticationHandler.authenticate(CalculationAppealsAuthenticationHandler.java:20)
10:37:05,204 ERROR [STDERR] at com.spcs.commissions.framework.web.servlet.command.CommandServlet.doGet(CommandServlet.java:45)
10:37:05,204 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
10:37:05,204 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
10:37:05,204 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
10:37:05,204 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
10:37:05,204 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
10:37:05,204 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
10:37:05,204 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
10:37:05,204 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
10:37:05,204 ERROR [STDERR] at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
10:37:05,204 ERROR [STDERR] at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
10:37:05,204 ERROR [STDERR] at org.apache.jsp.Login_jsp._jspService(Login_jsp.java:80)
10:37:05,220 ERROR [STDERR] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
10:37:05,220 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
10:37:05,220 ERROR [STDERR] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
10:37:05,220 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
10:37:05,220 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
10:37:05,220 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
10:37:05,220 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
10:37:05,220 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
10:37:05,220 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
10:37:05,220 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
10:37:05,220 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
10:37:05,220 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
10:37:05,220 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
10:37:05,220 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
10:37:05,220 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
10:37:05,220 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
10:37:05,220 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
10:37:05,220 ERROR [STDERR] at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
10:37:05,220 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
10:37:05,220 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
10:37:05,236 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
10:37:05,236 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
10:37:05,236 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
10:37:05,236 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
10:37:05,236 ERROR [STDERR] at java.lang.Thread.run(Thread.java:536)Attachments:
You must be logged in to view attached files.
support-swapnaModeratorbrucesanders63 ,
I am afraid this is not a MyEclipse problem.
I suggest you cross post to EJB forums or to development forums like http://www.coderanch.com for better support.
Sorry for inconvenience.
-
AuthorPosts