This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Author

Please help me! Problem in Deploy .

Parinya Hiranpanthaporn
Greenhorn

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 :com.sun.corba.ee.internal.iiop.CDRInputStream_1_0$1
[12/May/2004:22:29:18] SEVERE ( 2472): StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
java.lang.ClassCastException
at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
at _jasper._HelloClient_jsp._jspService(_HelloClient_jsp.java:72)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:552)
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:368)
at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
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 "+
ex.getMessage());
}
}
public void jspDestroy() {
hello = null;
}
%>
How can I do?Please help me.
[ May 13, 2004: Message edited by: Parinya Hirunpunthaporn ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Please help me! Problem in Deploy .
 
Similar Threads
URGENT: jsp:include of servlet not working
trouble in using connection pooling in tomcat
New Exceptions can't create DynaActionForm
RSS App
problem in getting datasource in tomcat???