> Sent: Friday, March 16, 2001 5:02 PM
> To: Orion-Interest
> Subject: Class cast exception
>
>
> Hi all, i got a class cast exception trying to use an instance of an object
> throught 2 jsp pages or so.
> dumb example:
>
> fct.jsp:
> -
ECTED]]Sent: Friday, March 16, 2001 5:02
PMTo: Orion-InterestSubject: Class cast
exception
Hi all, i got a class cast exception trying to
use an instance of an object throught 2 jsp pages or so.
dumb example:
fct.jsp:
---
<%!public class
Website {
Hi all, i got a class cast exception trying to use
an instance of an object throught 2 jsp pages or so.
dumb example:
fct.jsp:
---
<%!public class
Website { private int num; private String
nom;
public
Website() { this.num=100; this.nom="
n my company tried to
> fill and submit one of the forms. He got a class-cast Exception. I was
> amazed because that had never happened. I tried it myself and got the same
> error. I was certain that my application was okay since it had run a couple
> of other times without errors. I sto
Hi,
I have a Web application with forms. A servlet updates a database on behalf
of a JSP. It worked okay until today when some one in my company tried to
fill and submit one of the forms. He got a class-cast Exception. I was
amazed because that had never happened. I tried it myself and got
Hello!
ML> This makes no difference. The exception is thrown, too.
ML> But I found a solution: The Exception is thrown everytime after redeploying
ML> my application. When I restart the server after redeploying everything is ok.
ML> But I can't restart the server everytime something changes...
Hi!
>> > PhoneEntryHome home = (PhoneEntryHome) boundObject;
>should be :
>PhoneEntryHome home =
>(PhoneEntryHome)javax.rmi.PortableRemoteObject.narrow(boundObject,
>PhoneEntryHome);
This makes no difference. The exception is thrown, too.
But I found a solution: The Exception is thrown everytim
> > PhoneEntryHome home = (PhoneEntryHome) boundObject;
should be :
PhoneEntryHome home =
(PhoneEntryHome)javax.rmi.PortableRemoteObject.narrow(boundObject,
PhoneEntryHome);
Marcus Lankenau wrote:
>
> Hi!
>
> I've started developing a very simple phonebook application for
> learining purpose. T
1, 2000 3:51 PM
Subject: class cast exception
> Hi!
>
> I've started developing a very simple phonebook application for
> learining purpose. The app consists of an ejb and a servlet adding and
> showing the phone entries. The servlet is running quite well at home,
> b
Hi!
I've started developing a very simple phonebook application for
learining purpose. The app consists of an ejb and a servlet adding and
showing the phone entries. The servlet is running quite well at home,
but in office I get
this exception:
Exception caught: java.lang.ClassCastException:
Hello,
I have been trying to solve the following problem for some time now.
I am running two applications on Orion. (Application A has the EJBs and
Application B is the client). I use the following JNDI properties to
connect to application A JNDI context within application B:
java.naming.fact
ou get the number?
Thanks.
> Kevin Duffey wrote:
>
> > Hi,
> >
> > I am using the development mode (true) and set up the source
> directory to
> > point to my source. When I save a change, and refresh the page,
> I am always
> > getting a Class Cas
Hello Kevin,
Kevin Duffey wrote:
> Hi,
>
> I am using the development mode (true) and set up the source directory to
> point to my source. When I save a change, and refresh the page, I am always
> getting a Class Cast Exception error. I store a bean called HtmlBean as
> app
Hi,
I am using the development mode (true) and set up the source directory to
point to my source. When I save a change, and refresh the page, I am always
getting a Class Cast Exception error. I store a bean called HtmlBean as
application scope. In the .java generated, I see that the
syncronized
14 matches
Mail list logo