Hi,

I am very new to Java/JBoss/Tomcat etc.

I downloaded JBoss4.0.2
apache-ant1.6.5
Tomcat 4.1
Jdk 1.5.0_03

I have a very simple jsp-servlet-EJB setup that I am trying to work with.

I have been able to create the ear and deploy it successfully.

Now when I try to access the .jsp from the interface. the initial, jsp is okay.

but when I try to say select between two links colors( which is supposed to 
list colors from a array list ) and places ( from another array list ) 
depending on what I select, it gives the following error.

[EARDeployer] Started J2EE application: 
file:/C:/jboss-4.0.2/server/default/deploy/example4.ear
[STDOUT] In do Post
[STDOUT] java.lang.ClassCastException
[STDOUT]     at 
com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:229)
[STDOUT]     at 
javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
[STDOUT]     at 
com.sample.myproj.HelloWorldServlet.doPost(HelloWorldServlet.java:37)
[STDOUT]     at 
com.sample.myproj.HelloWorldServlet.doGet(HelloWorldServlet.java:54)
[STDOUT]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
[STDOUT]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
[STDOUT]     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
[STDOUT]     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
[STDOUT]     at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
[STDOUT]     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
[STDOUT]     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
[STDOUT]     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
[STDOUT]     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
[STDOUT]     at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
[STDOUT]     at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
[STDOUT]     at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
[STDOUT]     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
[STDOUT]     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
.....


Can somebody please help me solve this problem ?

Thanks a lot in advance.
Shanthi

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880519#3880519

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3880519


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to