RE: Class cast exception....

2001-03-19 Thread Tim Endres
> 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: > -

RE: Class cast exception....

2001-03-19 Thread Conrad Chan
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 { 

Class cast exception....

2001-03-16 Thread Christian Meunier
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="

Re: Class-Cast-Exception Error

2000-12-04 Thread Marcus Lankenau
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

Class-Cast-Exception Error

2000-12-04 Thread Paul Kofon
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

Re[2]: class cast exception

2000-12-03 Thread Rafael Alvarez
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...

Re: class cast exception

2000-12-03 Thread Marcus Lankenau
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

Re: class cast exception

2000-12-01 Thread Sven van 't Veer
> > 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

Re: class cast exception

2000-12-01 Thread Santosh Kumar
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

class cast exception

2000-12-01 Thread Marcus Lankenau
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:

Class cast exception?

2000-08-23 Thread Serbulent Ozturk
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

RE: Class Cast Exception when using development mode and changing source

2000-07-12 Thread Kevin Duffey
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

Re: Class Cast Exception when using development mode and changing source

2000-07-12 Thread Karl Avedal
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

Class Cast Exception when using development mode and changing source

2000-07-11 Thread Kevin Duffey
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