[JBoss-user] HTTP Session Replication

2003-09-10 Thread Vijaya
Hai,   I'm using JBoss-4.0 and when I'm trying to execute a simple stateful session bean to test the session replication, I got an exception that Attribute is not serializable. Then I added implements Serializable to the Java bean class and the Enterprise bean class. Then I tried to execute

RE: [JBoss-user] Need Deployment Descriptor Deployment Descriptor

2003-09-10 Thread Rod Macpherson
Title: Message We are running happily on JBoss and WebLogic with Oracle and are now testing our SQL Server port. Thank you for asking this question because the mapping is still Oracle9i... yikes! The mapping in the entity beans thus far must be adequate since we can deploy and navigate aroun

Re: AW: [JBoss-user] WG: JAAS not bound

2003-09-10 Thread Scott M Stark
I would guess that you are including some of the jboss client jars in the war and this is conflicting with the singleton JNDI object factory that manages the java: context. This causes a fork of the java: context local to the web app and none of the expected global bindings are seen. -- xxx

Re: [JBoss-user] Removing items from a CMR collection

2003-09-10 Thread Matthew Hixson
Thanks for pointing that out, Al. Here's the new and improved method that is actually removing items from the database: public boolean emptyCart(CartLocal cart) { Collection cartContentList = cart.getCartContentList(); Iterator i = cartContentList.iterator(); CartContentLocal cartContent

RE: [JBoss-user] Need Deployment Descriptor Deployment Descriptor

2003-09-10 Thread JD Brennan
Title: Message I tried to use the same JAR for both MySQL and SQL Server in JBoss 3.0.5 but couldn't figure out how to get around specifying the data-source mapping in the jbosscmp-jdbc.xml file.  How did you do that?   I thought about modifying the default standardjbosscmp-jdbc.xml but tha

[JBoss-user] Need Deployment Descriptor Deployment Descriptor

2003-09-10 Thread Rod Macpherson
Title: Message At the moment we are able to deploy the same physical EAR image to a variety of application servers with a variety of databases on the back-end. We achieve this using two system variables: a container vendor switch and a database vendor switch. The amount of code that relies o

[JBoss-user] JBoss clustering question

2003-09-10 Thread Rafal Kedziorski
hi, we starting develop a new application which should run in an JBoss (we want use newest 3.2.2 and Java 1.4.2_01) cluster on Linux with MySQL (with InnoDB tables). We don't have experiences with developing an clustered J2EE application. Can anybody explain us what should we consider bevore we

Re: [JBoss-user] forums versus mailing list

