Re: [JBoss-user] XDoclet 1.1.2 & JBoss 3.0.4 - Got some issues

2003-01-27 Thread Rod Macpherson
>From an XDoclet generated jbosscmp-jdbc.xml: http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd"; > Perhaps you have an older release? - Original Message - From: "Nicholas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 27, 2003 7:43 PM Subject: Re: [JBoss-user] XDo

Re: [JBoss-user] XDoclet 1.1.2 & JBoss 3.0.4 - Got some issues

2003-01-27 Thread Rod Macpherson
Good point David. Using the explicit version number definitely generates the correct DTD for me: - Original Message - From: "David Jencks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 27, 2003 8:42 PM Subject: Re: [JBoss-user] XDoclet 1.1.2 & JBoss 3.0.4 - Got so

Re: [JBoss-user] XDoclet 1.1.2 & JBoss 3.0.4 - Got some issues

2003-01-27 Thread Rod Macpherson
The local-jndi-name is available and documented. * @ejb.bean *type="CMP" *cmp-version="2.x" *name="Products" *local-jndi-name="com.acme.entity.Products" *view-type="local" *primkey-field="productId" http://xdoclet.sourceforge.net/tags/ejb-tags.html#@ejb.bean%20(0..

Re: [JBoss-user] XDoclet 1.1.2 & JBoss 3.0.4 - Got some issues

2003-01-27 Thread David Jencks
I'm not sure, but I wonder if you have specified the jboss version correctly in ant in the jboss subtask of the ejb task. david On Monday, January 27, 2003, at 10:43 PM, Nicholas wrote: Thanks for the response. I am still having a couple of problems. Number 1 is that XDoclet is using the wron

Re: [JBoss-user] Stateless session beans

2003-01-27 Thread danch
Re-read the spec. The spec states that only one thread may be allowed to run in a single stateless session bean instance at any one time. The code in Eric's example will work relyably in any compliant container. Rajeshwar Rao V wrote: No. As per EJB spec.. But Yes,ur code _may_ work fine with JB

Re: [JBoss-user] XDoclet 1.1.2 & JBoss 3.0.4 - Got some issues

2003-01-27 Thread Nicholas
Thanks for the response. I am still having a couple of problems. Number 1 is that XDoclet is using the wrong DTD for the jboss.xml file. It is using http://www.jboss.org/j2ee/dtd/jboss.dtd and what I really want is http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd. Or at least, that is what I at

Re: [JBoss-user] CMR many to many relation problems

2003-01-27 Thread Rod Macpherson
I am using a newer release of XDoclet and there is no @jboss:table-relation tag in the documentation. Using the dot delimiter (a relatively recent change) they have @jboss.relation-table. I assume by "chilldrole" in the fk-column you meant "childrole". Perhaps those are just typing errors in your

RE: [JBoss-user] Stateless session beans

