Ales,
Is the code for spring-int (specifically org.jboss.spring.vfs) still maintained
at https://anonsvn.jboss.org/repos/jbossas/projects/spring-int? Is the jar now
available in JBoss AS 5.1.0 or part of some maven repository?
Thanks.
Naresh
View the original post :
Thanks Tim. I will surely try out your suggestion of using raw JMS to send and
receive from a queue.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4244464#4244464
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244464
Clebert, Tim,
Thanks for your detailed responses. So I understand how to deal with database
persistence. The only question that remains is how I should configure the JMS
piece. Drop MDBs/JCA/JTA? (since that is turning out to be slow too.) But,
replace it with what? My own
timfox wrote : Why are you persisting orders in a database?
To clarify, orders are persisted in two databases, one on each system. The two
systems belong to different departments (or even different companies) - so
there is an ownership issue here and both systems need to save the data.
timfox wrote : The right way depends on what you are trying to do.
|
| From your test program I can see you are just sending messages to a queue,
and consuming them via an MDB which does nothing but log a message.
|
| In this case you don't need transactions on your MDB, also there's no
timfox wrote : I'm slightly confused - I can't see where in your test program
the Spring JMS Template is being used...
The test program doesn't use Spring at all. All my comments about Spring were
in reference to the performance testing section of the JBM manual.
View the original post :
timfox wrote : clebert.suco...@jboss.com wrote : timfox wrote : If you
post your example application on a JIRA, then someone next week can have a look
at it and see why it's acting slow...
| | |
| |
| | The test we were using to replicate the ping issue replicates this
My example is already posted in JIRA (see
https://jira.jboss.org/jira/browse/JBMESSAGING-1677 - JmsTest-v2.zip). It
obviously uses all the bad things :-), i.e. MDB, JCA, JTA. I think the best
thing to do is to change the example to work in the recommended way and use
it as a reference.
I read
Well, my test is very slim - it does not do any database transactions or
message processing. I even disabled the logging of the messages to make sure I
am getting raw message times. The only thing that is potentially slowing down
the performance is the use of XA, through the use of JCA and
Please don't ask me to drop MDBs :-). I have tinkered with so many options
since last month (including ActiveMQ), and settled on this one - at least it is
working! I figured this is the best way to get robust connection pooling. Based
on this, I even gave up my easier war packaging for an ear.
Ok I checked out your latest tweaks on the trunk, and it seems like the problem
is gone. 1 messages sent and received without any hiccups!. That's great!
As a side note, it took 12 minutes for the full round trip, which translates to
about 14 tps. Any tips on how this can be improved? Of
Clebert, to answer your question, I am running on a real Windows XP machine -
not a VM.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4244056#4244056
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244056
Andy and Tim, thanks for answering my questions. I guess I was not very clear
on the boundaries between JBM and JBoss, so your explanation was very helpful.
Since many users will use JBoss and JBM together, I suppose including that
explanation in the manual would also be very useful.
I have
Hi Andy,
Thanks for the pointers. Based on your suggestions I have been able to send and
receive 1000 messages on my Windows XP box without any problems! I tried to
push this number upwards but it breaks at about 3000 messages - same
Connection failure has been detected message. Anyway, I am
Clebert, I have now tried the same code (with the modifications you suggested)
on 3 machines - Windows XP, Windows Vista and Windows NT. The only machine
without the connection failures is Windows NT. XP and Vista seem to start
giving issues after receiving 500 messages. What OS did you run
Hi Tim,
To answer your questions:
- I am not mixing jars from beta1/2 with beta 3. I have completely separate
JBoss installations for JBoss 5.1.0 + JBM 2.0.0.BETA1 and JBoss 5.1.0 + JBM
2.0.0.BETA3. The JBoss installations were created by running ant in JBM's
config\jboss-as directory with
Hi Tim,
To answer your questions:
- I am not mixing jars from beta1/2 with beta3. I have completely separate
JBoss installations for JBoss+JBM.BETA1 and JBoss+JBM.BETA3. The JBoss
installations were created by running ant in JBM's config\jboss-as directory
with appropriate versions installed.
Sorry about the double post. I did not realize that the first one had gone to
page 2.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4242737#4242737
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242737
Clebert, thanks for testing my app. I will try your suggestions and let you
know if it makes any difference. Quick followup question - how do I use the JCA
connection factory? Is there one existing in the default configuration and what
is its JNDI name?
Thanks.
Naresh
View the original post :
Done.
https://jira.jboss.org/jira/browse/JBMESSAGING-1677
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4242032#4242032
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242032
___
I am getting the following MessagingException when I deploy my ear. I am using
JBoss Messaging 2.0.0.BETA3. Any idea why this could be happening? (The same
ear on another machine with JBM 2.0.0.BETA1 is working just fine.)
| org.jboss.deployers.spi.DeploymentException: Endpoint activation
Clebert, thanks so much for the pointers. You are correct, the default
configuration in beta3 does not contain either the in-vm connector or the
acceptor. After adding both, the exception went away.
Just out of curiosity, is this intentional? I would prefer that the default
configuration
I am having trouble receiving messages reliably using JBM 2.0.0.BETA3 deployed
in JBoss AS 5. Every once in a while I am getting a Connection failure has
been detected message and then I start loosing messages. Can someone help me
identify the issue?
I have simplified my web application down
Thanks Jeff. That worked for me.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4240556#4240556
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4240556
___
jboss-user mailing list
How do I look up queues in JBoss JMX console? I click jboss.messaging then
name=JMSProvider,service=JMSProviderLoader, but I don't see any queues under
there. At least with jconsole I was able to get to the queues quite easily.
View the original post :
I am not able to operate on any of my queues from jconsole. For example,
clicking on listAllMessages gives the following error:
Problem invoking listAllMessages: UnmarshallException...
Nested Exception: ClassNotFoundException: org.jboss.messaging.utils.SimpleString
What am I missing? Is there a
I understand that process and task variables exist on process instances and
task instances. However, is there a way to define them in a process definition?
This would allow us to create a predefined variable whenever a process instance
or a task instance is created from a process definition. Is
I have not seen any reference to such functionality in the manual or on the
web. The jpdl schema also suggests that this is not possible. I am fairly
certain that such a feature will improve the usability of jBPM as it provides
an easy way to provide personality to processes and tasks at
How do I find all running process instances for a process definition? I tried
GraphSession.findProcessInstances(long processDefinitionId), but this method
returns all process instances including those that have ended (potentially a
very expensive query).
I found the following named query in
Ah ok! That was the missing link I was looking for. Still getting used to the
API. Thanks so much.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4180907#4180907
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4180907
Thanks Ronald, I will take a look at Seam/jBPM integration.
BTW, I just tried to follow the examples included with jBPM Console and they do
exactly what I am looking for. For example, the task_all.xhtml page shows all
tasks and when any of the task links is pressed, the appropriate form is
I am developing an application where I need to show a task list for the user
who is logged in. Tasks can be of different types, e.g. Fill out a W2 form vs.
Submit your timecard (they may belong to one of several workflows). Each task
is presented as a link which takes the user to a completely
Ah yes, that will work :-). Thanks. It does involve an if-then-else though, so
wasn't sure if I was missing some better way of doing this.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4177855#4177855
Reply to the post :
Here you go...
| ?xml version=1.0 encoding=UTF-8?
| !DOCTYPE application PUBLIC
| -//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN
| http://java.sun.com/dtd/application_1_3.dtd;
| application
| display-nameestore-app/display-name
| module
|
I have an existing jar file containing POJO entities (no JPA annotations, no
persistence.xml). I would like to persist there entities using a new EJB jar
file which contains a persistence.xml and a mapping file. Is this possible? I
tried it, but I am getting a InvalidMappingException:
|
Thanks Andrew. I was able to use @RemoteBinding to control the JNDI name. Now I
would like to move this specification only to jboss.xml. However, I could not
find much documentation around it. I have already looked through the following
URLs
| *
Answering my own question :-). This is how I was able to do it:
| jboss version=3.0
|
| enterprise-beans
| session
| ejb-nameHelloWorldBean/ejb-name
| jndi-nameHelloWorld/jndi-name
| /session
| /enterprise-beans
|
|
According to the EJB 3.0 Spec:
anonymous wrote :
| The requirement for Home interfaces has been eliminated. Session beans are
no longer required to have home interfaces. A client may acquire a reference to
a session bean through one of the mechanisms described in Chapter 8.
|
I am trying
Thanks Andrew. That was the issue! So I have couple of follow up questions:
1) Is this JNDI name (helloworldejb3-app-1.0/HelloWorldBean/remote)
implementation specific? Is there any way to give it a more user friendly JNDI
name, such as HelloWorld?
2) Is there a nicer way to get a reference to
Thanks Gavin. I will start by creating a loosely-coupled (SOA) application and
see how far I can take it. I will post on the forums in case I have questions
or need clarifications.
Thanks.
Naresh
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3999148#3999148
Thanks hstang and Norman for your opinions - very informative and useful.
And yeah, Norman, I will feel free to join in as soon as I can :-), currently
very busy with two other open source projects. BTW, I totally agree with your
comment about over-architecting applications when there is
I am a newbie to Seam and just getting started with it. First of all, I would
like to commend Gavin for putting together a bold and compelling architecture
that is indeed groundbreaking. The concepts around Seam contexts and use of
stateful session beans to save state indeed yield a very simple
I have created a seam application using seam-gen. I have a page that displays a
master entity and its children. The page also allows the user to add a new
child. However, when I click the submit button on the page to add the new
child, the finally rendered page does not show this child. The
Correct - the child is added fine, but the rendered page does not show the
newly added child. The reason is that the Thread and Posts are fetched from the
database during the Apply Request Values phase, and only later in the Invoke
Application phase the new Post is inserted.
Here's the source
44 matches
Mail list logo