2003-09-10 Thread Vladyslav Kosulin
Rod Macpherson wrote: That would definitely be more appropriate. The most appropriate approach is to answer the question where it had been asked, IMHO. -Original Message- From: Sacha Labourey [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 7:53 AM To: [EMAIL PROTECTED] Su

Re: [JBoss-user] forums versus mailing list

2003-09-10 Thread Matthew Hixson
On Wednesday, September 10, 2003, at 07:41 AM, Darren Hartford wrote: Hey all, So what is the difference between using the JBoss forums versus the mailing lists? As far as I can tell, here on the mailing list you get answers to the problems you ask whereas the forum is just a list of questions

Re: [JBoss-user] exception handling advice

2003-09-10 Thread Matthew Hixson
Hi Brian, You might want to look into the BusinessDelegate pattern. It would fit between your struts actions and the session facade. In this level you can wrap system level exceptions inside more application usable exceptions. -M@ On Wednesday, September 10, 2003, at 09:34 AM, Brian McSw

RE: [JBoss-user] forums versus mailing list

2003-09-10 Thread Rod Macpherson
That would definitely be more appropriate. -Original Message- From: Sacha Labourey [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 7:53 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] forums versus mailing list I will answer that question in the forums if you don't min

[JBoss-user] exception handling advice

2003-09-10 Thread Brian McSweeney
Hi all,   I’d like to know what the best practice on handling exceptions is. I’m using:     Jsps >struts actions  > session facades > entity beans   Imagine for a second that the session façade allows CRUD operations on my entity beans. For example say I have a entity

[JBoss-user] lazy loading CMR collections

2003-09-10 Thread Matthew Hixson
I have a ContractBean which contains a CMR collection of ContentBeans. I have a few pages that deal strictly with the ContractBean data, that do not need the ContentBeans' data. However, when this page loads JBoss is asking the database for not only the information in the Contract, but also e

RE: [JBoss-user] How "reliable" JBossMQ is

2003-09-10 Thread thomas . cherel
Thanks for the details. I am a little scared by the specifications. For example the J2EE and JMS ones form Sun are very readable, but I had some very bad experiences with others such as the SOAP or WSLD ones I will give a shot at the XA one. Thomas Cherel -Original Message- From: Adr

Re: AW: [JBoss-user] WG: JAAS not bound

2003-09-10 Thread Adrian Brock
What does the following show on the console: for (Enumeration e = new InitialContext().list(""); e.hasMoreElements();) System.out.println(e.nextElement()); Regards, Adrian On Wed, 2003-09-10 at 16:18, Oliver Refle wrote: > This is what is defined in my jndi.properties. > > java.naming.factory.i

[JBoss-user] running ejb 1.0 on jboss 3.2.1

2003-09-10 Thread Felipe Oliveira
hi everyone, i have some ejb's that i developed for jboss 2.4.x. it worked fine but now i am being forced to migrate it to jboss 3.2.1. jboss 3.x doesn't seem to like my jar file...it complains on the deployment descriptors. i am using the following: ejb-jar.xml -> http://java.sun.com/j2ee/dtd

RE: [JBoss-user] forums versus mailing list

2003-09-10 Thread Juha Lindfors
I was going to answer on the list but it was rejected due to <<< 550-This message matches a blacklisted regular expression ([Vv] *[Ii] *[Aa] *[Gg] *[Rr] *[Aa]) :-) -- Juha On Wed, 10 Sep 2003, Sacha Labourey wrote: > I will answer that question in the forums if you don't mind. > > > -Ori

Re: [JBoss-user] Wrong credentials passed to get Connection! (jav ax.resource.Resou rceException)

2003-09-10 Thread Meyer-Willner, Bernhard
Thanks for your hint. After double-checking we discovered that it was simply our fault (just a little hard to see). At one point we supplied the wrong args (user/password) to getConnection() which didn't match those of the deployed datasource. Ash on our heads. This error has definitely been fixed

Re: [JBoss-user] forums versus mailing list

2003-09-10 Thread Meyer-Willner, Bernhard
To me the diff is that often it's easier to simply ask a question here instead of endlessly searching the forums. Usually you also get quicker replies. Having said that, at times, of course, you can also find valuable info in the forums of people having had your same problem in the past. Otherwise

AW: [JBoss-user] WG: JAAS not bound

2003-09-10 Thread Oliver Refle
This is what is defined in my jndi.properties. java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces is this enough or do i need something additional ??? Thx Oliver -Ursprüngliche Nachricht- Von: [EMAIL PROTEC

Re: [JBoss-user] Unique CMR fields

2003-09-10 Thread Mykola A. Nickishov
* Milen Dyankov <[EMAIL PROTECTED]> [030819 13:50]: > Relationship works just fine and JBoss creates "customer" and "product" > fields in "Sales" table. Now what I would like to do is > PRIMARY KEY ('custommer', 'product') > or at least > UNIQUE ('custommer', 'product') Milen, do you mean "14.1.

Re: [JBoss-user] forums versus mailing list

2003-09-10 Thread Adrian Brock
Personal preference. Regards, Adrian On Wed, 2003-09-10 at 15:41, Darren Hartford wrote: > Hey all, > So what is the difference between using the JBoss forums versus the mailing lists? > -D > > > --- > This sf.net email is sponsored by:ThinkGe

Re: [JBoss-user] WG: JAAS not bound

2003-09-10 Thread Adrian Brock
Do you have a jndi.properties in your deployment that specifies a provider url forcing it into "remote" jndi? Regards, Adrian On Wed, 2003-09-10 at 14:59, Oliver Refle wrote: > Hi all, > i have a small problem. I am forced to use 3.0.3 in my production > environment. Now i deployed a > web appli

RE: [JBoss-user] JbossMQ error: 'User: null is NOT authenticated'

2003-09-10 Thread Adrian Brock
You haven't got that far. You are still trying to make a connection. Are there any more informative messages in log/server.log you might need to enable DEBUG or TRACE for org.jboss.mq The answer to this specific question is that it will add if you don't specify it. Regards, Adrian On We

AW: [JBoss-user] WG: JAAS not bound

2003-09-10 Thread Oliver Refle
Here is the full StackTrace: 15:25:38,714 ERROR [JBossSecurityMgrRealm] Error during authenticate javax.naming.NameNotFoundException: jaas not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)

