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:
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:
Christian look at :
http://www.mail-archive.com/orion-interest@orionserver/msg113324.html
Not a very good solution, but it is one.
regards
/Theis.
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
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
Try:
DataSource ds = (DataSource)ctx.lookup("jdbc/OracleDS"); instead of
DataSource ds = (DataSource)ctx.lookup("jdbc/OracleCoreDS");
regards
/Theis.
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.
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 =
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
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
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
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.
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
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
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
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
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
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,
18 matches
Mail list logo