Thanks Ole , I have find the problems and the records is created Thanks anyway.wt Ole Husgaard wrote: > > Hi, > > You need a little more than than > just adding your JDBC driver to > the classpath. > > See the manual: > http://www.jboss.org/newsite/documentation/HTML/ch03s05.html > > It also has an example for PostgreSQL. > > Best Regards, > > Ole Husgaard. > > Ricky wrote: > > > > Hi all , > > > > Happy weekend to you all, > > > > I have done it all , but i have the error : > > > > > > java.sql.SQLException :No suitable driver found. > > > > I have added the postgresql jar file to lib\ext > > > > Anybody know why ?? Thanks. > > > > "Castro, David" wrote: > > > > > > If you're not using jaws.xml then you DB mapping will go to DefaultDS i > > > believe, which is Hypersonic. > > > > > > jaws.xml allows you to map your entity to a particular DS, table, columns, > > > etc. > > > > > > see the customizing jaws section in the documentation or new manual > > > > > > > -----Original Message----- > > > > From: Ricky [mailto:[EMAIL PROTECTED]] > > > > Sent: Friday, February 23, 2001 11:19 PM > > > > To: JBoss-User > > > > Subject: Re: [jBoss-User] > > > > Re:[jBoss-User]java.lang.ClassCastException:jav a.rmi.MarshalledObject > > > > > > > > > > > > Hi all, > > > > > > > > Thanks for your feedbacks. > > > > I have changed the code however when called the code below : > > > > > > > > home.create("1","weetat"); > > > > The record was created but not in my database. > > > > May I know how to set database in jboss ? Do i need to set > > > > jboss.wml or > > > > jaws.xml ? > > > > > > > > Thanks for your info. wt > > > > > > > > "Castro, David" wrote: > > > > > > > > > > PRO.Narrow makes your code portable to IIOP. Jboss does > > > > not currently > > > > > support IIOP but probably will in the future. > > > > > > > > > > > -----Original Message----- > > > > > > From: Ricky [mailto:[EMAIL PROTECTED]] > > > > > > Sent: Friday, February 23, 2001 7:17 PM > > > > > > To: JBoss-User > > > > > > Subject: Re: [jBoss-User] > > > > > > > > > > Re:[jBoss-User]java.lang.ClassCastException:java.rmi.MarshalledObject > > > > > > > > > > > > > > > > > > Hi Mica, > > > > > > > > > > > > The PortableRemoteObject.narrow is for narrowing remote > > > > reference. > > > > > > I have did it for a while without any errors. > > > > > > > > > > > > I did not see why i must cast it like you have did it. > > > > > > Some more explaination please. > > > > > > > > > > > > Thanks. > > > > > > > > > > > > MicaCooper wrote: > > > > > > > > > > > > > > I see one thing wrong... > > > > > > > You should be doing a cast like this: > > > > > > > > > > > > > > Enterprise1Home bh = > > > > > > > > > > > > > (Enterprise1Home)PortableRemoteObject.narrow(ctx.lookup("Enter > > > > > > prise1"),Enter > > > > > > > prise1.class); > > > > > > > > > > > > > > The PortableRemoteObject.narrow is a requirement of EJB1.1. > > > > > > > > > > > > > > Mica Cooper > > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: [EMAIL PROTECTED] > > > > > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Ricky > > > > > > > Sent: Friday, February 23, 2001 6:45 PM > > > > > > > To: JBoss-User > > > > > > > Subject: Re: [jBoss-User] > > > > > > > > > > > > > > > > > Re:[jBoss-User]java.lang.ClassCastException:java.rmi.MarshalledObject > > > > > > > > > > > > > > Hi Rickard , > > > > > > > > > > > > > > Thanks for your kind advise. > > > > > > > > > > > > > > I have another weird problems in Jboss , we try to > > > > > > execute the code > > > > > > > below . > > > > > > > > > > > > > > InitialContext ctx = new InitialContext(props); > > > > > > > Enterprise1Home bh = > > > > > > (Enterprise1Home)ctx.lookup("Enterprise1"); > > > > > > > bh.create("2","weetat"); > > > > > > > > > > > > > > All are well except it did not update in my postgresql7.0 > > > > > > table.The > > > > > > > record is not display in the table. > > > > > > > Do i need to set anything in the database ? Or did i need > > > > > > to create > > > > > > > JAWS.xml or Jboss.xml ? > > > > > > > > > > > > > > What are the difference between jboss.xml and > > > > JAWS.xml ? What are > > > > > > > their purposes? > > > > > > > > > > > > > > Thanks wt > > > > > > > > > > > > > > Rickard Öberg wrote: > > > > > > > > > > > > > > > > Hi! > > > > > > > > > > > > > > > > Ricky wrote: > > > > > > > > > May i know what do you mean by updating the clients > > > > > > jnp-client.jar > > > > > > > > > file. > > > > > > > > > > > > > > > > > > Please forgive me that I asked so many question cause > > > > > > i just started > > > > > > > > > to use jboss. > > > > > > > > > > > > > > > > Copy all files from /client to your clients classpath. > > > > > > > > > > > > > > > > /Rickard > > > > > > > > > > > > > > > > -- > > > > > > > > Rickard Öberg > > > > > > > > > > > > > > > > Email: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > -- > > > > > > > > -------------------------------------------------------------- > > > > > > > > To subscribe: [EMAIL PROTECTED] > > > > > > > > To unsubscribe: [EMAIL PROTECTED] > > > > > > > > List Help?: [EMAIL PROTECTED] > > > > > > > > > > > > > > -- > > > > > > > -------------------------------------------------------------- > > > > > > > To subscribe: [EMAIL PROTECTED] > > > > > > > To unsubscribe: [EMAIL PROTECTED] > > > > > > > List Help?: [EMAIL PROTECTED] > > > > > > > > > > > > > > -- > > > > > > > -------------------------------------------------------------- > > > > > > > To subscribe: [EMAIL PROTECTED] > > > > > > > To unsubscribe: [EMAIL PROTECTED] > > > > > > > List Help?: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > -- > > > > > > -------------------------------------------------------------- > > > > > > To subscribe: [EMAIL PROTECTED] > > > > > > To unsubscribe: [EMAIL PROTECTED] > > > > > > List Help?: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > This message (including any attachments) contains > > > > confidential, proprietary > > > > > or privileged information intended for a specific purpose > > > > and individual(s), > > > > > and is protected by law. If you receive this message in > > > > error, please > > > > > immediately delete it and all copies of it from your > > > > system, destroy any > > > > > hard copies of it and notify the sender. Any unauthorized > > > > disclosure, > > > > > copying or distribution of any part of this message, or the > > > > taking of any > > > > > unauthorized action based on it, is strictly prohibited. > > > > > > > > > > -- > > > > > -------------------------------------------------------------- > > > > > To subscribe: [EMAIL PROTECTED] > > > > > To unsubscribe: [EMAIL PROTECTED] > > > > > List Help?: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > > > -------------------------------------------------------------- > > > > To subscribe: [EMAIL PROTECTED] > > > > To unsubscribe: [EMAIL PROTECTED] > > > > List Help?: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > > This message (including any attachments) contains confidential, proprietary > > > or privileged information intended for a specific purpose and individual(s), > > > and is protected by law. If you receive this message in error, please > > > immediately delete it and all copies of it from your system, destroy any > > > hard copies of it and notify the sender. Any unauthorized disclosure, > > > copying or distribution of any part of this message, or the taking of any > > > unauthorized action based on it, is strictly prohibited. > > > > > > -- > > > -------------------------------------------------------------- > > > To subscribe: [EMAIL PROTECTED] > > > To unsubscribe: [EMAIL PROTECTED] > > > List Help?: [EMAIL PROTECTED] > > > > -- > > -------------------------------------------------------------- > > To subscribe: [EMAIL PROTECTED] > > To unsubscribe: [EMAIL PROTECTED] > > List Help?: [EMAIL PROTECTED] > > -- > -------------------------------------------------------------- > To subscribe: [EMAIL PROTECTED] > To unsubscribe: [EMAIL PROTECTED] > List Help?: [EMAIL PROTECTED] -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] List Help?: [EMAIL PROTECTED]
