Re: [JBoss-user] JBoss client jar files size

2002-06-14 Thread Andre Selton
If you want the code run as an applet/swing application the jboss client code must go to the client. One idea is use WebStart to deploy you application. Of course the first time it is loaded it will need to download all but in the future this will be cached on the client. http://java.sun.c

Re: [JBoss-user] CMR

2002-06-14 Thread Andre Selton
--- Phil Cornelius <[EMAIL PROTECTED]> wrote: > This bug was fixed last night.. you have to get the > latest source from cvs. > Phil, please answer this to me. This is leting me crazy, I am for one week halted on my project because of this. I have a 2 entity with a relationship 1-N bettwen

[JBoss-user] How to set a relationship ?

2002-06-12 Thread Andre Selton
Hi, I have 2 entity beans (CMP) Company and Departament with a relationship 1 Company has N Departaments. To set a relationship on the client I want to do this : Company company = ... Object ref = jndiContext.lookup("Departament"); DepartamentHome departament_home = (Departame

Re: [JBoss-user] What's best practice for remote calls?? Solved: SOOO close to CMR (1-to-many) working...I may just wet myself! :)

2002-06-12 Thread Andre Selton
<[EMAIL PROTECTED]> wrote: >I think you will find that the trick is use a > custom finder to return the collection of remote > objects directly from the (User) home interface. I was with the same problem of Brandon. Thanks to him I can understant what is the problem. But the solution still

[JBoss-user] CMP/CMR simple example (WAS Error on bean deploy with CMR)

2002-06-09 Thread Andre Selton
Hi, I am making some simple examples of the use of CMP to learn how this works. I did a small sample of this using Ant to make the classes, something very simple. On this example the cmp part is working but I can not make the cmr part right. Some days ago someone was asking for a work

Re: [JBoss-user] Error on bean deploy with CMR

2002-06-09 Thread Andre Selton
> > > > Please, what is the problem now ? > > > Got me. Both of these work for me. We have a test > that runs every > night that looks just like this. > This test is public ? I want to see how it is done. Or please point me in any direction to search the solution. Thanks. Andr

Re: [JBoss-user] Error on bean deploy with CMR

2002-06-08 Thread Andre Selton
At 09:42 7/6/2002 -0500, you wrote: > This one it wrong. You only need (can have) > cmr->field-type if the cmr-field is multi-valued. > I think this is another lame place in the spec, as > I can look up the field type using reflection, but > it is required. Just remove the line and it > shou

Re: [JBoss-user] Error on bean deploy with CMR

2002-06-08 Thread Andre Selton
--- Dain Sundstrom <[EMAIL PROTECTED]> wrote: > > > > > order > > Order > > > > > This one it wrong. You only need (can have) > cmr-field-type if the > cmr-field is multi-valued. With this I can now deploy my beans on JBoss 3.0.0 But I can not make

RE: [JBoss-user] JCA and Firebird - Connection problems...

2002-06-08 Thread Andre Selton
--- Torsten Terp <[EMAIL PROTECTED]> wrote: > > If you instead write the filename as > localhost/3050:c:/database/whatever.gdb > it will work! > Ok. You are right, thanks for share. On my home I had JBoss 3 RC2 and on it this works ok. But on my company we have JBoss 3.0.0 (final) and it

[JBoss-user] Error on bean deploy with CMR

2002-06-07 Thread Andre Selton
Hi, When I deploy my EJB with CMR I got this error : org.jboss.deployment.DeploymentException: Error in ejb-jar.xml for relation Order-Item: cmr-field-type should be java.util.Collection or java.util.Set but is Order. This is a simple 1-N relationship between Order and Itens. On my ejb-

Re: [JBoss-user] JCA and Firebird - Connection problems...

2002-06-05 Thread Andre Selton
--- Torsten Terp <[EMAIL PROTECTED]> wrote: > everything looks fine, but when an entitybean is > deployed i get an > org.firebirdsql.gds.GDSException : Could not get a > db connection! see > below. > > I have used the org.firebirdsql.management.FBManager > to create the database > and using a to

Re: [JBoss-user] Using firebird on Windows

2002-05-22 Thread Andre Selton
--- David Jencks <[EMAIL PROTECTED]> wrote: > Can you show the windows ConnectionManager config > that isn't working? > Yes : c:\databases\ejb.gdb sysdba masterkey true false jboss.jca:service=RARDeployer

Re: [JBoss-user] Using firebird on Windows

2002-05-22 Thread Andre Selton
--- David Jencks <[EMAIL PROTECTED]> wrote: > I have never tried the FBManager on windows. Is the > .gdb file created > properly? Can you access the windows db with isql? > The GDB file is crated and I can access the file using isql. But the problem seems to be when the connection is done,

[JBoss-user] Using firebird on Windows

2002-05-21 Thread Andre Selton
Hi, I was able to use Firebird to store data from a Entity bean using Container Manager Persistence on a Linux plataform. But when I copy this same EJB project to a plataform with Windows 2000 and Firebird I am not able to get the connection. There are something I need to know ? I am us

[JBoss-user] Basic question on db connection (JBoss 3)

2002-05-21 Thread Andre Selton
Hi, How I can access a database from a connection ? Looking at the j2ee connector spec I can find the first steps to do this connection are : Context initctx = new InitialContext(); ConnectionFactory cfx = (ConnectionFactory) initctx.lookup("java:/DefaultDS"); javax.resourc