Re: [JBoss-user] is this a JMS problem?

2002-06-27 Thread Alex Loubyansky
Hello G.L., do you close the connection in the method? Could you detail what is done is the method? Wednesday, June 26, 2002, 11:11:02 PM, you wrote: GLG I have a method A that creates a JMS producer to send a message to a GLG consumer. After it completely returns from that method and before

Re: [JBoss-user] is this a JMS problem?

2002-06-27 Thread G.L. Grobe
Yeah, I'm closing it. Here's the actual producer code that I'm using. No exceptions from this method are thrown. Instead, they're thrown after this method returns and before my next line of code. It's pretty straight forwards as I use this code elsewhere also. The queue exists before this method

RE: Subject: [JBoss-user] stabel VM for Linux+SMP and JBoss3 cluster

2002-06-27 Thread Sacha Labourey
I saw at JBoss download page, to use JRockit, but this is useful only in single processor computers. Why?!? --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ ___ JBoss-user mailing list

RE: [JBoss-user] stabel VM for Linux+SMP and JBoss3 cluster

2002-06-27 Thread Sacha Labourey
Use Jrockit JVM, it is free (you have to request a free license though). This is a JVM bug. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Claudio Miranda Envoyé : jeudi, 27 juin 2002 00:42 À : [EMAIL PROTECTED] Objet : [JBoss-user] stabel VM

Re[2]: [JBoss-user] is this a JMS problem?

2002-06-27 Thread Alex Loubyansky
Hello G.L., So, if the message sent haven't been delivered or processing of the message haven't been started it's, probably, a correct behaviour. Reffer to api-docs for Connection.close(): ...Closing a connection causes all temporary destinations to be deleted. When this method is invoked, it

[JBoss-user] JBoss configuration to access Oracle 8.1.6 database

2002-06-27 Thread ORTIZ,HELENE (Non-HP-France,ex1)
Hello, Except : oracle-service.xml ejb-jar.xml jboss.xml which files do I need to create or modify to connect and perform requests on my Oracle 8.1.6 database ? Thanks, Hélène --- Sponsored by: ThinkGeek at

Re: [JBoss-user] JBoss configuration to access Oracle 8.1.6 database

2002-06-27 Thread Ionel Gardais
Hi, if you're using the CMP behaviour, you need to add and configure the jbosscmp-jdbc.xml bonne journée ionel ORTIZ,HELENE (Non-HP-France,ex1) wrote: Hello, Except : oracle-service.xml ejb-jar.xml jboss.xml which files do I need to create or modify to connect and perform

Re: [JBoss-user] SQL request

2002-06-27 Thread wonder sonic
I tried this: category name=org.jboss.ejb.plugins.cmp priority value=DEBUG/ /category but I don't get any SQL requests displayed :( I use JBoss 3.0. Do you know why? tia, Wonder Sonic --- Dain Sundstrom [EMAIL PROTECTED] a écrit : Set the org.jboss.ejb.plugins.cmp category in the

[JBoss-user] STRANGE FINDEREXCEPTION

