Hi,
i posted this question long time ago, i just want to
check if the answer still be "not yet supported".
Other ideas about how to wrap about 30 CORBA objects
into EJB soons as possible?
Thank you,
Davide
__
Do You Yahoo!?
Get email at your
Hi,
many thanks for your answer. Now I am creating a 'fresh' jboss
installation and set the configuration files like follows:
jboss.jcml:
mbean code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=InterBaseDB"
attribute
Hi,
well the direction in the contrib module and in
http://geocities.com/phox_2/ are the same.
But I believe these direction works with JBoss standalone, not with the
Embedded Tomcat...
So i am still without light on that topic.
any ideas ?
Best regards,
Elouan.
Vincent Harcq wrote:
Get
Hi,
did You put Your MBean entries in jboss.jcml rigth at the end ?
We have a MBean which lookups a QeueConnectionFactory at startup and it
works well.
We use jboss PRE 2.1 and have entries for our MBean only in jboss.jcml (at
the very end), none in jboss.conf and jboss.dependencies.
Bye
Hi,
On Tue, 27 Feb 2001, Sternagel Annegret (PN-SYS/DAS) wrote:
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 53414645504F494E540E43505002EA
#
Anybody got this error before ?
Only when the
Hi,
For an example, have a look at
http://cvs.working-dogs.com/ejboss/cvsweb/index.cgi/admin/src/org/jboss/admin/mbean/SystemMonitor.java
-- Juha
On Fri, 2 Mar 2001, Rama Rao wrote:
Hi,
I have written my custom MBean and could start it at the startup.
But i want to look up a queue at the
We are using the jintegra Java-COM bridge from within JBoss. It is easy to
use and works well. The COM interfaces it exposes to Java, however, appear
to be quite messy and seem to lack any design strategy. Go to www.linar.com
for further information
--
On Tue, 27 Feb 2001 [EMAIL PROTECTED] wrote:
Try unjarring Log.jar
(jar xvf Administration.ear; jar xvf Log.jar; vi META-INF/jaws.xml)
and make sure that the wrong jaws.xml isn't getting in there.
If youve got the RIGHT jaws.xml in Log.jar, then I don't know what's going
on. There
i'm working/analysing a perms architecture for an implementation on brock
(enhydra). i've been pointed to jboss, which apparenlty implemented a dynamic
jaas module with a DB back end.
i've been exploring how to do this and wonder if anyone could point me to the
strategy and code which achieves
Hi!
We have a problem with RemoveException thrown in ejbRemove not being
propagated to client. The client executes remove()
and nothing happens on his side, no exceptions at all.
The EJB1.1 spec states in 9.1.9.5 that it should be treated by container as
application exception, hence, be
I think I found the problem. I an using the petstore-1.1.1-patch2.zip,
however there seems to be a discrepancy between the instructions in
README.CLOUDSCAPE, and the jboss.jcml file provided by that patch. It
seems to me that the attribute URL should be as follows(which is what is
found in
Actually, it's embedded in a javascript and tied into an href tag.
Although, we we're looking for some way to execute from the VM, like
Runtime.exec() as you pointed out - we just hadn't found it yet.
In the meantime, we solved the problem by redirection. The Linux box
we were running this on
Also worth a look at SOAP - there are a number of integration possibilities
- use a java client and MS Soap server
- use a java client the apache soap server and pluggable COM provider
supplied by IBM
Also - the BSF (bean scripting language) allows interaction between MS
active scripting (vb
Hey. That surprises me, because I have a similar ear working in 2.0 at
home.
Would you try running in the 2.1 beta (or current source)? You may have to
tweak your config files a bit, but it doesnt take long. It has a fix in it
for this problem, I would like to know if it clears the problem up
Hi All,
I have a service MBean which automatically
starts up at the start of JBoss Server.
But i require SpyderMQ and Naming Service to start
before my service starts.
So i have specified the dependencies in
jboss.dependencies like this.
service
name="MailQ" dependency
service="Naming"
Well by re-looking at the error and the code of Logger.java, it seems you
have 2 instances of org.jboss.logging.Logger in jboss.conf.
Could it be that?
Vincent.
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de elouan
Envoye : vendredi 2 mars 2001 10:35
Title: RE: [jBoss-User] Design question - Checking for an existing record??
you need a unique key generator. Check out theserverside.com (patterns section) for discussion on ways to handle it. JBoss used to come with one but I don't see it any more.
-Original Message-
From: Jim
Got it! Thanks,
Rick
--- Oleg Nitz [EMAIL PROTECTED] wrote:
Hi,
Yes, sorry, this is a bug in Castor 0.9
(no such code in Castor 0.8.11 BTW).
Either use a CVS version of Castor 0.9, or remove
"|| ! _ctx.isOpen()" yourself and rebuild.
Regards,
Oleg
On Thursday 01 March 2001
John, thanks for the reply...
Why do you feel I need a unique key generator? I want the userID to be the
key and I want it to be unique, and I want it to be user selected.
If the user selects an id thats in use, they can pick another and/or the
app can suggest one.
My primary concern is
Hi ,
I have gone through your answer about implementing
new MBean.
My MBean needs to start only after SpyderMQ and
Naming services are started.
So i have put in the jboss.depenecies file the
dependencies like this
service
name="DepositMQ" dependency
service="Naming" required="true"/
Well, at least I'm getting a different error :-0 Using castor-0.8.11.jar or
castor-0.9.jar (and castor-jdo.jar) built from the CVS tree I'm getting:
[Interest] endresources(0): state=1
[Interest] CONTAINER EXCEPTION:This transaction is not open
[Interest] java.lang.IllegalStateException: This
--- Davide Mora [EMAIL PROTECTED] wrote:
Hi,
i posted this question long time ago, i just want to
check if the answer still be "not yet supported".
Other ideas about how to wrap about 30 CORBA objects
into EJB soons as possible?
Thank you,
Davide
Hi Davide,
Is it EJB's that need to
Hi All...
I spent some time fighting something involving name service and I
seriousely don't know if its a bug or a feature.
I created a stateless session bean to provide a serice. I then wrote a
class to wrap that SLSB with a has-a relationship. When the wrapper class
is instansiated the
Hi Jboss users ,
How to called the ejb bean deployed in IAS4.1.1 container ?
I knew about JNDI technology but I did not know how to map name in
the ejb-ref of jboss.xml for ejb bean in the ias container.
What is the protocol for ias4.1.1 container ?
Anyone have
Title: RE: [jBoss-User] JBoss pre-2.1 and Opta2000 drivers?
Sorry about the delay...
What is the error you are getting ? May be my previous post about Jboss with MSSQL will help.
If not please tell me that exception (if you are getting one) and the contents of your Jboss.conf, Jboss.jcml
I think you need to think session bean facade. Have a session bean wrap user
the registration task. The session bean gets the user registration info,
checks the id for uniqueness using a SQL call, generates a "user id taken"
exception if not unique or else creates the user entity bean.
Rick
i've dynmically added a XADataSourceLoader MBean during program execution, and i
was testing the behavior if the connection failed. an exception is thrown
inside jBoss, but it isnt' returned to my application. (the exception is shown
below) unless i've missed something, i correctly handle a
Title: RE: [jBoss-User] Design question - Checking for an existing record??
I agree with Rick regarding the session bean facade.
We choose to attempt the insert and handle the exception rather than do a findByPrimaryKey() for every inserted record. Our belief is that there was no reason
Hi, there.
Can someone please help on setup a JBoss_Tomcat to start as a NT
service in Win2K?
We have setup a JBoss_Tomcat bundle to host our JAVA application.
Everything works just so great that everyone here is loving it very
much. But, when I tried to following the FAQ posted on
afaik, the transaction will not roll back if you catch and handle the
FinderException. works fine when i do it, but take that with a grain of
salt, since i've never actually tried it on jboss. i'm still trying to
figure how to assemble jboss/jetty from the cvs sources... if only there
were more
Hi All...
I have what must be a fairly common problem and I was wondering if someone
could suggest what they think the preferred solution might be.
I need to create an EB for a user and I have set the userid up as a primary
jey. Of course, the user ID must be unique. I'm wondering what the
Hi everyone,
I've been experimenting with JBoss for a couple of
weeks now and am really excited about using it for
some of our future projects.
I do have two simple (I hope) questions:
1. When deploying a WAR file, is there some way of
explicitly setting the Context? Obviously this can
be
Hello,
I have a few quick questions about EJB in general. I hope I can ask it here.
I downloaded a program called ejbDoclet where given a bean class, it will
create a slew of other classes including:
remote interface
home interface
primary key class
EntityBean CMP layer
EntityBean BMP
[EMAIL PROTECTED] wrote:
i've dynmically added a XADataSourceLoader MBean during program
execution, and i was testing the behavior if the connection failed.
an exception is thrown inside jBoss, but it isnt' returned to my
application. (the exception is shown below) unless i've missed
I have a test program that creates entity beans with just their primary key
information, then sets each of their data fields, and finally deletes them.
I run this and everything works just fine. But if I stop the test in a
debugger after the creation step (and before I set the data fields), I
Where do I find documentation on these two? I looked
at the link given for Hypersonic in the javadocs (http://hsql.oron.ch/and it tells me I
don't have permission to look there. Thanks.
Title: unable to create new bean instance
Hi,
I just got my CMP Bean working on jBoss 2.0 Final standalone, however my client is having problem creating new object, I'm getting the following exception, can anyone help?
Thanks
p.s. I'm using Oracle 8.1.7 client on NT oci8 JDBC driver.
I deployed an entity bean, AllFieldsTest, and I am able to look up its home
interface, create new ones, find the ones I created, remove them, etc. from
a client program. That is, a program not running in the app server.
I then wrote a session bean which I deployed. I can access this from a
I don't have a definite answer for this odd behavior, but I've noticed the
same thing.
This seems to happen anytime you don't initialize the data fields of your
entity bean in the
ejbCreate() method.
The same behavior will result if you do the following:
Say you have an Entity bean called
"Guy Rouillier" [EMAIL PROTECTED] wrote:
Where do I find documentation on these two? I looked at the link
given for Hypersonic in the javadocs (http://hsql.oron.ch/and it
tells me I don't have permission to look there. Thanks.
Today, I found this (see latest news):
The EJB spec says that you can use the name from Principal.getName() to
filter database queries. This is fine for methods that are directly in the
EJB because the principal is available from the session/entity context.
However, I can't find a way for helper classes to get either their current
Title: RE: [jBoss-User] Design question - Checking for an existing record??
In your ejbCreate, run a query on the table for the user's selected primary key. If you get any records back, throw an exception (DuplicateKeyException, whatever...you can throw an application-defined exception).
"Joe" == Joe Barefoot [EMAIL PROTECTED] writes:
Joe I don't have a definite answer for this odd behavior, but I've
Joe noticed the same thing. This seems to happen anytime you don't
Joe initialize the data fields of your entity bean in the ejbCreate()
Joe method.
It is my
Well, it was pretty easy - I just had a second reference to castor-0.9.jar
sitting on my CLASSPATH... oops. Thanks for all your help.
-Original Message-
From: Oleg Nitz [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 2:29 PM
To: JBoss-User
Subject: Re: [jBoss-User] Castor JDO /
In 2.1 dependencies are handled by the ordering of the entries in the jboss.jcml
file. The dependency mechanism is really an extension of the mbean stuff in
that it relies on the mbean having the init(), start(), stop() destory() methods
defined in org.jboss.util.Service interface. You could
JAAS has its own Policy object: javax.security.auth.Policy that allows you do
integrate arbitrary sources of subject based security and you can make this
as dynamic as you want. In the new JBossSX framework there is an implementation
of this class that externalizes the subject based permissions
It's a little more complex than that, but yes.
What is kept in the pool are "empty" instances of the bean's implemetation
class.
for creation:
When create() is invoked on an EJB home, an EJB object is created and
assigned to
one of these instances. Then the arguments (if any) of the create()
|The odd behavior I've noticed is that when create() is invoked on an
|Entity's EJB home, data fields that are not initialized in the
|corresponding
|ejbCreate() method in the implementation class are being populated with
|(cached ??) data from the most recently activated (i.e., via a
|It is my underdanding that entity and stateful session bean
|objects are kept
no not stateful, stateless. (stateful are cached)
marc
|in a pool that the container swaps data into on demand by calling
|ejbLoad for
|performance rather than creating new object everytime. What are
|those
Thanks, everyone. I definately have the SLSB facade. The SLSB is in charge
of creating the EBs.
When you create the EB (or attempt to) and it throws a CreateException, how
do you know if the exception is due to the key being taken or some other
failure, such as disk full and such? Thats what
Thanks! I think the problem was the jboss.xml format had changed, once I
made mine
look like yours it worked like a charm.
-Original Message-
From: JbossKnut
To: JBoss-User
Sent: 3/1/01 4:03 PM
Subject: Re: [jBoss-User] hypersonic vs postgres, its keeps selecting the
wrong one
Try to
51 matches
Mail list logo