[jBoss-User] CORBA-EJB interoperability

2001-03-02 Thread Davide Mora
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

Re: [jBoss-User] Problem with jboss and interbase 6

2001-03-02 Thread Dirk Ohst
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

Re: [jBoss-User] log4j jboss-embeddedTomcat

2001-03-02 Thread elouan
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

AW: [jBoss-User] Start a Java class in the same VM

2001-03-02 Thread Sternagel Annegret (PN-SYS/DAS)
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

Re: [jBoss-User] abnormal program termination

2001-03-02 Thread Juha-P Lindfors
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

Re: [jBoss-User] Start a Java class in the same VM

2001-03-02 Thread Juha-P Lindfors
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

RE: [jBoss-User] Off Topic: COM Server

2001-03-02 Thread Thomas . Kirsch
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 --

RE: [jBoss-User] bean is not a jaws-managed cmp entity

2001-03-02 Thread Achim Derigs
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

[jBoss-User] dynamic jaas: db implementation

2001-03-02 Thread Rich A. Schiavi
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

[jBoss-User] RemoveException not forwarded to client

2001-03-02 Thread Alexander Klyubin
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

Re: [jBoss-User] Pool EstoreDB waiting for a free object

2001-03-02 Thread Christopher Albert
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

Re: [jBoss-User] CGI possibilities?

2001-03-02 Thread R . Price
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

RE: [jBoss-User] Off Topic: COM Server

2001-03-02 Thread Mannering, J (Joe)
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

RE: [jBoss-User] bean is not a jaws-managed cmp entity

2001-03-02 Thread Castro, David
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

[jBoss-User] Service Dependencies

2001-03-02 Thread Rama Rao
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"

RE: [jBoss-User] log4j jboss-embeddedTomcat

2001-03-02 Thread Vincent Harcq
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

RE: [jBoss-User] Design question - Checking for an existingrecor d??

2001-03-02 Thread John Moore
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

Re: [jBoss-User] Castor JDO / jBoss integration error

2001-03-02 Thread Rick Horowitz
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

RE: [jBoss-User] Design question - Checking for an existing record??

2001-03-02 Thread Jim Archer
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

[jBoss-User] New MBean

2001-03-02 Thread Rama Rao
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"/

RE: [jBoss-User] Castor JDO / jBoss integration error

2001-03-02 Thread JP
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

Re: [jBoss-User] CORBA-EJB interoperability

2001-03-02 Thread Peter Braswell
--- 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

[jBoss-User] Is this a bug or a feature? Name service issue

2001-03-02 Thread Jim Archer
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

[jBoss-User] Accessing EJB bean created in IAS4.1

2001-03-02 Thread Ricky
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

RE: [jBoss-User] JBoss pre-2.1 and Opta2000 drivers?

2001-03-02 Thread Scott Warren
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

RE: [jBoss-User] Design question - Checking for an existingrecor d??

2001-03-02 Thread Hansen, Richard
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

[jBoss-User] dynamically adding XADataSourceLoader MBean

2001-03-02 Thread Robert_Wright
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

RE: [jBoss-User] Design question - Checking for an existingrecor d??

2001-03-02 Thread John Moore
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

[jBoss-User] Problem of setting up a JBoss_Tomcat to start as aNT service in Win2K

2001-03-02 Thread David Li
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

Re: [jBoss-User] Design question - Checking for an existingrecord??

2001-03-02 Thread Stan Ng
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

[jBoss-User] Design question - Checking for an existing record??

2001-03-02 Thread Jim Archer
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

[jBoss-User] Setting Context when using WAR files

2001-03-02 Thread Kenneth Robinson
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

[jBoss-User] Quick questions about EJB in general

2001-03-02 Thread Hardy, Patrick, DDI - Garden City
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

Re: [jBoss-User] dynamically adding XADataSourceLoader MBean

2001-03-02 Thread Toby Allsopp
[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

[jBoss-User] Garbage in new entity beans

2001-03-02 Thread Larry Kline
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

[jBoss-User] Documentation for InstantDb and Hypersonic

2001-03-02 Thread Guy Rouillier
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.

[jBoss-User] unable to create new bean instance

2001-03-02 Thread Ernest Chen
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.

[jBoss-User] Session bean cannot access entity bean home

2001-03-02 Thread Larry Kline
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

RE: [jBoss-User] Garbage in new entity beans

2001-03-02 Thread Joe Barefoot
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

Re: [jBoss-User] Documentation for InstantDb and Hypersonic

2001-03-02 Thread Raffael Herzog
"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):

[jBoss-User] Getting principal/subject within helper classes

2001-03-02 Thread tim . taylor
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

RE: [jBoss-User] Design question - Checking for an existingrecor d??

2001-03-02 Thread CHogan
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).

Re: [jBoss-User] Garbage in new entity beans

2001-03-02 Thread Gerald Turner
"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

RE: [jBoss-User] Castor JDO / jBoss integration error

2001-03-02 Thread JP
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 /

Re: [jBoss-User] New MBean

2001-03-02 Thread Scott M Stark
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

Re: [jBoss-User] dynamic jaas: db implementation

2001-03-02 Thread Scott M Stark
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

RE: [jBoss-User] Garbage in new entity beans

2001-03-02 Thread Joe Barefoot
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()

RE: [jBoss-User] Garbage in new entity beans

2001-03-02 Thread marc fleury
|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

RE: [jBoss-User] Garbage in new entity beans

2001-03-02 Thread marc fleury
|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

RE: [jBoss-User] Design question - Checking for an existing record??

2001-03-02 Thread Jim Archer
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

RE: [jBoss-User] hypersonic vs postgres, its keeps selecting the wrong one

2001-03-02 Thread oliver2, andy
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