2002-06-27 Thread wonder sonic
Hi, I've got a strange FinderException: I've got this CMP entity bean: ... /** * Represents an Atlas server administrator. * * * @version 1.0 * * @ejb:bean name=myrpg-atlas/AdministratorEntity * display-name=Administrator of an Atlas server. * type=CMP *

AW: [JBoss-user] jboss.net on jboss-tomcat setup and details

2002-06-27 Thread Jung , Dr. Christoph
Bruce, Thanks for trying it out and for documenting the steps in that detail. May I refer to your excellent page in our official jboss-net.jsp? Thankx, CGJ -Ursprüngliche Nachricht- Von: Bruce Scharlau [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 26. Juni 2002 17:39 An: [EMAIL

[JBoss-user] What happen with www.jboss.org???

2002-06-27 Thread Enrique Rodriguez
Title: What happen with www.jboss.org??? I can't see the web so not forums so ... i'm boring today!!! ;-)

Re: AW: [JBoss-user] jboss.net on jboss-tomcat setup and details

2002-06-27 Thread Bruce Scharlau
At 11:45 AM 6/27/2002 +0200, you wrote: Bruce, Thanks for trying it out and for documenting the steps in that detail. May I refer to your excellent page in our official jboss-net.jsp? Christoph, Yes of course. I'll add more when I get a chance about getting the examples working. Bruce

Re: [JBoss-user] PALMA TRAINING, AMSTERDAM TRAINING

2002-06-27 Thread Simon Stewart
On Wed, Jun 26, 2002 at 10:10:30AM -0700, marc fleury wrote: 2 announcements on training: Marc, it's a small thing, but some of us have to pay for our own training. I was wondering if there is any chance of you indicating how much the training will be when you announce it to the list? Regards,

[JBoss-user] Cannot turn off EJB reference optimization on JBoss-3.0.0

2002-06-27 Thread Qingxian Wang
I am using JBoss3.0.0 on Windows2000. I do not want local reference of an object to be passed when I am calling business methods of the remote interfaces of the EJBs on the same JVM. I set the value of all the Optimized tags to False in all container-invoker-conf blocks in the standardjboss.xml

Re: [JBoss-user] Template Application: no /servlet directory

2002-06-27 Thread Patrick Hubers
--Op 26-06-2002 16:10 -0400 schreef Mike Monette: I'm reading through the Jboss 3.0 Quick Start Guide, and I've downloaded the template application. Page 16 refers to a src/servlet directory, but the template application has no such directory. Am I missing something, or is this a known

RE: [JBoss-user] stabel VM for Linux+SMP and JBoss3 cluster

2002-06-27 Thread Claudio Miranda
Well, I tested JRockit in 2 separated SMP machines, returned the same error - JRockit java version 1.3 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_dax.appeal.se-20020429-1504) JRockit Virtual Machine (build 3.1.4-dax.appeal.se-20020429-1504) returns the

Re: [JBoss-user] What happen with www.jboss.org???

2002-06-27 Thread Anton R.
Hello Enrique, It seems that bugs lives there. www.jboss.org working fine until you try to search in forums. (I`ve search one word in AllForums) I dont know how to open jboss site again! Sombody! Try to search in forums and reply if the www.jboss.org available after that! -- Anton

Re: [JBoss-user] specifiing the datasource jndi name for the DatabaseServerLoginModule

2002-06-27 Thread Marcus Ahnve
We had a similar problem that we solved just this morning. Our problem was the naming of the db service. The 'Jndi-Name' was set to the same name as all other 'name's in the service file and that screwed things up for some reason, even though the logs and the MBean Viewer stated that it deployed

Re: [JBoss-user] How to specify database name in jboss.jcml file

2002-06-27 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Jun 27, 2002 at 11:19:07AM +0530, Tejeshwar wrote: Hi hi. I had configured MS SQLServer 2000 as the SQlServerpool in jboss.jcml file. I am using jboss-2.4.4 and the driver is microsoft sql server driver. How can sepecify a specific

Re: [JBoss-user] Strange exception deploying a WAR

2002-06-27 Thread Pavel Kolesnikov
On Wed, 26 Jun 2002, Pavel Kolesnikov wrote: Now the first web app works still correctly but the second one doesn't deploy. It hangs when it creates remote interface for my session bean, I can't even undeploy it or stop JBoss correctly (I had to kill -9 it after cca 10 minutes). Update:

Re: [JBoss-user] Template Application: no /servlet directory

2002-06-27 Thread John Hogan
were can I get the Jboss 3.0 Quick Start Guide? Thank you. JohnH - Original Message - From: Patrick Hubers [EMAIL PROTECTED] Date: Thu, 27 Jun 2002 09:50:51 +0200 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Template Application: no /servlet directory --Op 26-06-2002 16:10

Re: [JBoss-user] Template Application: no /servlet directory

2002-06-27 Thread David Ward
http://sourceforge.net/project/showfiles.php?group_id=22866 -- John Hogan wrote: were can I get the Jboss 3.0 Quick Start Guide? Thank you. JohnH - Original Message - From: Patrick Hubers [EMAIL PROTECTED] Date: Thu, 27 Jun 2002 09:50:51 +0200 To: [EMAIL PROTECTED] Subject:

RE: [JBoss-user] scheduler and javamail in Jboss 3.0

2002-06-27 Thread Qingxian Wang
You need to set dependency to make the scheduler to depend on the EJB. -Original Message- From: Natalie Wang [mailto:[EMAIL PROTECTED]] Sent: 27 June 2002 00:01 To: [EMAIL PROTECTED] Subject: [JBoss-user] scheduler and javamail in Jboss 3.0 Hi, I am using scheduler to call ejb, which

Re: [JBoss-user] Template Application: no /servlet directory

2002-06-27 Thread Julien Viet
on sourceforge.net : http://prdownloads.sourceforge.net/jboss/JBoss.3.0QuickStart.pdf?download - Original Message - From: John Hogan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 27, 2002 9:01 AM Subject: Re: [JBoss-user] Template Application: no /servlet directory

[JBoss-user] NoClassDefFoundError

2002-06-27 Thread Conover, Ryan
I have a java app calling an ejb on my app server(JBoss-2.4.4). It was working fine. Then suddenly after a couple minor code changes that should have no effect, I am getting the following error. Exception in thread main java.lang.NoClassDefFoundError: javax/ejb/EJBHome at

Re: [JBoss-user] Template Application: no /servlet directory

2002-06-27 Thread Bruce Scharlau
At 09:01 PM 6/27/2002 +0800, you wrote: were can I get the Jboss 3.0 Quick Start Guide? Thank you. Get it from http://prdownloads.sourceforge.net/jboss/JBoss.3.0QuickStart.pdf?download Bruce JohnH - Original Message - From: Patrick Hubers [EMAIL PROTECTED] Date: Thu, 27 Jun 2002

Re: [JBoss-user] Template Application: no /servlet directory

2002-06-27 Thread Patrick Hubers
--Op 27-06-2002 21:01 +0800 schreef John Hogan: were can I get the Jboss 3.0 Quick Start Guide? Thank you. It's on the SourceForge download page. _ Patrick Hubers [EMAIL PROTECTED] Solve IT Postbus 5063 3502 JB Utrecht

[JBoss-user] Configuring Database name in Jboss-2.4.4

2002-06-27 Thread Tejeshwar
Hi I had configured MS Sql Server 2000 for my Jboss-2.4.4 , while creating tables through CMP Bean it is creating in default database i,e master.I have to specify other database name in jboss.jcml, how can i specify. I am using type 4 driver of microsoft Jdbc Driver. Pls let me know how

[JBoss-user] jboss 3.0 start warns

2002-06-27 Thread j neto
Hello I just instaled JBOSS 3.0 on RedHat 7.2 with j2sdk1.4.1_01 This is my first contact with j2ee, so... The start of JBOSS gives several warns one of them looks bad to me: 02:04:27,770 WARN [Jetty] JSP compilation requires $JAVA_HOME/lib/tools.jar on your JBOSS_CLASSPATH Can you help

[JBoss-user] retrieving role via DatabaseLoginModule

2002-06-27 Thread Ionel Gardais
Hi, I'm trying to authenticate my users against the DatabaseServerLoginModule. I have created the two needed tables (Principals and Roles) but the login module doesn't seems to retrieve the Role entry. I'm getting the following error on the server : snip ERROR [SecurityInterceptor]

Re: [JBoss-user] How to specify database name in jboss.jcml file

2002-06-27 Thread Burkhard Vogel
Hi, furthermore you really should map then your DBPool to a resource in jboss.xml: resource-managers resource-manager res-class=org.jboss.ejb.deployment.JDBCResource res-namejdbc/whateverresourcename/res-name res-jndi-namejava:/usersDB/res-jndi-name

RE: [JBoss-user] Cannot connect to an external RMI Server

2002-06-27 Thread LaBanca, Rick
Title: Message If you're on windows, set your temp env variable to something without spaces in the filename, worked for me! rick -Original Message-From: Graham French [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 10:59 AMTo: '[EMAIL PROTECTED]'Subject:

Re: [JBoss-user] sun JDBC Driver doesn't support finder methods.

2002-06-27 Thread Burkhard Vogel
Hi, as far as I understand the mail, he uses M$ SQL Server 2000, mySQL came in for verifying issues, but for the M$ SQL: NEVER EVER touch the sun JDBC-ODBC bridge if you can avoid it: http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?ur

Re: [JBoss-user] Cannot turn off EJB reference optimization on JBoss-3.0.0

2002-06-27 Thread Scott M Stark
Its a bug in the 3.0 release. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Qingxian Wang [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 27, 2002 4:03 AM Subject: [JBoss-user] Cannot turn

Re: [JBoss-user] stabel VM for Linux+SMP and JBoss3 cluster

2002-06-27 Thread Dain Sundstrom
If you are using Red Hat 7.2 (not sure on the exact version number), it has bad kernel and won't run Java on an SMP machine with any VM. I didn't have this problem my self, but I have seen people discussing it. Search Google and you should find the answer. -dain Claudio Miranda wrote:

Re: [JBoss-user] PALMA TRAINING, AMSTERDAM TRAINING

2002-06-27 Thread Dain Sundstrom
Simon, All of the information can be found here: http://www.jboss.org/services/training.jsp -dain Simon Stewart wrote: On Wed, Jun 26, 2002 at 10:10:30AM -0700, marc fleury wrote: 2 announcements on training: Marc, it's a small thing, but some of us have to pay for our own training.

Re: [JBoss-user] SQL request

2002-06-27 Thread Dain Sundstrom
What do you mean by displayed? Do you mean console? To have the sql messages appear on the console you need to reduce the logging threshold on the console appended to DEBUG. You will also want to increase the priority of the org.jboss category to INFO, or you will get a ton of messages.

[JBoss-user] Sun's SmarTicket 1.1.1 on JBoss 3.0 Final + Tomcat

2002-06-27 Thread first last
My company is evaluating whether to use JBoss or not. I was able to get Sun's example program SmarTicket 1.1.1 to start on JBoss, but there are error messages when the client tries to connect. I have changed the cloudscape port to 1433 and changed the JNDI calls. I also added jboss.xml and

Re: [JBoss-user] specifiing the datasource jndi name for the DatabaseServerLoginModule

2002-06-27 Thread Scott M Stark
On closer inspection this is because your definition is invalid. The module-option tags are child elements of the login-module element. You have an empty login-module/. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message

Re: [JBoss-user] Sun's SmarTicket 1.1.1 on JBoss 3.0 Final + Tomcat (let'snot bash JBoss)

2002-06-27 Thread R . Price
I may have to recommend another server if I can't get SmarTicket to work soon. That's a pretty shallow comment. More a reflection of your lack of understanding or inexperience with JBoss. But if you feel that, just because you can't get it working, you need to spend thousands of dollars on

RE: [JBoss-user] scheduler and javamail in Jboss 3.0

2002-06-27 Thread JD Brennan
Title: RE: [JBoss-user] scheduler and javamail in Jboss 3.0 Thanks, David. Very interesting. So is the page that says MBean View what you refer to as the detail page? That page has something called MBean Name that looks like jboss.j2ee:service=EJB,jndiName=Foo Is that the object name I

Re: [JBoss-user] Sun's SmarTicket 1.1.1 on JBoss 3.0 Final + Tomcat

2002-06-27 Thread David Jencks
I'd guess for starters that you don't have the datasource set up properly. Have you read the quickstart manual available from the Sourceforge download page? We don't have a cloudscape example config yet, but they are usually pretty easy to set up by modifying an existing example. If this

Re: Subject: [JBoss-user] stabel VM for Linux+SMP and JBoss3 cluster

2002-06-27 Thread Marius Kotsbak
How do you get the ClassCircularityError? Are you using multiple CPUs? Windows? I have never seen it, just many other problems running jboss on 1.4. On Thu, 2002-06-27 at 01:46, Claudio Miranda wrote: Dears, I have tested de Blackdown FCS 1.3.1 and the result is the same as Sun JDk 1.4,

[JBoss-user] [JBossCMP2.0] Compound Primary Keys and CMR fields

2002-06-27 Thread Luttrell, Peter
I have an entity bean with acompound primary key, where one of the fields is a cmr field. The entity bean works perfectly after the first deployment. I can set primary key, as well as do lookups and such. But after I redeploy (or restart) I get the following error, whenever i attempt to

Re: [JBoss-user] stabel VM for Linux+SMP and JBoss3 cluster

2002-06-27 Thread Marius Kotsbak
The only JVMs I haven't found any problems with are the slow old 1.3 from SUN, and JRockit. IBM 1.3 and Sun's 1.4 fails. Haven't tried blackdown. I think something should be done to track down these bugs, and get them reported, if it isn't caused by jboss misusing the VM, or incompatibility

Re: [JBoss-user] Strange exception deploying a WAR [SOLVED]

2002-06-27 Thread Pavel Kolesnikov
The problem was solved by upgrade to latest CVS. Hanging application mentioned bellow was partially caused by my mistake - the web app talks not only to app server but also to its own mysql database (directly using struts's db pool) and I forgot to put appropriate JDBC driver into the classpath.

Re: [JBoss-user] [JBossCMP2.0] Compound Primary Keys and CMR fields

2002-06-27 Thread Dain Sundstrom
You have not implemented equals in your pk class. That code shouldn't even compile? -dain Luttrell, Peter wrote: I have an entity bean with a compound primary key, where one of the fields is a cmr field. The entity bean works perfectly after the first deployment. I can set primary key,

RE: [JBoss-user] [JBossCMP2.0] Compound Primary Keys and CMR fields

2002-06-27 Thread Luttrell, Peter
actually i have, I just omitted it in the example. it definiatly compiles. .peter -Original Message- From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 2:32 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] [JBossCMP2.0] Compound Primary Keys and CMR fields

RE: [JBoss-user] [JBossCMP2.0] Compound Primary Keys and CMR fields

2002-06-27 Thread Luttrell, Peter
I have also added setters in my key class, but this didn't seam to help. .peter -Original Message- From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 2:32 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] [JBossCMP2.0] Compound Primary Keys and CMR fields

Re: [JBoss-user] [JBossCMP2.0] Compound Primary Keys and CMR fields

2002-06-27 Thread Dain Sundstrom
Ok, I trust that you implemented it correctly. If you don't then nothing works. Usually the problem you are seeing is because you have existing data in you database that has null values, and you attempt to load the null values into a not-null fields. All pk members must be not-null

[JBoss-user] multi-object cmr accessors.

2002-06-27 Thread [EMAIL PROTECTED]
hi, i have a one-to-many unidirectional relation. so my accessors are public abstract Set getOperations(); public abstract void setOperations(Set operations); after a little experimentation it looks like the set members are of type OperationLocal. on a related note, when i call

RE: [JBoss-user] [JBossCMP2.0] Compound Primary Keys and CMR fields

2002-06-27 Thread Luttrell, Peter
Actually, i was incorrect in my first post where i said it happens on redeployment (or restart). Restarting jboss resolves the problem. The problem only happens on hotdeployments. .peter -Original Message- From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002

Re: [JBoss-user] multi-object cmr accessors.

2002-06-27 Thread Dain Sundstrom
The EJB specification does not allow CMR accessors to be exposed over a remote interface. You should have received a verifier error, but our verifier is still a work in progress. -dain [EMAIL PROTECTED] wrote: hi, i have a one-to-many unidirectional relation. so my accessors are

Re: [JBoss-user] Sun's SmarTicket 1.1.1 on JBoss 3.0 Final + Tomcat (let's not bash JBoss)

2002-06-27 Thread John Hogan
why didn't you opt for the pet store? It's been out there for ever and there's a lot of discussion on it.- Original Message -From: [EMAIL PROTECTED]Date: Thu, 27 Jun 2002 12:01:38 -0600 To: [EMAIL PROTECTED]Subject: Re: [JBoss-user] Sun's SmarTicket 1.1.1 on JBoss 3.0 Final + Tomcat (let's

[JBoss-user] java.util.ConcurrentModificationException on XAPoolDataSource - needhelp...

2002-06-27 Thread David Brady
Using Jboss 2.44 I'm tracking down a problem we occasionally have during load tests when we try to get a connection from a XAPoolDataSource. The exception is not very informative and doesn't give me a concrete approach to solve the problem. Anybody give me insight/help with this? Thanks!

Re: [JBoss-user] help with bean lock/transaction error

2002-06-27 Thread Gray Jones
Hi Bill, No I'm using an Integer as the primary key. We use a session facade to front the entity bean. We use local ejb references between the session facade and the entity bean. The bean in question (ie user entity bean with pk=49) has gotten a fair amount of activity before the exception

[JBoss-user] Restart JBoss After Out of Memory

2002-06-27 Thread Hunter Hillegas
Every once and awhile my JBoss 3.0 (Red Hat 7.2 / Sun 1.3.1_03 JVM) server will die. I assume that it is running out of memory. We specify up to 800MB of RAM at JBoss start up... Our applications get tons and tons of hits. I need to profile our app in JBoss and see where memory is leaking... In

Re: [JBoss-user] Configuring Database name in Jboss-2.4.4

2002-06-27 Thread Burkhard Vogel
Hi, see jaws.xml section of the free volunteer docs... Regards, Burkhard - Original Message - From: Tejeshwar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 27, 2002 9:29 AM Subject: [JBoss-user] Configuring Database name in Jboss-2.4.4 Hi I had configured MS Sql Server

(** Could someone reply please!! ) Fwd: Re: [JBoss-user] Re: Transactions Exceptions

2002-06-27 Thread Alice Ad
Thanks so much. Note: forwarded message attached. Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World Cup---BeginMessage--- Thanks for the reply. 1. bar() is another bean so ((MyBeanLocal)sessionContext.getEJBLocalObject()).bar() won't work, right? This raises another question from

RE: [JBoss-user] Restart JBoss After Out of Memory

2002-06-27 Thread JD Brennan
Title: RE: [JBoss-user] Restart JBoss After Out of Memory If you run JBoss with the Java Wrapper Service (http://sourceforge.net/projects/wrapper/) it will automatically restart JBoss if it exits. JD -Original Message- From: Hunter Hillegas [mailto:[EMAIL PROTECTED]] Sent:

Re: [JBoss-user] Restart JBoss After Out of Memory

2002-06-27 Thread Frank Morton
Has anyone else seen this JBoss just stop responding? I have had one instance of jboss no longer responding, but memory looked fine. Processes still running. Just no response. Restarted jboss and has been running since. Every once and awhile my JBoss 3.0 (Red Hat 7.2 / Sun 1.3.1_03 JVM) server

[JBoss-user] Space Bar to Continue?

2002-06-27 Thread Jason Stortz
How are the rest of you handling the fact that now and then you have to hit the space bar for JBoss to resume responding in the console window? One of my programmers today said that one errors occur he sometimes has to hit the space bar before JBoss will respond to further requests. Has anyone

[JBoss-user] Debugging EJBs

2002-06-27 Thread Alice Ad
How do people debug EJBs? The server is running using a .jar file that contains all my Entity/Session beans. When a client makes a request, I want to trace through the server thread as it goes through my application's EJB code. Thanks very much.Do You Yahoo!? Sign-up for Video Highlights of 2002

Re: [JBoss-user] JUnit and testing a EJB with security

2002-06-27 Thread Scott M Stark
See the security unit tests in our testsuite module. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Emerson Cargnin - MSA [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 27, 2002 4:15 PM

RE: [JBoss-user] Space Bar to Continue?

2002-06-27 Thread Starsinic, Frank
it could be that the window (is this windows and not unix?) has quickEdit turned on. If so, and a user clicks with the mouse in the window, it will halt JBoss until a key is pressed. that's the only thing i've ever seen. if you don't like quickEdit turned on, then go into properties on the

[JBoss-user] Required Vs RequiresNew

2002-06-27 Thread Alice Ad
I have a stateless session bean and an entity bean. The session bean has a method that has "Required" trans-attribute. It in turn calls two entity bean methods, first of which has "Required" trans-attribute while the second has "RequiresNew" trans-attribute. It returns successfully after calling

Re: [JBoss-user] [JBossCMP2.0] Compound Primary Keys and CMR fields

2002-06-27 Thread Dmitri Colebatch
I could be way off, but... a) quote entityejb-nameMyBean/ejb-name prim-key-classMyKey/prim-key-class ... cmp-fieldfield-namekey/field-name/cmp-field cmp-fieldfield-nameyear/field-name/cmp-field cmp-fieldfield-namemonth/field-name/cmp-fieldprimkey-fieldkey/primkey-field...

RE: [JBoss-user] Debugging EJBs

2002-06-27 Thread Sullivan, Sean C - MLG
Try this: 1) download Eclipse 2.0 http://www.eclipse.org/downloads/index.php 2) download the EASIE plug-in for JBoss http://www.genuitec.com/products.htm 3) run Eclipse 4) use the EASIE plugin to launch JBoss 5) deploy your EJB to JBoss 6) set a breakpoint in your EJB class

Re: [JBoss-user] JUnit and testing a EJB with security

2002-06-27 Thread Emerson Cargnin - MSA
do I have to use org.jboss.test.util.AppCallbackHandler as the AppCallbackHandler? It will work if I just use the jndi.properties with principal and credencials??? This way would be more trasparent... Scott M Stark wrote: See the security unit tests in our testsuite module.

Re: [JBoss-user] JUnit and testing a EJB with security

2002-06-27 Thread Emerson Cargnin - MSA
isn't the espc says to allow the jndi.properties to set both java.naming.security.principal=admin and java.naming.security.credentials=passwd ?? Scott M Stark wrote: See the security unit tests in our testsuite module. Scott Stark Chief Technology Officer JBoss

Re: [JBoss-user] JUnit and testing a EJB with security

2002-06-27 Thread Scott M Stark
do I have to use org.jboss.test.util.AppCallbackHandler as the AppCallbackHandler? No, you can provide your own handler. It will work if I just use the jndi.properties with principal and credencials??? This way would be more trasparent... No. Write your own InitialContextFactory to

Re: [JBoss-user] JUnit and testing a EJB with security

2002-06-27 Thread Scott M Stark
No way. The spec is moving toward JAAS and it never mentioned that the JNDI InitialContext should be the mechanism for providing authentication information. Search the 572 page of the ejb spec and there are zero references to jndi.properties. Scott Stark Chief Technology

[JBoss-user] Serialization error on JBoss

2002-06-27 Thread Danilo Luiz Rheinheimer
Hello, There are some issue about methods on the EJB returning Value Objects to clients ? I got this error when I try to get a value object using a remote call : java.lang.reflect.InvocationTargetException: java.lang.reflect.UndeclaredThrowableException: java.io.InvalidClassException:

Re: [JBoss-user] [JBossCMP2.0] Compound Primary Keys and CMR fields

2002-06-27 Thread Dain Sundstrom
Dmitri Colebatch wrote: I could be way off, but... a) quote entity ejb-nameMyBean/ejb-name prim-key-classMyKey/prim-key-class ... cmp-fieldfield-namekey/field-name/cmp-field

RE: [JBoss-user] [JBossCMP2.0] Compound Primary Keys and CMR fiel ds

2002-06-27 Thread Luttrell, Peter
I can see how nulls could be a problem. But I don't think are my problem in this case, for 2 reasons: The db is completely new and all data is added through MyBean. In the ejbCreate method i have null/empty string checks on these three fields (also eliminated from the example code below). The 2nd

[JBoss-user] sharing bean parent class deployment unit

2002-06-27 Thread Julien Viet
Whenever a ejbean in an application has a class which extends a class packaged in a .jar : .ear |--foo.jar - FooBean extends SommeClass |--util.jar - SomeClass is there something special to have this working ? I know that using the classpath manifest shouldfine forthat but I've read

Re: [JBoss-user] Space Bar to Continue?

2002-06-27 Thread Vijay
Ya sometimes we have to... - Original Message - From: Jason Stortz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 28, 2002 4:11 AM Subject: [JBoss-user] Space Bar to Continue? How are the rest of you handling the fact that now and then you have to hit the space bar