in particular are hopelessly immature in Orion, and
they're even painful in WebLogic.
Jeff Schnitzer
[EMAIL PROTECTED]
-Original Message-
From: Chris Nias [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 7:49 AM
To: Orion-Interest
Subject: RE: OffTopic: Entity-Beans and relational
daily.
...and their mailing list software actually works.
Jeff Schnitzer
[EMAIL PROTECTED]
[I don't want to sound like I'm disparaging an obviously extraordinarily
bright software development team - but it looks to me like this project
has grown far beyond the reasonable scope of two or three
terribly vague
about how deferred keys are supposed to work. I've never seen a
container that documented them, I have never seen an example of them
being used, and (until now) I have never known anyone to have tried
them.
Jeff Schnitzer
[EMAIL PROTECTED]
]CMP/BMP and standard JDBC, speed is of
essence
Jeff -
Yes, it really works. You can get access to the key value later by
using getPrimaryKey on the instance.
Cheers
Ray
Jeff Schnitzer [EMAIL PROTECTED] wrote:
From: Simon Stewart [mailto:[EMAIL PROTECTED]]
Forgive me, but what about
), but I am saying that it is a huge mistake to
consider entity beans your only means of data access. To use the square
peg analogy again, reduce the size of the square to something that fits
smoothly through the hole, and fill in around the edges with other
mechanisms (like JDBC).
Jeff Schnitzer
(and annotate, wiki-like)
our images. There is *no* way it could perform reasonably with pure
entity beans.
Jeff Schnitzer
[EMAIL PROTECTED]
Consulting Contracting - J2EE, WebLogic, Orion/OC4J
On 6/4/02 7:15 pm, Duffey, Kevin [EMAIL PROTECTED] wrote:
Hi all,
Kinda curious about one thing. We use
. If the client
does something that the ResultSet can't support, build the full
Collection.
Jeff Schnitzer
[EMAIL PROTECTED]
for queries that are not efficient or possible in a CMP
environment.
Just watch out for relationships in Orion. They are horribly broken,
have been for years, and don't show any sign of getting better.
Jeff Schnitzer
[EMAIL PROTECTED]
-Original Message-
From: Andrew Chau [mailto:[EMAIL
HttpServletRequest.getUserPrincipal().getName() should do the trick.
Jeff Schnitzer
[EMAIL PROTECTED]
-Original Message-
From: Christian, Joanne [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 9:30 AM
To: Orion-Interest
Subject: Username and Password
HI All,
I'm
Orion to use a servlet as the context root.
Nothing in the Servlet specification seems to require this be possible,
either.
Jeff Schnitzer
[EMAIL PROTECTED]
-Original Message-
From: Robert Virkus [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 12:27 PM
To: Orion-Interest
Cc
I put the log4j.jar in orion's lib directory, and use
-Dlog4j.configuration=file:path/to/log4j.properties
to initialize log4j. I'm pretty happy with this approach. I control
logging on a server-wide basis, so I can use the same ear file for both
testing and deployment.
Jeff Schnitzer
[EMAIL
Does anyone else get You do not have permission to send to this
recipient. When attempting to send mail to this list?
Of course, if you're reading this, then it's allowing me to send *some*
traffic...
Jeff
I am also experiencing this - no matter what I try (and I'm pretty sure
I've tried everything), I cannot get an application client user to log
in using a custom user manager (either SimpleUserManager-derived or
DataSourceUserManager).
Note that the application client logs in just fine using
. If you want to be able to configure
a pipeline of transformations, or work with dynamic content, I suggest
looking at the Maverick MVC framework: http://mav.sourceforge.net.
Jeff Schnitzer
[EMAIL PROTECTED]
-Original Message-
From: Shah, Ritesh [mailto:[EMAIL PROTECTED]]
Sent: Friday
EJB-QL is not yet implemented in Orion. Try this:
http://www.c2.com/cgi/wiki?OrionServerSpecSupport
Note that Orion will automatically create finders with a single
parameter that corresponds to the name of a cmp field. Otherwise you
have to write them yourself.
Jeff Schnitzer
[EMAIL
Try this:
http://www.c2.com/cgi/wiki?OrionServerSpecSupport
Please update it as well.
Jeff
-Original Message-
From: Stefan Marx [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 22, 2001 4:47 AM
To: Orion-Interest
Subject: Features of CMP
Hi,
Is there any List available which
a real
world application. Fortunately for us, container vendors are less
insulated from the eventual customers; it's a pretty safe bet that most
servers will let you configure the ordering in the database query
somehow. I wouldn't worry about it, but no, it's not standard.
Jeff Schnitzer
It's not necessarily true that findAll().size() would be expensive. A
slick container implementation would delay the actual query until the
first method call on the Collection. If size() is the first method
called, the container could easily perform the proper select count(*).
The question
worth of my time, and I'm quite content about it.
Jeff Schnitzer
[EMAIL PROTECTED]
, the Men In
Black will be coming for you soon. Good luck!
Jeff Schnitzer
I am definitely experiencing something very similar. I haven't tried it
with a version of Orion prior to 1.4.8, but I find that using
RequestDispatcher.forward() produces erratic results, usually without
sending any output. I find that calling include() works as advertised.
The exact same code
I don't believe there is any way to force Orion to spit out that
information. However, when running against Hypersonic in server mode,
you see all the SQL on the database console. I find this to be an
excellent arrangement for development.
If you wanted to, you could fairly easily write a JDBC
Struts doesn't work out of the box with Orion versions prior to 1.4.8.
The message resources problem is that when re-implementing the
ResouceBundle (for reasons nobody on the struts list could tell me),
Struts used a method on the Orion classloader that was not implemented
(getResourceAsStream).
Furthermore, rather than having multiple web.xml files, you can use
Ant's style task to apply transforms to the base web.xml. Then all
you need are xsl files which contain the different context parameters.
With a little XSLT knowledge, it's really easy to do.
A simpler approach, though, would
the only way to
learn about it.
$10 says you're using it within a week ;)
-mike
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Jeff Schnitzer
Sent: Friday, May 11, 2001 7:12 AM
To: Orion-Interest
Subject: RE: Standar Template
://mav.sourceforge.net
Enjoy :-)
Jeff Schnitzer
[EMAIL PROTECTED]
Scott Hernandez
[EMAIL PROTECTED]
Oops. Sorry everyone, that was not supposed to be posted to the list.
Jeff
-Original Message-
From: Jeff Schnitzer
Sent: Thursday, May 17, 2001 8:47 PM
To: Orion-Interest
Subject: RE: Standar Template
We finally released our framework, so I have some breathing
time now
]]
Sent: Monday, May 14, 2001 1:12 PM
To: Orion-Interest
Cc: Jeff Schnitzer
Subject: RE: Caching XLS style sheets
i am VERY interested..
artie
Quoting Jeff Schnitzer [EMAIL PROTECTED]:
Excel stylesheets? Perhaps you mean XSL :-)
If you use the JAXP 1.1 transforms api, creating
The order should be determined by the elements in the orion-ejb-jar.xml
deployment descriptor.
Unfortunately there is a bug in 1.4.5 which causes the order of compound
PK fields to switch on every deployment. It was fixed in 1.4.6. See
bug #242.
There is another similar problem in 1.4.8 which
) are
deliberately trying to keep CMP from becoming too popular. This is just
too wierd.
Jeff Schnitzer
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://www.similarity.com
-Original Message-
From: elephantwalker [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 14, 2001 8:38 AM
To: Orion
Upgrade to Orion 1.4.8. Version 1.4.7 and prior are missing some
classloader features that Struts uses (for no good reason, as far as I
can tell).
Jeff
-Original Message-
From: Sam [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 14, 2001 7:16 PM
To: Orion-Interest
Subject: Struts and
From: Noah Nordrum [mailto:[EMAIL PROTECTED]]
So have the page where the user enters their credentials wax
their session,
then the validation of the credentials page will create a new session.
That was the solution I mentioned. It is undesirable for three reasons
I can think of; one, it
I don't think that excludes the desired behavior, which is that you
should be able to invalidate a session and then create a new one.
It appears that session invalidate() is setting a flag in the session
object causing it to be cleaned up sometime later. Since the only way
to logout a user is
we'll
send out a link to the sourceforge site; we're still working on the
documentation and examples.
In summary: For a simple approach, Option 2 as you describe isn't bad.
For (IMNSHO) a more elegant and powerful approach, it's worth looking
into XSLT.
Jeff Schnitzer
[EMAIL PROTECTED]
http
Orion is not an IIOP-based server. It uses client stubs to communicate
using the Orion RMI Protocol (ormi).
If you need to access EJBs from a pure CORBA client, you have three
options I can think of:
Write your own RMI proxy
Use some sort of HTTP-based RPC mechanism
Use an app server which
?
Jeff Schnitzer
[EMAIL PROTECTED]
http://www.similarity.com
http://www.infohazard.org/junitee
-Original Message-
From: Vic Cekvenich [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 06, 2001 5:55 PM
To: Orion-Interest
Subject: Caching XLS style sheets
I asked a question on an MVC application
There have been official comments on this list to the effect that
unintuitive error messages should be considered bugs. You should file
a bugzilla report :-)
Jeff
-Original Message-
From: Michael Jara [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 09, 2001 9:36 AM
To:
From: Eduardo Estefano [mailto:[EMAIL PROTECTED]]
The same is happening to me. Using 1.4.7 everything was fine.
I already posted a message before but here it is again:
- java -jar admin.jar ormi://localhost admin 123 -shutdown
Works as long as no EJB/Database is called.
ejbHomeThisIsAHomeMethod()
{
...
}
No need to add anything to the deployment descriptor. If you want to
secure access, you can require different security roles for the finder
vs. the home method.
Jeff Schnitzer
-Original Message-
From: Armin Michel [mailto:[EMAIL PROTECTED
fonts like a three-year-old with a half-eaten crayon :-)
Jeff Schnitzer
http://www.similarity.com
http://www.infohazard.org/junitee
-Original Message-
From: Adam Cassar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 2001 10:53 PM
To: Orion-Interest
Subject: Interests sake
From: Alex 'Kazuma' Garbagnati [mailto:[EMAIL PROTECTED]]
With Linux it's much easier to configure Java apps as daemons, but I
can't render my dynamic images with any reasonable quality - XWindows
renders fonts like a three-year-old with a half-eaten crayon :-)
You should try pja. It
interface between Java and XML (jsp? building dom nodes in java?
something else?) ?
Thanks,
Jeff
-Original Message-
From: Jeff Schnitzer
Sent: Friday, April 27, 2001 3:38 PM
To: Orion-Interest
Subject: RE: MVC/XML Framework Comments please
I'm definitely interested in your framework
This line is in changes.txt:
Moved orion-ejb-jar.xml's inclusion path in an ejb-jar to the META-INF/
directory from the orion/ directory for consistency.
BTW, Struts now works out of the box with 1.4.8.
Jeff
-Original Message-
From: KirkYarina [mailto:[EMAIL PROTECTED]]
Sent:
on platform X (such as Orion
1.4.8 :-( ).
Good luck,
Jeff Schnitzer
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://www.similarity.com http://www.similarity.com
-Original Message-
From: Vic Cekvenich [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 11:53 AM
To: Orion
How do you integratecopy with dynamic content? Two layers of XSL
transformation (one to mix in copy, one to mix in markup)? Or do you
use JSP-type templating to build the Content XML before it is sent off
to XSLT?
Thanks,
Jeff
-Original Message-
From: Tim
I have the same problem and have logged bug #414 against it.
I find that the problem goes away if you set your transaction attributes
to NotSupported. That may or may not be an option for you :-)
It might help Magnus debug it if you attached your orion-ejb-jar.xml to
the bug report too.
Jeff
Nope. I know Satan, and she's not that cute :-)
Jeff
-Original Message-
From: Hani Suleiman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 7:18 AM
To: Orion-Interest
Subject: RE: Is this the Orion Team?
And what a lovely picture it is.
PS Anyone notice how one of them
This is the right idea; you want to do a join in the finder. Relational
databases were designed to do exactly this sort of thing. Putting extra
information in the EJBs would just lead to consistency problems, IMHO.
The EJB 2.0 specification defines EJB QL, which is a
database-independent
o execute the above scenario.
Thanks to all the people who have already posted in regards
to this issue.
-AP_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Jeff Schnitzer
Sent: Friday, April 13, 2001 10:09 PM
To: Orion-Interest
bove scenario.
Thanks to all the people who have already posted in regards to
this issue.
-AP_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jeff
Schnitzer
Sent: Friday, April 13, 2001 10:09 PM
To: Orion-Interest
Subject: RE: How to enable UserM
I just wanted to point out that despite the Orion team's silence on this
list, over the last couple months there has been a lot of bugzilla
activity. Development is clearly moving forward, so it's not time to
jump ship yet :-)
While a weekly "hey, here's what's up at Ironflare" letter to this
I was under the impression that the domain has always been owned by the
Orion organization. They just pointed it at whoever was willing to
maintain the community site.
I have a suggestion. Lets take a slice of a Wiki system, say the
Portland Pattern Repository at http://www.c2.com. I think
I suggest using an MVC (aka "Model 2") approach, separating your view
from your controller. One of the controller's responsibilities can be
to check for authentication and provide to the user either the requested
page or the login page.
If you use a dispatcher-servlet-action framework for your
My advice is to ignore all the GUI tools that come with Orion and stick
to Ant as a build-and-deploy tool.
It is my strong suspicion that nobody is using, testing, or actively
developing the GUI tools. It is my personal opinion (probably shared by
many on this list) that this is a good thing.
If you want a CMP field that can be null, use java.lang.Integer instead
of int.
Jeff
-Original Message-
From: Eduardo Estefano
Sent: Mon 4/9/2001 12:10 PM
To: Orion-Interest
Cc:
Subject:Creating new CMP records
I have a CMP EJB that has a foreign key field in it
You just need to configure the DISPLAY variable for the environment that
Orion runs in. Are you running Orion from a script? Set the DISPLAY
variable in the script.
I gotta warn you though, the xvfb renders some pretty awful output. The
full X server doesn't do a whole lot better, at
M-N relationships do work in Orion, although not bidirectionally.
WebLogic has good support for most of the EJB2.0 spec, and there is a
product that runs on top of JBoss that allows you to deploy EJB2.0
packages (it converts everything to the 1.1 format for JBoss to
consume). I don't
From: Markus Holmberg [mailto:[EMAIL PROTECTED]]
You are relying on an implementation detail of your container.
The reason it has worked for you so far is because your container has
used an instance of java.util.ArrayList/LinkedList, which indeed does
guarantee order. But CMP Entity EJB's
By default, a single instance of your servlet will be created by the
container to service all requests. The doGet() is not synchronized so
it must be written thread-safe.
Alternatively, you can have your servlet implement the SingleThreadModel
interface. This instructs the container to create
You want an appserver that uses RMI-IIOP natively. Orion isn't one of
these. You would have to write an intermediate server that translates
all CORBA/IIOP calls into EJB/ORMI calls. You will more than save on
development costs by just spending the money up front for an IIOP-based
server like
ConcurrentModificationException is the result of a fail-fast iterator in
the JDK 1.2+ collections framework. If one thread is iterating a
collection and another thread modifies the collection, the next call to
the iterator will immediately throw this exception. In the ugly old
days of Hashtable
I don't think you can have an inheritance structure like this. When you
define the parent relationship, the EJB container wants a method
'abstract Category getParent()' which does not exist.
I have a similar tree structure without the inheritance (also called
'Category'), and it works with some
Try reversing the order of the fields in the primkey-mapping block for
the bean in the orion-ejb-jar.xml. Might also work just to change the
order in the ejb-jar.xml, especially if you deploy from scratch.
Jeff
-Original Message-
From: Peter Pontbriand [mailto:[EMAIL PROTECTED]]
Sent:
I'm using Postgresql 7.0.3 on RH7 with pleasant results (except the JDBC
driver's timstamp issue).
I don't serialize any objects as BLOBs though. Why do you want to do
this?
Jeff
-Original Message-
From: Julian Richardson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 21, 2001 7:28
Take a look at this message I posted in January:
http://www.mail-archive.com/orion-interest@orionserver.com/msg08677.html
If you patch the JDBC driver to read whatever format your dates are
coming back as (you should see the actual formatted date string in the
exception message), you should be
three and don't realy know what
to download.
Regards,
Ed Bras
- Original Message -
From: Jeff Schnitzer [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, March 21, 2001 8:08 PM
Subject: RE: bad timestamp confusion
Take a look at this message I posted in January
I also am questioning entity beans, after 5 months of intensive
development with them. If you run Hypersonic in server mode and watch
the sql output to the console, it should be readily apparent why... CMP
produces *WAY* too many queries for fine-grained entity beans.
The biggest problem is
scriptor, see
for instance copy-by-value in orion-ejb-jar.xml) that weight
enough we'll reposition.
/Magnus Stenman, the Orion team
- Original Message -
From: "Jeff Schnitzer" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Tuesday, March 20, 2001 6:31 PM
Su
Nevermind pd1 vs pdf support; *this* should seriously make you
reconsider using dependent objects:
http://www.mail-archive.com/ejb-interest@java.sun.com/msg16733.html
http://www.mail-archive.com/ejb-interest@java.sun.com/msg16733.html
Jeff
-Original Message-
From: Christian Billen
As of version 1.4.7, bidirectional relationships are not yet supported
by Orion.
Jeff
-Original Message-
From: Alex Paransky [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 16, 2001 5:26 PM
To: Orion-Interest
Subject: Questions regarding 1-n bi-directional relationships...
I have an
Why not?
Really, as a simple test/example database, what shortcoming does it
have? Just because nobody is fixing/adding new bugs to the code at the
moment doesn't mean that the current incarnation is not perfectly
adequate for its task.
I don't think anyone in their right mind would run a
It works for me. I have an entity whose PK is a compound of two CMR
1-N fields. HOWEVER, I'm only using Collection mapping, not Set (which
it looks like you're using). If you can't figure out what's wrong with
your code, try using Collection and see if that fixes the problem.
I would like to
Someone desperately needs to replace the list software currently hosting
the Orion-Interest mailing list. This is really getting out of hand.
It's bad enough that everyone who posts gets messages like this from
natch.se... but now they're echoing to the list as well.
If the only reason this
You can put fragments of orion-ejb-jar.xml in your deployment package.
It should go in a directory called "orion" sibling to META-INF. Check
the list archives for more details.
FYI, you can do the same thing with orion-application.xml, but it goes
in the ear's META-INF directory. Very useful.
Do these strings need to change dynamically without app redeployment?
If it's just error messages and the like, why not use
java.util.ResourceBundle?
String msg = ResourceBundle.getBundle("mymessages").getString(MSG_KEY);
You can store the resources in any format you like if you implement your
Thanks for everyone's comments.
From: Rafael Alvarez [mailto:[EMAIL PROTECTED]]
You can do two things:
.- In the EJBCreate change the user name to Upper or Lower case when
setting it. Also in the PK class change it to Upper or Lower case.
Not a good solution for me, because I want to preserve
I have a primary key which is a string (user's name), and I would like
it to be case-insensitive. That is, if there is already a "bob" entity,
trying to create a "Bob" entity should throw a DuplicateKeyException.
Is there a way I can do this with Orion?
I vaguely recall reading something in
IMHO, it is unwise to be using EJB2.0 dependent objects at this point
because this is a part of the spec which is likely to change wildly.
There have even been significant changes between pd1 (when Orion's
implementation was built) and pfd.
You can circumvent the relationship table by creating a
Of Jeff
Schnitzer
Sent: 1. marts 2001 02:38
To: Orion-Interest
Subject: RE: Database schema type mappings
You're thinking C++.
In Java:
A long is 8 bytes, always.
An int is 4 bytes, always.
The byte-orders are fixed independent of the hardware, too.
Speaking of byte size, here's something I
or...
Randahl
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jeff
Schnitzer
Sent: 1. marts 2001 02:52
To: Orion-Interest
Subject: RE: Database schema type mappings
From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]]
1. Why is Integers automatic
this compile
time error.
Randahl
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jeff
Schnitzer
Sent: 1. marts 2001 02:42
To: Orion-Interest
Subject: RE: CMP 2.0
?
I have all my transactional behavior defined as NotSupported and I use
EJB 2.0 container managed
:
"Jeff Schn
From: Chad Stansbury [mailto:[EMAIL PROTECTED]]
Actually, a more proper way is to indicate to the compiler
that you want
long arithmetic by writing:
long millisInMonth = 1000L * 60L * 60L * 24L * 30L
I'm sure it all gets optimized out to the same thing in the end :-) But
yes, you're right.
This subject is especially timely for me because I just finished
evaluating both WebWork and Struts. I decided to go with WebWork. It
wasn't so much that I was drawn to WebWork's technological coolness -
there are some neat ideas there, but I think most could be adapted into
Struts with a
You're thinking C++.
In Java:
A long is 8 bytes, always.
An int is 4 bytes, always.
The byte-orders are fixed independent of the hardware, too.
Speaking of byte size, here's something I found amusing (and annoying):
long millisInMonth = 1000 * 60 * 60 * 24 * 30;
Date
?
I have all my transactional behavior defined as NotSupported and I use
EJB 2.0 container managed relationships without issue. I don't
currently need transactions for what I'm doing.
Randahl, have you examined the contents of the database tables and the
orion-ejb-jar.xml closely?
Jeff
From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]]
1. Why is Integers automatically converted to int by Orion -
and is this a
standard EJB convention?
Yes. All the class representations of the primitive types should work
that way.
2. Would it be legal to have a primary key of the
You should look in the Orion javadocs for DataSourceUserManager. Here's
an example of what to put in the orion-application.xml:
user-manager class="com.evermind.sql.DataSourceUserManager"
property name="table" value="Member" /
property name="passwordField" value="password" /
property
While that would work, you would have to create a separate jsp for each
document... really you should probably create your own servlet, map it
to *.doc in the same way, and use request.getPathInfo() and
request.getPathTranslated() (or just forward to the request to a URL in
a protected
It's difficult to tell without seeing your deployment descriptor, but it
sounds like you're trying to use the PK class as a cmp-field.
You should not be doing this. You should instead have cmp-fields for
each of the fields in the PK. The only mention of the PK class in the
ejb-jar.xml should
If I'm reading the steps correctly, this behavior is actually fully
spec-compliant. This is the reason I don't use FORM-based login.
j_security_check is only required to be valid immediately after an
attempt to visit a secured page. There is no provision to be able to
re-enter credentials from
PROTECTED]]On Behalf Of
Jeff Schnitzer
Sent: Monday, February 26, 2001 8:06 AM
To: Orion-Interest
Subject: RE: Orion FORM based authentication Configuraton problem
If I'm reading the steps correctly, this behavior is actually fully
spec-compliant. This is the reason I don't use FORM-based login
You want to use the RoleManager:
Context ctx = new InitialContext();
RoleManager roleMan =
(RoleManager)ctx.lookup("java:comp/RoleManager");
try
{
roleMan.login(memberName, password);
}
catch (SecurityException ex)
{
return false;
}
return true;
-Original
From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]]
Question A: Are the ones of you who are using CMP 2.0 using
version 1.4.4,
1.4.5 or 1.4.7 of Orion?
I'm using 1.4.5 because 1.4.7 introduced a showstopper bug for me (fixed
in 1.4.8, whenver that happens). Bug #296.
Question B: When _you_
The J2EE sdk is not necessary, and probably should be removed. It is
the reference implementation of a J2EE server. You will be using Orion
instead.
Why aren't you using the 1.3 jdk?
Put the postgres jdbc driver in the orion/lib directory.
That should work :-)
Jeff
-Original
A side note:
In the current Orion release, you need to specify the action as
action="%= request.encodeURL("/servlet/MyServlet") %"
For some reason, Orion does not automatically rewrite action urls with
the session id like it does with other urls in pages. I've logged this
in Bugzilla.
It's
Unidirectional 1-1 and 1-n relationships between EJBs work, but
bidirectional relationships do not. There are easy ways to fake it,
though.
It's not strictly according to the specification - with Orion, you must
define the CMR fields as cmp-fields in the entity. pd2 and pdf say
you shouldn't.
There are a number of posts in the archive about how to configure the
initial context (either programmatically or by using a jndi.properties
file). In addition to that:
Define a META-INF/application-client.xml and package it in the client's
jar.
Define the application client in the j2ee
Yes, this works, and is how I perform user authentication. It's not app
server portable though. :-(
Jeff
-Original Message-
From: Andre Vanha [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 8:52 AM
To: Orion-Interest
Subject: RE: Any way to "forward" to j_security_check?
I would like to see the documentation for the orion deployment
descriptors fleshed out. Right now it's sparse and choppy, with some
sentences just cut off in the middle. Verbose explanations with
examples would be a major improvement.
More than anything else, though, I think Orion needs a
1 - 100 of 169 matches
Mail list logo