Title: RE: ejb 2.0 relations in orion 1.4.3 broken ?
Hi Alex,
well, the ATM needs to be updated a bit.
Its descriptor is stuck somewhere between 1.1 and 2.0 during that it has been updated as the 2.0 implementation progressed.
Hopefully, I will get time to do this this weekend.
WR
> -O
Hi all
I have a class that is connecting to 2 beans. The one bean works while
the other gives me a
java.lang.ClassCastException: __Proxy4 at
com.test.manager.TestManager.main(TestManager.java:45)
exception. I have checked the listings. I could not find a similar case
where one bean worked and
Hi James.
I think , you can implement it.
Your servlet will just act as a client for other Application server.
For weblogic, you can download the evaluation version of Weblogic which is
free.
After deploying the bean to Weblogic you can include following lines
in the servlet.
Properties p = ne
I can't find a _definite_ answer to my question. Hopefully, someone can
give me some pointers. Is it legal, per EJB 1.1, for multiple client
threads to access a SLSB? Here's why this is important for me.
Apparently, there is no portable way for a SLSB to tell a client that it
has timed out. He
EJBException allows for the nesting of exceptions. Since EJBException
indicates a system fault, it makes sense to display as much information as
possible about it.
When my application throws an EJBException, the browser displays a stack
trace, but only for the EJBException. Would it not make
Title: RE: Primary key in an EJB
Table doesn't have to have a primary, but there should be column that uniques defines each row different. This usually is a primary key, but any index column should work... For these primary keys or index columns, you should create a proper primary key for it.
If you were writing the SQL yourself, you would have to pad string constants
yourself when testing for equality against a char field. I'd recommend
switching to varchar2(10) instead. varchar2 isn't blank-padded.
Kurt in Atlanta
>-Original Message-
>From: John Pletka [mailto:[EMAIL PROTEC
Hello,
Earlier today I had reported a problem with the Map class. There is
also a problem with the List class. When the CMP entity is retrieved
and the CMP List field is empty, it is returned to the client as null.
Both the Map and the List work fine under 1.3.8.
Vidur
Is anyone out there using the Struts framework? It looks pretty cool, what
I've seen so far. I am having some problems deploying the struts-example. I
get no errors deploying, but at the top of index.jsp it says:
ERROR: User database not loaded -- check servlet container logs for error
messages.
I'm very interested in it too ...
Any tips will be very apreciated.
[]s
Guilherme Ceschiatti
[EMAIL PROTECTED]
On Wed, Nov 08, 2000 at 03:29:22PM -0800, Todd Huss wrote:
> We're working on a distributed project and need multiple orion servers. I
> found one prior post where the person had to dep
Hey, I'm not too hip on CMP for EJB 1.1, but for 2.0 the
prim-key-class is given if you have a custom primary key class; the
primkey-field is used if no custom primary key class is defined.
Of course that can only work if there's a single field in the
primary key.
Gary
On Wed, 8 Nov 2000
I do not know if anyone has posted this,
but here is a problem with Orion 1.4.4,
which is described in the INSTALL.TXT
from the latest STRUTS project :
http://http://jakarta.apache.org/struts/index.html
This prevents the demo web apps from running without
hacks.
Any idea?
Hristo Stoyanov
===
<>
I know one thing that help solve that problem. If Sun would publish an
XMLSchema (instead of a DTD) then xml editors (like xml spy) can be used to
create the xml files and catch the mistakes as you make them.
Dave Ford
Smart Soft - The Java Training Company
http://www.SmartSoftTraining.com
I'm having a problem with Orion's findByPrimaryKey() method when the column
type is CHAR(10). The problem is Oracle pads out the column to fill in the
extra spaces. For example, if you store "KEY" in a CHAR(10) field, Oracle
saves it at "KEY ". This does not affect any queries run directl
We're working on a distributed project and need multiple orion servers. I
found one prior post where the person had to deploy all of their EJB's to
all of the servers but I'd like to find a cleaner way if possible.
Is there a way to configure all of our Orion servers to use one JNDI
server. This
Hi,
How should I specify a primary key in an Entity bean, for which a db
table
really does not have a primary key? To my understanding, a database
table with
a primary key can be represented with Entity beans as follows:
ejbActivate():
primKey = ctx.getPrimaryKey();
ejbPassivate():
The J2EE RI´s DeployTool (which I usually use to package for major builds)
has a set of tests designed for checking whether your
.ear suits the specs. Also, whenever EJB 2.0 is available, you'll have a lot
of IDE's compiting to make it easier on the programmer; under the risk of
being flamed (agai
Yes, J2EE doesn't support nested transactions. However, a similar
effect can be achieved through the suspension of existing transactions.
As far as I can tell, what's supposed to happen is Transaction 1 gets suspended
while Transaction 2 starts, and commits or rollsback. Then Transaction
1 res
Hi All-
I'm new to Orion Server, and am in the process of developing a sample
application to test out CMP.
The problem I'm having is that although I've defined a
primary-key-class and primkey-field, I receive errors that the
primkey-field is not a CMP field, even though the descriptor is set up
JBuilder 4.0 will warn you of xml DD errors when doing a build. For
instance if you add some methods to an entity bean and there is not a
matching transaction-attribute for the method JBuilder will warn you. (CMP
1.1 - haven't tried CMP 2.0 with the tool).
I'm not sure how robust that is overal
In orion-application.xml, one can specify the use of DataSourceUserManager
which allows Orion to manage user information via a database.
How can I get a reference to an instance of this user manager so that I can
add, delete and look up users and groups? Should I just instantiate my own
copy
AFAIK, somebody on this list have already complained about this. And this is
a bug for sure.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Dylan Parker
> Sent: Wednesday, November 08, 2000 10:35 PM
> To: Orion-Interest
> Subject: Bug with Java Cod
I'm developing an EJB app for a while now on orion. The last version I
had installed was 1.4.0.
Most of my app was already working like a beauty. Today I auto updated
to 1.4.3 and it seems that findByPrimaryKey where the primary key is a
comppound primary key, got broken. I did some test and all
My take on EJB is that while they seem to be more work (now that I have done
it a couple of times..but I am far from pro caliber here), they are actually
a bit less work if you are using CMP, instead of BMP. However, I have heard
that EJB 2.0 CMP is more complicated, and it along the same amount o
This can be complex as you have to indicate which relation to use. Does it
only work for simple cases?
For instance below you have three relations to the field person.name
1. one direct
2. via father
3. via mother
Table person(name, father_fk, mother_fk);
Translating to:
class person {
>I faced this problem on Solaris (jdk1.3) and "force" method does not work
>either. java -jar admin.jar ... -shutdown force just hangs...
I have had no problem with shutting down Orion 1.3.8 nor Orion 1.4.3 under Solaris 8
with JDK 1.3.0. As a nonroot id "orion" (I have changed the default port
I just encountered something similar. It fails under 1.3.8, but works with
1.2.9, 1.4.0 and 1.4.2. Try the latest version.
Regards,
Earl
At 11:15 11/08/2000 -0800, you wrote:
>Hello, all.
>
>Has anyone else has strange occurences where autoencoding-urls breaks their
>HTML?
>
>I have one instan
Actually, no, you can't always do this, for two reasons.
First, on a Unix system, we the orion user the permission to write to
itself. This is a basic security procedure. As a xonsequence, autoupdate
won't work.
Second, although I may be able to do this, I may not want to. There is risk
in gr
EEK!
Axel, I have not yet tried to verify this and am not dure how to work
around it, but if you are sure please Bugzilla it as soon as possible. I
was just reviewing the bug list and saw that Magnus seems to be making
excellent progress in cleaning up the EJB 2.0 persistence manager relat
All,
Something else I just noticed...
Java code (scriptlets) within HTML comments is ignored... while JSP Expressions
are evaluated... does this not make sense? Or is it just me?
Here is a simple example :
<% int val = 1; %>
The value is: <%=val%>
The value is
Hello, all.
Has anyone else has strange occurences where autoencoding-urls breaks their
HTML?
I have one instance where adding a space makes it work.. without it results in
a badly broken anchor tag.
Example:
This doesn't work :
<%="SOME_TEXT"%>
OUTPUTS:
This works :
<%="SOME_TEXT"%
Guys, there is an AWEFUL bug in jdk1.3 when using
URLConnection.getInputStream();
This method worked fine until version 1.2.2 of the jdk.
The failure of the shutdown process is probably related to
this bug.
Here is the BugParade url in sun where you can see all the
detailed descriptions.
http://de
Hello
I had forgotten to mark some helper classes, which are sent from an EJB to
a JSP, as implementing Serializable. I didn't notice any side-effects
when I was running Orion 1.3.something (the JSP and the EJB containers
being in the same JVM). When I upgraded to 1.4.3 this morning, everything
You'll have to manually edit orion-ejb-jar.xml
You'll find it in the
$ORION\application-deployments\YOURAPP\YOURJAR\orion-ejb-jar.xml
-Original Message-
From: Gerald Gutierrez [mailto:[EMAIL PROTECTED]]
Sent: Miércoles, 08 de Noviembre de 2000 12:37
To: Orion-Interest
Subject: State of th
I'm not sure if this will fix your problem, but
try getting
the classloader from the thread.
Thread.currentThread().getContextClassLoader();
Savotchkin Egor wrote:
Hi
all,
I needed to load property files on my own without ResourceBundle class
because the latter does a lot
I faced this problem on Solaris (jdk1.3) and "force" method does not work
either. java -jar admin.jar ... -shutdown force just hangs...
Egor Savotchkin
- Original Message -
From: "Ismael Blesa Part" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Wednesday, November 08
The current ATM example uses EJB 2.0 definitions of ont-to-many
relationships (account_owner -> account) . When I deployed it on
orion 1.4.3 it workes quite well until I added some accounts.
After shutting down orion and re-login all accounts are lost. A quick
look into the hsql file (.script) r
in orion-ejb-jar.xml:
tag entity-deployment,
attribute validity-timeout="N",
validity-timeout="1" and your beans are reloaded as needed every 10 sec.
(actually, it mean s the
cached data is considered stale after N miliseconds and should be reloaded
if needed)
Works for me and saves precious
On orionsupport it mentions to add 'force' to the shutdown command i.e.
java -jar admin.jar ormi://localhost username password -shutdown force
and that works fine for me in a redhat/jvm 1.3 environment.
Good luck!
Sean
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED
I have noticed some errors when shutting down Orion under Sun's 1.3 JVM on
Solaris. I get the following error:
Error: com.evermind.server.rmi.OrionRemoteException: Disconnected: Server
shutdown
However, the server processes do go away. This doesn't look like a fatal
error (or even an error f
Yes, I have experienced this on Solaris also. add "force" at the end of
line.
more information on www.oriosupport.com
Jim Crossley wrote:
> Although I can shutdown orion using the admin.jar with a 1.2 JVM, I've
> found that I cannot with a 1.3 JVM. The server ceases to accept
> connections, but
On Wed, Nov 08, 2000 at 10:02:24AM -0500, Jim Crossley wrote:
> Although I can shutdown orion using the admin.jar with a 1.2 JVM, I've
> found that I cannot with a 1.3 JVM. The server ceases to accept
> connections, but its process does not go away. (Running on
> Redhat/Debian Linux)
>
> Anyone
You can always get the latest version of Orion by running
java -jar autoupdate.jar
in the orion dir.
Runar.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jim Archer
Sent: 7. november 2000 20:15
To: Orion-Interest
Cc: Kesha Sibilev
Subject: Re: What's
Hi all,
I needed to load
property files on my own without ResourceBundle class because the latter does a
lot of caching which I do not need. So I copied the code from ResourceBundle
class where property files are loaded and included it in my application. The
problem is all this thing wo
Simple solution,
write a servlet that is loaded on startup and load/run the classes you need from
the init mehod.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Edmund Cheung
> Sent: Wednesday, November 08, 2000 9:54 AM
> To: Orion-Interest
> Subje
What's the state of the graphical tools? Can they replace editing of the DD
files? I'm having trouble trying to use some of them. For example, how to you
specify the select criteria for CMP findBy* methods?
Hi Robert,
Of course this is not an offical and documented way and I would it never use
in production.
It's the result of playing around with the orion-console and analyzing the
interface "ApplicationAdministrator" with javap.
Heinz
-Ursprüngliche Nachricht-
Von: Robert Krueger [mailto:
Hello,
I just installed 1.4.3. The good news is that my previous problems with
JMS subscribers, when running as auto-started clients, not getting
messages delivered is resolved. However, it appears that the
auto-started client's message handler (onMessage()) is invoked within
the transaction co
Although I can shutdown orion using the admin.jar with a 1.2 JVM, I've
found that I cannot with a 1.3 JVM. The server ceases to accept
connections, but its process does not go away. (Running on
Redhat/Debian Linux)
Anyone else noticed this?
In weblogic's properties file, I can register classes that are laoded into
WL server and execute each time WL is tarted or shut down. Can I do
something similar in Orion ?
Thanks,
Edmund
***
Edmund Cheung
Ka
I know that others have had performance problems with timeouts when
running out of DB-connections. Has anybody figured out where this value
is set?
Some have stated that the problem disappears when running Orion with
enough memory, but we see no difference even with large amounts of mem.
Is there
You can try the beta enterprise version of Kawa for free, and the production version
should be ready sometime this year. Go to the web site at
http://www.tek-tools.com/enterprise/index.html. Please note they just got acquired by
Allaire, the producers of Jrun and Cold Fushion.
-Original
At 18:37 07.11.00 , you wrote:
>At 12:02 07.11.00 , you wrote:
>>Does anybody know what is new in the 1.4.2 version of orion server?
>
>I get syntax errors compiling the generated wrappers for entities with
>complex pks.
fixed in 1.4.3 just tested it.
regards
robert
>robert
>
>>kesha
>
>(-)
Me too,
I just bought two licenses last night, and zingo wammo they are here this
morning. Great job Orion guys!
Thanks for a rockin app server!
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Arved
> Sandstrom
> Sent: Wednesday, November 08, 2000
Billy Byberg wrote:
>
> Hi again!
>
> I want to look at them as two separate beans, only with the same interfaces.
> They are both declared and have different names, the only thing they have in
> common is the remote and home interfaces. I really would like to be able to
> access them both. But
Last week I discovered the validateXML command line option and thought is
was great. The more I use it, though, I realize it's near useless. Here is
why. The two validating parser's that ship with Orion (Apache's xerces and
Sun's jaxp) validate the DTD as well as the xml file.
The problem is, it
I have
been doing ejb as long as there has been a spec, and I have settled on JBuilder4
and Together for development. Both are rock solid products and have saved me
hundreds of hours.
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Adam
Win
Can't remove the classes.
All the apps share the same repository, so that is not an option.
I did do this however and it worked.
set servlet-webdir to "none".
Voila!
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of J.T. Wenting
> Sent: Tuesday, Novem
Has anyone got Jetspeed 1.2 to run on Orion? I keep getting errors
instantiating caches (or so it seems).
Hints appreciated. For the moment I am using Oracle 8i as a database (would
like to use Interbase, but that is not supported, getting errors if I try).
Jeroen T. Wenting
[EMAIL PROTECTED]
Mu
As the movie says, "just show them the money". :-) We just went ahead and
bought it, and the license showed up within 24 hours.
The procedure is so simple that maybe folks are still expecting an elaborate
process akin to purchasing a $50,000 or $100,000 software application. Orion
is only $1500,
The contact i used for questions was
Elin Bjällhage, [EMAIL PROTECTED]
Then to buy orion just fill in the purchase form on the web site.
If your wondering about versions like i was this is what Elin said.
>
Hello Peter,
With the license you get 6 months of free upgrades so there will be no
<>
Thanks Rober. I don't think that's it though. I got the same error with the
Orion provided "news" ejb. I think It's trying to validate against the 2.0
DTD.
Dave Ford
Smart Soft - The Java Training Company
http://www.SmartSoftTraining.com
I have found that Orion is validating my ejb-jar.xml against the wrong DTD.
My ejb-jar.xml has a 1.1. DOCTYPE specified but it's STILL being validated
against the ejb 2.0 doc type.
How do I turn this behavior off?
Thanks,
Dave Ford
Smart Soft - The Java Training Company
http://www.SmartSoftTrai
I've just moved a bit closer to a solution. I found in the docs that I can
specify (as a command line argumnet "which" xml parser to use:
java -Dxml.parser=xerces -jar orion.jar -validateXML
or
java -Dxml.parser=javax.xml -jar orion.jar -validateXML
Upon using the xerces parser, I got a new er
I've just gone through the same experience. I've sent multiple mails
offering to license the server but no-one mails me back. (I hate to think
what would be happening if I was trying to get support!!).
Does anyone have hard contact details? Names? Phone numbers?
I think the technology looks good
They are sent encrypted. The URL will contain them in plain-text though,
which is how they will appear in serverlogs.
Jeroen T. Wenting
[EMAIL PROTECTED]
Murphy was wrong, things that can't go wrong will anyway
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
Sorry ppls,
I've found the problem - stupid me :). I've forgotten the home interface.
The corrected code is :
Line 12: ChannelManagerHome channelManagerHome = (ChannelManagerHome)
JNDIHelper.getHome("akela.pesos.content.news.ChannelManager");
ChannelManager channelManager = channelManagerHome.c
At 08:12 08.11.00 , you wrote:
>Hello Esteban,
>
>I posted the same question some months ago.
>In this list there are several mails concerning the cache-strategy of
>entity-beans in the orion-container - but unfortunately we never got answers
>from the developer-team.
>
>I found a way to flush the
At 18:15 07.11.00 , you wrote:
>>
>I don't think that's it. Here is the dd:
could it be that you have some kind of invisible control character in
there? usually this results in weird failure modes. other than that i have
no clue what it
Hi again!
I want to look at them as two separate beans, only with the same interfaces.
They are both declared and have different names, the only thing they have in
common is the remote and home interfaces. I really would like to be able to
access them both. But when I do the references only one o
Hi ppl,
I have a stateless session bean ChannelManager. I wrote a test class
ChannelManagerTest to test the bean.
Line 12: ChannelManager channelManager = (ChannelManager)
JNDIHelper.getHome("akela.pesos.content.news.ChannelManager");
( JNDIHelper is tested and is working just fine )
I get th
Rafael Alvarez wrote:
*snip*
> It looks like we were designing Objects FROM Tables, and EJB is a way to
> create tables FROM Objects. And most of the troubles of the first
> project were because of that. I mean, we create objects tha
> represented tables, rather than tables representing objects.
Title: RE: Placement of jars for JSP
Well, if you point out your tld from your web.xml file like:
database-taglib
/WEB-INF/database.tld
you can have your taglib.tld in your WEB-INF directory.
You can have the classes used by the taglib in your /WEB-INF/classes/ if you want.
W
> If I have an ssl connection using
> https://myserver/myresource?username=mylogin&password=mypassword
> Are the parameters username and password encrypted or is this
> available in clear text?
Encrypted, definitely: the socket is encrypted by SSL, so everything is.
Bye
Christophe
74 matches
Mail list logo