2003-01-27 Thread Rajeshwar Rao V
No. As per EJB spec.. But Yes,ur code _may_ work fine with JBoss. Is Jboss not following EJB spec? -Original Message- From: Eric Jain [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 10:45 PM To: jboss-user Subject: [JBoss-user] Stateless session beans Are stateless session bean

Re: [JBoss-user] XDoclet 1.1.2 & JBoss 3.0.4 - Got some issues

2003-01-27 Thread David Jencks
The best version of xdoclet is 1.2b2 by far. The best example I know of is xpetstore on sourceforge: its a minimalistic version of petstore using as many xdoclet features as possible. david jencks On Monday, January 27, 2003, at 06:39 PM, Nicholas wrote: I am having some issues getting the re

Re: [JBoss-user] CMR many to many relation problems

2003-01-27 Thread Greg Turner
I found the same problem that XDoclet would not use my name for the relation table. I solved this by writing my own ant task that replaces the name that is there with my own. In other words, my build file calls XDoclet, then calls my ant task which massages jbosscmp-jdbc.xml, then calls comp

[JBoss-user] XDoclet 1.1.2 & JBoss 3.0.4 - Got some issues

2003-01-27 Thread Nicholas
I am having some issues getting the results I want from XDoclet. Things like missing tags (local-jndi-name) and others Can someone refer me to a good doc source for examples and JBoss XDoclet ref ( the quick start, Admin & Devel doc$ and the CMP2 doc$ seem to be a little light on this) and can

[JBoss-user] JBoss success story at FCCI Insurance

2003-01-27 Thread JD Brennan
Title: JBoss success story at FCCI Insurance Interesting article about Java, JBoss and open source replacing legacy licensed systems. http://techupdate.zdnet.com/techupdate/stories/main/0,14179,2908812,00.html JD

[JBoss-user] CMR many to many relation problems

2003-01-27 Thread Nir Oren
Hi... I posted this to the JBoss forums, with no luck. Since this is quite a serious problem, I was hoping someone here could help me: I've got a class with the following xdoclet and java code: /**@ejb:relation name="role-has-other-roles" * role-name="role-contains" * cascade-delete="no" * @jbos

Re: [JBoss-user] Jboss-jaas and client login

2003-01-27 Thread Todd M Benge
Hi, I think you may be experiencing the same problem I had when trying to login via an applet. You'll need to specify the location of the file via a Java property. In our case, since it's an applet the location is via a URL but it could also be as a local file. The syntax is -Djava.security

RE: [JBoss-user] Migration to JBoss 3.0.6: farming deployment fails during start

2003-01-27 Thread Sacha Labourey
Sh*t, who has modified this name?!? The change is crap as it makes the farm service fail but it is good as if we can have a single name for both jetty/tomcat it is easier to write mbean dependencies. > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de

Re: [JBoss-user] Migration to JBoss 3.0.6: farming deployment failsduring start

2003-01-27 Thread Vladyslav Kosulin
Sacha Labourey wrote: Can you make sure you have all these mbeans started: jboss:service=DefaultPartition jboss.ejb:service=EJBDeployer jboss.web:service=JBossWeb jboss.system:service=MainDeployer (in http://localhost:8080/jmx-console/ for example) I suspect: - either jbossweb (

Re: [JBoss-user] Jboss-jaas and client login

2003-01-27 Thread Lorne Mach
I'm using 1.3. I think the problem is that my client application does not have a reference to the login-config.xml where the application-policy name (client-login) exists. I currently don't have a reference to "client-login" and no reference for its login module in my client application. Fro

RE: [JBoss-user] Stateless session beans

2003-01-27 Thread Sacha Labourey
yes. > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Eric Jain > Envoyé : lundi, 27 janvier 2003 18:15 > À : jboss-user > Objet : [JBoss-user] Stateless session beans > > > Are stateless session beans threadsafe, i.e does the following code behave >

[JBoss-user] Stateless session beans

2003-01-27 Thread Eric Jain
Are stateless session beans threadsafe, i.e does the following code behave as expected? public class TestBean implements SessionBean { private int tmp; // should always return true public boolean f() { tmp = 1; boolean b = tmp == 1; tmp = 0; return

RE: [JBoss-user] Migration to JBoss 3.0.6: farming deployment fails during start

2003-01-27 Thread Sacha Labourey
Can you make sure you have all these mbeans started: jboss:service=DefaultPartition jboss.ejb:service=EJBDeployer jboss.web:service=JBossWeb jboss.system:service=MainDeployer (in http://localhost:8080/jmx-console/ for example) I suspect: - either jbossweb (aka jetty) is not start

[JBoss-user] Migration to JBoss 3.0.6: farming deployment fails during start

2003-01-27 Thread Vladyslav Kosulin
Here is message: === 11:44:44,298 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely depl

Re: [JBoss-user] User Transaction errors

2003-01-27 Thread David Jencks
I suspect you have two copies of the UserTransaction class available on your classpath, lib, or deploy directories. Perhaps there is something from j2eeri? david jencks On Monday, January 27, 2003, at 03:36 AM, Stephen Ting wrote: I created a stateless SessionBean, whenever i try to invoke this

[JBoss-user] connecting to jboss-2.4.4 from jboss-3.0.6

2003-01-27 Thread Nick Mills
Hi, I need to connect to legacy jboss servers from our new jboss 3.0.6 servers. I can’t get a remote reference to my EJB running on JBoss 2.4.4 from code running inside jboss 3.0.6. I have made this work between jboss 2.4.4 and jboss 3.0.4 – all I did was put the old 2.4.4 jboss-client.j

[JBoss-user] Changes from 3.0.5 to 3.0.6

2003-01-27 Thread Meyer-Willner, Bernhard
Hi, I'm interested in the changes that were introduced from 3.0.5 to 3.0.6. Unfortunately there is no changelog on sourceforge.net or in the downloadable archive for 3.0.6 as there was for 3.0.5 and earlier releases. Can anybody point me to this document or list the most important advances? Thank

[JBoss-user] RE: [JBoss-user] SFSB:$B!!(Bfailed to recover session

2003-01-27 Thread Nick Mills
Hello Sacha, (B>No, this is not an HA-JNDI thing. (BDoes this mean the auto-discovery port is not relevant? (B (B>The exception you mention in your first e-mail is not complete enough: (BI (B>only see your stacktrace, not what happens in JBoss. (BI did not get any output to the jboss logs. I

[JBoss-user] Local references currently require ejb-link?

2003-01-27 Thread Artur Jonak
Hi, I just found out that in JBoss 3.0: Local references currently require ejb-link. Is it true? Do I have to add ejb-link elements if I use local references. In the ejb2.0 spec it is not necessary. Artur ___ Artur Jonak phone: +48 22 535 88 10

[JBoss-user] RE: [JBoss-user] RE: [JBoss-user] SFSB:$B!!(Bfailed to recover session

2003-01-27 Thread Sacha Labourey
No, this is not an HA-JNDI thing. (B (BThe exception you mention in your first e-mail is not complete enough: I (Bonly see your stacktrace, not what happens in JBoss. (B (BAs for restarting JBoss, did you restart all nodes of the cluster or only (Bone? you had to restart the clients as well?

Re: [JBoss-user] Problem with JBoss and ejbql

2003-01-27 Thread Jon Haugsand
* Alex Loubyansky > sorry for stupid question, but didn't you accidently add '(' when formatted for >readability? > you can also remove brackets around IS NULL expression. Actually, I originally did not have the parenthesis, but I included them and retried against JBoss. So, no, I did not includ

Re: [JBoss-user] Problem with JBoss and ejbql

2003-01-27 Thread Alex Loubyansky
sorry for stupid question, but didn't you accidently add '(' when formatted for readability? you can also remove brackets around IS NULL expression. alex Monday, January 27, 2003, 12:48:06 PM, you wrote: JH> Is anyone able to tell me what is wrong with the following ejbql JH> expression (format

[JBoss-user] RE: [JBoss-user] SFSB:$B!!(Bfailed to recover session

2003-01-27 Thread Nick Mills
Hello Sacha, (BMy client (tomcat and a console test client) were unable to call methods (Bon the SFSB without the error being generated: (Bjava.rmi.NoSuchObjectException: Could not activate; failed to recover (Bsession (session has been probably removed by session-timeout)... (B (BRestarting

[JBoss-user] Problem with JBoss and ejbql

2003-01-27 Thread Jon Haugsand
Is anyone able to tell me what is wrong with the following ejbql expression (formatted for readability): It fails with the following: 11:41:44,830 WARN [ServiceController] Problem starting service jboss.j2ee:service=EJB,jndiName=norgesbank/bank/sil/entiteter/verdipapir/VerdipapirLocal org.jb

Re: Re[2]: [JBoss-user] Application Deadlock Exception - only happens on JBoss

2003-01-27 Thread Brian McSweeney
thanks julien - Original Message - From: "julien viet" <[EMAIL PROTECTED]> To: "Brian McSweeney" <[EMAIL PROTECTED]> Sent: Monday, January 27, 2003 10:12 AM Subject: Re[2]: [JBoss-user] Application Deadlock Exception - only happens on JBoss > numbers are only even : > 3.0, 3.2, 3.4, etc.

Re[2]: [JBoss-user] Application Deadlock Exception - only happens on JBoss

2003-01-27 Thread julien viet
numbers are only even : 3.0, 3.2, 3.4, etc BM> Blatant newbie question: BM> what is the structure of jboss releases. I can't see a jboss 3.1 anywhere. Has this been skipped? BM> thanks, BM> Brian BM> - Original Message - BM> From: Bill Burke BM> To: [EMAIL PROTECTED] BM> Se

Re: [JBoss-user] Application Deadlock Exception - only happens on JBoss

2003-01-27 Thread Brian McSweeney
Blatant newbie question: what is the structure of jboss releases. I can't see a jboss 3.1 anywhere. Has this been skipped? thanks, Brian - Original Message - From: Bill Burke To: [EMAIL PROTECTED] Sent: Friday, January 24, 2003 5:57 PM Subject: RE: [JBoss-user] Ap

[JBoss-user] RE: [JBoss-user] RE: [JBoss-user] SFSB:$B!!(Bfailed to recover session

2003-01-27 Thread Sacha Labourey
Hello Nick, (B (B> In response have a couple more questions. From what you said it appears (B> that I need to restart my server every time the HASession times out - (B (B?!? What do you mean by "I need to restart my server" ?!? What will timeout (Bare the server sessions that haven't been act

[JBoss-user] User Transaction errors

2003-01-27 Thread Stephen Ting
Title: Message I created a stateless SessionBean, whenever i try to invoke this bean the following error occurs. Where did i get wrong? I am newbie to JBoss. can anyone please help?   Thanks   regards, Stephen       2003-01-27 16:32:41,088 ERROR [org.jboss.ejb.plugins.LogInterceptor] Unexpec