Hi Paul
I am a newbie in EJB...so don't know if this will really helps..
I guess u implement the finder methods in the bean class? and also modify
the Home interface file to add that method in.
Regards, James
Where do I specify my own finder methods in my entity bean.
Hi,
Is there any way I can specify the number of Session Bean Instances to be
created and pooled.
TIA
regards
santosh s:)
__
Santosh S
Trigyn Technologies Ltd.(formerly eCapital Solutions)
Tel. : 98450 63496
www : http://www.trigyn.com
has any one gotten JetSpeed "java.apache.org/jetspeed"
to work correctly with orion server. using 1.2.4 under
linux with jdk 1.3 from SUN. the error i keep getting
is:"java.lang.NoClassDefFoundError" this is happening
for both 1.1 and 1.2b1 of Jetspeed. i can get it to
workunder Tomcat. but i
Ismael Blesa Part wrote:
On my jsp I use invoke the taglib with:
%@ taglib uri="/isumtags.jar" prefix="isum" %
Above line tells that "uri" points out either to an entry in
WEB-INF/web.xml file called /isumtags.jar being inside
taglib-location's or references /isumtags.jar directly as tag
I finally made the SSL communication working:
I replaced the "$JAVAHOME/jre/lib/security/cacerts" of client
system with "keystore" file used on server (I changed his name
to "cacerts"). Quick and dirty.
Issue now is client and orion server hang after first context
creation:
Here's the code -
For Container Managed Persistence beans, you just add the method to the Home
interface:
public Collection findByField1 ( String field1 ) throws FinderException ,
RemoteException ;
The container will automatically write the finder method for you.
For Bean Managed Persistence beans, you put the
To do object to relational mapping you have to modify the file:
orion/application-deployments/your_app/ejb/orion-ejb-jar.xml
after you deploy the entity beans.
You can put the file in :
ear/ejb/orion/orion-ejb-jar.xml
in your ear file or
Did you get a 40-bit or 128-bit cert? Orion informed me we can use 128-bit
if we get the domestic JSSE from Sun.
Dale
- Original Message -
From: Mike Fontenot [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Monday, August 28, 2000 11:15 AM
Subject: Obtaining an SSL
First of all implement the Entity Bean with Container Managed Persistence.
In that case you'll need to have finder method declared in Home interface
and
implemented in Primary Key class. YOU WILL NOT HAVE finder METHOD IN EJB
CLASS for CMP. It will be written by the container at the deployment
Guys I'd REALLY appreciate any help with this one ;)
Whenever I try to bind an object to JNDI from an autostarted client Orion
(and the client) freezes.
ctx = new InitialContext();
log("Binding portlets to JNDI");
ctx.rebind("java:comp/env/daemon/portal/portlets",
I got a 40 bit cert.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dale Bronk
Sent: Tuesday, August 29, 2000 6:07 AM
To: Orion-Interest
Subject: Re: Obtaining an SSL Certificate
Did you get a 40-bit or 128-bit cert? Orion informed me we can
In a finder method, how do you automatically have a custom SQL
statement...For instance:
CREATE TABLE names (
nameID int,
fname char(20),
lname char(20),
city char(40))
Collection findByCity(String sCity);
I would like to set an ORDER BY lname in my finder
I am currently working on the security design for our application and seem
to be working on the same issues that you are. I intend to provide a
complete ACL based security infrastructure at the EJB level. J2EE's
method level security is far from sufficient for my purposes. For example:
Hey arthur How did you get it to work under Tomcat? I had a world of
problems with it, and so moved to orion. Listen, if you find the answer to
installation on Orion, or if you want to work together to try and get it
working, let me know.
Derek Akers
Eldan Software
Toronto, Ontario
Here's my current problem: I have
managed to deploy a simple app of html, jsp and one bean that holds some
variables, but for some reason I keep getting a "page cannot be displayed" error
when trying to access the jsp pages through a browser. I have used the
deployment structure outlined
I have a BMP bean (3rd party, but I have the source code) that writes to a
database. The write is fine and gets committed seemingly without problems.
Once I continue surfing around the site however Orion then throws the
following exception:
OrionCMTConnection not closed, check your code!
Yes,
Unfortunately at the moment there is no way to port finders in
orion-ejb-jar.xml from server to server. You can include this file in the
.jar though and Orion will deploy it with your finders intact. (Other
servers will just ignore it as far as I know)
Mike
-Original Message-
Also RMI is supposed to automatically use http tunneling if it can not make
a connection on a particular port. You have to install a proxying cgi
function on your web server (behind the firewall) that will provide the
forwarding.
Check java.sun.com and search for HTTP Tunneling.
Cory
At 09:17
Sounds to me like their code is missing a close() on the database connection.
You always need to do a close() on the connection so that it can be reused
within the connection pool.
-t
On Tue, Aug 29, 2000 at 04:03:29PM +0100, Chris Miller wrote:
I have a BMP bean (3rd party, but I have the
I don't think it's obfuscation,
only the console calls these methods,
they're like convenience methods or something like that
and they should have been superseeded in release versions,
by the methods we know: getUserCount(), et al
The problem's root is at AbstractUserManager, which declares
these
I have a simple test program that is demostrating that the orion server is
calling the jspInit() routine every time the page is requested! I understand
that it should only be called once when loaded, has anybody else seen this?
Instead of always showing one, it actually increments! Orionserver
OK, so I figured out what was wrong with the whole jsp
deployment thing... I had not ensured the correct directory structure to
conform to my packaging under myapp-ejb.
anyhow, here's a new question: has ANYONE implemented
xml schemas with xsl/t on orion? if so, could you please help me
Hi, Juan
I'm not sure I agree with your appreciation of the 3 methods I am referring
to: addToGroup(), removeFromGroup(), and getGroups() are not final in
AbstractUserManager (they aren't in that API at all). I can go along with
your characterization of them as "convenience" methods, though, as
I use Orion 1.1.24 (it's IMHO the stablest release so far)
In this release, the ackward-named methods within AbstractUserManager are
final-- I can send the .class or .java if you like.
I also agree that UserManagers API are an absolutely must have, specially if
you need to couple the security
Background...
I would like to have Orion Application Server store its object references in
a Win2000 Active Directory via a JNDI LDAP service provider. I would also
like to have my client applications access these same object references via
a JNDI LDAP service provider.
Question 1. Does Orion
Hi everyone.
I am starting to move my legacyish apps over to the data-source.xml method
way of getting connections and have a few questions.
Before now, I had been using a ConnectionPool of my own design but
it appears that I should be leaving this up to the application server now.
I created a
Thank you Rick
I now have Orion taking via the cariboulakes JDBC driver Ingres 2
I am running the lesson 2 from sun writing enterprise applications
Thanks Jeff
-Original Message-
From: Rick Bos [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 29, 2000 11:59 PM
To: Orion-Interest
Hi,
I have a session bean which returns an array of Objects.I get this error
while trying to return the application. The complete stacktrace is below
com.evermind.server.rmi.RMIConnectionException: Object reference no longer
valid (Disconnected)
at
28 matches
Mail list logo