This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Please help me! Problem in Deploy . Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Please help me! Problem in Deploy ." Watch "Please help me! Problem in Deploy ." New topic

Please help me! Problem in Deploy .

Parinya Hiranpanthaporn

Joined: Dec 03, 2003
Posts: 25
I use SUNONE7 to deploy.but I got this error when I deploy.
[12/May/2004:22:29:18] INFO ( 2472): CORE3282: stdout: Lookup Result$1
[12/May/2004:22:29:18] SEVERE ( 2472): StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
at javax.rmi.PortableRemoteObject.narrow(
at _jasper._HelloClient_jsp._jspService(
at org.apache.jasper.runtime.HttpJspBase.service(
at javax.servlet.http.HttpServlet.service(
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(
at com.iplanet.ias.web.jsp.JspServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(
at org.apache.catalina.core.StandardWrapperValve.access$000(
at org.apache.catalina.core.StandardWrapperValve$
at Method)
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardPipeline.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.core.StandardPipeline.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.core.StandardPipeline.invoke(
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(
at com.iplanet.ias.web.WebContainer.service(
And this is my code.
try {
InitialContext ic = new InitialContext();
Object objRef = ic.lookup("ejb/HelloBean");
System.out.println("Lookup Result :"+objRef.getClass().getName());
HelloHome home = (HelloHome)PortableRemoteObject.narrow(objRef,HelloHome.class);
hello = home.create();
} catch (RemoteException ex) {
System.out.println("Couldn't create hello bean."+ ex.getMessage());
} catch (CreateException ex) {
System.out.println("Couldn't create hello bean."+ ex.getMessage());
} catch (NamingException ex) {
System.out.println("Unable to lookup home: "+ "HelloBean "+
public void jspDestroy() {
hello = null;
How can I do?Please help me.
[ May 13, 2004: Message edited by: Parinya Hirunpunthaporn ]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Please help me! Problem in Deploy .
It's not a secret anymore!