RE: [JBoss-user] forums versus mailing list

2003-09-10 Thread Sacha Labourey
I will answer that question in the forums if you don't mind. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Darren Hartford > Sent: mercredi, 10. septembre 2003 16:41 > To: [EMAIL PROTECTED] > Subject: [JBoss-user] forums versus mailing list >

Re: [JBoss-user] WG: JAAS not bound

2003-09-10 Thread Scott M Stark
Show the full stacktrace. -- Scott Stark Chief Technology Officer JBoss Group, LLC Oliver Refle wrote: Hi all, i have a small problem. I am forced to use 3.0.3 in my production environment. Now i deployed a web application which uses JAAS for sim

[JBoss-user] forums versus mailing list

2003-09-10 Thread Darren Hartford
Hey all, So what is the difference between using the JBoss forums versus the mailing lists? -D --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-

RE: [JBoss-user] JbossMQ error: 'User: null is NOT authenticated'

2003-09-10 Thread Panagiotis Korros
Yes there is an "unathenticated identity" for jbossmq in conf/login-config.xml. Should I also have: jboss.mq:service=SecurityManag er In my mbean definition? -Original Message- From: Adrian Brock [mailto:[EMAIL PROTECTED] Sent: Wedn

Re: [JBoss-user] Selecting large datasets using CMP

2003-09-10 Thread Russell Chan
Thanks Scott, I don't think this will help though. I need to ensure that the dataset hasn't changed during invocations of the call, and I don't think that using multiple calls to this query (to iterate through the WHOLE dataset) will guarantee that - even WITH a SELECT FOR UPDATE, as another i

Re: [JBoss-user] Selecting large datasets using CMP

2003-09-10 Thread Russell Chan
Thanks for you reply Eric. I suspected this was so, but was hoping for someone else to come up with a nice elegant solution for me. I want to take advantage of oracle cursors, so in this case, it looks like I have to use the raw jdbc. Russ Eric J Kaplan wrote: Russ I don't know exactly what yo

[JBoss-user] Re: JBoss-user digest, Vol 1 #5010 - 10 msgs

2003-09-10 Thread rjh
Hi, I found the problem, a link was actually referencing a local URL, problem solved. Thanks anyway. Bob - Original Message - From: "rjh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, September 09, 2003 11:35 PM Subject: Re: JBoss-user digest, Vol 1

[JBoss-user] WG: JAAS not bound

2003-09-10 Thread Oliver Refle
Title: Nachricht Hi all, i have a small problem. I am forced to use 3.0.3 in my production environment. Now i deployed a web application which uses JAAS for simple web authentication.(no EJB's). I use basic authentication. I defined in my login-config.xml the following (simply the other co

Re: [JBoss-user] ping

2003-09-10 Thread harm
I had the same problem. I'm not sure what's happening??? "Barlow, Dustin" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 09/10/2003 03:07 PM Please respond to [EMAIL PROTECTED] To "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc Subject [JBoss-user] ping Sorry for the wasted bandwidth. F

Re: [JBoss-user] ping

2003-09-10 Thread Scott M Stark
SourceForge has been having issues with its mailing lists the past few days it seems. I have seen several of my posts rejected by its mail servers. -- Scott Stark Chief Technology Officer JBoss Group, LLC Barlow, Dustin wrote: Sorry for the waste

[JBoss-user] ping

2003-09-10 Thread Barlow, Dustin
Sorry for the wasted bandwidth. For some reason my posts haven't been getting thru even though I'm a subscriber to this list. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf

Re: [JBoss-user] Wrong credentials passed to get Connection! (javax.resource.Resou rceException)

2003-09-10 Thread Scott M Stark
The change discussed in the indicated thread was in the 3.0.5 release. Provide more info about what is occuring that the point of the javax.resource.ResourceException and show that full stack trace as the provided stack trace an an NPE occuring after the fact. Or, even better, get the 3.0.5 sou

Re: [JBoss-user] JbossMQ error: 'User: null is NOT authenticated'

2003-09-10 Thread Adrian Brock
Have you made any other changes to the config? There should be an "unathenticated identity" for jbossmq in conf/login-config.xml The default is "guest" Regards, Adrian On Wed, 2003-09-10 at 07:23, Panagiotis Korros wrote: > > I am using JBoss 3.2.1 with JDK 1.4.2 and i get the following error:

RE: [JBoss-user] How "reliable" JBossMQ is

2003-09-10 Thread Adrian Brock
http://www.mail-archive.com/jboss-user%40lists.sourceforge.net/ or I repeat it at least once a month in the forums. :-) http://www.jboss.org/forum.jsp?forum=48 I don't know of any good begineers guides to XA You could try reading the specs? ;-) Regards, Adrian On Wed, 2003-09-10 at 02:53, [EMAIL

[JBoss-user] Re: Out of Memory error

2003-09-10 Thread Eric Jain
> After redeploying several times in Jboss (3.0.7) Jboss gives an > OutOFMemory error. Seems to only happen during development when > redeploying several times. Does this happen to anyone else? See http://sourceforge.net/tracker/index.php?func=detail&aid=576913&group_id=22866&atid=376685 -- Er

RE: [JBoss-user] Removing items from a CMR collection

2003-09-10 Thread Alastair Rodgers
It looks like you're no longer calling remove() on the bean itself though; you need to do that too - i.remove() just removes it from the collection, it doesn't delete the bean. Al. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Matthew Hixs

Re: [JBoss-user] problems setting a not null CMR field

2003-09-10 Thread Meyer-Willner, Bernhard
Well not directly. But it's a simple as defining a jboss-container.xml containing the container configuration in your merge directory and then merging it into jboss.xml during your build process. You assign this named configuration to your entity bean by using the following class-level XDoclet tag:

Re: [JBoss-user] problems setting a not null CMR field

2003-09-10 Thread Konstadinis Euaggelos
Is there any xdoclet tag in JBoss for doing this. (I have not found anything) INSERT after ejbPostCreate Container true For weblogic there is a tag for doing this. Vangos. - Original Message - From: "Meyer-Willner, Bernhard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesda

Re: [JBoss-user] problems setting a not null CMR field

2003-09-10 Thread Meyer-Willner, Bernhard
According to Sourceforge (http://sourceforge.net/tracker/index.php?func=detail&aid=784322&group_id=22 866&atid=381174) from JBoss 3.2.2RC3 there is a INSERT after ejbPostCreate() option. So you shoudldn't have any more problems with CMR and NOT NULL Foreign Keys. Add something like this in jboss.x

[JBoss-user] Wrong credentials passed to get Connection! (javax.resource.Resou rceException)

2003-09-10 Thread Meyer-Willner, Bernhard
Hi, can anybody please contribute anything to this topic. It is extremely important an strange!! Our app always ran smoothly on JBoss 3.0.5 and Oracle 8 till at one point we received the stacktrace you can find at the end of the email. I tried finding something about this on the web and foun

Re: [JBoss-user] Out of Memory error

2003-09-10 Thread harm
Yes, I have had the same problem many times with jboss 3.2.1. Development Mailing Lists <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 09/09/2003 09:09 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject [JBoss-user] Out of Memory error After redeploying several tim