Re: Cocoon in Harmony with Orion?

2001-05-15 Thread theis . meggerle
It whas some time ago but this is what I remember: Rename the xerses.jar to xersesold.jar (under orion) Copy cocoons xerses.jar to the orion lib. (I think that orion is now shipped with the new xerses.jar) Unpack the cocoon.jar. Change the cocoon.properties to this:

SecureRandom and StackOverflowError

2001-04-03 Thread theis . meggerle
Hi I'm trying to generate a SecureRandom number in a sessionbean. Whenever I called the nextInt method I get: nested exception is: java.lang.StackOverflowError. Does somebody have clue of why I'm getting this? I've tried this in a standalone application and it works fine. Here is the code:

RE: Dependents remove not supported

2001-03-20 Thread theis . meggerle
Christian look at : http://www.mail-archive.com/orion-interest@orionserver/msg113324.html Not a very good solution, but it is one. regards /Theis.

RE: Dependents remove not supported

2001-03-19 Thread theis . meggerle
Tim Drury wrote: I was under the impression that the container implemented remove() for you to simply delete the DO from the database. When you call "depobj.remove()" from the DO's parent, it gets deleted. I could be wrong - it wouldn't be the first time. That's true! However Orion does not

RE: Dependents in 1-N don't go away

2001-03-18 Thread theis . meggerle
I had the same problem with collections and it seems like a bug in Orion. In some strange way, orion doesn't regard the dependent class in the collection as the same as the incoming one, in spite that it is the same type. I tried the getClass() method and it returned the same class name

Re: No suitable driver exception

2001-03-15 Thread theis . meggerle
Try: DataSource ds = (DataSource)ctx.lookup("jdbc/OracleDS"); instead of DataSource ds = (DataSource)ctx.lookup("jdbc/OracleCoreDS"); regards /Theis.

Re: EJB 2.0 again, again, please.

2001-03-06 Thread theis . meggerle
I'm no expert either. I have just started. Anyway, it seems like your are mixing some concepts here (IMHO). It seems like your trying to "normalize" your bean by having a foreign key (jobid) to Job. This, should be a reference to the class, i.e. public abstract setJob(Job ajob) not an integer.

Re: Orion and Cocoon anyone

2001-03-02 Thread theis . meggerle
Try this: Rename the xerses.jar to xersesold.jar (under orion) Copy cocoons xerses.jar to the orion lib. Unpack the cocoon.jar. Change the cocoon.properties to this: processor.xsp.logicsheet.context.java =

EJB Clustering -- ANYONE? [Urgent!]

2001-02-22 Thread theis . meggerle
A better description of Orion as a product! I have dedicated a lot of time of testing things that both work and does not seem to work, for example JMS and otherthings. The feature list on the frontpage is accordingly to "thin". And yes I have been reading the mailing list, but is not easy for

Relationships between components!

2001-02-19 Thread theis . meggerle
Hi everbody! I'm trying to create relationships between components, both within the same jar and outside to another jar. In the first alternative, i.e. within the same jar, I succeded in creating the relationship, but unfortunately orion maps this to a blob. I have been playing around with

Relationships between components

2001-02-19 Thread theis . meggerle
Hi everbody! I'm trying to create relationships between components, both within the same jar and outside to another jar. In the first alternative, i.e. within the same jar, I succeded in creating the relationship, but unfortunately orion maps this to a blob. I have been playing around with

Re:One Build.xml

2001-02-19 Thread theis . meggerle
You can use ant.properties. In your build.xml property name="component" value="${ant.properties.component} / On the dos prompt: ant -Dcomponent=your_component target /Theis.

RE: O/R Mapping

2001-01-24 Thread theis . meggerle
Hi again! The associative table has its pro and cons. As severel of you pointed out, the use of a associative table makes the tables a lot cleaner. But as our complex world seems to be full of multiplicity, I personally would think twice, when the domain model is large. I did a little test to

O/R Mapping

2001-01-23 Thread theis . meggerle
Hi Tony! Thanks for your quick answer. But I'm still not convinced. Besides many to many relation there is, as I see it, no need for a third table (with this principle, a many-to-many relation would result in five tables as you translate it to two many-to-one, or?). Let me exemplify my

O/R mapping

2001-01-22 Thread theis . meggerle
Hi! I have been reading the complex-or example and ploughed through the atm example. In the complex-or example it is stated that collections are mapped to an another table and that the reason for this is normalization. The Atm example is also following this principle. Is this really correct? I

O/R Mapping

2001-01-15 Thread theis . meggerle
Hi everybody! I'm pretty new to applicationservers and right now I'm exploring the o/r mapping fascilities in orion. I have read the examples (atm, complex-or on orion support, etc) and the mail archive, but there is still lot of things that I don't understand. I would appreciate if somebody

Trying again - problems with connections

2000-11-29 Thread theis . meggerle
Hi everybody! As I didn't get any response on my last mail I'am trying again. So here is the same mail. I have just finished a sessionbean (via a servlet) which connects to a database and reads a specified table. Everything works fine the first time a run my servlet. But the second time, I

A newbie question - problems with JDBC-connection

2000-11-28 Thread theis . meggerle
Hi! I am pretty new to applicationservers and thus trying the grasp the nuts and bolts. I have just finished a sessionbean (via a servlet) which connects to a database and reads a specified table. Everything works fine the first time a run my servlet. But the second time, I get no connection,