The problem is that you are creating a SFSB when you perform the JNDI lookup,
and then your call to checkout() is causing it to be removed because of the
@Remove annotation. After that point you can no longer use that cart instance,
so it fails the second time around your for loop.
The error y
When I turned on client logging as you suggested it became clear that I was
doing something unbelivably stupid in my client - logging out in my factory
class before any of the business methods were called.
Thanks for the suggestion - I'd pretty much given up.
View the original post :
http://ww
This is what I see in the log:
2006-03-22 09:10:21,009 TRACE [org.jboss.security.SecurityAssociation]
getPrincipal, principal=null
2006-03-22 09:10:21,015 TRACE
[org.jboss.security.plugins.JaasSecurityManager.identity] Begin isValid,
principal:null, cache info: null
2006-03-22 09:10:21,015 TRAC
Hi, I'm having problems with authentication for a remote EJB client.
As I understand it, my client should use the ClientLoginModule to collect
username/password, and then the server should be configured to use a login
module that will read the username/password passed from the client.
I believe
I meant to say that this is with JBoss4.0.4RC1 - which I believe includes EJB3
RC5 PFD.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929132#3929132
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929132
I am having a problem with an @AroundInvoke interceptor not running for methods
that are implemented in a superclass of a Stateless session bean:
| public interface A
| {
|public String getMessage();
| }
|
| public interface B extends A
| {
|String getOtherMessage();
|
Perhaps I'm being dumb, but none of the replies in similar threads have helped
me get my head around this... I'm using JBoss 4.0.4RC1.
I want to have a parent-child relationship where the child PK is a composite PK
where the first part is the parent id. I want to avoid having a join table, or
a
Hi, sorry if this has been answered before, but in searching the forums I've
found plenty of related threads, but most of them have different suggestions
and I'm just confused at this point.
I am trying to cluster an application that sends events on a Topic that is
listened to by a couple of MD
Thanks for your reply.
I'd accidentally included the jndi.properties intended for test clients in the
jar of classes inside my EAR.
Everything now works as expected.
Thanks again,
Andrew
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857229#3857229
Reply t
Hi, I'm using JBoss 4.0.0 and I'm having some problems with JBoss apparently
ignoring the CallByValue=false attribute of the NamingService in my custom
JBoss configuration.
I have a custom server configuration containing those services I need deployed.
It is based upon the standard configuratio
Hi, I know there's been a lot of posts about this before, but I wanted to check that I
was doing this right, and I've not been able to find any official documentation...
I've got a series of entities with attached properties - e.g. identity and
identityproperty. The main entity has an id, and th
The connection gets closed after the loop finishes - when I'm running this test with a
single thread there's only ever one connection open.
The duration of the test is usually a minute - in which time it can send and receive
about 2000 messages. And each time it sends/receives a message over the
Hi,
I've been trying to run some load tests against a remote server, and I'm finding that
JBoss is using a lot of threads (and eventually can't create any more).
I have a MDB that's listening on a local queue, and replying to messages via the
destination I'm setting as the JMSReplyTo on the Mess
The structure of the jboss-3.2 module is quite different from how the files are
organised in CVS.
If you look in CVSROOT/modules you can see how jboss-3.2 is built up from a list of
aliases (I think that's the right term). You can use this to work out where to find
things in CVS web.
Alternati
It's the JVM that caches DNS entries forever by default - which is an annoying thing
for it to do.
You can change the settings in two ways:
1) Set "sun.net.inetaddr.ttl" system property
e.g. -Dsun.net.inetaddr.ttl=30 in JAVA_OPTS when starting JBoss to limit the caching
to 30 seconds
2) Set "n
I think I've read that if you make your error page longer than a certain number of
bytes it will appear instead of IE's "friendly error message".
So you could try adding a quantity of whitespace to your error page and see if that
works.
Hope that helps.
View the original post :
http://www.jbo
The jars in server/.../lib are not picked up immediately - for something like this you
need to add the location of your jar to the JBOSS_CLASSPATH before calling run.bat,
and I'd suggest putting it somewhere else (e.g. $JBOSS_HOME/lib).
View the original post :
http://www.jboss.org/index.html?m
Err, how about:
count: number of times method called
minTime: minimum amount of time a call took to complete (usually in ms)
maxTime: maximum amount of time a call took to complete
totalTime: total time for all calls.
You can get the average call time by dividing the total by the count.
It's act
Sorry about that.
Not sure why the search page finds the release announcement when you search for
"inspectMBean.jsp", but not when you search for "inspectMBean".
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828523#3828523
Reply to the post :
http://www.j
We've been using this for quite a while without any problems for both CMP fields and
CMR getters.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828521#3828521
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828521
--
Haven't seen this reported (sorry if it's a dupe), but the jmx-console is not working
in 3.2.4RC1 because inspectMBean.jsp doesn't compile.
This appears to be because it uses org.jdom.output.XMLOutputter, but jdom.jar seems to
have been replaced with dom4j.jar in $JBOSS_HOME/lib.
(it works OK w
You'll have to build mod_jk2 from source.
You can download the source from here: http://jakarta.apache.org/site/sourceindex.cgi
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825035#3825035";>View
the original post
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=382
Because the RMI call is within the same VM it's being optimized by JBoss. So the
arguments aren't serialized and pass-by-value becomes pass-by-reference.
When we used to use WebLogic it used to do the same thing, so I don't think it's an
unusual optimization.
You can make the RMI calls behave a
When Jetty runs out of threads you should do a Thread Dump on the JVM to see what your
threads are doing.
It's quite possible that some of your threads are deadlocked in your application or
database and are sat waiting for something.
This sometimes happens to us when we have database problems -
We're using CMP with views (Oracle 8.1.7.4 I think) and we're able to update them.
However, our views are really just hidding certain things from the entities (e.g.
there are lastupdated dates and things like that which aren't included in the view).
If you've got a column which is derived in the
We had this problem with 3.2.1 (with a LocalTx Datasource). Most of the problem turned
out to be our application doing something dumb :) but there also appears to be a bug
in the connection pooling.
See http://www.mail-archive.com/[EMAIL PROTECTED]/msg30247.html
I'm afraid I never raised a bug
Are you familiar with XML and DTDs? The error is telling you that your XML does not
match the DTD.
Looking at what you've posted I can see that you're doing something like this:
declare servlet
declare servlet-mapping
declare servlet
declare servlet-mapping
...
This is not correct - if you look
You might want to try using the Search facility built into the forums. Hint, search
for "OpResultInfo" in all forums.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823232#3823232
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=
You not have seem Rod Macpherson's reply because it went to the mailing list only:
anonymous wrote : To get you going you could toss classes12.jar in your
| /jboss*/server/some-config/lib directory and leave it out of your
| webapp.
|
| OT: Have you considered using Ant in combination wit
You might want to check the JDBC calls that the CMP engine (turn on DEBUG logging for
the CMP engine in conf/log4j.xml - there should be examples of how to do this
elsewhere in the forums).
It's possible that JBoss is not making the same calls as WebLogic was, and you may
need to tune the querie
Are you using Tomcat 5? We had the same problem. The fix (which just adds a no
argument constructor) is checked into CVS and will be in JBoss 3.2.4.
You could do what I did and fix it in a copy of the 3.2.3 source and just update the
class in jmx-console.war.
Seems like Jasper has changed how i
Tomcat is now the default servlet engine, but there is still a version of JBoss 3.2.3
that is bundled with Jetty:
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16943
You can also get jbossweb-jetty.sar's from the Jetty project directly if you want to
upgrade Jetty seper
We use JSTL 1.1 with JBoss 3.2.3 using Jetty 5.0beta2 as the servlet container.
In order to deploy webapps using the 2.4 schema (and therefore get JSP2 & JSTL 1.1 to
work) we had to upgrade xercesImpl.jar (in $JBOSS_HOME/lib) to a version that handles
schemas properly. We used the version that w
I would recommend option 1.
Whilst I don't have figures to back this up, I would say that the overhead of
communicating between Apache and the servlet engine on a different machine using JK2
is going to be much less that the overhead of communicating between machines using RMI.
Also I think it'
We're using JSTL 1.1 with JBoss 3.2.3 and Jetty 5 beta2 with no problems.
We have jstl.jar in the server/default/lib directory and standard.jar in the
WEB-INF/lib directory of each of our webapps.
We used a similar configuration for JSTL 1.0 with Jetty 4.
Servlet 2.4 containers (i.e. Jetty 5 & T
Alternatively you can do what I did last week which is to get the 3.2.3 source and
build the fix yourself.
The change is to simply add a no-argument constructor to
/varia/src/main/org/jboss/jmx/adaptor/control/OpResultInfo.java
After you've built it you can then update the class in
deploy/jmx-
36 matches
Mail list logo