Thanks, Scott. I got this working.
public boolean emptyCart(CartLocal cart) {
Collection cartContentList = cart.getCartContentList();
Iterator i = cartContentList.iterator();
while(i.hasNext()) {
i.next(); // advance the pointer down the list
i.remove();
}
retu
I am using JBoss 3.2.1 with JDK 1.4.2 and i get the following error:
javax.jms.JMSSecurityException: User: null is NOT authenticated
at
org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:
215)
at
org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecur
ityI
Title: Message
I am using JBoss 3.2.1 with JDK 1.4.2 and i get the following
error:javax.jms.JMSSecurityException: User: null is NOT
authenticatedat
org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:215)at
org.jboss.mq.security.ServerSecurityInterceptor.authenticate(
Session beans don't have values so you have to be talking about the
database/entity bean values I presume in which case the behavior you describe is
expected.
--
Scott Stark
Chief Technology Officer
JBoss Group, LLC
Butt, Dudley wrote:
Hi,
Ok,
No, but you can redeploy the datasource with the new configuration.
This will not gracefully suspend ongoing or new transactions that start. To do
that you would need to implement your own JCA adaptor.
--
Scott Stark
Chief Technology Officer
JBoss Group, LLC
This has nothing to do with authentication and cannot be addressed from the
client. The error says that the abc.com stmp server will not relay mail to
@yahoo.com. You need to use another smtp gateway or configure it to allow
relaying from the local network.
--
Scott Sta
This is basic java.util.Collection behavior. From the java.util.Iterator.remove
javadoc:
public void remove()
Removes from the underlying collection the last element returned by the
iterator (optional operation). This method can be called only once per call to
next. The behavior of an iter
Use the jboss-ql limit offset feature if your db supports it.
ejb-jar.xml:
findWithLimitOffset
int
int
jbosscmp-jdbc.xml:
findWithLimitOffset
Hi,
My SMTP server requires authentication for outbound message sends. I have the usual
mail-service.xml filled in and it can send messages locally and even login to POP3.
But sends outside the local domain fail, giving the below error. Below that is the
xml template
I use, which is the default
I have the following method while takes as an argument a reference to a
CartBean (a shopping cart). This method's jobs is to remove everything
(CartContentBeans) from the shopping cart.
public boolean emptyCart(CartLocal cart) {
Collection cartContentList = cart.getCartContentList();
Thanks for the details. I appreciate.
You mentioned that this is a well worn explanation. Where can I find more
details? In the archive of this mailing list? In the archive of the JBoss
forum in jboss.org? Before sending the email, I checked the JBoss
documentation itself and I did not find too ma
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?
-John
---
This sf.net email is sponsored by:ThinkGeek
I have a bean with a field whose database column has a 'not null'
constraint. This field is a CMR. Since we're not supposed to set CMR
fields in the ejbCreate() method I moved the call to that setter to
ejbPostCreate(). However, since JBoss does the INSERT at the end of
ejbCreate() this viol
I recommend that you look at the xpetstore example project.
I can be found at: http://xpetstore.sourceforge.net
"Sasidharan, Manoj" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
09/08/2003 09:59 PM
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
[JBoss-user] Looking fo
Russ
I don't know exactly what you need to do in this app (just reading,
updating as well) but there's nothing wrong with straight jdbc from the
session bean for very large queries. This has been a J2EE design
principal for a while. Especially if it's read only.
On the other hand, if you get CM
correction: This issue with the first-time null exception seems related to
JDBCOptimistic lock - once I went back to QueuedPessimisticEJBLock the first-time
nulls no longer happen (but performance drops).
--__--__--
Hey all,
Optimizing my program and testing as I go through, and came across an
Thanks, Scott. That was exactly the problem. I did not even know
about gnutar. Ya learn something new every day...
Cheers,
-M@
On Tuesday, September 9, 2003, at 05:37 AM, Scott M Stark wrote:
I would say you extracted the contents of the download with the
inadequate
default tar rath
Oops... I forgot to mention versions:
We're using jboss 3.2.1 under linux, sun jdk 1.4.1
Russell Chan wrote:
Hi,
Is it possible to manipulate a datasource programmatically, to change
the characteristics of a datasource on the fly?
Here's what we'd like to do:
There are occasions, where we nee
Hi,
In our application we currently have a need (don't ask) to periodically
go through a very large dataset.
We are using jboss 3.2.1, with an oracle 9i back-end, using CMP2.
On my first attempts to do this, with a read-ahead strategy of
"on-load", with a page size of 10, (in a transaction),
the
Hi Manoj,
for lots of XDoclet examples, check out XPetstore:
http://xpetstore.sourceforge.net
or the resources section of the XDoclet website:
http://xdoclet.sourceforge.net/resources.html
HTH,
-Paul
--- "Sasidharan, Manoj" <[EMAIL PROTECTED]>
wrote:
> Hello All,
>
> I am looking for a some
The main thing to configure for JBossMQ is the MessageCache
so you don't run out of memory. Excuse me if I don't repeat
the well worn explanation.
JBossMQ already implements a transaction log for its local
branch of an XA transaction. There is also a jdbc2 pm that
stores messages/transaction log i
If I use JBossMQ to send and receive JMS messages and if I use the XA
capabilities of JBossMQ to have guaranteed/only-once delivery capabilities
across multiple read/write to multiple queues as well as external databases
(also using XA), is there anything I need to change to the JBossMQ
configurati
Yes, thanks. I had @read-only but the xdoclet tag is @readonly and then
it is translated to in the DD.
-Original Message-
From: Ingo Bruell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 09, 2003 1:45 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Designating CMP Fields as Read-
Hi all,
beside the proxy (maybe i have some jars missing in classpath),
the 'logger' problem has another 'problem'.
while compiling CastorJDOMBeanImpl class, the compiler returns me the following
error:
C:\jmx-dev\src\com\marco\config\CastorJDOImpl.java:335: cannot resolve symbol
symbol
Thanks Adrian.
I will post text/plain message in the future
Regards,
Stéphane
-Original Message-
From: Adrian Brock [mailto:[EMAIL PROTECTED]
Sent: Tue 9/9/2003 17:43
To: [EMAIL PROTECTED]
Cc:
Subject:Re: [JBoss-user] MDB - stop service
On Tue, 2003-09-09 at 15:30,
Hi all,
i am trying to compile CastorMBean class, but while compiling
it complaints that it cannot find following classes
org.jboss.logging.Logger
import org.jboss.proxy.Proxy
import org.jboss.proxy.Proxies;
i am using all teh jars included in the jboss 3.2.1 lib
is the package na
On Tue, 2003-09-09 at 15:30, Michael Klem wrote:
> I asked a similar question before and got this response:
>
> > 1. Is it possible to disable/enable an MDB from receiving messages
> > from a queue via JMX?
>
> There is an outstanding bug report (670068) where it
> doesn't setup ENC correctly if
Hey all,
Optimizing my program and testing as I go through, and came across an unusual
scenario. I have an Organization bean with a 1-N relationship to a Member bean. There
is an Organization.getMembers() method that is an aggregate value-object. When I call
the Organization value-object with
Hi,
Ok, somewhere in my implementation I've screwed up...
I have a session bean (stateless) that gets created then starts a process of database
writes via some business logic and entity beans.
When I start another process, the new session bean is created, but it doesnt start
writing to database
Title: Re: [JBoss-user] MDB - stop
service
I asked a similar question before and got this response:
> 1. Is it possible to disable/enable an MDB from receiving
messages
> from a queue via JMX?
There is an outstanding bug report (670068) where it
doesn't setup ENC correctly if you manually stop(
Hi,
Is it possible to manipulate a datasource programmatically, to change
the characteristics of a datasource on the fly?
Here's what we'd like to do:
There are occasions, where we need to swap out our normal database to a
replicated database, and we'd like to do this as smoothly, and in as
c
The EJB is going to have to be in the sar, or use the same scoped repository or
it won't be able to see the sar deployment classes. Scoped means visibility is
limited to deployments within the scoped loader repository.
Run the attached ListJar program against the sar in question so I can see the
ex
Joao Clemente wrote:
I was writing my thesis chapter about ejb clustering and, when describing
the replicated jndi tree I had this question:
I have a client. He wants to access a "well-known" EJB. The jndi tree is all
over the cluster, so I can use whatever node to do the jndi initial request.
But
I would say you extracted the contents of the download with the inadequate
default tar rathe than gnutar and the following path does not exist:
jboss-3.2.2RC3/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/ReadOnlyAccessFilter.class
--
hi,
a short question about transactions.
Is's good idea to set transactions for all get*() methods to Never i.e.:
/**
* Gets the permission_id attribute of the Acl_EntryBean object
*
* @return The permission_id value
*
* @ejb.persistence
* column-name="per
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Rod,
doesn't the tag work in jbosscmp-jdbc.xml ?
best regards
Ingo Bruell
- - ---
<[EMAIL PROTECTED]>
OldenburgPGP-Fingerprint: CB01 AE12 B359 87C4 BF1C 953C 8FE7 C648 169E
E5FC
Germany PGP-Public-Key available at pgpkeys.mit.
Hi,
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 found a thread from the
jboss-dev list dated April 30, 2002
(http://www.geocrawler.com/mail/thread.php
Hi to all,
I have a question regarding JMS and MDBs. Is it possible somehow to 'disable' an MDB. Clearly, I would like a feature accessbile through the JMX console or by invoking some session bean I would have made that allows me to disable a queue.
Meaning queue is still available (we can p
Hello All,
I am looking for a some write up (preferrably with examples) on how to use
XDoclets for generating deployment descriptor.
Has anybody used Chocolate? Would you recommend it for long term product
development?
Thanks for your help and comments.
rgds
MS
-
39 matches
Mail list logo