].
The context is the same context that is used for correctly accessing
other resources such as looking up EJBs.
Thanks,
Vidur
--
Vidur Dhanda
Epistemic Corporation
tel: 617/566-1252
fax: 509/693-1248
cell: 617/821-7115
ICQ: 129193878
[EMAIL PROTECTED]
www.epistemic.com
...
-Original Message-
From: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 8:19 AM
To: Orion-Interest
Subject: RMI client accessing JMS Topic
Hello,
Is it possible for a RMI client
(com.evermind.server.rmi.RMIInitialContextFactory) to access a JMS
along with jndi.properties it may help
in further debugging.
- -kesav kumar
- - Original Message -
From: Vidur Dhanda [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, March 19, 2002 8:19 AM
Subject: RMI client accessing JMS Topic
Hello,
Is it possible
, but that
does not help.
Thanks,
Vidur
--
Vidur Dhanda
Epistemic Corporation
tel: 617/566-1252
fax: 509/693-1248
cell: 617/821-7115
ICQ: 129193878
[EMAIL PROTECTED]
www.epistemic.com
:
The com.evermind.server.java.ORMap does NOT implement in the correct way
the java.util.Map interface. So... One is UNABLE to get the KeySet, or
ValueCollection.
What the heck is that??
Sincerly dissolved: Lachezar :(
--
Vidur Dhanda
Active Solutions
tel: 617/566-1252
cell: 617/821-7115
[EMAIL PROTECTED]
www.active
Hi,
Can anyone recommend a web hosting service in the US that would be
suitable for running Orion.
TIA,
Vidur
Is it possible to retrieve a specific version of Orion with autoupdate
or by any other means. I need 1.5.0 and the latest is 1.5.1.
Thanks.
--
Vidur Dhanda
Active Solutions
tel: 617/566-1252
cell: 617/821-7115
[EMAIL PROTECTED]
www.active-solutions-inc.com
?
Or is that an error in 1.5.1?
Does anybody else experience this problem or is it just me?
--
Vidur Dhanda
Active Solutions
tel: 617/566-1252
cell: 617/821-7115
[EMAIL PROTECTED]
www.active-solutions-inc.com
(to start orion server) and if your message size is more
than 64K, you will have similar problem.
--venkat
Vidur Dhanda
vdhanda@active-solutions-To: Orion-Interest
[EMAIL PROTECTED]
inc.com cc
I think the problem in both 1.4.5 and 1.4.8 is that once a TopicConnection is
started, calling createSubscriber() hangs. The simple workaround is to stop the
connection, create the subscriber and start the connection again. I'm filing this
as a bug.
Vidur
Vidur Dhanda wrote:
Please help! I
to try and get 1.4.8 to work.
TIA,
Vidur
PS. If possible, please also cc me directly. I'm really desperate.
--
Vidur Dhanda
Active Solutions
tel: 617/566-1252
cell: 617/821-7115
[EMAIL PROTECTED]
www.active-solutions-inc.com
If a CMP EntityBean has a Set member (or for that matter any other
Collection member) at what point is the member initialized? I sit the
programmer's responsibility to initialize it in ejbCreate? Or will it
be automagically initialized. I'm restricted to EJB 1.1.
Thanks,
Vidur
--
Vidur Dhanda
.
- Original Message -
From:
Vidur
Dhanda
To: Kesav
Kumar
Cc: 'Orion-Interest'
Sent: Wednesday, May 16, 2001 7:16
PM
Subject: Re: HELP! 1.4.5 and JMS
Hi Kesav,
Thanks for the tip. I tried that with both 1.4.5 and 1.4.8. After
removing the connection factory line, in 1.4.5, the client hangs
Hello,
With 1.4.5, I'm having some timing issues with autostarted application
clients. Apparently, they get invoked before Orion has fully started
and therefore hang when performing a JNDI lookup. Is there a
workaround? I recall reading a similar message before but can't find it
now.
Thanks,
Hello,
Has anyone else noticed problems with using JMS in 1.4.7. In 1.4.5 I
was successfully able to subscribe to topics from application clients.
In 1.4.7, the onMessage handler does not get any messages.
Vidur
--
Vidur Dhanda
Active Solutions
tel: 617/566-1252
[EMAIL PROTECTED]
www.active
Hello,
Is it legal to call topicSession.createSubscriber(Topic) on a
TopicSession that was created via
topicConnection.createTopicSession(...) after the topicConnection has
been started? In 1.4.5 and 1.4.7 Orion hangs at the createSubscriber
call.
Thanks,
Vidur
--
Vidur Dhanda
Active
Hello,
I had posted a similar message a while back but never got any response.
Now, it has become critical. Hopefully, someone can help me understand
this.
While profiling my server, I'm noticing that the server is spending
approximately 40% of the time in
Hello,
This is not an Orion specific question, but since I'm using Orion 1.4.7
I thought I'd try here. Is it possible to upload a class file from an
application client? I want users to be able to implement a serializable
interface, say X, and upload it to the server. The server will manage
, and I wish someone would chime in
with a comment or two in this respect. I'm about to decompile the
counter.jar example in hope of finding some clues.
Jeff
--
Vidur Dhanda
Active Solutions
tel: 617/566-1252
[EMAIL PROTECTED]
www.active-solutions-inc.com
Hello,
This list has become awfully quiet. What's going on with Orion? There
haven't been any new releases or bug fixes. Does anyone have any
information? Perhaps, someone on the Orion team can give us an update.
Personally, I'm getting a little concerned.
Vidur
Please help! Somebody must be using JMS from a client application
running on a machine different than the server. How do I configure a
client to use JMS. Say, the EJB Server runs on machine A. The client
runs on machine B. How does the client on machine B know the location
of JMS (which
it?
Vidur
"Luong, Tony S322" wrote:
try setting the hostname in jndi.properties on machine B.
e.g.
java.naming.provider.url=ormi://machineA
-Original Message-
From: Vidur Dhanda [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 9:42 AM
To: Orio
I just ran into a rather interesting problem. For my application,
I decided to write a Swing login panel. This panel is called at client
application startup and calls new InitialContext(Hashtable). Once
the InitialContext is created, the application saves it for future use.
And the application
Hello,
I can't figure out where to specify the JMS server name for a client
application. In application-client.xml I provide the resource-ref
entries and resource-ref-mapping entries in orion-application-client.
But where do I provide the name of the JMS server? At runtime, I can
provide the
Thank you for the pointer. How do I package jms.xml with the client
application? Can I just put it in the same directory as
orion-application.xml? And then, how can the server name be changed at
runtime? The client can connect to any EJB server by specifying the server
name in the properties
ually returns a serialized version of
that object (usually, not always).
You should probably take your byte[] and place it in a class that
implements java.io.Serializable. Most of the database mappings
support placing that into a blob:
type-mapping="java.io.Serializable" name
Hello,
I need some help with OR mapping a CMP EntityBean. I'm not even sure
how to do this in BMP. The class is called SIDDefinitions. The primary
key is a class called SID and there is only one other field called
definitions -- it is a List of Definition. Definition is an interface
and the
Sorry,
I forgot to describe that tables that I think will be required.
SIDDefinitions
sidID int primary key (database generated)
definiitons blob
SIDName
sidID name primary key
SIDValue
sidID int
fieldName String
fieldValue
, but maybe others have
noticed this and have "tricks" they can share.
Thanks,
Vidur
--
Vidur Dhanda
Active Solutions
tel: 617/566-1252
[EMAIL PROTECTED]
www.active-solutions-inc.com
I recall having run into similar problems previously. I think Orion merely
checks a timeout value and then proclaims a deadlock. I can look this up, but
there is a place in Orion's deployment descriptor where one can specify the
timeout value. However, when I was solving such problems, that
Hello,
I didn't hear from anyone on this and have posted this as a bug against
1.4.4. -- Bug 188. I'm really interested in hearing others' opinions on
this subject.
Vidur
-
Hello,
I just installed 1.4.3. The good news is that my previous problems with
JMS subscribers, when running as
The saga continues! So I changed the primary key class to have a public
member value
and updated the orion-ejb-jar (basically replaced the properties tag
with fields and changed the guid class to have a public member in
addition to the get/setValue). Once again, the tables get created but
of two days on this and need some
clarification (and sleep).
Thanks,
Vidur
--
Vidur Dhanda
Active Solutions
tel: 617/566-1252
[EMAIL PROTECTED]
www.active-solutions-inc.com
Hello,
Is it possible to invoke a method on the argument to a finder method.
For example, in the home there is a findByFoo (Foo f); in the CMP
EntityBEan, there is a field Foo that is mapped in the database to
Foo.bar via the properties tag. Now, I could easily have a findByBar
(Bar b) but that
ref. How do I solve this?
Thanks,
Vidur
--
Vidur Dhanda
Active Solutions
tel: 617/566-1252
[EMAIL PROTECTED]
www.active-solutions-inc.com
)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind.server.rmi.bf.do(JAX)
at com.evermind.util.f.run(JAX)
--
Vidur Dhanda
Active Solutions
tel: 617/566-1252
[EMAIL PROTECTED]
www.active-solutions-inc.com
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
be in a method call when the keep-alive thread decides to
do a ping. DO I need to guard against that?
Thanks,
Vidur
--
Vidur Dhanda
Active Solutions
tel: 617/566-1252
[EMAIL PROTECTED]
www.active-solutions-inc.com
done something similar? It seems like a fairly routine problem
-- an
entity bean has a ref to another entity bean and the enclosing entity bean's finder
query
needs to access the enclosed bean's field.
Vidur
Sven van 't Veer wrote:
Vidur Dhanda wrote:
finder-method query="$s
ressing such a query possible in Orion?
Thanks,
Vidur
--
Vidur Dhanda
Active Solutions
tel: 617/566-1252
[EMAIL PROTECTED]
www.active-solutions-inc.com
g I
tried was exactly what you describe, with the same results.
Eventually I went with a message-driven bean, even if that only avoided the
problem.
Arved Sandstrom
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Vidur Dhanda
Sent: Saturday, October 28, 20
Could someone please post some tips on how to replace Orion's JMS with another
one? I wouldn't event know where to start!
Although, I have successfully used publish/subscribe on Orion's JMS I'm having
problems getting an auto-started client application to receive messages. I
would like to try
ing lib (No previous deployment found)... Error compiling
file:/C:/dev/lib/: Unable to process query: source was not a
property/field mapped field (invalid '.' use) at column 16 in query
'?source.username = ?1'
Is expressing such a query possible in Orion?
Thanks,
Vidur
--
Vidur Dhanda
Active Solutio
Hello,
Has anyone successfully used instantDB with orion? I've been trying to
test the latest version of instantDB but can't get the schema.xml file
right. For the datasources.xml, I pretty much used the HypersonicSQL
entries and changed the URL and driver names.
Vidur
Hello,
I want to force the user to enter a username/password when using the
application. When the application creates a new InitialContext, Orion
prompts for a username/password. However, if the user enters an
incorrect password, Orion correctly throws a Security exception. When
the
Sorry, I forgot to attach the stacktrace.
Hello,
I want to force the user to enter a username/password when using the
application. When the application creates a new InitialContext, Orion
prompts for a username/password. However, if the user enters an
incorrect password, Orion correctly throws
Hello,
Please bear with me while I try to explain my question. I don't
understand the J2EE security mechanism as well as I should. Here's what
I want to do.
In the client application, I want to provide a user interface for
invoking some methods on an EJB. Say, the client application renders
Hello,
I want to allow a SessionBean and an application client to send email.
I guess all I really need to do is set up Orion to provide me a
javax.mail.Session through JNDI and use that Session object instead of
Session.getDefaultInstance(). Am I correct about this?
Could someone give me
Hello,
I think there is a bug in the ORMap used in a CMP EntityBean. The value
returned by Map.keySet() is not Serializable. More disturbingly,
returning the keySet to a client delivers a null to the client and does
not throw any marshaling exception.
I believe, if the keySet returned must be
is behaving properly
but somehow the exception is not getting surfaced?
Thanks,
Vidur
Vidur Dhanda wrote:
Hello,
I think there is a bug in the ORMap used in a CMP EntityBean. The value
returned by Map.keySet() is not Serializable. More disturbingly,
returning the keySet to a cl
Hello,
I just updated to 1.2.4 and noticed that a configuration that was
working under 1.2.0 is not working under 1.2.4. I get the error: No
manifest found.
C:\orionjava -jar orion.jar
Copying default deployment descriptor from archive at
C:\dev/META-INF/orion-application.xml to deployment
I think there is a bug in the JMS implementation. When I call
TopicSession.createSubscriber when the session's connection has been
started, the call hangs. However, if I stop the connection before
making the call, the code functions as expected. Is this a bug or is it
illegal to create a
Hello,
I need some help with issuing notifications when an EntityBean's state
changes. Currently, I use JMS Topics to publish messages from an
EntityBean when it changes. Within the bean, I keep a dirty flag and in
ejbStore publish a message if the bean is dirty. I'm not sure this is
the best
Hello,
I think there is a bug in Orion 1.1.37 where all the resources that are
used by a SFSB are not released at the end of a transaction. Here's the
scenario.
A SFSB in its ejbCreate () performs a findByPrimaryKey on the home of a
CMP entity bean. It then invokes a method on the entity bean
Hello,
I posted this a few days ago and never got a response. Could someone
please confirm this as either a missing feature or my incorrect
understanding of the call-timeout concept.
Thanks,
Vidur
--
Hello,
Does Orion use the call-timeout attribute specified in
session/entity
Hello:
I have been trying to understand the cause of this deadlock exception in
my code, but haven't succeeded. How can I get more information on
understanding the cause of this particular deadlock? I'm stuck. The
only thing that strikes me as "different" in my code is as follows:
Multiple
Hello,
Does Orion use the call-timeout attribute specified in session/entity
deployment section of orion-ejb-jar.xml? From the docs I understand
that the value is specified as milliseconds in hex. I provide a value
of call-timeout="493E0". However, when the beans are deployed, the
resulting
Hello,
Could someone please point out what I'm doing wrong. I'm sure I'm
missing something really simple here. I can't get an Orion server to
run under program control and do some application specific
initialization. I'm inlining some simplified code and output.
Thanks,
Vidur
import
Hello,
I need help in working around this exception. Here's the scenario. In
a stateful session bean, a particular method takes several seconds (and
maybe even a minute or so) to execute. While executing it _reads_
another entity bean. The session bean is marked "transaction required"
and
Hello,
Is it possible to use CMP on an EntityBean that has a Set of Lists as a
member? What would the OR mapping in the orion-ejb-jar look like? Has
anyone does this? I would appreciate any sample XML.
TIA,
Vidur
-
From: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 23 July 2000 13:00
To: Orion-Interest
Subject: How to programatically start orion ejb container
Hello,
How can I start an ejb container programmatically. I want to start the
container and then do some initialization. I tried
Hello,
I'm having a unique problem that I would like to get help on. In my
application, a CMP EntityBean, Category, creates an Object
CategoryVariable and passes it its
EJBObject(entityContext.getEJBObject()). CategoryVariable, implements
Externalizable and in writeExternal() calls writeObject
Hello,
How do I create cached tables in Hypersonic SQL when Orion autocreates
tables? I believe, issuing a "create table" in HSQL creates an
in-memory table only.
Thanks,
Vidur
Hello,
Is it possible to write a custom resource manager in EJB1.1 and Orion?
Much like EJBs can use a DataSource, I would like to write an
application specific resource manager. How can I do that?
Thanks,
Vidur
PS. If possible, please cc me the replies.
Hello,
Can someone help me understand this exception. It occasionally shows up
on the client and there is no details in the application.log.
Thanks,
Vidur
com.evermind.server.rmi.OrionRemoteException: Transaction was rolled
back: Error in transaction: javax.transaction.xa.XAException: The
Hello,
In my CMP entity bean, I have a Set whose values will always implement
an interface (KMDefinitionFactory). When I try to deploy this, I get an
error:
Error compiling file:/C:/dev/lib/: Dependent OR class
com.epistemic.km.KMDefinitionFactory cannot be abstract unless the
ejb-jar.xml has
Hello,
I'm not clear about the thread-safety of a Remote interface. If a
multi-threaded client has one Remote interface to an Entity bean, does
the client need to synchronize access to the remote interface or can the
multiple threads concurrently invoke methods on it?
Thus far, I've assumed
Hello,
I'm trying to understand the performance of my beans. I notice that on
every call to an Entity bean,
com.evermind.server.ejb.EvermindEntityContext.cloneObject is called.
The program spends nearly 20% of the time in this method. Within the
method, the bulk o fthe time is spent in
Is it possible to provide an orion-ejb-jar.xml file with the ejb-jar.xml
file to Orion? When Orion deploys a new ejb-jar file, it creates the
finder methods and one needs to manually edit them after deployment. I
would like to provide at least a skeleton of the orion-ejb-jar file with
the
Hello,
Is it possible to use optimistic locking in Orion? I have a case where
EntityBeans with the same primary key must be used concurrently by
multiple clients. The transactions are read only but take some
(arbitrary, or really highly variable) time to complete. Currently, I
keep on getting
Hello,
Is it possible to lazily load a dependent collection of a CMP Entity
Bean. My entity bean has a dependent collection of an interface. So I
can't map it into a relation. However, I don't want to load the entire
collection until it is required since deserializing/serializing could be
Hello,
I'm trying to experiment with the OR mapping features of Orion. I'm
quite new to this topic and can't understand how to specify a mapping.
Could someone post an example or hints to get me started.
Thanks,
Vidur
PS. If possible, please also cc me.
72 matches
Mail list logo