[JBoss-user] [EJB/JBoss] - Re: refreshing entity beans

2004-07-26 Thread ghoyle
Ok, I realise what you mean by commit levels now. I changed the commit level to option D in the standardjboss.xml file. However my enties are still not being refreshed, if I change the data outside of the the container. Please see example code, to see if you can see where I am going wrong. |

[JBoss-user] [EJB/JBoss] - Re: refreshing entity beans

2004-07-26 Thread ghoyle
I am not sure what you mean by this. The database can be changed using a web interface that does not go through my J2ee app I.e. direct database change. So how does the entity bean detect this? Or more importantly to me, how do I get my stateful session bean to ask the entity bean if the data has

[JBoss-user] [EJB/JBoss] - refreshing entity beans

2004-07-26 Thread ghoyle
I have a CMP application, where the database can be updated by clients other than the entity beans. What I need is a way for the container to know that the underlying database has changed and hence update the entiity beans and then inform a stateful session bean that this has happened. As my cli

[JBoss-user] [Beginners Corner] - Help with an ejb-ql query

2004-07-08 Thread ghoyle
Hi, I am having problems writing a ejb-ql query to based on a many to many relationship. I have 2 entities: ClientDetails and the other is called TVBS and there is a many to many relationship between them. I want all of the TVBS's that a client has access too. the ejb-relationship between th

[JBoss-user] [EJB/JBoss] - Re: container running time

2004-07-06 Thread ghoyle
How/Where do I get the server start time from within my session bean? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841062#3841062 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841062 --

[JBoss-user] [EJB/JBoss] - container running time

2004-07-02 Thread ghoyle
Is there anyway for a session bean to interogate the container, so that it can know how long the container has been running for, or even how long the session bean has been deployed? Thanks in advance Geoff View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840

[JBoss-user] [Beginners Corner] - Container uptime?

2004-07-01 Thread ghoyle
Is there anyway from within a session bean to determine how long the container has been running, or how long it has been since the session bean(s) were deployed? Thanks in advanced Geoff View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840614#3840614 Reply to

[JBoss-user] [Beginners Corner] - Re: Log4j output to files

2004-06-17 Thread ghoyle
Also just rembered, when I change the date it does nto seem to roll over the file. Should'nt the operational..log become operational.log.dd-mm-yy when i change the date? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839114#3839114 Reply to the post : http

[JBoss-user] [Beginners Corner] - Log4j output to files

2004-06-17 Thread ghoyle
I have put some log4j code into my ejb's. I then want to log to 2 seperate files so I have modified log4j.xml to do this and I have been succesful. However the out put to the file is a little too verbose e.g. I get anonymous wrote : | 2004-06-18 16:15:59,156 [RMI TCP Connection(41)-192.168.0.

[JBoss-user] [Beginners Corner] - Re: run jboss in linux background

2004-06-11 Thread ghoyle
Try running the redhat startup script that comes with the distribution its called jboss_init_redhat.sh or you could run run.sh - c all & Not sure why you could not copy a file though, surely you just needed to open another terminal window. It is possible to start jboss as a daemon process that s

[JBoss-user] [Beginners Corner] - Re: Deployment descriptor writing tools

2004-06-10 Thread ghoyle
I am using netbeans, so I guess i will have to install eclipse and give it a try. Are there any for netbeans? or some standalone deploy tools for jboss? similar to Sun's J2EE deploy tool program? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838329#3838329

[JBoss-user] [Beginners Corner] - Deployment descriptor writing tools

2004-06-10 Thread ghoyle
Are there any good (free) tools to help write deployment descriptors for jboss, specifically looking for ones to write the ejb-jar.xml files, so I can specify relationships between entites etc and to create the jaws.xml files if possible. Thanks, Geeoff View the original post : http://www.

[JBoss-user] [EJB/JBoss] - callbacks to session beans

2004-06-08 Thread ghoyle
I have written a corba wrapper to a session bean. The problem I am having is this, how do I get the session bean to calback the CORBA wrapper. I can get the wrapper to callback the original CORBA client ok. However when the wrapper makes a call on a session bean and this to needs to be a callback

