I am very new to JMS and JBoss, but I would like to learn more.
I am trying to create a web application running in JBoss that does some
searching of xml databases for persons in my company. The problem I am
up against is that these searches can take a long time (10-20 minutes)
due to the fact th
Sunday, December 08, 2002, 8:29:10 PM, you wrote:
S> Hi,
S> I keep getting the following error when deploying some beans:
S> 19:26:54,825 WARN [ServiceController] Problem starting service
S> jboss.j2ee:jndiName=eenloketsysteem.entitybeans/Persoon/Home,service=EJB
S> org.jboss.deployment.Deploym
can we specify the ConnectionfacoryName in the servise.xml
file? if yes,
How to specify the Connectionfactory name in the own
servise.xml file?
thanks in advance
Thanks&Regards~A.Madhu
Sudhan
M.Tech,MIGS, (M.S)Software
Engineer~~~
This is one of the things I've been pushing for awhile. To extract the
basics of our testsuite into a downloadable library as well as provide ant
templates and documentation so that others can use this stuff.
I have already identified the files that should be extracted. Anybody care
to document
Hi all,
I want to access a remote jboss JMX server via RMI. I try to connect to the
remote server, as described in Juha's book page 271.
But looks like the jboss-jmx package hasn't a ConnectorFactory class. So I
had tried to use the ConnectorFactoryImpl.
But strange here the "createConnector("RMI",
The exact same thing has existed in JBoss for a long time and is called
JUnitEJB... I really think it should be converted to be an MBean
instead, but that is another story.
-dain
On Tuesday, December 10, 2002, at 05:00 PM, SPam wrote:
Dain, your are right its a good approach to test EJB tier
Hi,
We're running straight JBoss 3.0x/Jetty in production, with squid running in web-accelerator mode in front of it.
So, out static content is (mostly) delivered by the squid cache, and all dynamic requests passed through to Jetty.
Steve Coy
On Tuesday, December 10, 2002, at 11:10 PM, Victor
Dain, your are right its a good approach to test EJB tier to have test run
inside the container.
Jim, There are interesting things in JBoss source, and there is also a
demoniac Junit extensions called ServerTestCase which uses as a custom test
runner a simple stateless (remote) EJB which runs your
On Tue, Dec 10, 2002 at 03:23:31PM -0500, Jim Crossley wrote:
> The app I'm currently working on is very CRUD-ish; it does simple
> read/write maintenance on a bunch of related objects. I don't want the
> web tier to access the Entity beans directly -- this would violate the
> transactional req
On Tue, Dec 10, 2002 at 02:32:17PM -0600, Dain Sundstrom wrote:
> Jim,
>
> How do you think we test JBoss? Take a look at the CMP tests in the
> testsuite. We have an addon to JUnit that can deploy and undeploy
> applications. Also we have a tool that can run the tests on the server
> side
Jules Gosnell wrote:
Joao,
I'm sure I checked this fix in - maybe it is on another branch - I will
have a look tonight.
Apart from this fix, ar you experiencing any other problems ?
Jules
The fix is in Branch_3_0 now.
Jules
Joao Pedro Clemente wrote:
Hello,
Which HTTP Session imple
> Apart from this fix, ar you experiencing any other problems ?
well, yes, but still haven't understood it correctly, and I'm not sure if it's Jetty
or cluster related. For instance:
During the afternoon, after applying the fix, I tested like this:
(server A and server B)
Did some requets to A
confirm 956589MSN. Más Útil Cada Día Haz clic aquí
---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
Jim,
I've never written a web app. If I planned to write one, I would do my best
to separate the user interface parts from the business logic parts from the
persistence layer parts. I know that it may not be entirely possible to
achieve a complete separation of layers, but we should strive to do
Igor,
I'm not sure whether I consider the problem that you describe as one for
unit tests, at least not for me and not now. I'll have to think about it
more when I'm doing EJB work again. So far, the Session Beans that I've
coded have not suffered from this problem, somewhat to my surprise: I d
Jim,
How do you think we test JBoss? Take a look at the CMP tests in the
testsuite. We have an addon to JUnit that can deploy and undeploy
applications. Also we have a tool that can run the tests on the server
side like (I wrote this to test local interfaces), but does not require
a servlet
These are good points, and I appreciate yours and others' prompt
replies. However, the solutions presented so far seem to force me to
complicate my object model to facilitate testing.
I agree that an app that is difficult to test probably suffers from poor
design, but web apps by their very na
This aproach does not test deployment descriptors. I've had quite a few
problems with missing ejb-ref, resource-ref, etc. What is especially bad
is that you do not know if your deployment descriptor has a problem
until you actually try to execute line of code that uses missing resource.
Demyano
Jim,
I currently do not unit test either Entity or Session Beans. Entity Beans
are trivial to write, and I trust that the application server will persist
them as advertised. To unit test Session Beans would require that they be
deployed. Since deployment complicates unit testing and complicated
Hi -
Sybase ASE has a limitation of 250 ANDs/ORs in a select. It also has a
limitation of 250 elements inside of an IN. We've encountered a problem
with the way that JBoss CMP pulls large sets of data from the database
because of this limitation. CMP engine first pulls all of the primary keys
Hi -
Not sure if I completely understand your question, but we use JUnitEE, which
runs as a servlet inside the container. It invokes your unit tests and
displays the results in HTML format. Very nice.
Personally, we always run tests on the remote interfaces of our EJBs so that
we can test the
You don't mean it :))..
Hi again
I am so sorry for not replying sooner it seems that, one of my emails seemed to have
gone astray, so I thought I would reply hoping that you would still remember who I am
:)) If by some chance you have changed your email, I guess I would have lost an
opportuni
Lennart Petersson wrote:
JBoss 2.4.x
Why does findByPrimaryKey() always result in a 'select
count()'-query on the database? Is it really needed due to the spec?
I mean, I've told the app server (by using commit option A) that no
one else but the app server is touching the database. So...
Title: RE: [JBoss-user] Testing EJB's
My advice will be to expose the remote interface of the component, so that
you can test is with standard JUnit test cases.
Its easy and you test framework is simple.
But, you have to deploy your component to JBoss
-Original Message-
From: Jim Cro
A good example of how nice it would be to instead have the spec allow you to
just have
bean def as usual... , which vendors could tie to
mbeans if that's what they wanted. That was my point of the original thread,
the simplicity and portability that the spec could accommodate.
> -Original M
Thanks Benjamin. That's extremely helpful.
Regards
Eric
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Geer,
Benjamin
Sent: Tuesday, December 10, 2002 11:24 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] J2ee spec thoughts
Eric Kaplan wrote:
>
What's the current best practice for unit testing EJB's, (both Entity
and Session)?
I'm trying to avoid having to deploy them to a separate JBoss instance
to test them. More precisely, I want to be able to deploy them to an
in-memory container, if possible, similar to Hypersonic's in-memory
d
Sachin,
You have to get datasource from j2ee server using jndi lookup to get xa
behaviour.
Sachin Rohamare wrote:
Hi,
I am using JBosss-3.0.0 .
I am using StatelessSession beans.
I am using directly below code.
com.microsoft.jdbcx.sqlserver.SQLServerDataSource l_sqlServerDS = new
com.mic
I guess we weren't looking to provide you with easy-to-use-now solutions
:-))
You should be able to isolate the tx in the mbean by writing your own "tx
interceptor" code in your mbean:
/**
* @jmx.managed-operation
*/
public object doSomething(Object data) throws Exception
{
Transaction tx = n
CMP checks the cache before executing a findByPrimaryKey query. If it
is not checking the cache first it is a bug. All other queries go
directly to the database, because we don't have an in memory query
engine.
-dain
On Tuesday, December 10, 2002, at 07:55 AM, Sacha Labourey wrote:
That is
Eric Kaplan wrote:
> What's my best resource for understanding how to turn this
> thing into an mbean and then have the mbean accessed via slsb's?
One easy approach:
1. Write an MBean interface for your component, extending
org.jboss.system.ServiceMBean.
2. Write the implementation of your MBean
Hi Tom,
if you look inside the "J2EE design patterns applied" then they use
a Singleton and caching (with a Hashtable) as well for EJBs.
They also use JMS-qeues and DB-connections (also cached
in Hashtables) in their implementation of the SL.
- Original Message -
From: "Tom Coleman" <[EMA
Now that I look closer, it does look like it is just loading PKs.
Thanks for helping me see that.
-H
> From: Stephen Coy <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Tue, 10 Dec 2002 14:34:15 +1100
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] EJB Commit Option A Cache Questio
The ServiceLocator pattern is interesting and can probably prove
useful in complex applications, but I think that's where the
decision to implement it belongs, in the application.
Incidently, if you review Sun's code, there are two flavors of
ServiceLocator (SL) - one for the Web tier, the oth
I agree with your comments. That's why I have posted this.
Maybe I was not specific enough about the pooling.
Inside my SL I can simply grab a datasource from JNDI
and send it back to caller. There is no problem and I
am using the connection pool in the right way (all your complaints
are 100% corr
Thanks Benjamin. The bit about threading was actually a rhetorical
question. What's my best resource for understanding how to turn this
thing into an mbean and then have the mbean accessed via slsb's?
Regards
Eric
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Sorry for the delayed response. We've not been able to get the dependency
timing to work out. The queues start up and try to connect to hypersonic
before hypersonic is ready. Even though there are dependencies set up in all
of the queue entries, they don't seem to respect whether or not the Hyperso
Hi,
For Jboss 3.0.1, I've noticed that the system property jboss.server.data.dir
is updated with the absolute path to the server/xxx/db directory. Is this
the 'official' method for locating this directory, or is there another way?
/tia
Per Norrman
###
Andreas Mecky wrote:
Hello Joao,
I think that David Ward has given some more reasons why to use an apache
webserver.
Even if the content is dynamic it can still contain images.
Take yahoo.com as an example. The have special webservers that only deliver
the images (you can see this when you look
Eric Kaplan wrote:
> It spawns threads, so can it be in the ejb tier?
No, that would violate the EJB spec.
I suggest you turn it into an MBean. This has nothing to do with the
J2EE spec,
but it works wonderfully in JBoss. We're porting one of our
applications, which
has previously run as a stan
Personally I think this pattern is slightly silly.
However, AFAIK, you should be looking up datasources from your SL not
connections, or at least getting connections from a ds whenever you ask for
one. This should work. If it doesn't please provide details. Caching
connections themselves wont w
Hello Joao,
I think that David Ward has given some more reasons why to use an apache
webserver.
Even if the content is dynamic it can still contain images.
Take yahoo.com as an example. The have special webservers that only deliver
the images (you can see this when you look at the source code of
Andreas, please explain a little bit better where will we get more
performance.
I can be (and surely am) wrong in my reasoning, but the original message
says explicitly "ONLY dynamic applications". So, you say apache should be
used to serve images/html... as far as I know, that is static content.
I erroneously posted this message under the subject >>Re: [JBoss-user] J2ee
spec thoughts<<. I'm new to this list and I just "replied-all" to one of
the messages I received without changing the subject. My apologies.
Now if some kind soul that is familiar with my situation would provide some
hin
David,
> I thought this changed before 3.2 existed...
>
> Try
> ...:8080/jmx-console
Sorry, I was not clear / omitted this ... I am using the 8080/jmx-console
now (the colored one as opposed to the "text-only on port
8082) and that is where I don't get the expected behaviour.
I meanwhile downlo
Joao,
I'm sure I checked this fix in - maybe it is on another branch - I will
have a look tonight.
Apart from this fix, ar you experiencing any other problems ?
Jules
Joao Pedro Clemente wrote:
Hello,
Which HTTP Session implementation do you use?
hmmm... the default one? Jetty? From to
In a similar manner, I have to cache some data that is both physically
large and expensive to compute. In my case, the data is refreshed on
events in the system. In addition, as changes occur to this singleton,
they must be broadcast out to the users (they can't poll). In addition,
this singleto
I thought this changed before 3.2 existed...
Try
...:8080/jmx-console
david jencks
On 2002.12.10 04:24:47 -0500 "Rupp,Heiko" wrote:
> Hi,
>
> In 3.2.0beta I had the jmx-console at Port 8082 and was
> able to see the jndi "listing" from the console as well as
> to start the hypersonic manager f
That is really really strange and should be changed IMO. Dain, is that a
side effect of another behaviour or is that really the wanted behaviour. I
suspect that this behaviour is inherited from the "single-pk finders"
behaviour that must go to the db anyway.
Is that also the case when you simply h
Hi,
You need to take a look at the
file
\server\default\deploy\jbossmq-destinations-service.xml In
this file all destinations for topic/queues are defined via MBeans. You can
create your own <...>-service.xml file in which you define your own
destinations and deploy it by copying/moving t
sorry for repeated message :)
/L
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge
JBoss 3.x is doing the same, that is doing a SELECT COUNT before the actual
SELECT for findByPrimaryKey.
My question also is: is this intended behavior?
-Ursprüngliche Nachricht-
Von: Lennart Petersson [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 10. Dezember 2002 14:11
An: [EMAIL PROTE
JBoss 2.4.x
Why does findByPrimaryKey() always result in a 'select
count()'-query on the database? Is it really needed due to the spec?
I mean, I've told the app server (by using commit option A) that no one
else but the app server is touching the database. So... if the app
server has an e
Joao Pedro Clemente wrote:
Hello!
I am using JBoss with bundled Tomcat. The server which I
am running applications will only have dynamic applications (servlets or
servlets + EJBs).
On this case should I use the apache web server, or can I
use Tomcat to answer to HTTP reque
Hi,
you should use apache in front of your system. In this case apache can serve
all your images/html pages and so on. This means you get a performance
increase.
Sorry Joao, but your mail was absolutely wrong and it is definitely the
other way round :)
>From my personal experience I can say that
> Hello,
>
> Which HTTP Session implementation do you use?
hmmm... the default one? Jetty? From todays CVS (jboss-3.0, branch_3_0)
A quick notice:
Jboss is unable to sync sessions, as Rick LaBanca already pointed out and
also sugested a fix:
This would be the cenario:
A starts and replyes to a
no, I don't know whats up - but goood what I long for the
forums (that I actually hates :)
/Lennart
tisdagen den 10 december 2002 kl 13.28 skrev Brandon, Raymond:
Hi all,
I've been unable to connect to the JBoss site all day. Does anybody
have any information on what's going on with
JBoss 2.4.x
Why does findByPrimaryKey() always result in a 'select
count()'-query on the database? Is it really needed due to the spec?
I mean, I've told the app server (by using commit option A) that no one
else but the app server is touching the database. So... if the app
server has an e
Hi,
I am using jboss-3.0.0_tomcat-4.0.3
and i am trying to run MessageDriven Beans, but I don't know
where to specify the Topic/Queue names
and TopicConnectionFactory names in the XML files
in jboss2.4.0 we can specify in jboss.jcml and
jbossmq.xml
but in jboss3.0.0 where we have to mention
I just downloaded and unzipped JBoss 3.0.2 w/Tomcat 4.1.12. Trying to
access the admin console I get the error below. Is this a JBoss or a Tomcat
error? How can I fix it?
---
HTTP Status 500 - Internal Server Error
type Exception report
message Internal Server Error
description The server encou
> Hello!
> I am using JBoss with bundled Tomcat. The server which I
> am running applications will only have dynamic applications (servlets or
> servlets + EJBs).
> On this case should I use the apache web server, or can I
> use Tomcat to answer to HTTP requests directly?
Hi to the jboss users
Some time ago I came across the ServiceLocator pattern as a J2EE design
pattern.
The pattern says that you can use it to manage your resources like the local
or remote interfaces of your EJBs. It is implemented as a Singleton and
should
cache your instances.
Actually the patt
As u said
the possibilities are
'=', '>', '<' and '<>'
no
'<=' nor '>='
So u have to split your query to abtain a '<='
regards,
kiuma
Spam ha scritto:
Hi,
I have a CMP finder with ejbql wich has to have a WHERE criteria based on
date comparison (see below)
I need to use "superior OR equals
Hi
all,
I've been unable to
connect to the JBoss site all day. Does anybody have any information on what's
going on with the site?
Thanks,
Raymond
--
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you
Hello!
I am using JBoss with bundled
Tomcat. The server which I am
running applications will only have dynamic applications (servlets
or servlets + EJBs).
On
this case should I use the apache web server, or can I use Tomcat to answer to
HTTP requests directly?
Hi,
I have a CMP finder with ejbql wich has to have a WHERE criteria based on
date comparison (see below)
I need to use "superior OR equals" operator (>=) and not just "strictly
superior" (>).
When I try to deploy, It fails saying JBoss could not parse EJB-QL because
of the ">=" (see below)
I look
Hello !..
think you replied to my personal ad!
Yes I do get a lot of responses but you got me curious I haven't done this
in a while so please forgive my nervousness. And I hope your still around,
(the good people always get taken fast) Anyway since I know a "little" about
you :) (that was cute by
Hi,
In 3.2.0beta I had the jmx-console at Port 8082 and was
able to see the jndi "listing" from the console as well as
to start the hypersonic manager from the jmx-console.
This is on Win2k with jdk1.3.1.
Does anyone have an idea, where I have to look or what has
changed between beta and beta2?
T
Hello,
Which HTTP Session implementation do you use?
As for the locked instance, can you provide a thread stack dump (CTRL+BREAK)
when it hangs?
Cheers,
sacha
> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Joao Pedro
> Clemente
> Envoye : lund
69 matches
Mail list logo