[JBoss-user] [Beginners Corner] - Re: starting jboss in same jvm as another program

2004-06-04 Thread ghoyle
I was thinkng that perhaps another way to achieve this would be to create a seperate jar file for my wrapper application and deploy that along with the jar files for the session beans in an ear file. Tried it but could not seem to get it working think there is something wrong with my deployment

[JBoss-user] [Beginners Corner] - Re: starting jboss in same jvm as another program

2004-06-04 Thread ghoyle
I am writing corba wrappers to access session beans, so I want them all to run in the jvm, that way I can use the same instance of jacorb etc. So was thinking I would have to start JBoss from withing my Corba server program. View the original post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Beginners Corner] - starting jboss in same jvm as another program

2004-06-03 Thread ghoyle
Is it possible to start JBOSS in the same jvm as another program i.e. another program will start it, so that it will then be able to access all the containers classes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837455#3837455 Reply to the post : http://w

[JBoss-user] [Beginners Corner] - Re: CORBA Call back Client and Session beans

2004-06-02 Thread ghoyle
I have got a copy of the test suite now. ALthough I can not find the CORBA Client to session bean example anonymous wrote : | There are examples in the testsuite, e.g. the ubiquotous HelloWorld | Can you pint me in the right direction please. View the original post : http://www.jboss.org

[JBoss-user] [Beginners Corner] - Re: CORBA Call back Client and Session beans

2004-06-01 Thread ghoyle
I have simplified my CORBA client and session bean, so that it should just return a String, no callback, so that I can test a very simple case. The error i get in my client when i run it is: | [jacorb.giop] INFO : ClientConnectionManager: created new conn to target 192.168.0.64:3528 | [jac

[JBoss-user] [Beginners Corner] - Re: CORBA Call back Client and Session beans

2004-06-01 Thread ghoyle
I can not seem to find the test suite, can you tell me where it is please. Thanks Geoff View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837033#3837033 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837033 --

[JBoss-user] [Beginners Corner] - CORBA Call back Client and Session beans

2004-05-28 Thread ghoyle
Hi, has anyone got a good example of a CORBA client talking to a session bean and receiving a callback. I am using JACorb for the client also, although clients may well be written in C++ etc, hence why i need to know how to do this. I have been trying and I think I am nearly there. However not s

[JBoss-user] [Beginners Corner] - Problems with J2EE tools

2004-05-24 Thread ghoyle
I am new to ejb's/JBoss etc so I have been playing with some tools to help create a entity bean(s). The first one I tried is nbjboss which is a plugin for eclipse. This is supposed to be able to create a CMP2.0 entity bean and help deploy it, but for some reason I always get | 1:17:37,313 IN

[JBoss-user] [Beginners Corner] - Re: Postgres problems

2004-05-19 Thread ghoyle
Thanks that worked a treat. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835544#3835544 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835544 --- This SF.Net emai

[JBoss-user] [Beginners Corner] - Postgres problems

2004-05-19 Thread ghoyle
Hi, I am having some problem running postgres 7.3.2 and jboss I am trying to deploy 2 entites and the erros i am getting in JBOSS are | 2004-05-19 15:11:05,669 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/opt/jboss-3.2.3/server/all/deploy/jblog.ear | 2004-0

[JBoss-user] [Beginners Corner] - Re: problems with ejb create and primary keys

2004-05-18 Thread ghoyle
my deployment descriptor or at least part of it is | | | employ | | | | Employee | Employee | EmployeeHome | Employee | Employ

[JBoss-user] [Beginners Corner] - problems with ejb create and primary keys

2004-05-14 Thread ghoyle
Hi, I am having a problem deploying a sample entity I created. I am new to jboss and Entity Beans etc. I created a a simple Entity Bean based on CMP 2.0 and was hoping it would create the table when I deployed it. I am developing in Netbeans 3.6 and using the nbkboss pluging. The error i get